DiagramStrategy

StockSharp.Diagram

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

Hereda de: Strategy

Implementa: INotifyPropertiesChanged

Constructores

DiagramStrategy()

Initializes a new instance of the DiagramStrategy.

Propiedades

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.

Métodos

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.

Devuelve: 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.

Eventos

CompositionChanged : Action<CompositionDiagramElement>

The strategy diagram change event.

PropertiesChanged : Action

The available properties change event.