MarketDepthControl
Die visuelle Steuerung, die das Auftragsbuch mit Anführungszeichen anzeigt (IOrderBookMessage).
Erbt von: BaseGridControl
Implementiert: IComponentConnector
Konstruktoren
public MarketDepthControl()
marketDepthControl = MarketDepthControl()
Initialisiert eine neue Instanz von MarketDepthControl.
Eigenschaften
public bool AllowOwnOrderDragDrop { get; set; }
value = marketDepthControl.AllowOwnOrderDragDrop
marketDepthControl.AllowOwnOrderDragDrop = value
Erlauben Sie eigene Bestellungen Drag & Drop.
public bool AllowSpreadToMove { get; set; }
value = marketDepthControl.AllowSpreadToMove
marketDepthControl.AllowSpreadToMove = value
Wenn , kann sich der Spread auf und ab bewegen. Wenn , bleibt der Spread in der Mitte.
public TimeSpan AnimationDuration { get; set; }
value = marketDepthControl.AnimationDuration
marketDepthControl.AnimationDuration = value
Dauer der Animation.
public bool AutoUpdateFormat { get; set; }
value = marketDepthControl.AutoUpdateFormat
marketDepthControl.AutoUpdateFormat = value
Automatische Aktualisierung des Formats nach Finanzinstrumenten.
public Color CancelAnimationColor { get; set; }
value = marketDepthControl.CancelAnimationColor
marketDepthControl.CancelAnimationColor = value
Animation Farbe abbrechen.
public IOrderBookMessage DepthData { get; set; }
value = marketDepthControl.DepthData
marketDepthControl.DepthData = value
Tiefendaten für die Bindung. Das Einstellen dieser Eigenschaft aktualisiert die Auftragsbuchanzeige.
public Security DepthSecurity { get; set; }
value = marketDepthControl.DepthSecurity
marketDepthControl.DepthSecurity = value
Finanzinstrument für die Bindung von Tiefendaten.
public Color ErrorAnimationColor { get; set; }
value = marketDepthControl.ErrorAnimationColor
marketDepthControl.ErrorAnimationColor = value
Fehleranimation Farbe.
public Color FillBuyAnimationColor { get; set; }
value = marketDepthControl.FillBuyAnimationColor
marketDepthControl.FillBuyAnimationColor = value
Füllen Sie Animationsfarbe kaufen.
public Color FillSellAnimationColor { get; set; }
value = marketDepthControl.FillSellAnimationColor
marketDepthControl.FillSellAnimationColor = value
Füllen Sie Animationsfarbe verkaufen.
public Color FillTextAnimationColor { get; set; }
value = marketDepthControl.FillTextAnimationColor
marketDepthControl.FillTextAnimationColor = value
Füllen Sie die Textfarbe aus.
public decimal? GroupRange { get; set; }
value = marketDepthControl.GroupRange
marketDepthControl.GroupRange = value
Range für Decimal.
public bool IsBidsOnTop { get; set; }
value = marketDepthControl.IsBidsOnTop
marketDepthControl.IsBidsOnTop = value
Ob die Gebote oben angezeigt werden sollen.
public bool IsOwnOrderDragging { get; private set; }
value = marketDepthControl.IsOwnOrderDragging
marketDepthControl.IsOwnOrderDragging = value
Wahr, wenn der Benutzer eine Bestellung zieht.
public decimal MaxBuyVolume { get; set; }
value = marketDepthControl.MaxBuyVolume
marketDepthControl.MaxBuyVolume = value
Maximales Volumen aller Gebote.
public int MaxDepth { get; set; }
value = marketDepthControl.MaxDepth
marketDepthControl.MaxDepth = value
Die maximale Tiefe der Auftragsbuchanzeige. Der Standardwert ist DefaultDepth.
public decimal MaxSellVolume { get; set; }
value = marketDepthControl.MaxSellVolume
marketDepthControl.MaxSellVolume = value
Das maximale Volumen aller Anfragen.
public decimal MaxVolume { get; set; }
value = marketDepthControl.MaxVolume
marketDepthControl.MaxVolume = value
Das maximale Volumen aller Zitate.
public string PriceTextFormat { get; set; }
value = marketDepthControl.PriceTextFormat
marketDepthControl.PriceTextFormat = value
Preisformat.
public Color RegisterAnimationColor { get; set; }
value = marketDepthControl.RegisterAnimationColor
marketDepthControl.RegisterAnimationColor = value
Registrieren Sie Animationsfarben.
public MarketDepthExecuteOn RegisterOrderOn { get; set; }
value = marketDepthControl.RegisterOrderOn
marketDepthControl.RegisterOrderOn = value
Ausführen von Order Register Trigger.
public QuoteChange? SelectedQuote { get; }
value = marketDepthControl.SelectedQuote
Das ausgewählte Zitat.
public bool ShowBoardColumn { get; set; }
value = marketDepthControl.ShowBoardColumn
marketDepthControl.ShowBoardColumn = value
Spalte Show Board.
public bool ShowOwnVolumeColumns { get; set; }
value = marketDepthControl.ShowOwnVolumeColumns
marketDepthControl.ShowOwnVolumeColumns = value
Zeigen Sie eigene Volumenspalten.
public bool ShowSingleVolumeColumn { get; set; }
value = marketDepthControl.ShowSingleVolumeColumn
marketDepthControl.ShowSingleVolumeColumn = value
Single Volume column (Einzelvolumenspalte anzeigen) Der Standardwert ist .
public decimal? SparseRange { get; set; }
value = marketDepthControl.SparseRange
marketDepthControl.SparseRange = value
Range für Int32.
public bool UseOrderAnimations { get; set; }
value = marketDepthControl.UseOrderAnimations
marketDepthControl.UseOrderAnimations = value
Benutzer eigene bestellung status animationen.
public string VolumeTextFormat { get; set; }
value = marketDepthControl.VolumeTextFormat
marketDepthControl.VolumeTextFormat = value
Volumenformat.
Methoden
public void CancelOrders(Func<Order, bool> predicate)
marketDepthControl.CancelOrders(predicate)
Bestellungen stornieren, die zu dieser Instanz von MarketDepthControl hinzugefügt wurden. Diese Methode storniert Bestellungen nicht von selbst. Es benachrichtigt Abonnenten nur mit CancelingOrder Ereignis.
public MarketDepthColumns GetColumnIndex(GridColumn column)
result = marketDepthControl.GetColumnIndex(column)
Um den Spaltentyp nach Zelle zu erhalten.
- column
- Spalte.
Rückgabe: Der Spaltentyp.
public IEnumerable<Order> GetOrders(decimal price, Sides? side, OrderTypes? type)
result = marketDepthControl.GetOrders(price, side, type)
Aktive Bestellungen nach festgelegten Kriterien.
- price
- Bestellpreis.
- side
- Orderseite (Kaufen oder Verkaufen).
- type
- Auftragsart.
Rückgabe: Gefundene Bestellungen.
public void InitializeComponent()
marketDepthControl.InitializeComponent()
InitializeComponent
protected override void OnLostMouseCapture(MouseEventArgs e)
marketDepthControl.OnLostMouseCapture(e)
Behandeln Sie das Ereignis, wenn die Maus-Erfassung verloren geht.
- e
protected override void OnPreviewKeyDown(KeyEventArgs e)
marketDepthControl.OnPreviewKeyDown(e)
public void ProcessOrder(Order order, decimal price, decimal balance, OrderStates state)
marketDepthControl.ProcessOrder(order, price, balance, state)
Um eine Bestellung zu erledigen.
- order
- Bestellung.
- price
- Bestellpreis.
- balance
- Auftragskontrakte Saldo.
- state
- Ordnungsstaat.
public void ProcessOrderFail(OrderFail fail, OrderStates state)
marketDepthControl.ProcessOrderFail(fail, state)
Um ein Auftragsregister / Move / Cancel zu handhaben, fehlschlagen.
public void ShowOrderFill(Sides side, decimal price, decimal volume)
marketDepthControl.ShowOrderFill(side, price, volume)
Show Order Fill Animation.
public void UpdateDepth(IOrderBookMessage message, Security security)
marketDepthControl.UpdateDepth(message, security)
Um das Auftragsbuch zu aktualisieren.
- message
- Markttiefe.
- security
- Finanzinstrument.
public void UpdateFormat(Security security)
marketDepthControl.UpdateFormat(security)
Aktualisieren Sie PriceTextFormat und VolumeTextFormat.
- security
- Finanzinstrument.
Ereignisse
public event Action<Order> CancelingOrder
marketDepthControl.CancelingOrder += handler
Stornierungsauftrag.
public event Action<Order, decimal> MovingOrder
marketDepthControl.MovingOrder += handler
Umziehen der Ordnung zu neuen Preisen.
public event Action<Sides, decimal> RegisteringOrder
marketDepthControl.RegisteringOrder += handler
Registrierauftrag.
public event Action<QuoteChange?> SelectedQuoteChanged
marketDepthControl.SelectedQuoteChanged += handler
SelectedQuote geändertes Ereignis.
Felder
public static readonly DependencyProperty AllowOwnOrderDragDropProperty
value = MarketDepthControl.AllowOwnOrderDragDropProperty
DependencyProperty für AllowOwnOrderDragDrop.
public static readonly DependencyProperty AllowSpreadToMoveProperty
value = MarketDepthControl.AllowSpreadToMoveProperty
DependencyProperty für AllowSpreadToMove.
public static readonly DependencyProperty AnimationDurationProperty
value = MarketDepthControl.AnimationDurationProperty
Dauer der Animation.
public static readonly DependencyProperty CancelAnimationColorProperty
value = MarketDepthControl.CancelAnimationColorProperty
Animation Farbe abbrechen.
public const int DefaultDepth
value = MarketDepthControl.DefaultDepth
Standardmäßig die maximale Tiefe, die 20 beträgt.
public static readonly DependencyProperty DepthDataProperty
value = MarketDepthControl.DepthDataProperty
DependencyProperty für DepthData.
public static readonly DependencyProperty DepthSecurityProperty
value = MarketDepthControl.DepthSecurityProperty
DependencyProperty für DepthSecurity.
public static readonly DependencyProperty ErrorAnimationColorProperty
value = MarketDepthControl.ErrorAnimationColorProperty
Fehleranimation Farbe.
public static readonly DependencyProperty FillBuyAnimationColorProperty
value = MarketDepthControl.FillBuyAnimationColorProperty
Füllen Sie Animationsfarbe kaufen.
public static readonly DependencyProperty FillSellAnimationColorProperty
value = MarketDepthControl.FillSellAnimationColorProperty
Füllen Sie Animationsfarbe verkaufen.
public static readonly DependencyProperty FillTextAnimationColorProperty
value = MarketDepthControl.FillTextAnimationColorProperty
Füllen Sie die Textfarbe aus.
public static readonly RoutedCommand GroupCommand
value = MarketDepthControl.GroupCommand
Der Befehl für die Gruppenmarkttiefe.
public static readonly DependencyProperty GroupRangeProperty
value = MarketDepthControl.GroupRangeProperty
DependencyProperty für GroupRange.
public static readonly RoutedCommand GroupResetCommand
value = MarketDepthControl.GroupResetCommand
Der Befehl für die Rücksetzung der Markttiefe.
public static readonly DependencyProperty IsBidsOnTopProperty
value = MarketDepthControl.IsBidsOnTopProperty
DependencyProperty für IsBidsOnTop.
public static readonly DependencyPropertyKey IsOwnOrderDraggingKey
value = MarketDepthControl.IsOwnOrderDraggingKey
Wahr, wenn der Benutzer eine Bestellung zieht.
public static readonly DependencyProperty MaxBuyVolumeProperty
value = MarketDepthControl.MaxBuyVolumeProperty
DependencyProperty für MaxBuyVolume.
public static readonly DependencyProperty MaxDepthProperty
value = MarketDepthControl.MaxDepthProperty
DependencyProperty für MaxDepth.
public static readonly DependencyProperty MaxSellVolumeProperty
value = MarketDepthControl.MaxSellVolumeProperty
DependencyProperty für MaxSellVolume.
public static readonly DependencyProperty MaxVolumeProperty
value = MarketDepthControl.MaxVolumeProperty
DependencyProperty für MaxVolume.
public static readonly DependencyProperty PriceTextFormatProperty
value = MarketDepthControl.PriceTextFormatProperty
DependencyProperty für PriceTextFormat.
public static readonly DependencyProperty RegisterAnimationColorProperty
value = MarketDepthControl.RegisterAnimationColorProperty
Registrieren Sie Animationsfarben.
public static readonly DependencyProperty RegisterOrderOnProperty
value = MarketDepthControl.RegisterOrderOnProperty
Ausführen von Order Register Trigger.
public static readonly DependencyProperty ShowBoardColumnProperty
value = MarketDepthControl.ShowBoardColumnProperty
DependencyProperty für ShowBoardColumn.
public static readonly DependencyProperty ShowOwnVolumeColumnsProperty
value = MarketDepthControl.ShowOwnVolumeColumnsProperty
DependencyProperty für ShowOwnVolumeColumns.
public static readonly DependencyProperty ShowSingleVolumeColumnProperty
value = MarketDepthControl.ShowSingleVolumeColumnProperty
DependencyProperty für ShowSingleVolumeColumn.
public static readonly RoutedCommand SparseCommand
value = MarketDepthControl.SparseCommand
Der Befehl für spärliche Markttiefe.
public static readonly DependencyProperty SparseRangeProperty
value = MarketDepthControl.SparseRangeProperty
DependencyProperty für SparseRange.
public static readonly RoutedCommand SparseResetCommand
value = MarketDepthControl.SparseResetCommand
Der Befehl für Reset Sparsing Market Deepness.
public static readonly DependencyProperty UseOrderAnimationsProperty
value = MarketDepthControl.UseOrderAnimationsProperty
DependencyProperty für UseOrderAnimations.
public static readonly DependencyProperty VolumeTextFormatProperty
value = MarketDepthControl.VolumeTextFormatProperty
DependencyProperty für VolumeTextFormat.