Class BuySellPanel
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
Buy/sell operations panel.
public class BuySellPanel : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IPersistable, IComponentConnector
- Inheritance
-
BuySellPanel
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
BuySellPanel()
Initializes a new instance of the BuySellPanel.
public BuySellPanel()
Properties
MarketDataProvider
The market data provider.
public IMarketDataProvider MarketDataProvider { get; set; }
Property Value
Portfolio
Portfolio.
public Portfolio Portfolio { get; set; }
Property Value
Portfolios
Available portfolios.
public PortfolioDataSource Portfolios { get; set; }
Property Value
Security
Security.
public Security Security { get; set; }
Property Value
SecurityProvider
The provider of information about instruments.
public ISecurityProvider SecurityProvider { get; set; }
Property Value
Volume
Volume.
public decimal? Volume { get; set; }
Property Value
Methods
InitializeComponent()
InitializeComponent
public void InitializeComponent()
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
Events
Closed
Closing BuySellPanel event.
public event Action<BuySellPanel> Closed
Event Type
OrderRegistering
The order registration event.
public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering
Event Type
PortfolioChanged
Portfolio changed event.
public event Action<Portfolio, Portfolio> PortfolioChanged
Event Type
SecurityChanged
Security changed event.
public event Action<Security, Security> SecurityChanged