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

Context for indicators that need to access cross-trading instrument data. Allows indicators to subscribe to cross-trading instrument changes and access market data for the selected cross-trading instrument without creating new subscriptions. More...

Public Member Functions

Task< IOnlineDataProvider?> GetCurrentDataProviderAsync ()
 Attempts to get the online data provider for a specific instrument. Returns null if the instrument is not subscribed or cross-trading is not available.
 

Properties

string? CurrentCrossTradingDisplayName [get]
 Gets the display name of the currently selected cross-trading instrument, or null if cross-trading is not active.
 
bool IsCrossTradingActive [get]
 Gets a value indicating whether cross-trading is currently active (selected instrument differs from chart base).
 

Events

EventHandler CrossTradingInstrumentChanged
 Event raised when the cross-trading instrument selection changes.
 

Detailed Description

Context for indicators that need to access cross-trading instrument data. Allows indicators to subscribe to cross-trading instrument changes and access market data for the selected cross-trading instrument without creating new subscriptions.

Member Function Documentation

◆ GetCurrentDataProviderAsync()

Task< IOnlineDataProvider?> ATAS.Indicators.ICrossTradingIndicatorContext.GetCurrentDataProviderAsync ( )

Attempts to get the online data provider for a specific instrument. Returns null if the instrument is not subscribed or cross-trading is not available.

Returns
The data provider for the instrument, or null if not subscribed.

Property Documentation

◆ CurrentCrossTradingDisplayName

string? ATAS.Indicators.ICrossTradingIndicatorContext.CurrentCrossTradingDisplayName
get

Gets the display name of the currently selected cross-trading instrument, or null if cross-trading is not active.

◆ IsCrossTradingActive

bool ATAS.Indicators.ICrossTradingIndicatorContext.IsCrossTradingActive
get

Gets a value indicating whether cross-trading is currently active (selected instrument differs from chart base).

Event Documentation

◆ CrossTradingInstrumentChanged

EventHandler ATAS.Indicators.ICrossTradingIndicatorContext.CrossTradingInstrumentChanged

Event raised when the cross-trading instrument selection changes.


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