BuySellPanel
StockSharp.Xaml
买卖业务面板.
继承自: UserControl
实现: IPersistable, IComponentConnector
构造函数
属性
MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = buySellPanel.MarketDataProvider
buySellPanel.MarketDataProvider = value
市场数据提供者.
Portfolio
public Portfolio Portfolio { get; set; }
value = buySellPanel.Portfolio
buySellPanel.Portfolio = value
组合.
Portfolios
public PortfolioDataSource Portfolios { get; set; }
value = buySellPanel.Portfolios
buySellPanel.Portfolios = value
可用的组合 。
Security
public Security Security { get; set; }
value = buySellPanel.Security
buySellPanel.Security = value
金融工具。
SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = buySellPanel.SecurityProvider
buySellPanel.SecurityProvider = value
提供各种文书的信息。
Volume
public decimal? Volume { get; set; }
value = buySellPanel.Volume
buySellPanel.Volume = value
音量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 声量 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度 度
方法
InitializeComponent
public void InitializeComponent()
buySellPanel.InitializeComponent()
InitializeComponent
事件
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
订单注册活动.
PortfolioChanged
public event Action<Portfolio, Portfolio> PortfolioChanged
buySellPanel.PortfolioChanged += handler
组合更改事件 。
SecurityChanged
public event Action<Security, Security> SecurityChanged
buySellPanel.SecurityChanged += handler
金融工具改变事件。