BuySellPanel
StockSharp.Xaml
Panel de operaciones de compra/venta.
Hereda de: UserControl
Implementa: IPersistable, IComponentConnector
Constructores
BuySellPanel
public BuySellPanel()
buySellPanel = BuySellPanel()
Inicia una nueva instancia de la BuySellPanel.
Propiedades
MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = buySellPanel.MarketDataProvider
buySellPanel.MarketDataProvider = value
El proveedor de datos del mercado.
Portfolio
public Portfolio Portfolio { get; set; }
value = buySellPanel.Portfolio
buySellPanel.Portfolio = value
Portafolio.
Portfolios
public PortfolioDataSource Portfolios { get; set; }
value = buySellPanel.Portfolios
buySellPanel.Portfolios = value
carteras disponibles.
Security
public Security Security { get; set; }
value = buySellPanel.Security
buySellPanel.Security = value
instrumento financiero.
SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = buySellPanel.SecurityProvider
buySellPanel.SecurityProvider = value
El proveedor de información sobre instrumentos.
Volume
public decimal? Volume { get; set; }
value = buySellPanel.Volume
buySellPanel.Volume = value
Volumen.
Métodos
InitializeComponent
public void InitializeComponent()
buySellPanel.InitializeComponent()
InitializeComponent
Load
public void Load(SettingsStorage storage)
buySellPanel.Load(storage)
Ajustes de carga.
- storage
- Configuración de almacenamiento.
Save
public void Save(SettingsStorage storage)
buySellPanel.Save(storage)
Guardar configuración.
- storage
- Configuración de almacenamiento.
Eventos
Closed
public event Action<BuySellPanel> Closed
buySellPanel.Closed += handler
Clausura BuySellPanel event.
OrderRegistering
public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering
buySellPanel.OrderRegistering += handler
El evento de registro de pedidos.
PortfolioChanged
public event Action<Portfolio, Portfolio> PortfolioChanged
buySellPanel.PortfolioChanged += handler
Cartero cambió el evento.
SecurityChanged
public event Action<Security, Security> SecurityChanged
buySellPanel.SecurityChanged += handler
instrumento financiero cambió su evento.