BuySellSettings

StockSharp.Xaml

Buy/sell settings.

Inherits: NotifiableObject

Implements: IAsyncPersistable

Properties

AllowSpreadToMove
public bool AllowSpreadToMove { get; set; }
value = buySellSettings.AllowSpreadToMove
buySellSettings.AllowSpreadToMove = value

Show depth chart.

Depth
public int? Depth { get; set; }
value = buySellSettings.Depth
buySellSettings.Depth = value

Maximum depth.

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

Is bids on top.

LimitPrice
public decimal LimitPrice { get; set; }
value = buySellSettings.LimitPrice
buySellSettings.LimitPrice = value

Limit price.

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

Portfolio.

PriceTextFormat
public string PriceTextFormat { get; set; }
value = buySellSettings.PriceTextFormat
buySellSettings.PriceTextFormat = value

Price text format.

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

Security.

ShowBoardColumn
public bool ShowBoardColumn { get; set; }
value = buySellSettings.ShowBoardColumn
buySellSettings.ShowBoardColumn = value

Show board column.

ShowCancelAll
public bool ShowCancelAll { get; set; }
value = buySellSettings.ShowCancelAll
buySellSettings.ShowCancelAll = value

Show cancel all orders button.

ShowChart
public bool ShowChart { get; set; }
value = buySellSettings.ShowChart
buySellSettings.ShowChart = value

Show depth chart.

ShowLimitOrderPanel
public bool ShowLimitOrderPanel { get; set; }
value = buySellSettings.ShowLimitOrderPanel
buySellSettings.ShowLimitOrderPanel = value

Show limit order panel.

ShowMarketOrderPanel
public bool ShowMarketOrderPanel { get; set; }
value = buySellSettings.ShowMarketOrderPanel
buySellSettings.ShowMarketOrderPanel = value

Show market order panel.

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

Working volume.

VolumeTextFormat
public string VolumeTextFormat { get; set; }
value = buySellSettings.VolumeTextFormat
buySellSettings.VolumeTextFormat = value

Volume text format.

Methods

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.

Returns: 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.

Returns: A task that represents the asynchronous save operation.