StrategiesStatisticsPanel

StockSharp.Xaml

The visual panel to display parameters IStatisticParameter of several strategies.

继承自: UserControl

实现: IComponentConnector

构造函数

StrategiesStatisticsPanel()

Initializes a new instance of the StrategiesStatisticsPanel.

属性

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.

方法

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.

事件

SelectionChanged : Action

The selected strategies change event.

StrategyDoubleClick : Action<Strategy>

The strategy double click event.