IntervalStats constructor
IntervalStats({})
Constructs a new IntervalStats instance.
Parameters:
timestamp
– The timestamp for the interval in milliseconds.priceChange
– The price change of the financial instrument during the interval.previousPrice
– The price of the financial instrument at the beginning of the interval.currentPrice
– The price of the financial instrument at the end of the interval.
Implementation
factory IntervalStats({
required num timestamp,
required double priceChange,
required double previousPrice,
required double currentPrice,
}) = _IntervalStats;