BuySellGrid

StockSharp.Xaml

Control de mesa, conteniendo el conjunto de BuySellPanel.

Hereda de: UserControl

Implementa: IPersistable, IComponentConnector

Constructores

BuySellGrid
public BuySellGrid()
buySellGrid = BuySellGrid()

Inicia una nueva instancia de la BuySellGrid.

Propiedades

MarketDataProvider
public IMarketDataProvider MarketDataProvider { get; set; }
value = buySellGrid.MarketDataProvider
buySellGrid.MarketDataProvider = value

El proveedor de datos del mercado.

Panels
public IEnumerable<BuySellPanel> Panels { get; }
value = buySellGrid.Panels

Paneles.

Portfolios
public PortfolioDataSource Portfolios { get; set; }
value = buySellGrid.Portfolios
buySellGrid.Portfolios = value

carteras disponibles.

SecurityProvider
public ISecurityProvider SecurityProvider { get; set; }
value = buySellGrid.SecurityProvider
buySellGrid.SecurityProvider = value

El proveedor de información sobre instrumentos.

Métodos

AddPanel
public BuySellPanel AddPanel(Security security)
result = buySellGrid.AddPanel(security)

Añadir panel.

security
instrumento financiero.

Devuelve: Panel de operaciones de compra/venta.

ClearPanels
public void ClearPanels()
buySellGrid.ClearPanels()

Quitar todos BuySellPanel@.

InitializeComponent
public void InitializeComponent()
buySellGrid.InitializeComponent()

InitializeComponent

Load
public void Load(SettingsStorage storage)
buySellGrid.Load(storage)

Ajustes de carga.

storage
Configuración de almacenamiento.
RemovePanel
public void RemovePanel(BuySellPanel panel)
buySellGrid.RemovePanel(panel)

Quitar el panel.

panel
Panel de operaciones de compra/venta.
Save
public void Save(SettingsStorage storage)
buySellGrid.Save(storage)

Guardar configuración.

storage
Configuración de almacenamiento.

Eventos

OrderRegistering
public event Action<Security, Portfolio, Sides, decimal, decimal> OrderRegistering
buySellGrid.OrderRegistering += handler

El evento de registro de pedidos.

PanelAdded
public event Action<BuySellPanel> PanelAdded
buySellGrid.PanelAdded += handler

Panel añadido evento.

PanelRemoved
public event Action<BuySellPanel> PanelRemoved
buySellGrid.PanelRemoved += handler

Panel eliminado evento.