MaxProfitDateParameter
StockSharp.Algo.Statistics
Дата максимального значения прибыли за весь период.
Наследует: BasePnLStatisticParameter<DateTime>
Конструкторы
MaxProfitDateParameter
public MaxProfitDateParameter(MaxProfitParameter underlying)
maxProfitDateParameter = MaxProfitDateParameter(underlying)
Дата максимального значения прибыли за весь период.
- underlying
- MaxProfitParameter
Методы
Add
public override void Add(DateTime marketTime, decimal pnl, decimal? commission)
maxProfitDateParameter.Add(marketTime, pnl, commission)
Чтобы добавить новые данные в параметр.
- marketTime
- Время обмена.
- pnl
- Значение прибыли-убытка.
- commission
- Комиссия.
Load
public override void Load(SettingsStorage storage)
maxProfitDateParameter.Load(storage)
Загрузить настройки.
- storage
- Хранилище настроек.
Save
public override void Save(SettingsStorage storage)
maxProfitDateParameter.Save(storage)
Сохраните настройки.
- storage
- Хранилище настроек.