MarketDepthGenerator
StockSharp.Algo.Testing.Generation
ランダムな方法でオーダーブックジェネレーター。
継承元: MarketDataGenerator
コンストラクター
MarketDepthGenerator
protected MarketDepthGenerator(SecurityId securityId)
marketDepthGenerator = MarketDepthGenerator(securityId)
ランダムな方法でオーダーブックジェネレーター。
- securityId
- 生成するデータのインストゥルメンタの識別子。
プロパティ
DataType
public override DataType DataType { get; }
value = marketDepthGenerator.DataType
指定したストレージで動作する市場データの種類。
GenerateDepthOnEachTrade
public bool GenerateDepthOnEachTrade { get; set; }
value = marketDepthGenerator.GenerateDepthOnEachTrade
marketDepthGenerator.GenerateDepthOnEachTrade = value
それぞれの取引後に書籍を生成します。デフォルトは .
GenerateOrdersCount
public bool GenerateOrdersCount { get; set; }
value = marketDepthGenerator.GenerateOrdersCount
marketDepthGenerator.GenerateOrdersCount = value
代表取締役社長 佐藤 浩一
MaxAsksDepth
public int MaxAsksDepth { get; set; }
value = marketDepthGenerator.MaxAsksDepth
marketDepthGenerator.MaxAsksDepth = value
オファーの最大深さ。
MaxBidsDepth
public int MaxBidsDepth { get; set; }
value = marketDepthGenerator.MaxBidsDepth
marketDepthGenerator.MaxBidsDepth = value
入札の最大の深さ。
MaxGenerations
public int MaxGenerations { get; set; }
value = marketDepthGenerator.MaxGenerations
marketDepthGenerator.MaxGenerations = value
注文書のソースデータの最後の発生後の最大生成数。
MaxSpreadStepCount
public int MaxSpreadStepCount { get; set; }
value = marketDepthGenerator.MaxSpreadStepCount
marketDepthGenerator.MaxSpreadStepCount = value
値の増分単位で最高の引用符間のスプレッドの最大値。スプレッド値は、MinSpreadStepCountとMaxSpreadStepCountの間でランダムに選択されます。
MinSpreadStepCount
public int MinSpreadStepCount { get; set; }
value = marketDepthGenerator.MinSpreadStepCount
marketDepthGenerator.MinSpreadStepCount = value
値の増分単位で最高の引用符間のスプレッドの最小値。スプレッド値は、MinSpreadStepCountとMaxSpreadStepCountの間でランダムに選択されます。
UseTradeVolume
public bool UseTradeVolume { get; set; }
value = marketDepthGenerator.UseTradeVolume
marketDepthGenerator.UseTradeVolume = value
歴史の取引の注文書の量で最高の引用を生成するために使用するため。
メソッド
CopyTo
protected void CopyTo(MarketDepthGenerator destination)
marketDepthGenerator.CopyTo(destination)
メッセージをコピーする
- destination
- 情報をコピーするオブジェクト。
CreateQuote
protected QuoteChange CreateQuote(decimal startPrice, Sides side)
result = marketDepthGenerator.CreateQuote(startPrice, side)
ランダムな方法で引用符を作成する。
- startPrice
- 見積り価格がランダムな方法で取得される初期価格。
- side
- 引用の方向。
戻り値: ランダムな引用符。