Table of Contents

Struct HeatmapTradeTick

Namespace
OFT.Rendering.Heatmap
Assembly
OFT.Rendering.dll

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

TimestampNanos long

The time of the trade on the heatmap time axis, in nanoseconds since the Unix epoch.

Price decimal

The trade price (a price, not a number of ticks).

Volume decimal

The traded volume.

Direction HeatmapTradeDirection

The aggressor side of the trade.

Properties

Direction

The aggressor side of the trade.

public HeatmapTradeDirection Direction { get; init; }

Property Value

HeatmapTradeDirection

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

TimestampNanos long
Price decimal
Volume decimal
Direction HeatmapTradeDirection

Equals(HeatmapTradeTick)

public bool Equals(HeatmapTradeTick other)

Parameters

other HeatmapTradeTick

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

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

left HeatmapTradeTick
right HeatmapTradeTick

Returns

bool

operator !=(HeatmapTradeTick, HeatmapTradeTick)

public static bool operator !=(HeatmapTradeTick left, HeatmapTradeTick right)

Parameters

left HeatmapTradeTick
right HeatmapTradeTick

Returns

bool