BuySellSettings
StockSharp.Xaml
买卖设置.
继承自: NotifiableObject
属性
AllowSpreadToMove
public bool AllowSpreadToMove { get; set; }
value = buySellSettings.AllowSpreadToMove
buySellSettings.AllowSpreadToMove = value
显示深度图 。
Depth
public int? Depth { get; set; }
value = buySellSettings.Depth
buySellSettings.Depth = value
最大深度 。 。
GroupRange
public decimal? GroupRange { get; set; }
value = buySellSettings.GroupRange
buySellSettings.GroupRange = value
GroupRange
IsBidsOnTop
public bool IsBidsOnTop { get; set; }
value = buySellSettings.IsBidsOnTop
buySellSettings.IsBidsOnTop = value
标价在上方。
LimitPrice
public decimal LimitPrice { get; set; }
value = buySellSettings.LimitPrice
buySellSettings.LimitPrice = value
限价.
Portfolio
public Portfolio Portfolio { get; set; }
value = buySellSettings.Portfolio
buySellSettings.Portfolio = value
组合.
PriceTextFormat
public string PriceTextFormat { get; set; }
value = buySellSettings.PriceTextFormat
buySellSettings.PriceTextFormat = value
价格文本格式。
RegisterOrderOn
public MarketDepthExecuteOn RegisterOrderOn { get; set; }
value = buySellSettings.RegisterOrderOn
buySellSettings.RegisterOrderOn = value
MarketDepthExecuteOn
Security
public Security Security { get; set; }
value = buySellSettings.Security
buySellSettings.Security = value
金融工具。
ShowBoardColumn
public bool ShowBoardColumn { get; set; }
value = buySellSettings.ShowBoardColumn
buySellSettings.ShowBoardColumn = value
显示棋盘列 。
ShowCancelAll
public bool ShowCancelAll { get; set; }
value = buySellSettings.ShowCancelAll
buySellSettings.ShowCancelAll = value
显示取消所有命令按钮 。
ShowChart
public bool ShowChart { get; set; }
value = buySellSettings.ShowChart
buySellSettings.ShowChart = value
显示深度图 。
ShowLimitOrderPanel
public bool ShowLimitOrderPanel { get; set; }
value = buySellSettings.ShowLimitOrderPanel
buySellSettings.ShowLimitOrderPanel = value
显示限制顺序面板 。
ShowMarketOrderPanel
public bool ShowMarketOrderPanel { get; set; }
value = buySellSettings.ShowMarketOrderPanel
buySellSettings.ShowMarketOrderPanel = value
显示市场秩序面板 。
SingleVolumeColumn
public bool SingleVolumeColumn { get; set; }
value = buySellSettings.SingleVolumeColumn
buySellSettings.SingleVolumeColumn = value
ShowSingleVolumeColumn
SparseRange
public decimal? SparseRange { get; set; }
value = buySellSettings.SparseRange
buySellSettings.SparseRange = value
SparseRange
Volume
public decimal Volume { get; set; }
value = buySellSettings.Volume
buySellSettings.Volume = value
工作卷 (中文(简体) ).
VolumeTextFormat
public string VolumeTextFormat { get; set; }
value = buySellSettings.VolumeTextFormat
buySellSettings.VolumeTextFormat = value
卷出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出出
方法
LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = buySellSettings.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 = buySellSettings.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.