Class AverageTradeProfitParameter
- Namespace
 - StockSharp.Algo.Statistics
 
- Assembly
 - StockSharp.Algo.dll
 
Average trade profit.
[Display(ResourceType = typeof(LocalizedStrings), Name = "AverageProfit", Description = "AverageTradeProfit", GroupName = "Trades", Order = 104)]
public class AverageTradeProfitParameter : BaseStatisticParameter<decimal>, INotifyPropertyChangedEx, INotifyPropertyChanging, IStatisticParameter<decimal>, ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
  - Inheritance
 - 
      
      
      
      AverageTradeProfitParameter
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Constructors
AverageTradeProfitParameter()
Initialize AverageTradeProfitParameter.
public AverageTradeProfitParameter()
  Methods
Add(PnLInfo)
To add information about new trade to the parameter.
public void Add(PnLInfo info)
  Parameters
infoPnLInfoInformation on new trade.
Load(SettingsStorage)
To load the state of statistic parameter.
public override void Load(SettingsStorage storage)
  Parameters
storageSettingsStorageStorage.
Reset()
To reset the parameter value.
public override void Reset()
  Save(SettingsStorage)
To save the state of statistic parameter.
public override void Save(SettingsStorage storage)
  Parameters
storageSettingsStorageStorage.