PerPeriodBaseTradeParameter
StockSharp.Algo.Statistics
取引統計パラメータを集計して、取引を一直線に計算するための基礎クラス。
継承元: BaseStatisticParameter<decimal>
実装: ITradeStatisticParameter, IStatisticParameter, IPersistable, INotifyPropertyChanged, IDisposable
コンストラクター
PerPeriodBaseTradeParameter
protected PerPeriodBaseTradeParameter(StatisticParameterTypes type)
perPeriodBaseTradeParameter = PerPeriodBaseTradeParameter(type)
取引統計パラメータを集計して、取引を一直線に計算するための基礎クラス。
- type
- 仕様
メソッド
Add
public void Add(PnLInfo info)
perPeriodBaseTradeParameter.Add(info)
パラメータに新しい取引に関する情報を追加する。
- info
- 新規取引に関する情報
Align
protected abstract DateTime Align(DateTime date)
result = perPeriodBaseTradeParameter.Align(date)
所定の期間の開始日を合わせます。
- date
- 取引日。
戻り値: 数値を同調させる。
Load
public override void Load(SettingsStorage storage)
perPeriodBaseTradeParameter.Load(storage)
設定をロードします。
- storage
- 設定ストレージ。
Save
public override void Save(SettingsStorage storage)
perPeriodBaseTradeParameter.Save(storage)
設定を保存します。
- storage
- 設定ストレージ。