Skip to content

charton API


charton API / @chart-on/core / index / trading

Function: trading() ​

trading(): ChartPlugin

Defined in: packages/core/src/builtins.ts:267

Plugin that adds trading annotations to annotations(): order, position, alert and draft lines (chart.annotations.addTradeLine and the other line calls) with their dragging, buttons, bracket handles and clusters, and trade fill markers (setTrades and the other fill calls). Install it after annotations().

Returns ​

ChartPlugin