Table of Contents

Class NetProfitPercentParameter

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

Net profit for whole time period in percent.

[Display(ResourceType = typeof(LocalizedStrings), Name = "NetProfitPercent", Description = "NetProfitPercentDesc", GroupName = "PnL", Order = 1)]
public class NetProfitPercentParameter : BasePnLStatisticParameter<decimal>, IStatisticParameter<decimal>, IPnLStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged
Inheritance
NetProfitPercentParameter
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

NetProfitPercentParameter()

public NetProfitPercentParameter()

Methods

Add(DateTimeOffset, decimal, decimal?)

To add new data to the parameter.

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

Parameters

marketTime DateTimeOffset

The exchange time.

pnl decimal

The profit-loss value.

commission decimal?

Commission.

Init(decimal)

Init by initial value.

public override void Init(decimal beginValue)

Parameters

beginValue decimal

Initial value.