NetProfitPercentParameter

StockSharp.Algo.Statistics

全体の期間の利益率はパーセントです。

継承元: BasePnLStatisticParameter<decimal>

実装: IBeginValueStatisticParameter

コンストラクター

NetProfitPercentParameter
public NetProfitPercentParameter()
netProfitPercentParameter = NetProfitPercentParameter()

Initialize NetProfitPercentParameter.

プロパティ

BeginValue
public decimal BeginValue { get; set; }
value = netProfitPercentParameter.BeginValue
netProfitPercentParameter.BeginValue = value

パラメータの初期値。

メソッド

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

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

marketTime
交換時間。
pnl
利益損失の価値。
commission
委員会。
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = netProfitPercentParameter.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 = netProfitPercentParameter.SaveAsync(storage, cancellationToken)

To save the state of statistic parameter.

storage
Storage.
cancellationToken
CancellationToken

戻り値: Task