MaxProfitParameter

StockSharp.Algo.Statistics

The maximal profit value for the entire period.

Inherits: BasePnLStatisticParameter<decimal>

Constructors

MaxProfitParameter
public MaxProfitParameter()
maxProfitParameter = MaxProfitParameter()

Initialize MaxProfitParameter.

Methods

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

To add new data to the parameter.

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