Interface IHeatmapIndicatorTradeRangeSource
A source of historical trades for indicator warm-up. The source of the platform heatmap returns, ordered by time, the trades already loaded locally for the instrument within the requested range; it does not load history from the server.
Added in ATAS 8.0.15.
public interface IHeatmapIndicatorTradeRangeSource
- Extension Methods
Methods
GetTradeTicksAsync(HeatmapIndicatorWarmupRequest, CancellationToken)
Return the warm-up tick range for request. The
returned HeatmapTickBatch backs onto a buffer the source
owns: indicators may iterate it during the warm-up call but MUST NOT
capture the batch beyond the call's completion. Implementations that
build a fresh array per call may simply wrap it
(new HeatmapTickBatch(arr.AsMemory())); pooled implementations
must return their buffers after the consuming call drains.
ValueTask<HeatmapTickBatch> GetTradeTicksAsync(HeatmapIndicatorWarmupRequest request, CancellationToken cancellationToken)
Parameters
requestHeatmapIndicatorWarmupRequestcancellationTokenCancellationToken
Returns
- ValueTask<HeatmapTickBatch>