MarketDepthControl

StockSharp.Xaml

The visual control displaying the order book with quotes (IOrderBookMessage).

継承元: BaseGridControl

実装: IComponentConnector

コンストラクター

MarketDepthControl()

Initializes a new instance of the MarketDepthControl.

プロパティ

AllowOwnOrderDragDrop : bool

Allow own orders drag and drop.

AllowSpreadToMove : bool

Gets or sets a value indicating whether the spread is allowed to move. When , the spread can move up and down. When , the spread stays in the middle.

AnimationDuration : TimeSpan

Animation duration.

AutoUpdateFormat : bool

Automatically update format by Security). By default is on.

CancelAnimationColor : Color

Cancel animation color.

DepthData : IOrderBookMessage

Depth data for binding. Setting this property updates the order book display.

DepthSecurity : Security

Security for depth data binding.

ErrorAnimationColor : Color

Error animation color.

FillBuyAnimationColor : Color

Fill buy animation color.

FillSellAnimationColor : Color

Fill sell animation color.

FillTextAnimationColor : Color

Fill text color.

GroupRange : decimal?

Range for Decimal).

IsBidsOnTop : bool

Whether to show the bids above. The default is off.

IsOwnOrderDragging : bool

True if user is dragging an order.

MaxBuyVolume : decimal

The maximum volume of all bids.

MaxDepth : int

The maximum depth of order book display. The default value is DefaultDepth.

MaxSellVolume : decimal

The maximum volume of all asks.

MaxVolume : decimal

The maximum volume of all quotes.

PriceTextFormat : string

Price format.

RegisterAnimationColor : Color

Register animation color.

RegisterOrderOn : MarketDepthExecuteOn

Execute order register trigger.

SelectedQuote : QuoteChange?

The selected quote.

ShowBoardColumn : bool

Show Board column.

ShowOwnVolumeColumns : bool

Show own volume columns.

ShowSingleVolumeColumn : bool

Show single Volume column. The default value is .

SparseRange : decimal?

Range for Int32).

UseOrderAnimations : bool

User own order state animations.

VolumeTextFormat : string

Volume format.

メソッド

CancelOrders(Func<Order, bool>)

Cancel orders that were added to this instance of MarketDepthControl. This method does not cancel orders by itself. It just notifies subscribers with CancelingOrder event.

Clear()

To clear the order book.

GetColumnIndex(GridColumn) : MarketDepthColumns

To get the column type by cell.

column
Column.

戻り値: The column type.

GetOrders(decimal, Sides?, OrderTypes?) : IEnumerable<Order>

Get active orders by specified criteria.

price
Order price.
side
Order side (buy or sell).
type
Order type.

戻り値: Found orders.

InitializeComponent()

InitializeComponent

OnLostMouseCapture(MouseEventArgs)

Handle the event when mouse capture is lost.

e
ProcessOrder(Order, decimal, decimal, OrderStates)

To handle an order.

order
Order.
price
Order price.
balance
Order contracts balance.
state
Order state.
ProcessOrderFail(OrderFail, OrderStates)

To handle an order register/move/cancel fail.

ShowOrderFill(Sides, decimal, decimal)

Show order fill animation.

UpdateDepth(IOrderBookMessage, Security)

To update the order book.

message
Market depth.
security
Security.
UpdateFormat(Security)

To update PriceTextFormat and VolumeTextFormat.

security
Security.

イベント

CancelingOrder : Action<Order>

Canceling order.

MovingOrder : Action<Order, decimal>

Moving order to new price.

RegisteringOrder : Action<Sides, decimal>

Registering order.

SelectedQuoteChanged : Action<QuoteChange?>

SelectedQuote changed event.

フィールド

AllowOwnOrderDragDropProperty : DependencyProperty

DependencyProperty for AllowOwnOrderDragDrop.

AllowSpreadToMoveProperty : DependencyProperty

DependencyProperty for AllowSpreadToMove.

DefaultDepth : int

The maximum depth by default which is equal to 20.

DepthDataProperty : DependencyProperty

DependencyProperty for DepthData.

DepthSecurityProperty : DependencyProperty

DependencyProperty for DepthSecurity.

FillSellAnimationColorProperty : DependencyProperty

Fill sell animation color.

GroupCommand : RoutedCommand

The command for group market depth.

GroupRangeProperty : DependencyProperty

DependencyProperty for GroupRange.

GroupResetCommand : RoutedCommand

The command for reset grouping market depth.

IsBidsOnTopProperty : DependencyProperty

DependencyProperty for IsBidsOnTop.

IsOwnOrderDraggingKey : DependencyPropertyKey

True if user is dragging an order.

MaxBuyVolumeProperty : DependencyProperty

DependencyProperty for MaxBuyVolume.

MaxDepthProperty : DependencyProperty

DependencyProperty for MaxDepth.

MaxSellVolumeProperty : DependencyProperty

DependencyProperty for MaxSellVolume.

MaxVolumeProperty : DependencyProperty

DependencyProperty for MaxVolume.

PriceTextFormatProperty : DependencyProperty

DependencyProperty for PriceTextFormat.

RegisterOrderOnProperty : DependencyProperty

Execute order register trigger.

ShowBoardColumnProperty : DependencyProperty

DependencyProperty for ShowBoardColumn.

ShowOwnVolumeColumnsProperty : DependencyProperty

DependencyProperty for ShowOwnVolumeColumns.

ShowSingleVolumeColumnProperty : DependencyProperty

DependencyProperty for ShowSingleVolumeColumn.

SparseCommand : RoutedCommand

The command for sparse market depth.

SparseRangeProperty : DependencyProperty

DependencyProperty for SparseRange.

SparseResetCommand : RoutedCommand

The command for reset sparsing market depth.

UseOrderAnimationsProperty : DependencyProperty

DependencyProperty for UseOrderAnimations.

VolumeTextFormatProperty : DependencyProperty

DependencyProperty for VolumeTextFormat.