Struct MarketDepthHistoryLevel
- Namespace
- ATAS.DataFeedsCore
- Assembly
- ATAS.DataFeedsCore.dll
One historical order-book level update: at TimeNanos (UTC, Unix-epoch nanoseconds) the resting volume at Price on the given side became Volume (0 removes the level). Replaying the chronologically ordered updates rebuilds the historical book.
Added in ATAS 8.0.15.
public readonly struct MarketDepthHistoryLevel
- Extension Methods
Constructors
MarketDepthHistoryLevel(long, decimal, decimal, bool)
One historical order-book level update: at TimeNanos (UTC, Unix-epoch nanoseconds) the resting volume at Price on the given side became Volume (0 removes the level). Replaying the chronologically ordered updates rebuilds the historical book.
public MarketDepthHistoryLevel(long TimeNanos, decimal Price, decimal Volume, bool IsAsk)
Parameters
TimeNanoslongPricedecimalVolumedecimalIsAskbool
Properties
IsAsk
public bool IsAsk { get; init; }
Property Value
- bool
Price
public decimal Price { get; init; }
Property Value
- decimal
TimeNanos
public long TimeNanos { get; init; }
Property Value
- long
Volume
public decimal Volume { get; init; }
Property Value
- decimal
Methods
Deconstruct(out long, out decimal, out decimal, out bool)
public void Deconstruct(out long TimeNanos, out decimal Price, out decimal Volume, out bool IsAsk)
Parameters
TimeNanoslongPricedecimalVolumedecimalIsAskbool
Equals(MarketDepthHistoryLevel)
public bool Equals(MarketDepthHistoryLevel other)
Parameters
otherMarketDepthHistoryLevel
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(MarketDepthHistoryLevel, MarketDepthHistoryLevel)
public static bool operator ==(MarketDepthHistoryLevel left, MarketDepthHistoryLevel right)
Parameters
leftMarketDepthHistoryLevelrightMarketDepthHistoryLevel
Returns
- bool
operator !=(MarketDepthHistoryLevel, MarketDepthHistoryLevel)
public static bool operator !=(MarketDepthHistoryLevel left, MarketDepthHistoryLevel right)
Parameters
leftMarketDepthHistoryLevelrightMarketDepthHistoryLevel
Returns
- bool