ChartPanelOrderSettings

StockSharp.Xaml.Charting

Configuración de registro de pedidos de carga.

Hereda de: NotifiableObject

Implementa: IAsyncPersistable

Propiedades

Portfolio
public Portfolio Portfolio { get; set; }
value = chartPanelOrderSettings.Portfolio
chartPanelOrderSettings.Portfolio = value

La cartera.

Security
public Security Security { get; set; }
value = chartPanelOrderSettings.Security
chartPanelOrderSettings.Security = value

El instrumento financiero.

Volume
public decimal Volume { get; set; }
value = chartPanelOrderSettings.Volume
chartPanelOrderSettings.Volume = value

Número de contratos en el orden.

Métodos

LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartPanelOrderSettings.LoadAsync(storage, cancellationToken)

Asynchronously loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
cancellationToken
A token to monitor for cancellation requests.

Devuelve: A task that represents the asynchronous load operation.

SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartPanelOrderSettings.SaveAsync(storage, cancellationToken)

Asynchronously saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
cancellationToken
A token to monitor for cancellation requests.

Devuelve: A task that represents the asynchronous save operation.