Class MaxProfitParameter
The maximal profit value for the entire period.
Implements
Ecng.Serialization.IPersistable
Inherited Members
Namespace: StockSharp.Algo.Statistics
Assembly: StockSharp.Algo.dll
Syntax
[DisplayNameLoc("Str958")]
[DescriptionLoc("Str959", false)]
[CategoryLoc("PnL")]
public class MaxProfitParameter : BaseStatisticParameter<Decimal>, IStatisticParameter<Decimal>, IStatisticParameter, IPersistable, IPnLStatisticParameter
Constructors
MaxProfitParameter()
Declaration
public MaxProfitParameter()
Methods
Add(DateTimeOffset, Decimal)
To add new data to the parameter.
Declaration
public void Add(DateTimeOffset marketTime, Decimal pnl)
Parameters
Type | Name | Description |
---|---|---|
DateTimeOffset | marketTime | The exchange time. |
Decimal | pnl | The profit-loss value. |
Implements
Ecng.Serialization.IPersistable