OrderRegisterDiagramElement

StockSharp.Diagram.Elements

Order registering element.

Наследует: OrderRegisterBaseDiagramElement

Конструкторы

OrderRegisterDiagramElement()

Initializes a new instance of the OrderRegisterDiagramElement.

Свойства

ConditionalSettings : OrderConditionSettings

OrderConditionSettings

Direction : Sides

Direction.

ExpiryDate : DateTime?

Order expiry time. The default is , which mean (GTC).

IconName : string

Icon resource name.

IsMarket : bool

Market order type.

ShrinkPrice : bool

Shrink order price.

Slippage : decimal?

Slippage in trade price.

TypeId : Guid

Type id.

ZeroAsMarket : bool

Zero price makes market order.

Методы

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.