PerPeriodBaseTradeParameter

StockSharp.Algo.Statistics

Base class for calculating trade statistic parameters by aggregating trades over aligned time periods.

Hereda de: BaseStatisticParameter<decimal>

Implementa: ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged, IDisposable

Constructores

PerPeriodBaseTradeParameter(StatisticParameterTypes)

Base class for calculating trade statistic parameters by aggregating trades over aligned time periods.

type
Type

Métodos

Add(PnLInfo)

To add information about new trade to the parameter.

info
Information on new trade.
Align(DateTime) : DateTime

Align the specified date for exact period start.

date
Trade date.

Devuelve: Aligned value.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
Reset()

Reset state.

Save(SettingsStorage)

Save settings.

storage
Settings storage.