Skip to content

charton API


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

Function: isActivityInterval() ​

isActivityInterval(interval): boolean

Defined in: packages/core/src/data/interval.ts:52

Whether interval counts trades ('100T') or volume ('5000V') rather than time. Such bars have no fixed length: intervalSeconds throws for them, safeIntervalSeconds returns null, and the chart shows no countdown.

Parameters ​

interval ​

string

Returns ​

boolean