chart#
Chart accessors for candle metadata, viewport state, and rendering hints.
Functions#
chart.exchange— The chart's active exchange (binance,bybit,okx,hyperliquid,coinbase, ...).chart.isFirst— True on the first bar of the warmup loop (i === 0).chart.isHistory— True for bars in the warmup pass (historical data).chart.isLast— True on the last bar of the current call (i === N - 1).chart.isRealtime— True for bars in tick mode (the current live bar).chart.stepSize— Minimum size increment for the active symbol on the active venue.chart.symbol— The chart's active symbol (exchange-native ticker likeBTCUSDT,ETHUSDT, orBTC-PERP).chart.tickSize— Minimum price increment for the active symbol on the active venue.chart.timeframe— Chart interval in seconds (e.g.