Table of Contents

Class MarketTimer

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

The timer, based on trading system time.

public class MarketTimer : Disposable
Inheritance
MarketTimer
Extension Methods

Constructors

MarketTimer(IConnector, Action)

Initializes a new instance of the MarketTimer.

public MarketTimer(IConnector connector, Action activated)

Parameters

connector IConnector

The connection to trading system, from which event MarketTimeChanged will be used.

activated Action

The timer processor.

Methods

DisposeManaged()

Release resources.

protected override void DisposeManaged()

Interval(TimeSpan)

To set the interval.

public MarketTimer Interval(TimeSpan interval)

Parameters

interval TimeSpan

The timer interval. If Zero value is set, timer stops to be periodical.

Returns

MarketTimer

The timer.

Start()

To start the timer.

public MarketTimer Start()

Returns

MarketTimer

The timer.

Stop()

To stop the timer.

public MarketTimer Stop()

Returns

MarketTimer

The timer.