MarketDepthControl

StockSharp.Xaml

Die visuelle Steuerung, die das Auftragsbuch mit Anführungszeichen anzeigt (IOrderBookMessage).

Erbt von: BaseGridControl

Implementiert: IComponentConnector

Konstruktoren

MarketDepthControl
public MarketDepthControl()
marketDepthControl = MarketDepthControl()

Initialisiert eine neue Instanz von MarketDepthControl.

Eigenschaften

AllowOwnOrderDragDrop
public bool AllowOwnOrderDragDrop { get; set; }
value = marketDepthControl.AllowOwnOrderDragDrop
marketDepthControl.AllowOwnOrderDragDrop = value

Erlauben Sie eigene Bestellungen Drag & Drop.

AllowSpreadToMove
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.

AnimationDuration
public TimeSpan AnimationDuration { get; set; }
value = marketDepthControl.AnimationDuration
marketDepthControl.AnimationDuration = value

Dauer der Animation.

AutoUpdateFormat
public bool AutoUpdateFormat { get; set; }
value = marketDepthControl.AutoUpdateFormat
marketDepthControl.AutoUpdateFormat = value

Automatische Aktualisierung des Formats nach Finanzinstrumenten.

CancelAnimationColor
public Color CancelAnimationColor { get; set; }
value = marketDepthControl.CancelAnimationColor
marketDepthControl.CancelAnimationColor = value

Animation Farbe abbrechen.

DepthData
public IOrderBookMessage DepthData { get; set; }
value = marketDepthControl.DepthData
marketDepthControl.DepthData = value

Tiefendaten für die Bindung. Das Einstellen dieser Eigenschaft aktualisiert die Auftragsbuchanzeige.

DepthSecurity
public Security DepthSecurity { get; set; }
value = marketDepthControl.DepthSecurity
marketDepthControl.DepthSecurity = value

Finanzinstrument für die Bindung von Tiefendaten.

ErrorAnimationColor
public Color ErrorAnimationColor { get; set; }
value = marketDepthControl.ErrorAnimationColor
marketDepthControl.ErrorAnimationColor = value

Fehleranimation Farbe.

FillBuyAnimationColor
public Color FillBuyAnimationColor { get; set; }
value = marketDepthControl.FillBuyAnimationColor
marketDepthControl.FillBuyAnimationColor = value

Füllen Sie Animationsfarbe kaufen.

FillSellAnimationColor
public Color FillSellAnimationColor { get; set; }
value = marketDepthControl.FillSellAnimationColor
marketDepthControl.FillSellAnimationColor = value

Füllen Sie Animationsfarbe verkaufen.

FillTextAnimationColor
public Color FillTextAnimationColor { get; set; }
value = marketDepthControl.FillTextAnimationColor
marketDepthControl.FillTextAnimationColor = value

Füllen Sie die Textfarbe aus.

GroupRange
public decimal? GroupRange { get; set; }
value = marketDepthControl.GroupRange
marketDepthControl.GroupRange = value

Range für Decimal.

IsBidsOnTop
public bool IsBidsOnTop { get; set; }
value = marketDepthControl.IsBidsOnTop
marketDepthControl.IsBidsOnTop = value

Ob die Gebote oben angezeigt werden sollen.

IsOwnOrderDragging
public bool IsOwnOrderDragging { get; private set; }
value = marketDepthControl.IsOwnOrderDragging
marketDepthControl.IsOwnOrderDragging = value

Wahr, wenn der Benutzer eine Bestellung zieht.

MaxBuyVolume
public decimal MaxBuyVolume { get; set; }
value = marketDepthControl.MaxBuyVolume
marketDepthControl.MaxBuyVolume = value

Maximales Volumen aller Gebote.

MaxDepth
public int MaxDepth { get; set; }
value = marketDepthControl.MaxDepth
marketDepthControl.MaxDepth = value

Die maximale Tiefe der Auftragsbuchanzeige. Der Standardwert ist DefaultDepth.

MaxSellVolume
public decimal MaxSellVolume { get; set; }
value = marketDepthControl.MaxSellVolume
marketDepthControl.MaxSellVolume = value

Das maximale Volumen aller Anfragen.

MaxVolume
public decimal MaxVolume { get; set; }
value = marketDepthControl.MaxVolume
marketDepthControl.MaxVolume = value

Das maximale Volumen aller Zitate.

PriceTextFormat
public string PriceTextFormat { get; set; }
value = marketDepthControl.PriceTextFormat
marketDepthControl.PriceTextFormat = value

Preisformat.

RegisterAnimationColor
public Color RegisterAnimationColor { get; set; }
value = marketDepthControl.RegisterAnimationColor
marketDepthControl.RegisterAnimationColor = value

Registrieren Sie Animationsfarben.

RegisterOrderOn
public MarketDepthExecuteOn RegisterOrderOn { get; set; }
value = marketDepthControl.RegisterOrderOn
marketDepthControl.RegisterOrderOn = value

Ausführen von Order Register Trigger.

SelectedQuote
public QuoteChange? SelectedQuote { get; }
value = marketDepthControl.SelectedQuote

