OrderRegisterDiagramElement
StockSharp.Diagram.Elements
Order registering element.
继承自: OrderRegisterBaseDiagramElement
构造函数
OrderRegisterDiagramElement()
Initializes a new instance of the OrderRegisterDiagramElement.
属性
ConditionalSettings : OrderConditionSettings
OrderConditionSettings
ExpiryDate : DateTime?
Order expiry time. The default is , which mean (GTC).
ShrinkPrice : bool
Shrink order price.
ZeroAsMarket : bool
Zero price makes market order.
方法
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.