Class CandleUpdate
- Namespace
- WhalesSecret.TradeScriptLib.API.TradingV1.MarketData
- Assembly
- WhalesSecret.TradeScriptLib.dll
Candlestick update for a particular exchange symbol pair and a candle width.
public class CandleUpdate : IEquatable<CandleUpdate>
- Inheritance
-
CandleUpdate
- Implements
- Inherited Members
- Extension Methods
Constructors
- CandleUpdate(ExchangeSymbolPair, CandleWidth, Candle, DateTime)
Creates a new instance of the object.
Properties
- Candle
Candle data.
- CandleWidth
Width of the candle.
- ExchangeMarket
Exchange market where the symbol pair is traded.
- ExchangeSymbolPair
Exchange market pair of the candle.
- LastUpdate
UTC time when the latest piece of information for this instance was received.
- SymbolPair
Candle's symbol pair.
Methods
- Equals(object?)
Determines whether the specified object is equal to the current object.
- Equals(CandleUpdate?)
Indicates whether the current object is equal to another object of the same type.
- GetEstimatedRawUpperBoundarySize()
Returns a quick estimation on the upper boundary of the raw size of the update in JSON serialized form.
- GetHashCode()
Serves as the default hash function.
- ToString()
Returns a string that represents the current object.
Operators
- operator ==(CandleUpdate?, CandleUpdate?)
Determines whether two specified candle updates have the same value.
- operator !=(CandleUpdate?, CandleUpdate?)
Determines whether two specified candle updates have different values.