Das ausgewählte Zitat.

ShowBoardColumn
public bool ShowBoardColumn { get; set; }
value = marketDepthControl.ShowBoardColumn
marketDepthControl.ShowBoardColumn = value

Spalte Show Board.

ShowOwnVolumeColumns
public bool ShowOwnVolumeColumns { get; set; }
value = marketDepthControl.ShowOwnVolumeColumns
marketDepthControl.ShowOwnVolumeColumns = value

Zeigen Sie eigene Volumenspalten.

ShowSingleVolumeColumn
public bool ShowSingleVolumeColumn { get; set; }
value = marketDepthControl.ShowSingleVolumeColumn
marketDepthControl.ShowSingleVolumeColumn = value

Single Volume column (Einzelvolumenspalte anzeigen) Der Standardwert ist .

SparseRange
public decimal? SparseRange { get; set; }
value = marketDepthControl.SparseRange
marketDepthControl.SparseRange = value

Range für Int32.

UseOrderAnimations
public bool UseOrderAnimations { get; set; }
value = marketDepthControl.UseOrderAnimations
marketDepthControl.UseOrderAnimations = value

Benutzer eigene bestellung status animationen.

VolumeTextFormat
public string VolumeTextFormat { get; set; }
value = marketDepthControl.VolumeTextFormat
marketDepthControl.VolumeTextFormat = value

Volumenformat.

Methoden

CancelOrders
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.

Clear
public void Clear()
marketDepthControl.Clear()

Um das Auftragsbuch zu löschen.

GetColumnIndex
public MarketDepthColumns GetColumnIndex(GridColumn column)
result = marketDepthControl.GetColumnIndex(column)

Um den Spaltentyp nach Zelle zu erhalten.

column
Spalte.

Rückgabe: Der Spaltentyp.

GetOrders
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.

InitializeComponent
public void InitializeComponent()
marketDepthControl.InitializeComponent()

InitializeComponent

OnLostMouseCapture
protected override void OnLostMouseCapture(MouseEventArgs e)
marketDepthControl.OnLostMouseCapture(e)

Behandeln Sie das Ereignis, wenn die Maus-Erfassung verloren geht.

e
OnPreviewKeyDown
protected override void OnPreviewKeyDown(KeyEventArgs e)
marketDepthControl.OnPreviewKeyDown(e)
ProcessOrder
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.
ProcessOrderFail
public void ProcessOrderFail(OrderFail fail, OrderStates state)
marketDepthControl.ProcessOrderFail(fail, state)

Um ein Auftragsregister / Move / Cancel zu handhaben, fehlschlagen.

ShowOrderFill
public void ShowOrderFill(Sides side, decimal price, decimal volume)
marketDepthControl.ShowOrderFill(side, price, volume)

Show Order Fill Animation.

UpdateDepth
public void UpdateDepth(IOrderBookMessage message, Security security)
marketDepthControl.UpdateDepth(message, security)

Um das Auftragsbuch zu aktualisieren.

message
Markttiefe.
security
Finanzinstrument.
UpdateFormat
public void UpdateFormat(Security security)
marketDepthControl.UpdateFormat(security)

Aktualisieren Sie PriceTextFormat und VolumeTextFormat.

security
Finanzinstrument.

Ereignisse

CancelingOrder
public event Action<Order> CancelingOrder
marketDepthControl.CancelingOrder += handler

Stornierungsauftrag.

MovingOrder
public event Action<Order, decimal> MovingOrder
marketDepthControl.MovingOrder += handler

Umziehen der Ordnung zu neuen Preisen.

RegisteringOrder
public event Action<Sides, decimal> RegisteringOrder
marketDepthControl.RegisteringOrder += handler

Registrierauftrag.

SelectedQuoteChanged
public event Action<QuoteChange?> SelectedQuoteChanged
marketDepthControl.SelectedQuoteChanged += handler

SelectedQuote geändertes Ereignis.

Felder

AllowOwnOrderDragDropProperty
public static readonly DependencyProperty AllowOwnOrderDragDropProperty
value = MarketDepthControl.AllowOwnOrderDragDropProperty

DependencyProperty für AllowOwnOrderDragDrop.

AllowSpreadToMoveProperty
public static readonly DependencyProperty AllowSpreadToMoveProperty
value = MarketDepthControl.AllowSpreadToMoveProperty

DependencyProperty für AllowSpreadToMove.

AnimationDurationProperty
public static readonly DependencyProperty AnimationDurationProperty
value = MarketDepthControl.AnimationDurationProperty

Dauer der Animation.

CancelAnimationColorProperty
public static readonly DependencyProperty CancelAnimationColorProperty
value = MarketDepthControl.CancelAnimationColorProperty

Animation Farbe abbrechen.

DefaultDepth
public const int DefaultDepth
value = MarketDepthControl.DefaultDepth

Standardmäßig die maximale Tiefe, die 20 beträgt.

DepthDataProperty
public static readonly DependencyProperty DepthDataProperty
value = MarketDepthControl.DepthDataProperty

