ReturnParameter
StockSharp.Algo.Statistics
期間全体の相対所得。
継承元: BasePnLStatisticParameter<decimal>
コンストラクター
ReturnParameter
public ReturnParameter()
returnParameter = ReturnParameter()
Initialize ReturnParameter.
メソッド
Add
public override void Add(DateTime marketTime, decimal pnl, decimal? commission)
returnParameter.Add(marketTime, pnl, commission)
パラメータに新しいデータを追加する。
- marketTime
- 交換時間。
- pnl
- 利益損失の価値。
- commission
- 委員会。
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = returnParameter.LoadAsync(storage, cancellationToken)
To load the state of statistic parameter.
- storage
- Storage.
- cancellationToken
- CancellationToken
戻り値: Task
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = returnParameter.SaveAsync(storage, cancellationToken)
To save the state of statistic parameter.
- storage
- Storage.
- cancellationToken
- CancellationToken
戻り値: Task