ATAS
Loading...
Searching...
No Matches
ATAS.Indicators.IMarketTimeProvider Interface Reference
Inheritance diagram for ATAS.Indicators.IMarketTimeProvider:
[legend]

Public Member Functions

void SubscribeToTimer (TimeSpan period, Action callback)
 Registers the callback and periodically calls it with specified period.
 
void UnsubscribeFromTimer (TimeSpan period, Action callback)
 Unregister the callback from periodic invocations.
 

Properties

DateTime MarketTime [get]
 Current market time.
 
DateTime UtcTime [get]
 Current UTC time.
 

Member Function Documentation

◆ SubscribeToTimer()

void ATAS.Indicators.IMarketTimeProvider.SubscribeToTimer ( TimeSpan  period,
Action  callback 
)

Registers the callback and periodically calls it with specified period.

Parameters
periodA period of market data time used to repeatedly invoke the callback.
callbackA method that is called each time a specified period of market data time passes.

Implemented in ATAS.Indicators.ExtendedIndicator.

◆ UnsubscribeFromTimer()

void ATAS.Indicators.IMarketTimeProvider.UnsubscribeFromTimer ( TimeSpan  period,
Action  callback 
)

Unregister the callback from periodic invocations.

Parameters
periodSubscribed period of invocations.
callbackA method to be unregistered.

Implemented in ATAS.Indicators.ExtendedIndicator.

Property Documentation

◆ MarketTime

DateTime ATAS.Indicators.IMarketTimeProvider.MarketTime
get

Current market time.

Implemented in ATAS.Indicators.ExtendedIndicator.

◆ UtcTime

DateTime ATAS.Indicators.IMarketTimeProvider.UtcTime
get

Current UTC time.

Implemented in ATAS.Indicators.ExtendedIndicator.


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