Class RichMarketEvent<T>.CandleClosed
OHLCV candle closed (derived from a tick window).
public sealed record RichMarketEvent<T>.CandleClosed : RichMarketEvent<T>, IMarketEvent<T>, IEvent<T>, IEquatable<IEvent<T>>, IEquatable<RichMarketEvent<T>>, IEquatable<RichMarketEvent<T>.CandleClosed>
- Inheritance
-
RichMarketEvent<T>.CandleClosed
- Implements
-
IMarketEvent<T>IEvent<T>IEquatable<IEvent<T>>
- Inherited Members
Constructors
CandleClosed(Symbol, DecimalAmount, DecimalAmount, DecimalAmount, DecimalAmount, DecimalAmount, T, T)
Construct a CandleClosed event.
public CandleClosed(Symbol symbol, DecimalAmount open, DecimalAmount high, DecimalAmount low, DecimalAmount close, DecimalAmount volume, T windowStart, T windowEnd)
Parameters
symbolSymbolopenDecimalAmounthighDecimalAmountlowDecimalAmountcloseDecimalAmountvolumeDecimalAmountwindowStartTwindowEndT
Properties
Close
Close price.
public DecimalAmount Close { get; }
Property Value
High
High price.
public DecimalAmount High { get; }
Property Value
Low
Low price.
public DecimalAmount Low { get; }
Property Value
Open
Open price.
public DecimalAmount Open { get; }
Property Value
Symbol
The instrument the observation refers to.
public override Symbol Symbol { get; }
Property Value
Time
The time at which this event's fact occurred.
public override T Time { get; }
Property Value
- T
Remarks
The candle's own time is when it closed, i.e. WindowEnd.
Volume
Volume traded during the candle.
public DecimalAmount Volume { get; }
Property Value
WindowEnd
End of the candle window.
public T WindowEnd { get; }
Property Value
- T
WindowStart
Start of the candle window.
public T WindowStart { get; }
Property Value
- T