charton API / @chart-on/core / index / PriceBarUpdate
Interface: PriceBarUpdate
Defined in: packages/core/src/price-bars.ts:102
What PriceBarBuilder.update changed.
Properties
bars
bars:
PriceBar[]
Defined in: packages/core/src/price-bars.ts:107
Price bars to pass to a series' update, oldest first: the last bar when it changed, then any new ones. Empty when nothing changed or on reset.
reset
reset:
boolean
Defined in: packages/core/src/price-bars.ts:112
Bars other than the last changed or disappeared (a live tick took back a brick, say). Replace the series data with builder.bars then.