Skip to content

charton API


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

Function: marketStatus() ​

marketStatus(): ChartPlugin

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

Plugin that gives the chart marketStatus() (the market phase from the session options, and the data delay) and the legend badge of the marketStatus option. Without it marketStatus() throws a not-registered error and the option shows nothing.

Returns ​

ChartPlugin