BuySellPanel
StockSharp.Xaml
Buy/Sell Operations Panel.
Erbt von: UserControl
Implementiert: IAsyncPersistable, IComponentConnector
Konstruktoren
BuySellPanel
public BuySellPanel()
buySellPanel = BuySellPanel()
Initialisiert eine neue Instanz von BuySellPanel.
Eigenschaften
MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = buySellPanel.MarketDataProvider
buySellPanel.MarketDataProvider = value
Der Marktdatenanbieter.
Portfolio
public Portfolio Portfolio { get; set; }
value = buySellPanel.Portfolio
buySellPanel.Portfolio = value
Portfolio.
Portfolios
public PortfolioDataSource Portfolios { get; set; }
value = buySellPanel.Portfolios
buySellPanel.Portfolios = value
Verfügbare Portfolios.
Security
public Security Security { get; set; }
value = buySellPanel.Security
buySellPanel.Security = value
Finanzinstrument.
SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = buySellPanel.SecurityProvider
buySellPanel.SecurityProvider = value
Der Anbieter von Informationen über Instrumente.
Volume
public decimal? Volume { get; set; }
value = buySellPanel.Volume
buySellPanel.Volume = value
Volumen.
Methoden
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
Rückgabe: Task
SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = buySellPanel.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Rückgabe: Task
Ereignisse
Closed
public event Action<BuySellPanel> Closed
buySellPanel.Closed += handler
Abschluss BuySellPanel Veranstaltung.
OrderRegistering
public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering
buySellPanel.OrderRegistering += handler
Das Orderregistrierungsereignis.
PortfolioChanged
public event Action<Portfolio, Portfolio> PortfolioChanged
buySellPanel.PortfolioChanged += handler
Portfolio geändertes Ereignis.
SecurityChanged
public event Action<Security, Security> SecurityChanged
buySellPanel.SecurityChanged += handler
Finanzinstrument geändertes Ereignis.