Table of Contents

Class BasePnLStatisticParameter<TValue>

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

The base profit-loss statistics parameter.

public abstract class BasePnLStatisticParameter<TValue> : BaseStatisticParameter<TValue>, IStatisticParameter<TValue>, IPnLStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged where TValue : IComparable<TValue>

Type Parameters

TValue

The type of the parameter value.

Inheritance
BasePnLStatisticParameter<TValue>
Implements
IPersistable
Derived
Inherited Members
Extension Methods

Constructors

BasePnLStatisticParameter(StatisticParameterTypes)

protected BasePnLStatisticParameter(StatisticParameterTypes type)

Parameters

type StatisticParameterTypes

Type

Methods

Add(DateTimeOffset, decimal, decimal?)

To add new data to the parameter.

public virtual void Add(DateTimeOffset marketTime, decimal pnl, decimal? commission)

Parameters

marketTime DateTimeOffset

The exchange time.

pnl decimal

The profit-loss value.

commission decimal?

Commission.