Skip to content

charton API


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

Function: priceBars() ​

priceBars(source, options): PriceBar[]

Defined in: packages/core/src/price-bars.ts:257

Price-based bars of source in one go; see PriceBarBuilder to keep them current.

Parameters ​

source ​

readonly Bar[]

options ​

PriceBarOptions

Returns ​

PriceBar[]