Struct HeatmapIndicatorProfileRangeRequest
A request for market-profile snapshots, passed to GetProfilesAsync(HeatmapIndicatorProfileRangeRequest, CancellationToken). All times are in nanoseconds since the Unix epoch.
Added in ATAS 8.0.15.
public readonly struct HeatmapIndicatorProfileRangeRequest
- Extension Methods
Remarks
The profile source of the platform heatmap returns the latest snapshot of Period and does not filter it by the times of the request.
Constructors
HeatmapIndicatorProfileRangeRequest(HeatmapProfilePeriod, long, long, long)
A request for market-profile snapshots, passed to GetProfilesAsync(HeatmapIndicatorProfileRangeRequest, CancellationToken). All times are in nanoseconds since the Unix epoch.
public HeatmapIndicatorProfileRangeRequest(HeatmapProfilePeriod Period, long ViewStartTimeNanos, long ViewEndTimeNanos, long CutoffTimeNanos)
Parameters
PeriodHeatmapProfilePeriodThe profile period to return snapshots for.
ViewStartTimeNanoslongThe start of the time range the caller is interested in.
ViewEndTimeNanoslongThe end of the time range the caller is interested in.
CutoffTimeNanoslongThe time up to which the caller has data, usually equal to
ViewEndTimeNanos.
Remarks
The profile source of the platform heatmap returns the latest snapshot of Period and does not filter it by the times of the request.
Properties
CutoffTimeNanos
The time up to which the caller has data, usually equal to
ViewEndTimeNanos.
public long CutoffTimeNanos { get; init; }
Property Value
- long
Period
The profile period to return snapshots for.
public HeatmapProfilePeriod Period { get; init; }
Property Value
ViewEndTimeNanos
The end of the time range the caller is interested in.
public long ViewEndTimeNanos { get; init; }
Property Value
- long
ViewStartTimeNanos
The start of the time range the caller is interested in.
public long ViewStartTimeNanos { get; init; }
Property Value
- long
Methods
Deconstruct(out HeatmapProfilePeriod, out long, out long, out long)
public void Deconstruct(out HeatmapProfilePeriod Period, out long ViewStartTimeNanos, out long ViewEndTimeNanos, out long CutoffTimeNanos)
Parameters
PeriodHeatmapProfilePeriodViewStartTimeNanoslongViewEndTimeNanoslongCutoffTimeNanoslong
Equals(HeatmapIndicatorProfileRangeRequest)
public bool Equals(HeatmapIndicatorProfileRangeRequest other)
Parameters
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 ==(HeatmapIndicatorProfileRangeRequest, HeatmapIndicatorProfileRangeRequest)
public static bool operator ==(HeatmapIndicatorProfileRangeRequest left, HeatmapIndicatorProfileRangeRequest right)
Parameters
Returns
- bool
operator !=(HeatmapIndicatorProfileRangeRequest, HeatmapIndicatorProfileRangeRequest)
public static bool operator !=(HeatmapIndicatorProfileRangeRequest left, HeatmapIndicatorProfileRangeRequest right)
Parameters
Returns
- bool