Exemple #1
0
 public QuoteService(
     ILogger <QuoteService> logger,
     IAssetsDictionaryClient assetsClient,
     ISpotInstrumentDictionaryClient spotInstrumentDictionaryClient,
     ILiquidityConverterSettingsAccessor liquidityConverterSettingsAccessor,
     ISpotInstrumentFeesClient spotInstrumentFeesClient,
     IOrderBookService orderBookService,
     IQuotesContextProvider quotesContextProvider,
     ICashServiceClient cashServiceClient,
     ITradingServiceClient tradingServiceClient,
     IConvertQuoteStorage convertQuoteStorage,
     IInstrumentEngine instrumentEngine)
 {
     _logger       = logger;
     _assetsClient = assetsClient;
     _spotInstrumentDictionaryClient     = spotInstrumentDictionaryClient;
     _liquidityConverterSettingsAccessor = liquidityConverterSettingsAccessor;
     _spotInstrumentFeesClient           = spotInstrumentFeesClient;
     _orderBookService      = orderBookService;
     _quotesContextProvider = quotesContextProvider;
     _cashServiceClient     = cashServiceClient;
     _tradingServiceClient  = tradingServiceClient;
     _convertQuoteStorage   = convertQuoteStorage;
     _instrumentEngine      = instrumentEngine;
 }
 public InstrumentEngine(
     ILogger <QuoteService> logger,
     IAssetsDictionaryClient assetsClient,
     ISpotInstrumentDictionaryClient spotInstrumentDictionaryClient,
     ILiquidityConverterSettingsAccessor liquidityConverterSettingsAccessor,
     ISpotInstrumentFeesClient spotInstrumentFeesClient,
     IOrderBookService orderBookService)
 {
     _logger       = logger;
     _assetsClient = assetsClient;
     _spotInstrumentDictionaryClient     = spotInstrumentDictionaryClient;
     _liquidityConverterSettingsAccessor = liquidityConverterSettingsAccessor;
     _spotInstrumentFeesClient           = spotInstrumentFeesClient;
     _orderBookService = orderBookService;
 }