MaxProfitDateParameter

StockSharp.Algo.Statistics

期間全体で最大の利益価値の日付。

継承元: BasePnLStatisticParameter<DateTime>

コンストラクター

MaxProfitDateParameter
public MaxProfitDateParameter(MaxProfitParameter underlying)
maxProfitDateParameter = MaxProfitDateParameter(underlying)

期間全体で最大の利益価値の日付。

underlying
担当: 佐藤 宏

メソッド

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

パラメータに新しいデータを追加する。

marketTime
交換時間。
pnl
利益損失の価値。
commission
委員会。
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = maxProfitDateParameter.LoadAsync(storage, cancellationToken)

To load the state of statistic parameter.

storage
Storage.
cancellationToken
CancellationToken

戻り値: Task

Reset
public override void Reset()
maxProfitDateParameter.Reset()

リセット状態。

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = maxProfitDateParameter.SaveAsync(storage, cancellationToken)

To save the state of statistic parameter.

storage
Storage.
cancellationToken
CancellationToken

戻り値: Task