NetProfitPercentParameter

StockSharp.Algo.Statistics

Net profit for whole time period in percent.

Inherits: BasePnLStatisticParameter<decimal>

Implements: IBeginValueStatisticParameter

Constructors

NetProfitPercentParameter
public NetProfitPercentParameter()
netProfitPercentParameter = NetProfitPercentParameter()

Initialize NetProfitPercentParameter.

Properties

BeginValue
public decimal BeginValue { get; set; }
value = netProfitPercentParameter.BeginValue
netProfitPercentParameter.BeginValue = value

The initial value of the parameter.

Methods

Add
public override void Add(DateTime marketTime, decimal pnl, decimal? commission)
netProfitPercentParameter.Add(marketTime, pnl, commission)

To add new data to the parameter.

marketTime
The exchange time.
pnl
The profit-loss value.
commission
Commission.