OrderPage

StockSharp.Xaml.Windows.Maui

Página para crear/editar órdenes.

Hereda de: ContentPage

Constructores

OrderPage
public OrderPage()
orderPage = OrderPage()

Crea un nuevo OrderPage@.

OrderPage
public OrderPage(Order order)
orderPage = OrderPage(order)

Crea un OrderPage@ con un pedido existente para la edición.

Propiedades

Order
public Order Order { get; private set; }
value = orderPage.Order
orderPage.Order = value

Consigue o establece el orden creado.

Portfolio
public Portfolio Portfolio { get; set; }
value = orderPage.Portfolio
orderPage.Portfolio = value

Obtiene o establece la cartera seleccionada.

PortfolioEnabled
public bool PortfolioEnabled { get; set; }
value = orderPage.PortfolioEnabled
orderPage.PortfolioEnabled = value

Obtiene o establece si la selección de cartera está habilitada.

Portfolios
public IEnumerable<Portfolio> Portfolios { get; set; }
value = orderPage.Portfolios
orderPage.Portfolios = value

Obtiene o establece la fuente de carteras.

Securities
public IEnumerable<Security> Securities { get; set; }
value = orderPage.Securities
orderPage.Securities = value

Obtiene o establece la fuente de los instrumentos financieros.

Security
public Security Security { get; set; }
value = orderPage.Security
orderPage.Security = value

Obtiene o establece el instrumento financiero seleccionado.

SecurityEnabled
public bool SecurityEnabled { get; set; }
value = orderPage.SecurityEnabled
orderPage.SecurityEnabled = value

Obtiene o establece si la selección de instrumentos financieros está habilitada.

ViewModel
public OrderViewModel ViewModel { get; }
value = orderPage.ViewModel

Consigue el ViewModel@.

Métodos

UpdateMarketData
public void UpdateMarketData(Level1ChangeMessage message)
orderPage.UpdateMarketData(message)

Actualiza los datos del mercado.

Eventos

OrderSending
public event EventHandler<Order> OrderSending
orderPage.OrderSending += handler

Criado cuando se envía una orden.