Struct HeatmapTradeTick
One trade passed to a heatmap indicator, live or during warm-up.
Added in ATAS 8.0.15.
public readonly struct HeatmapTradeTick
- Extension Methods
Constructors
HeatmapTradeTick(long, decimal, decimal, HeatmapTradeDirection)
One trade passed to a heatmap indicator, live or during warm-up.
public HeatmapTradeTick(long TimestampNanos, decimal Price, decimal Volume, HeatmapTradeDirection Direction)
Parameters
TimestampNanoslongThe time of the trade on the heatmap time axis, in nanoseconds since the Unix epoch.
PricedecimalThe trade price (a price, not a number of ticks).
VolumedecimalThe traded volume.
DirectionHeatmapTradeDirectionThe aggressor side of the trade.
Properties
Direction
The aggressor side of the trade.
public HeatmapTradeDirection Direction { get; init; }
Property Value
Price
The trade price (a price, not a number of ticks).
public decimal Price { get; init; }
Property Value
- decimal
Time
The time of TimestampNanos as a System.DateTime on the same heatmap time scale; convenience for code that needs a System.DateTime.
public DateTime Time { get; }
Property Value
- DateTime
TimestampNanos
The time of the trade on the heatmap time axis, in nanoseconds since the Unix epoch.
public long TimestampNanos { get; init; }
Property Value
- long
Volume
The traded volume.
public decimal Volume { get; init; }
Property Value
- decimal
Methods
Deconstruct(out long, out decimal, out decimal, out HeatmapTradeDirection)
public void Deconstruct(out long TimestampNanos, out decimal Price, out decimal Volume, out HeatmapTradeDirection Direction)
Parameters
TimestampNanoslongPricedecimalVolumedecimalDirectionHeatmapTradeDirection
Equals(HeatmapTradeTick)
public bool Equals(HeatmapTradeTick other)
Parameters
otherHeatmapTradeTick
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 ==(HeatmapTradeTick, HeatmapTradeTick)
public static bool operator ==(HeatmapTradeTick left, HeatmapTradeTick right)
Parameters
leftHeatmapTradeTickrightHeatmapTradeTick
Returns
- bool
operator !=(HeatmapTradeTick, HeatmapTradeTick)
public static bool operator !=(HeatmapTradeTick left, HeatmapTradeTick right)
Parameters
leftHeatmapTradeTickrightHeatmapTradeTick
Returns
- bool