Class StrategiesDashboardItem
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
Row item for StrategiesDashboard.
public class StrategiesDashboardItem : NotifiableObject, IStrategiesDashboardItem, IDisposable
- Inheritance
-
StrategiesDashboardItem
- Implements
- Extension Methods
Constructors
StrategiesDashboardItem(Strategy)
Initializes a new instance of the StrategiesDashboardItem.
public StrategiesDashboardItem(Strategy strategy)
Parameters
strategy
StrategyStrategy.
Properties
ClosePositionCommand
Close position for selected strategy command.
public ICommand ClosePositionCommand { get; set; }
Property Value
Error
Last error.
[Browsable(false)]
public Exception Error { get; }
Property Value
IsFormed
Formed.
public bool IsFormed { get; }
Property Value
IsOnline
Online.
public bool IsOnline { get; }
Property Value
Name
Display name.
public string Name { get; }
Property Value
OpenCommand
Open strategy.
public ICommand OpenCommand { get; set; }
Property Value
OrdersCount
Total number of orders.
[Browsable(false)]
public int OrdersCount { get; }
Property Value
PnLChange
P&L change.
[Browsable(false)]
public decimal PnLChange { get; }
Property Value
PnLValues
P&L values.
[Browsable(false)]
public IList<Tuple<DateTime, decimal>> PnLValues { get; }
Property Value
Portfolio
Portfolio.
public Portfolio Portfolio { get; set; }
Property Value
Position
Position.
public decimal Position { get; }
Property Value
ProcessState
Process state.
public ProcessStates ProcessState { get; }
Property Value
RiskRulesCommand
Risk management for selected strategy command.
public ICommand RiskRulesCommand { get; set; }
Property Value
Security
Security.
public Security Security { get; set; }
Property Value
SettingsCommand
Settings for selected strategy command.
public ICommand SettingsCommand { get; set; }
Property Value
StartCommand
Start strategy command.
public ICommand StartCommand { get; set; }
Property Value
StopCommand
Stop strategy command.
public ICommand StopCommand { get; set; }
Property Value
Strategy
Strategy.
public Strategy Strategy { get; }
Property Value
TradesCount
Total number of trades.
[Browsable(false)]
public int TradesCount { get; }
Property Value
TradingMode
Trading mode.
public StrategyTradingModes TradingMode { get; set; }