BuySellPanel
StockSharp.Xaml
Buy/sell operations panel.
Inherits: UserControl
Implements: IPersistable, IComponentConnector
Constructors
BuySellPanel
public BuySellPanel()
buySellPanel = BuySellPanel()
Initializes a new instance of the BuySellPanel.
Properties
MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = buySellPanel.MarketDataProvider
buySellPanel.MarketDataProvider = value
The market data provider.
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
Available portfolios.
Security
public Security Security { get; set; }
value = buySellPanel.Security
buySellPanel.Security = value
Security.
SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = buySellPanel.SecurityProvider
buySellPanel.SecurityProvider = value
The provider of information about instruments.
Volume
public decimal? Volume { get; set; }
value = buySellPanel.Volume
buySellPanel.Volume = value
Volume.
Methods
InitializeComponent
public void InitializeComponent()
buySellPanel.InitializeComponent()
InitializeComponent
Load
public void Load(SettingsStorage storage)
buySellPanel.Load(storage)
Load settings.
- storage
- Settings storage.
Save
public void Save(SettingsStorage storage)
buySellPanel.Save(storage)
Save settings.
- storage
- Settings storage.
Events
Closed
public event Action<BuySellPanel> Closed
buySellPanel.Closed += handler
Closing BuySellPanel event.
OrderRegistering
public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering
buySellPanel.OrderRegistering += handler
The order registration event.
PortfolioChanged
public event Action<Portfolio, Portfolio> PortfolioChanged
buySellPanel.PortfolioChanged += handler
Portfolio changed event.
SecurityChanged
public event Action<Security, Security> SecurityChanged
buySellPanel.SecurityChanged += handler
Security changed event.