Interface IMarketDataModeProvider
- Namespace
- ATAS.Indicators
- Assembly
- ATAS.Indicators.dll
Tells an indicator whether the platform shows the live market or plays history (Market Replay). Indicators that load external data by time use it to stop taking live updates during replay and to know which window is played. Resolved through IIndicatorServiceProvider; hosts that do not register it have no replay, so its absence means live.
Not in ATAS 8.0.15 yet: available from the next version.
public interface IMarketDataModeProvider
- Extension Methods
Remarks
A mode change reloads the charts and re-creates their indicators, so the mode can be read once when the indicator starts its data flow.
Properties
IsReplay
True while a replay session is loaded: the chart shows history cut at the replay position.
bool IsReplay { get; }
Property Value
- bool
PlaybackRange
The played window in UTC; null when not in replay.
MarketDataPlaybackRange? PlaybackRange { get; }