BuySellPanelView
StockSharp.Xaml.Windows.Maui
Painel de negociação de compra/venda rápido.
Herda de: ContentView
Construtores
BuySellPanelView
public BuySellPanelView()
buySellPanelView = BuySellPanelView()
Cria um novo BuySellPanelView.
Propriedades
Portfolio
public Portfolio Portfolio { get; set; }
value = buySellPanelView.Portfolio
buySellPanelView.Portfolio = value
Obtém ou define o portfólio selecionado.
Portfolios
public IEnumerable<Portfolio> Portfolios { get; set; }
value = buySellPanelView.Portfolios
buySellPanelView.Portfolios = value
Obtém ou define a fonte de portfólios.
Securities
public IEnumerable<Security> Securities { get; set; }
value = buySellPanelView.Securities
buySellPanelView.Securities = value
Obtém ou define a fonte dos instrumentos financeiros.
Security
public Security Security { get; set; }
value = buySellPanelView.Security
buySellPanelView.Security = value
Obtém ou define o instrumento financeiro seleccionado.
ViewModel
public BuySellPanelViewModel ViewModel { get; }
value = buySellPanelView.ViewModel
Obtém o ViewModel.
Volume
public decimal Volume { get; set; }
value = buySellPanelView.Volume
buySellPanelView.Volume = value
Obtém ou define o volume.
Métodos
ResetMarketData
public void ResetMarketData()
buySellPanelView.ResetMarketData()
Repõe os dados do mercado.
UpdateMarketData
public void UpdateMarketData(Level1ChangeMessage message)
buySellPanelView.UpdateMarketData(message)
Atualiza dados do mercado.
Eventos
CloseRequested
public event EventHandler CloseRequested
buySellPanelView.CloseRequested += handler
Levantado quando o painel deve ser fechado.
OrderRegistering
public event EventHandler<OrderRequest> OrderRegistering
buySellPanelView.OrderRegistering += handler
Levantado quando uma ordem deve ser registrada.
PortfolioChanged
public event EventHandler<ValueTuple<Portfolio, Portfolio>> PortfolioChanged
buySellPanelView.PortfolioChanged += handler
Elevado quando o portfólio muda.
SecurityChanged
public event EventHandler<ValueTuple<Security, Security>> SecurityChanged
buySellPanelView.SecurityChanged += handler
Aumento quando o instrumento financeiro muda.