BuySellPanel

StockSharp.Xaml

Panel de operaciones de compra/venta.

Hereda de: UserControl

Implementa: IAsyncPersistable, 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

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = buySellPanel.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = buySellPanel.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Devuelve: Task

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.