BuySellPanelView

StockSharp.Xaml.Windows.Maui

Quick buy/sell trading panel.

继承自: ContentView

构造函数

BuySellPanelView()

Creates a new BuySellPanelView.

属性

Portfolio : Portfolio

Gets or sets the selected portfolio.

Portfolios : IEnumerable<Portfolio>

Gets or sets the portfolios source.

Securities : IEnumerable<Security>

Gets or sets the securities source.

Security : Security

Gets or sets the selected security.

ViewModel : BuySellPanelViewModel

Gets the ViewModel.

Volume : decimal

Gets or sets the volume.

方法

ResetMarketData()

Resets market data.

UpdateMarketData(Level1ChangeMessage)

Updates market data.

事件

CloseRequested : EventHandler

Raised when the panel should be closed.

OrderRegistering : EventHandler<OrderRequest>

Raised when an order should be registered.

PortfolioChanged : EventHandler<ValueTuple<Portfolio, Portfolio>>

Raised when portfolio changes.

SecurityChanged : EventHandler<ValueTuple<Security, Security>>

Raised when security changes.