Table of Contents

Class AverageLossTradeParameter

Namespace
StockSharp.Algo.Statistics
Assembly
StockSharp.Algo.dll

Average losing trade.

[Display(ResourceType = typeof(LocalizedStrings), Name = "AverageLoss", Description = "AverageLossTrade", GroupName = "Trades", Order = 106)]
public class AverageLossTradeParameter : BaseStatisticParameter<decimal>, IStatisticParameter<decimal>, ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
Inheritance
AverageLossTradeParameter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

AverageLossTradeParameter()

public AverageLossTradeParameter()

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.