DependencyProperty für DepthData.

DepthSecurityProperty
public static readonly DependencyProperty DepthSecurityProperty
value = MarketDepthControl.DepthSecurityProperty

DependencyProperty für DepthSecurity.

ErrorAnimationColorProperty
public static readonly DependencyProperty ErrorAnimationColorProperty
value = MarketDepthControl.ErrorAnimationColorProperty

Fehleranimation Farbe.

FillBuyAnimationColorProperty
public static readonly DependencyProperty FillBuyAnimationColorProperty
value = MarketDepthControl.FillBuyAnimationColorProperty

Füllen Sie Animationsfarbe kaufen.

FillSellAnimationColorProperty
public static readonly DependencyProperty FillSellAnimationColorProperty
value = MarketDepthControl.FillSellAnimationColorProperty

Füllen Sie Animationsfarbe verkaufen.

FillTextAnimationColorProperty
public static readonly DependencyProperty FillTextAnimationColorProperty
value = MarketDepthControl.FillTextAnimationColorProperty

Füllen Sie die Textfarbe aus.

GroupCommand
public static readonly RoutedCommand GroupCommand
value = MarketDepthControl.GroupCommand

Der Befehl für die Gruppenmarkttiefe.

GroupRangeProperty
public static readonly DependencyProperty GroupRangeProperty
value = MarketDepthControl.GroupRangeProperty

DependencyProperty für GroupRange.

GroupResetCommand
public static readonly RoutedCommand GroupResetCommand
value = MarketDepthControl.GroupResetCommand

Der Befehl für die Rücksetzung der Markttiefe.

IsBidsOnTopProperty
public static readonly DependencyProperty IsBidsOnTopProperty
value = MarketDepthControl.IsBidsOnTopProperty

DependencyProperty für IsBidsOnTop.

IsOwnOrderDraggingKey
public static readonly DependencyPropertyKey IsOwnOrderDraggingKey
value = MarketDepthControl.IsOwnOrderDraggingKey

Wahr, wenn der Benutzer eine Bestellung zieht.

MaxBuyVolumeProperty
public static readonly DependencyProperty MaxBuyVolumeProperty
value = MarketDepthControl.MaxBuyVolumeProperty

DependencyProperty für MaxBuyVolume.

MaxDepthProperty
public static readonly DependencyProperty MaxDepthProperty
value = MarketDepthControl.MaxDepthProperty

DependencyProperty für MaxDepth.

MaxSellVolumeProperty
public static readonly DependencyProperty MaxSellVolumeProperty
value = MarketDepthControl.MaxSellVolumeProperty

DependencyProperty für MaxSellVolume.

MaxVolumeProperty
public static readonly DependencyProperty MaxVolumeProperty
value = MarketDepthControl.MaxVolumeProperty

DependencyProperty für MaxVolume.

PriceTextFormatProperty
public static readonly DependencyProperty PriceTextFormatProperty
value = MarketDepthControl.PriceTextFormatProperty

DependencyProperty für PriceTextFormat.

RegisterAnimationColorProperty
public static readonly DependencyProperty RegisterAnimationColorProperty
value = MarketDepthControl.RegisterAnimationColorProperty

Registrieren Sie Animationsfarben.

RegisterOrderOnProperty
public static readonly DependencyProperty RegisterOrderOnProperty
value = MarketDepthControl.RegisterOrderOnProperty

Ausführen von Order Register Trigger.

ShowBoardColumnProperty
public static readonly DependencyProperty ShowBoardColumnProperty
value = MarketDepthControl.ShowBoardColumnProperty

DependencyProperty für ShowBoardColumn.

ShowOwnVolumeColumnsProperty
public static readonly DependencyProperty ShowOwnVolumeColumnsProperty
value = MarketDepthControl.ShowOwnVolumeColumnsProperty

DependencyProperty für ShowOwnVolumeColumns.

ShowSingleVolumeColumnProperty
public static readonly DependencyProperty ShowSingleVolumeColumnProperty
value = MarketDepthControl.ShowSingleVolumeColumnProperty

DependencyProperty für ShowSingleVolumeColumn.

SparseCommand
public static readonly RoutedCommand SparseCommand
value = MarketDepthControl.SparseCommand

Der Befehl für spärliche Markttiefe.

SparseRangeProperty
public static readonly DependencyProperty SparseRangeProperty
value = MarketDepthControl.SparseRangeProperty

DependencyProperty für SparseRange.

SparseResetCommand
public static readonly RoutedCommand SparseResetCommand
value = MarketDepthControl.SparseResetCommand

Der Befehl für Reset Sparsing Market Deepness.

UseOrderAnimationsProperty
public static readonly DependencyProperty UseOrderAnimationsProperty
value = MarketDepthControl.UseOrderAnimationsProperty

DependencyProperty für UseOrderAnimations.

VolumeTextFormatProperty
public static readonly DependencyProperty VolumeTextFormatProperty
value = MarketDepthControl.VolumeTextFormatProperty

DependencyProperty für VolumeTextFormat.