Table of Contents

Class BuySellSettings

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

Buy/sell settings.

public class BuySellSettings : NotifiableObject, INotifyPropertyChangedEx, INotifyPropertyChanged, INotifyPropertyChanging, IPersistable
Inheritance
BuySellSettings
Implements
Inherited Members
Extension Methods

Constructors

BuySellSettings()

public BuySellSettings()

Properties

AllowSpreadToMove

Show depth chart.

[Display(ResourceType = typeof(LocalizedStrings), Name = "SpreadMove", Description = "SpreadMove", Order = 13)]
public bool AllowSpreadToMove { get; set; }

Property Value

bool

Depth

Maximum depth.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Depth", Description = "DepthVisible", Order = 3)]
public int? Depth { get; set; }

Property Value

int?

GroupRange

[Display(ResourceType = typeof(LocalizedStrings), Name = "Grouped", Description = "GroupedMarketDepth", Order = 15)]
[DecimalNullOrMoreZero]
public decimal? GroupRange { get; set; }

Property Value

decimal?

IsBidsOnTop

Is bids on top.

[Display(ResourceType = typeof(LocalizedStrings), Name = "BidsOnTop", Description = "BidsOnTopDesc", Order = 8)]
public bool IsBidsOnTop { get; set; }

Property Value

bool

LimitPrice

Limit price.

[Browsable(false)]
public decimal LimitPrice { get; set; }

Property Value

decimal

Portfolio

[Display(ResourceType = typeof(LocalizedStrings), Name = "Portfolio", Description = "ChartPanelPortfolio", Order = 1)]
public Portfolio Portfolio { get; set; }

Property Value

Portfolio

PriceTextFormat

Price text format.

[Display(ResourceType = typeof(LocalizedStrings), Name = "PriceStep", Description = "PriceTextFormat", Order = 9)]
public string PriceTextFormat { get; set; }

Property Value

string

RegisterOrderOn

[Display(ResourceType = typeof(LocalizedStrings), Name = "Trigger", Description = "OrderRegistering", Order = 14)]
public MarketDepthExecuteOn RegisterOrderOn { get; set; }

Property Value

MarketDepthExecuteOn

Security

[Display(ResourceType = typeof(LocalizedStrings), Name = "Security", Description = "BuySellSettingsSecurity", Order = 0)]
public Security Security { get; set; }

Property Value

Security

ShowBoardColumn

Show board column.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Board", Description = "ShowBoardColumn", Order = 7)]
public bool ShowBoardColumn { get; set; }

Property Value

bool

ShowCancelAll

Show cancel all orders button.

[Display(ResourceType = typeof(LocalizedStrings), Name = "CancelAll", Description = "AllowCancelAllOrders", Order = 4)]
public bool ShowCancelAll { get; set; }

Property Value

bool

ShowChart

Show depth chart.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Chart", Description = "ChartShowSpread", Order = 11)]
public bool ShowChart { get; set; }

Property Value

bool

ShowLimitOrderPanel

Show limit order panel.

[Display(ResourceType = typeof(LocalizedStrings), Name = "LimitOrders", Description = "ShowPanelLimitOrders", Order = 5)]
public bool ShowLimitOrderPanel { get; set; }

Property Value

bool

ShowMarketOrderPanel

Show market order panel.

[Display(ResourceType = typeof(LocalizedStrings), Name = "MarketOrders", Description = "ShowPanelMarketOrders", Order = 6)]
public bool ShowMarketOrderPanel { get; set; }

Property Value

bool

SingleVolumeColumn

[Display(ResourceType = typeof(LocalizedStrings), Name = "Single", Description = "SingleOwnColumn", Order = 12)]
public bool SingleVolumeColumn { get; set; }

Property Value

bool

SparseRange

[Display(ResourceType = typeof(LocalizedStrings), Name = "Sparsed", Description = "SparsedMarketDepth", Order = 16)]
[DecimalNullOrMoreZero]
public decimal? SparseRange { get; set; }

Property Value

decimal?

Volume

Working volume.

[Display(ResourceType = typeof(LocalizedStrings), Name = "WorkingVolume", Description = "WorkingVolumeDesc", Order = 2)]
public decimal Volume { get; set; }

Property Value

decimal

VolumeTextFormat

Volume text format.

[Display(ResourceType = typeof(LocalizedStrings), Name = "VolumeStep", Description = "VolumeTextFormat", Order = 10)]
public string VolumeTextFormat { get; set; }

Property Value

string

Methods

Load(SettingsStorage)

Loads the state of the object from the specified SettingsStorage.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

The SettingsStorage instance from which to load the data.

Save(SettingsStorage)

Saves the state of the object to the specified SettingsStorage.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

The SettingsStorage instance to which to save the data.