Class OrderReplaceDiagramElement
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
Order replacing element.
[Display(ResourceType = typeof(LocalizedStrings), Name = "OrderReplacing", Description = "OrderReplacing", GroupName = "Orders")]
public class OrderReplaceDiagramElement : OrderBaseDiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
- Inheritance
-
OrderReplaceDiagramElement
- Implements
-
INotifyPropertiesChangedIPersistable
- Inherited Members
- Extension Methods
Constructors
OrderReplaceDiagramElement()
Initializes a new instance of the OrderReplaceDiagramElement.
public OrderReplaceDiagramElement()
Properties
IconName
Icon resource name.
public override string IconName { get; }
Property Value
ShrinkPrice
Shrink order price.
public bool ShrinkPrice { get; set; }
Property Value
TypeId
The unique identifier of the diagram element type.
public override Guid TypeId { get; }
Property Value
ZeroAsMarket
Zero price makes market order.
public bool ZeroAsMarket { get; set; }
Property Value
Methods
OnPrepare()
To prepare for starting the diagram element algorithm.
protected override void OnPrepare()
OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
The method is called at the processing of the new incoming values.
protected override void OnProcess(DateTimeOffset time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
Parameters
time
DateTimeOffsetTime.
values
IDictionary<DiagramSocket, DiagramSocketValue>Values.
source
DiagramSocketValueSource value.
OnReseted()
The method is called at re-initialisation of the diagram element state.
protected override void OnReseted()