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...
|
| 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).
|
| |
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.
◆ 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.
◆ 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).
◆ 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: