IPnLStatisticParameter
StockSharp.Algo.Statistics
The interface, describing statistic parameter, calculated based on the profit-loss value (maximal contraction, Sharp coefficient etc.).
Implements: IStatisticParameter, IPersistable, INotifyPropertyChanged, IDisposable
Methods
Add
public void Add(DateTime marketTime, decimal pnl, decimal? commission)
iPnLStatisticParameter.Add(marketTime, pnl, commission)
To add new data to the parameter.
- marketTime
- The exchange time.
- pnl
- The profit-loss value.
- commission
- Commission.