Skip to content

1.0.0 compiler roadmap #6

@xnerhu

Description

@xnerhu

Ref #4

General

  • Compiler CLI
  • Python bindings (WASM)
  • JavaScript/TypeScript bindings
    • WASM
    • Node-API
  • qPACE lib version asserts
  • incremental functions bindings
  • vectorized functions bindings

API compatibility

Globals

  • bar_index
  • last_bar_index
  • open_time
  • close_time
  • open
  • high
  • low
  • close
  • volume

Casts

  • na()
  • nz()
  • bool()
  • float()
  • int()

Bar State

  • barstate.isfirst
  • barstate.islast
  • barstate.isconfirmed
  • barstate.isnew
  • barstate.isrealtime

Indicator

  • indicator()

Strategy

  • strategy()
  • strategy.entry()
  • strategy.close_all()
  • strategy.cash
  • strategy.commission_cash_per_contract
  • strategy.commission_cash_per_order
  • strategy.commission_percent
  • strategy.direction_all
  • strategy.direction_long
  • strategy.direction_short
  • strategy.fixed
  • strategy.long
  • strategy.short
  • strategy.oca_cancel
  • strategy.oca_none
  • strategy.oca_reduce
  • strategy.percent_of_equity

Alerts

  • alertcondition()

Input

  • input()
  • input.int()
  • input.float()
  • input.bool()
  • input.string()
  • input.source()
  • input.color()

Math

  • math.min()
  • math.max()
  • math.abs()
  • math.sqrt()
  • math.floor()
  • math.ceil()
  • math.round()
  • math.exp()
  • math.sum()
  • math.log()
  • math.log10()
  • math.pow()
  • math.avg()

Color

  • color.rgb()
  • color.rgba()
  • color.r()
  • color.g()
  • color.b()
  • color.t()
  • color.new()
  • color.from_gradient()
  • color.aqua
  • color.black
  • color.blue
  • color.fuschia
  • color.gray
  • color.green
  • color.lime
  • color.maroon
  • color.navy
  • color.olive
  • color.orange
  • color.purple
  • color.red
  • color.silver
  • color.teal
  • color.white
  • color.yellow

Format

  • format.inherit
  • format.mintick
  • format.percent
  • format.price
  • format.volume

Display

  • display.all
  • display.none
  • display.pane
  • display.price_scale
  • display.status_line

Plot

  • plot()
  • plotshape()
  • fill()
  • hline()
  • plot.style_area
  • plot.style_areabr
  • plot.style_circles
  • plot.style_columns
  • plot.style_cross
  • plot.style_histogram
  • plot.style_line
  • plot.style_linebr
  • plot.style_stepline
  • plot.style_stepline_diamond
  • plot.style_steplinebr

Location

  • location.abovebar
  • location.absolute
  • location.belowbar
  • location.bottom
  • location.top

Size

  • size.auto
  • size.huge
  • size.large
  • size.normal
  • size.small
  • size.tiny

Scale

  • scale.left
  • scale.none
  • scale.right

Position

  • position.top_left
  • position.top_middle
  • position.top_right
  • position.middle_left
  • position.middle_center
  • position.middle_right
  • position.bottom_left
  • position.bottom_center
  • position.bottom_right

Shape

  • shape.arrowdown
  • shape.arrowup
  • shape.circle
  • shape.cross
  • shape.diamond
  • shape.labeldown
  • shape.labelup
  • shape.triangledown
  • shape.triangleup
  • shape.xcross

Text Align

  • text_align.bottom
  • text_align.center
  • text_align.left
  • text_align.right
  • text_align.top

Text Wrap

  • text_wrap.auto
  • text_wrap.none

Chart

  • chart.bg_color
  • chart.fg_color
  • chart.is_heikinashi
  • chart.is_kagi
  • chart.is_linebreak
  • chart.is_pnf
  • chart.is_range
  • chart.is_renko

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions