コード例 #1
0
 public CandlesManager(
     IMidPriceQuoteGenerator midPriceQuoteGenerator,
     IAssetPairsManager assetPairsManager,
     ICandlesGenerator candlesGenerator,
     CandleTimeInterval[] intervals,
     bool generateBidAndAsk,
     ICandlesPublisherProvider candlesPublisherProvider)
 {
     _midPriceQuoteGenerator = midPriceQuoteGenerator;
     _assetPairsManager      = assetPairsManager;
     _candlesGenerator       = candlesGenerator;
     _intervals                = intervals;
     _generateBidAndAsk        = generateBidAndAsk;
     _candlesPublisherProvider = candlesPublisherProvider;
 }
コード例 #2
0
 public MidPriceQuoteGeneratorTests()
 {
     _generator = new MidPriceQuoteGenerator();
 }