Loading...
Searching...
No Matches
ATAS.Indicators.ICandlesDataProvider Interface Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ GetCandlesAsync()

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.

Exceptions
ArgumentExceptionThe requested instrument cannot be resolved.

◆ SubscribeCandles()

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.

Exceptions
ArgumentExceptionThe requested instrument cannot be resolved.
NotSupportedExceptionThe requested timeframe is not supported by the host.
InvalidOperationExceptionThe per-indicator series limit is exceeded, the timeframe is not available on the current tariff, or the indicator is detached.

Property Documentation

◆ IsAvailable

bool ATAS.Indicators.ICandlesDataProvider.IsAvailable
get

False when the host cannot serve candle series at all.


The documentation for this interface was generated from the following file: