Class WinningTradesParameter
- Namespace
- StockSharp.Algo.Statistics
- Assembly
- StockSharp.Algo.dll
Number of trades won (whose profit is greater than 0).
[Display(ResourceType = typeof(LocalizedStrings), Name = "ProfitTrades", Description = "ProfitTradesDesc", GroupName = "Trades", Order = 100)]
public class WinningTradesParameter : BaseStatisticParameter<int>, IStatisticParameter<int>, ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
- Inheritance
-
WinningTradesParameter
- Implements
-
IPersistable
- Inherited Members
- Extension Methods
Constructors
WinningTradesParameter()
Initialize WinningTradesParameter.
public WinningTradesParameter()
Methods
Add(PnLInfo)
To add information about new trade to the parameter.
public void Add(PnLInfo info)
Parameters
info
PnLInfoInformation on new trade.