Table of Contents

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>, IStatisticParameter<decimal>, ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
Inheritance
AverageTradeProfitParameter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

AverageTradeProfitParameter()

public AverageTradeProfitParameter()

Methods

Add(PnLInfo)

To add information about new trade to the parameter.

public void Add(PnLInfo info)

Parameters

info PnLInfo

Information on new trade.

Load(SettingsStorage)

To load the state of statistic parameter.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Storage.

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

storage SettingsStorage

Storage.