StrategiesStatisticsPanel

StockSharp.Xaml

The visual panel to display parameters IStatisticParameter of several strategies.

Inherits: UserControl

Implements: IComponentConnector

Constructors

StrategiesStatisticsPanel()

Initializes a new instance of the StrategiesStatisticsPanel.

Properties

MaxCountPnLChart : int

Max possible items.

SelectedStrategies : IEnumerable<Strategy>

Selected strategies.

SelectedStrategy : Strategy

Selected strategy.

ShowPnLChart : bool

To show the P&L chart column.

ShowProgress : bool

To show the Test Progress column.

ShowSecurity : bool

To show the Security column.

ShowStrategyName : bool

To show the Name Strategy column.

UnderlyingGrid : BaseGridControl

The grid control.

Methods

AddStrategy(Strategy)

To add strategy to the table.

strategy
Strategy.
Clear()

To clear the table.

ClearColumns()

Clear columns.

CreateColumns(Strategy)

Create columns.

strategy
Strategy.
InitializeComponent()

InitializeComponent

SetColumnVisibility(string, Visibility)

To set the visibility for a column of the table.

parameterId
Id.
visibility
The visibility.
UpdateProgress(Strategy, int)

To update the progress for the strategy.

strategy
Strategy.
progress
Progress.

Events

SelectionChanged : Action

The selected strategies change event.

StrategyDoubleClick : Action<Strategy>

The strategy double click event.