DiagramStrategy
The strategy whose algorithm is presented in the form of a diagram.
Inherits: Strategy
Implements: INotifyPropertiesChanged
Constructors
DiagramStrategy()
Initializes a new instance of the DiagramStrategy.
Properties
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.
Methods
DisposeManaged()
Release resources.
Flush``1(T)
Flush non trigger (root) elements.
GetWorkingPortfolios() : IEnumerable<Portfolio>
Get all portfolios required for strategy.
Returns: Portfolios.
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.
Events
CompositionChanged : Action<CompositionDiagramElement>
The strategy diagram change event.
PropertiesChanged : Action
The available properties change event.