ChartPanelOrderSettings

StockSharp.Xaml.Charting

Настройки регистрации порядка графика.

Наследует: NotifiableObject

Реализует: IAsyncPersistable

Свойства

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

Портфолио.

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

Финансовый инструмент.

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

Количество контрактов в заказе.

Методы

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.

Возвращает: 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.

Возвращает: A task that represents the asynchronous save operation.