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.