PositionModifyElement
StockSharp.Diagram.Elements
Element that changes position (open, close, reduce, reverse).
继承自: OrderRegisterBaseDiagramElement
构造函数
PositionModifyElement()
Initializes a new instance of the PositionModifyElement.
属性
Algorithm : PositionModifyAlgorithms
PositionModifyAlgorithms
PosCondition : PositionConditions
PositionConditions
TimeInterval : TimeSpan
Time interval that TWAP uses for split time range.
VolumePart : Unit
Volume part that VWAP uses for split target volume.
方法
OnPrepare()
To prepare for starting the diagram element algorithm.
OnProcess(DateTime, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
The method is called at the processing of the new incoming values.
- time
- Time.
- values
- Values.
- source
- Source value.
OnReseted()
It is called from the Reset method.