MarketDepthControl

StockSharp.Xaml

El control visual que muestra el libro de pedidos con citas (IOrderBookMessage@).

Hereda de: BaseGridControl

Implementa: IComponentConnector

Constructores

MarketDepthControl
public MarketDepthControl()
marketDepthControl = MarketDepthControl()

Inicia una nueva instancia de la MarketDepthControl.

Propiedades

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

Permitir que las órdenes sean arrastradas y caídas.

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

Obtiene o establece un valor indicando si se permite que la extensión se mueva. Cuando , la extensión puede moverse hacia arriba y hacia abajo. Cuando , la extensión permanece en el medio.

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

Duración de la animación.

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

Actualizar automáticamente el formato por instrumento financiero). Por defecto está en encendido.

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

Cancelar el color de la animación.

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

Datos de profundidad para el enlace. Configurar esta propiedad actualiza la pantalla del libro de pedidos.

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

instrumento financiero para la fijación de datos de profundidad.

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

Color de animación de error.

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

Llena de color de animación.

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

Llena el color de la animación.

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

Llena el color del texto.

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

Rango para Decimal).

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

Ya sea para mostrar las ofertas anteriores. El predeterminado está apagado.

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

Es cierto si el usuario está arrastrando un pedido.

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

El volumen máximo de todas las ofertas.

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

La profundidad máxima de la pantalla de la reserva de pedidos. El valor predeterminado es DefaultDepth.

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

El volumen máximo de todos los pedidos.

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

El volumen máximo de todas las citas.

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

Formato de precio.

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

Registra el color de la animación.

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

Ejecutar el gatillo del registro de pedidos.

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

La cita seleccionada.

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

Mostrar la columna de la Junta.

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

Mostrar columnas de volumen.

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

Mostrar columna de volumen simple. El valor predeterminado es .

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

Rango para Int32).

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

Animaciones de estado de pedido propio usuario.

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

Formato de volumen.

Métodos

CancelOrders
public void CancelOrders(Func<Order, bool> predicate)
marketDepthControl.CancelOrders(predicate)

Cancela pedidos que se agregaron a esta instancia de MarketDepthControl@. Este método no cancela pedidos por sí mismo. Simplemente notifica a los suscriptores con CancelingOrderevent.

Clear
public void Clear()
marketDepthControl.Clear()

Para aclarar el libro de pedidos.

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

Para conseguir el tipo de columna por celda.

column
Columna.

Devuelve: El tipo de columna.

GetOrders
public IEnumerable<Order> GetOrders(decimal price, Sides? side, OrderTypes? type)
result = marketDepthControl.GetOrders(price, side, type)

Obtenga órdenes activas por criterios especificados.

price
Precio del pedido.
side
Coge el lado de la orden (comprar o vender).
type
Tipo de pedido.

Devuelve: Encontramos órdenes.

InitializeComponent
public void InitializeComponent()
marketDepthControl.InitializeComponent()

InitializeComponent

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

Maneja el evento cuando se pierde la captura del ratón.

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)

Para manejar una orden.

order
Orden.
price
Precio del pedido.
balance
Saldo de contratos de orden.
state
Orden estatal.
ProcessOrderFail
public void ProcessOrderFail(OrderFail fail, OrderStates state)
marketDepthControl.ProcessOrderFail(fail, state)

Para manejar un registro de pedidos/move/cancel fallar.

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

Mostrar orden de llenar animación.

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

Para actualizar el libro de pedidos.

message
Profundidad de mercado.
security
instrumento financiero.
UpdateFormat
public void UpdateFormat(Security security)
marketDepthControl.UpdateFormat(security)

Para actualizar PriceTextFormat y VolumeTextFormat.

security
instrumento financiero.

Eventos

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

Cancelando orden.

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

Moving orden a nuevo precio.

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

Orden de registro.

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

SelectedQuotecambió el evento.

Campos

AllowOwnOrderDragDropProperty
public static readonly DependencyProperty AllowOwnOrderDragDropProperty
value = MarketDepthControl.AllowOwnOrderDragDropProperty

DependencyProperty para AllowOwnOrderDragDrop.

AllowSpreadToMoveProperty
public static readonly DependencyProperty AllowSpreadToMoveProperty
value = MarketDepthControl.AllowSpreadToMoveProperty

DependencyProperty para AllowSpreadToMove.

AnimationDurationProperty
public static readonly DependencyProperty AnimationDurationProperty
value = MarketDepthControl.AnimationDurationProperty

Duración de la animación.

CancelAnimationColorProperty
public static readonly DependencyProperty CancelAnimationColorProperty
value = MarketDepthControl.CancelAnimationColorProperty

Cancelar el color de la animación.

DefaultDepth
public const int DefaultDepth
value = MarketDepthControl.DefaultDepth

La profundidad máxima por defecto es igual a 20.

DepthDataProperty
public static readonly DependencyProperty DepthDataProperty
value = MarketDepthControl.DepthDataProperty

