DiagramStrategy

StockSharp.Diagram

The strategy whose algorithm is presented in the form of a diagram.

継承元: Strategy

実装: INotifyPropertiesChanged

コンストラクター

DiagramStrategy()

Initializes a new instance of the DiagramStrategy.

プロパティ

Composition : CompositionDiagramElement

The strategy diagram.

HistoryCalculated : TimeSpan?

Calculated from code version of HistorySize.

OrderBookSources : IEnumerable<IOrderBookSource>

All possible IOrderBookMessage sources that can be received via OrderBookDrawing.

OverflowLimit : int

Max allowed elements per iteration to prevent stack overflow.

メソッド

CopyTo(Strategy)

Copy settings into .

copy
Strategy
DisposeManaged()

Release resources.

Flush(DateTime)

Flush non trigger (root) elements.

Flush``1(T)

Flush non trigger (root) elements.

GetWorkingPortfolios() : IEnumerable<Portfolio>

Get all portfolios required for strategy.

戻り値: Portfolios.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnReseted()

It is called from the Reset method.

OnStarted2(DateTime)

The method is called when the Start method has been called and the ProcessState state has been taken the Started value.

OnStopped()

The method is called when the ProcessState process state has been taken the Stopped value.

RaisePropertiesChanged()

To call the available properties change event.

Save(SettingsStorage)

Save settings.

storage
Settings storage.

イベント

CompositionChanged : Action<CompositionDiagramElement>

The strategy diagram change event.

PropertiesChanged : Action

The available properties change event.