Table of Contents

Class PerBaseTradeParameter

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

Average trades count per one base.

public abstract class PerBaseTradeParameter : BaseStatisticParameter<decimal>, IStatisticParameter<decimal>, ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
Inheritance
PerBaseTradeParameter
Implements
IPersistable
Derived
Inherited Members
Extension Methods

Constructors

PerBaseTradeParameter(StatisticParameterTypes)

protected PerBaseTradeParameter(StatisticParameterTypes type)

Parameters

type StatisticParameterTypes

Type

Methods

Add(PnLInfo)

To add information about new trade to the parameter.

public void Add(PnLInfo info)

Parameters

info PnLInfo

Information on new trade.

Align(DateTime)

Align the specified date for exact period start.

protected abstract DateTime Align(DateTime date)

Parameters

date DateTime

Trade date.

Returns

DateTime

Aligned value.

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.