Show / Hide Table of Contents

Class OrderReplaceElement

Order replacing element.

Inheritance
Object
BaseLogSource
BaseLogReceiver
DiagramElement
OrderBaseDiagramElement
OrderReplaceElement
Implements
Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
IDisposable
INotifyPropertyChanging
INotifyPropertyChanged
ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged
Inherited Members
OrderBaseDiagramElement.CanProcess(IDictionary<DiagramSocket, DiagramSocketValue>)
DiagramElement.ProcessDoubleClick(Object)
DiagramElement.SetElementName(String)
DiagramElement.AddParam<T>(String, T)
DiagramElement.AddParam(IDiagramElementParam)
DiagramElement.RemoveParam(IDiagramElementParam)
DiagramElement.CreateSocketInstance(DiagramSocketDirection, String)
DiagramElement.GetOrAddInput(String, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddInput(StaticSocketIds, String, DiagramSocketType, Boolean, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(StaticSocketIds, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.GetOrAddOutput(String, String, DiagramSocketType, Boolean, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddInput(StaticSocketIds, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddInput(String, String, DiagramSocketType, Action<DiagramSocketValue>, Int32, Int32, Boolean, Nullable<Boolean>)
DiagramElement.AddOutput(StaticSocketIds, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.AddOutput(String, String, DiagramSocketType, Int32, Int32, Nullable<Boolean>)
DiagramElement.RemoveSocket(String)
DiagramElement.RemoveSocket(DiagramSocket)
DiagramElement.RemoveSockets(Boolean)
DiagramElement.RemoveSockets(Func<DiagramSocket, Boolean>, Boolean)
DiagramElement.OnSocketConnected(DiagramSocket, DiagramSocket)
DiagramElement.OnSocketDisconnected(DiagramSocket, DiagramSocket)
DiagramElement.RaiseSocketChanged(DiagramSocket)
DiagramElement.RaiseProcessOutput(DiagramSocket, DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, Subscription)
DiagramElement.RaiseProcessOutput(DiagramSocket, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(DateTimeOffset, Object, DiagramSocketValue, Subscription)
DiagramElement.RaiseProcessOutput(Object, DiagramSocketValue, Subscription)
DiagramElement.Flush()
DiagramElement.Init(ILogSource)
DiagramElement.UnInit()
DiagramElement.OnInit()
DiagramElement.OnUnInit()
DiagramElement.Process(DiagramSocketValue)
DiagramElement.GetNumConnections(DiagramSocket)
DiagramElement.GetConnectedSourceSockets(DiagramSocket)
DiagramElement.Start()
DiagramElement.OnStart()
DiagramElement.Stop()
DiagramElement.OnStop()
DiagramElement.Reset()
DiagramElement.OnReseted()
DiagramElement.ClearSocketValues()
DiagramElement.RaisePropertyChanging(String)
DiagramElement.RaisePropertyChanging(Object, PropertyChangingEventArgs)
DiagramElement.RaisePropertyChanged(String)
DiagramElement.RaisePropertyChanged(Object, PropertyChangedEventArgs)
DiagramElement.RaiseParameterValueChanged(String)
DiagramElement.Clone(Boolean)
DiagramElement.Save(SettingsStorage)
DiagramElement.Load(SettingsStorage)
DiagramElement.RaisePropertiesChanged()
DiagramElement.SaveUndoState(Object)
DiagramElement.InputSockets
DiagramElement.OutputSockets
DiagramElement.ParentComposition
DiagramElement.IsUndoRedoing
DiagramElement.HasUndoManager
DiagramElement.Parameters
DiagramElement.Category
DiagramElement.CanAutoName
DiagramElement.Name
DiagramElement.Description
DiagramElement.LogLevel
DiagramElement.ShowParameters
DiagramElement.ShowSockets
DiagramElement.ProcessNullValues
DiagramElement.Icon
DiagramElement.Strategy
DiagramElement.Connector
DiagramElement.DebuggerSyncObject
DiagramElement.NeedFlush
DiagramElement.ProcessingLevel
DiagramElement.ProcessOutput
DiagramElement.SocketAdded
DiagramElement.SocketRemoved
DiagramElement.SocketChanged
DiagramElement.StartedUndoableOperation
DiagramElement.CommittedUndoableOperation
DiagramElement.PropertyChanging
DiagramElement.PropertyChanged
DiagramElement.ParameterValueChanged
DiagramElement.PropertiesChanged
BaseLogReceiver.ILogReceiver.AddLog(LogMessage)
BaseLogSource.RaiseLog(LogMessage)
BaseLogSource.ToString()
BaseLogSource.Id
BaseLogSource.Parent
BaseLogSource.CurrentTime
BaseLogSource.IsRoot
BaseLogSource.ParentRemoved
BaseLogSource.Log
Namespace: StockSharp.Xaml.Diagram.Elements
Assembly: StockSharp.Xaml.Diagram.dll
Syntax
[DescriptionLoc("OrderReplacing", true)]
[CategoryLoc("Str3599")]
[DisplayNameLoc("OrderReplacing")]
public class OrderReplaceElement : OrderBaseDiagramElement, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged

Constructors

OrderReplaceElement()

Initializes a new instance of the OrderReplaceElement.

Declaration
public OrderReplaceElement()

Properties

IconName

Icon resource name.

Declaration
public override string IconName { get; }
Property Value
Type Description
String
Overrides
DiagramElement.IconName

ShrinkPrice

Shrink order price.

Declaration
public bool ShrinkPrice { get; set; }
Property Value
Type Description
Boolean

TypeId

The unique identifier of the diagram element type.

Declaration
public override Guid TypeId { get; }
Property Value
Type Description
Guid
Overrides
DiagramElement.TypeId

ZeroAsMarket

Zero price makes market order.

Declaration
public bool ZeroAsMarket { get; set; }
Property Value
Type Description
Boolean

Methods

OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)

The method is called at the processing of the new incoming values.

Declaration
protected override void OnProcess(DateTimeOffset time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
Parameters
Type Name Description
DateTimeOffset time

Time.

IDictionary<DiagramSocket, DiagramSocketValue> values

Values.

DiagramSocketValue source

Source value.

Overrides
DiagramElement.OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)

Implements

Ecng.Serialization.IPersistable
ILogReceiver
ILogSource
System.IDisposable
System.ComponentModel.INotifyPropertyChanging
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.ICustomTypeDescriptor
Ecng.ComponentModel.INotifyPropertiesChanged

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
Extensions.TryGet<TMessage, TChange>(TMessage, TChange)
Extensions.TryGetDecimal<TMessage, TChange>(TMessage, TChange)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Object)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Decimal)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int32)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Int64)
Extensions.Add<TMessage, TChange>(TMessage, TChange, SecurityStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<SecurityStates>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, String)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Sides)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Sides>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, CurrencyTypes)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<CurrencyTypes>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, PortfolioStates)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<PortfolioStates>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, DateTimeOffset)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<DateTimeOffset>)
Extensions.Add<TMessage, TChange>(TMessage, TChange, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Boolean>)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Decimal, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Decimal>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int32, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int32>, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Int64, Boolean)
Extensions.TryAdd<TMessage, TChange>(TMessage, TChange, Nullable<Int64>, Boolean)
StudioHelper.GetId(DiagramElement, CompositionType)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