DependencyProperty for DepthData.

DepthSecurityProperty
public static readonly DependencyProperty DepthSecurityProperty
value = MarketDepthControl.DepthSecurityProperty

DependencyProperty for DepthSecurity.

ErrorAnimationColorProperty
public static readonly DependencyProperty ErrorAnimationColorProperty
value = MarketDepthControl.ErrorAnimationColorProperty

Color de animación de error.

FillBuyAnimationColorProperty
public static readonly DependencyProperty FillBuyAnimationColorProperty
value = MarketDepthControl.FillBuyAnimationColorProperty

Llena de color de animación.

FillSellAnimationColorProperty
public static readonly DependencyProperty FillSellAnimationColorProperty
value = MarketDepthControl.FillSellAnimationColorProperty

Llena el color de la animación.

FillTextAnimationColorProperty
public static readonly DependencyProperty FillTextAnimationColorProperty
value = MarketDepthControl.FillTextAnimationColorProperty

Llena el color del texto.

GroupCommand
public static readonly RoutedCommand GroupCommand
value = MarketDepthControl.GroupCommand

El comando para la profundidad del mercado de grupo.

GroupRangeProperty
public static readonly DependencyProperty GroupRangeProperty
value = MarketDepthControl.GroupRangeProperty

DependencyProperty for GroupRange.

GroupResetCommand
public static readonly RoutedCommand GroupResetCommand
value = MarketDepthControl.GroupResetCommand

El comando para reiniciar la profundidad del mercado de agrupación.

IsBidsOnTopProperty
public static readonly DependencyProperty IsBidsOnTopProperty
value = MarketDepthControl.IsBidsOnTopProperty

DependencyProperty for IsBidsOnTop.

IsOwnOrderDraggingKey
public static readonly DependencyPropertyKey IsOwnOrderDraggingKey
value = MarketDepthControl.IsOwnOrderDraggingKey

Es cierto si el usuario está arrastrando un pedido.

MaxBuyVolumeProperty
public static readonly DependencyProperty MaxBuyVolumeProperty
value = MarketDepthControl.MaxBuyVolumeProperty

DependencyProperty for MaxBuyVolume.

MaxDepthProperty
public static readonly DependencyProperty MaxDepthProperty
value = MarketDepthControl.MaxDepthProperty

DependencyProperty for MaxDepth.

MaxSellVolumeProperty
public static readonly DependencyProperty MaxSellVolumeProperty
value = MarketDepthControl.MaxSellVolumeProperty

DependencyProperty for MaxSellVolume.

MaxVolumeProperty
public static readonly DependencyProperty MaxVolumeProperty
value = MarketDepthControl.MaxVolumeProperty

DependencyProperty for MaxVolume.

PriceTextFormatProperty
public static readonly DependencyProperty PriceTextFormatProperty
value = MarketDepthControl.PriceTextFormatProperty

DependencyProperty for PriceTextFormat.

RegisterAnimationColorProperty
public static readonly DependencyProperty RegisterAnimationColorProperty
value = MarketDepthControl.RegisterAnimationColorProperty

Registra el color de la animación.

RegisterOrderOnProperty
public static readonly DependencyProperty RegisterOrderOnProperty
value = MarketDepthControl.RegisterOrderOnProperty

Ejecutar el gatillo del registro de pedidos.

ShowBoardColumnProperty
public static readonly DependencyProperty ShowBoardColumnProperty
value = MarketDepthControl.ShowBoardColumnProperty

DependencyProperty for ShowBoardColumn.

ShowOwnVolumeColumnsProperty
public static readonly DependencyProperty ShowOwnVolumeColumnsProperty
value = MarketDepthControl.ShowOwnVolumeColumnsProperty

DependencyProperty para ShowOwnVolumeColumns.

ShowSingleVolumeColumnProperty
public static readonly DependencyProperty ShowSingleVolumeColumnProperty
value = MarketDepthControl.ShowSingleVolumeColumnProperty

DependencyProperty para ShowSingleVolumeColumn.

SparseCommand
public static readonly RoutedCommand SparseCommand
value = MarketDepthControl.SparseCommand

El comando para la escasa profundidad del mercado.

SparseRangeProperty
public static readonly DependencyProperty SparseRangeProperty
value = MarketDepthControl.SparseRangeProperty

DependencyProperty for SparseRange.

SparseResetCommand
public static readonly RoutedCommand SparseResetCommand
value = MarketDepthControl.SparseResetCommand

El comando para reiniciar la profundidad del mercado.

UseOrderAnimationsProperty
public static readonly DependencyProperty UseOrderAnimationsProperty
value = MarketDepthControl.UseOrderAnimationsProperty

DependencyProperty para UseOrderAnimations.

VolumeTextFormatProperty
public static readonly DependencyProperty VolumeTextFormatProperty
value = MarketDepthControl.VolumeTextFormatProperty

DependencyProperty for VolumeTextFormat.