Provides indicators with candle series of other timeframes and/or other instruments, with history and live updates. More...
Public Member Functions | |
| ICandleSeriesSubscription | SubscribeCandles (CandleSeriesRequest request) |
| Starts a live candle series: loads history, then keeps building candles from live data. Dispose the returned subscription to release it. History-load failures fault the subscription's ICandleSeriesSubscription.Loaded task. | |
| Task< IReadOnlyList< IndicatorCandle > > | GetCandlesAsync (CandleSeriesRequest request, CancellationToken cancellationToken=default) |
| One-shot history request without a live subscription — nothing to dispose. Intended for one-off fetches such as scans or correlation snapshots. Concurrent calls per indicator are limited and queue; for a live series use SubscribeCandles. | |
Properties | |
| bool | IsAvailable [get] |
| False when the host cannot serve candle series at all. | |
Provides indicators with candle series of other timeframes and/or other instruments, with history and live updates.
Candle series are a scarce resource: each live series costs a history download and a live tick pipeline. Subscribe to what the indicator analyzes and dispose subscriptions that are no longer needed; the host disposes everything left when the indicator detaches.
| Task< IReadOnlyList< IndicatorCandle > > ATAS.Indicators.ICandlesDataProvider.GetCandlesAsync | ( | CandleSeriesRequest | request, |
| CancellationToken | cancellationToken = default |
||
| ) |
One-shot history request without a live subscription — nothing to dispose. Intended for one-off fetches such as scans or correlation snapshots. Concurrent calls per indicator are limited and queue; for a live series use SubscribeCandles.
| ArgumentException | The requested instrument cannot be resolved. |
| ICandleSeriesSubscription ATAS.Indicators.ICandlesDataProvider.SubscribeCandles | ( | CandleSeriesRequest | request | ) |
Starts a live candle series: loads history, then keeps building candles from live data. Dispose the returned subscription to release it. History-load failures fault the subscription's ICandleSeriesSubscription.Loaded task.
| ArgumentException | The requested instrument cannot be resolved. |
| NotSupportedException | The requested timeframe is not supported by the host. |
| InvalidOperationException | The per-indicator series limit is exceeded, the timeframe is not available on the current tariff, or the indicator is detached. |
|
get |
False when the host cannot serve candle series at all.