Table of Contents

Class StrategiesStatisticsPanel

Namespace
StockSharp.Xaml
Assembly
StockSharp.Xaml.dll

The visual panel to display parameters IStatisticParameter of several strategies.

public class StrategiesStatisticsPanel : UserControl, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, IComponentConnector
Inheritance
StrategiesStatisticsPanel
Implements
Inherited Members
Extension Methods

Constructors

StrategiesStatisticsPanel()

Initializes a new instance of the StrategiesStatisticsPanel.

public StrategiesStatisticsPanel()

Properties

MaxCountPnLChart

Max possible items.

public int MaxCountPnLChart { get; set; }

Property Value

int

SelectedStrategies

Selected strategies.

public IEnumerable<Strategy> SelectedStrategies { get; }

Property Value

IEnumerable<Strategy>

SelectedStrategy

Selected strategy.

public Strategy SelectedStrategy { get; }

Property Value

Strategy

ShowPnLChart

To show the P&L chart column.

public bool ShowPnLChart { get; set; }

Property Value

bool

ShowProgress

To show the Test Progress column.

public bool ShowProgress { get; set; }

Property Value

bool

ShowSecurity

To show the Security column.

public bool ShowSecurity { get; set; }

Property Value

bool

ShowStrategyName

To show the Name Strategy column.

public bool ShowStrategyName { get; set; }

Property Value

bool

UnderlyingGrid

The grid control.

public BaseGridControl UnderlyingGrid { get; }

Property Value

BaseGridControl

Methods

AddStrategy(Strategy)

To add strategy to the table.

public void AddStrategy(Strategy strategy)

Parameters

strategy Strategy

Strategy.

Clear()

To clear the table.

public void Clear()

ClearColumns()

Clear columns.

public void ClearColumns()

CreateColumns(Strategy)

Create columns.

public void CreateColumns(Strategy strategy)

Parameters

strategy Strategy

Strategy.

InitializeComponent()

InitializeComponent

public void InitializeComponent()

SetColumnVisibility(string, Visibility)

To set the visibility for a column of the table.

public void SetColumnVisibility(string parameterId, Visibility visibility)

Parameters

parameterId string

Id.

visibility Visibility

The visibility.

UpdateProgress(Strategy, int)

To update the progress for the strategy.

public void UpdateProgress(Strategy strategy, int progress)

Parameters

strategy Strategy

Strategy.

progress int

Progress.

Events

SelectionChanged

The selected strategies change event.

public event Action SelectionChanged

Event Type

Action

StrategyDoubleClick

The strategy double click event.

public event Action<Strategy> StrategyDoubleClick

Event Type

Action<Strategy>