BuySellPanelView
StockSharp.Xaml.Windows.Maui
Quick buy/sell trading panel.
Inherits: ContentView
Constructors
BuySellPanelView
public BuySellPanelView()
buySellPanelView = BuySellPanelView()
Creates a new BuySellPanelView.
Properties
Portfolio
public Portfolio Portfolio { get; set; }
value = buySellPanelView.Portfolio
buySellPanelView.Portfolio = value
Gets or sets the selected portfolio.
Portfolios
public IEnumerable<Portfolio> Portfolios { get; set; }
value = buySellPanelView.Portfolios
buySellPanelView.Portfolios = value
Gets or sets the portfolios source.
Securities
public IEnumerable<Security> Securities { get; set; }
value = buySellPanelView.Securities
buySellPanelView.Securities = value
Gets or sets the securities source.
Security
public Security Security { get; set; }
value = buySellPanelView.Security
buySellPanelView.Security = value
Gets or sets the selected security.
ViewModel
public BuySellPanelViewModel ViewModel { get; }
value = buySellPanelView.ViewModel
Gets the ViewModel.
Volume
public decimal Volume { get; set; }
value = buySellPanelView.Volume
buySellPanelView.Volume = value
Gets or sets the volume.
Methods
ResetMarketData
public void ResetMarketData()
buySellPanelView.ResetMarketData()
Resets market data.
UpdateMarketData
public void UpdateMarketData(Level1ChangeMessage message)
buySellPanelView.UpdateMarketData(message)
Updates market data.
Events
CloseRequested
public event EventHandler CloseRequested
buySellPanelView.CloseRequested += handler
Raised when the panel should be closed.
OrderRegistering
public event EventHandler<OrderRequest> OrderRegistering
buySellPanelView.OrderRegistering += handler
Raised when an order should be registered.
PortfolioChanged
public event EventHandler<ValueTuple<Portfolio, Portfolio>> PortfolioChanged
buySellPanelView.PortfolioChanged += handler
Raised when portfolio changes.
SecurityChanged
public event EventHandler<ValueTuple<Security, Security>> SecurityChanged
buySellPanelView.SecurityChanged += handler
Raised when security changes.