@livefolio/sdk / StreamingBar
Type Alias: StreamingBar
StreamingBar =
object
Defined in: interfaces/streaming-data-feed.ts:9
A single tick or bar update from a streaming market-data source. The bar's t is the arrival timestamp of this tick — for a 24/7 source like Yahoo WS, ticks arrive continuously and the runtime is responsible for deciding which session/bar the tick belongs to via the Calendar.
Properties
asset
asset:
Asset
Defined in: interfaces/streaming-data-feed.ts:11
The asset this tick is for.
bar
bar:
Bar
Defined in: interfaces/streaming-data-feed.ts:13
The bar payload — typically a 1-tick OHLCV with open = high = low = close = <tick price> and volume = 0.