MaxProfitDateParameter
StockSharp.Algo.Statistics
Date of maximum profit value for the entire period.
Inherits: BasePnLStatisticParameter<DateTime>
Constructors
MaxProfitDateParameter
public MaxProfitDateParameter(MaxProfitParameter underlying)
maxProfitDateParameter = MaxProfitDateParameter(underlying)
Date of maximum profit value for the entire period.
- underlying
- MaxProfitParameter
Methods
Add
public override void Add(DateTime marketTime, decimal pnl, decimal? commission)
maxProfitDateParameter.Add(marketTime, pnl, commission)
To add new data to the parameter.
- marketTime
- The exchange time.
- pnl
- The profit-loss value.
- commission
- Commission.
Load
public override void Load(SettingsStorage storage)
maxProfitDateParameter.Load(storage)
To load the state of statistic parameter.
- storage
- Storage.
Save
public override void Save(SettingsStorage storage)
maxProfitDateParameter.Save(storage)
To save the state of statistic parameter.
- storage
- Storage.