Table of Contents

Class BuySellSettings

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

Buy/sell settings.

public class BuySellSettings : NotifiableObject, IPersistable
Inheritance
BuySellSettings
Implements
IPersistable
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?

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

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 = "Single", Order = 12)]
public bool SingleVolumeColumn { get; set; }

Property Value

bool

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)

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Save(SettingsStorage)

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Events

ValueChanged

Value changed event.

public event Action<string, object, object> ValueChanged

Event Type

Action<string, object, object>