PositionModifyElement

StockSharp.Diagram.Elements

Element that changes position (open, close, reduce, reverse).

继承自: OrderRegisterBaseDiagramElement

构造函数

PositionModifyElement()

Initializes a new instance of the PositionModifyElement.

属性

Algorithm : PositionModifyAlgorithms

PositionModifyAlgorithms

Direction : Sides?

Direction.

IconName : string

Icon resource name.

PosCondition : PositionConditions

PositionConditions

TimeInterval : TimeSpan

Time interval that TWAP uses for split time range.

TypeId : Guid

Type id.

VolumePart : Unit

Volume part that VWAP uses for split target volume.

方法

Load(SettingsStorage)

Load settings.

storage
Settings storage.
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.