ProfitFactorParameter
StockSharp.Algo.Statistics
勝ち取引の平均利益の比率は、取引を失う平均損失に。
継承元: BaseStatisticParameter<decimal>
実装: ITradeStatisticParameter, IStatisticParameter, IAsyncPersistable, INotifyPropertyChanged, IDisposable
コンストラクター
ProfitFactorParameter
public ProfitFactorParameter()
profitFactorParameter = ProfitFactorParameter()
Initialize ProfitFactorParameter.
メソッド
Add
public void Add(PnLInfo info)
profitFactorParameter.Add(info)
パラメータに新しい取引に関する情報を追加する。
- info
- 新規取引に関する情報
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = profitFactorParameter.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 = profitFactorParameter.SaveAsync(storage, cancellationToken)
To save the state of statistic parameter.
- storage
- Storage.
- cancellationToken
- CancellationToken
戻り値: Task