public MarketMakerManager( IIndexPriceService indexPriceService, IMarketMakerService marketMakerService, IHedgeService hedgeService, IInternalTradeService internalTradeService, IIndexSettingsService indexSettingsService, IAssetHedgeSettingsService assetHedgeSettingsService, ITokenService tokenService, IMarketMakerStateService marketMakerStateService, ISettlementService settlementService, IQuoteService quoteService, ILogFactory logFactory) { _indexPriceService = indexPriceService; _marketMakerService = marketMakerService; _hedgeService = hedgeService; _internalTradeService = internalTradeService; _indexSettingsService = indexSettingsService; _assetHedgeSettingsService = assetHedgeSettingsService; _tokenService = tokenService; _marketMakerStateService = marketMakerStateService; _settlementService = settlementService; _quoteService = quoteService; _log = logFactory.CreateLog(this); }
public SettlementService( IIndexPriceService indexPriceService, IIndexSettingsService indexSettingsService, IAssetHedgeSettingsService assetHedgeSettingsService, ISettlementRepository settlementRepository, IQuoteService quoteService, IBalanceService balanceService, ISettlementTransferService settlementTransferService, IInstrumentService instrumentService, IPositionService positionService, ITokenService tokenService, ILogFactory logFactory) { _indexPriceService = indexPriceService; _indexSettingsService = indexSettingsService; _assetHedgeSettingsService = assetHedgeSettingsService; _settlementRepository = settlementRepository; _quoteService = quoteService; _balanceService = balanceService; _settlementTransferService = settlementTransferService; _instrumentService = instrumentService; _positionService = positionService; _tokenService = tokenService; _log = logFactory.CreateLog(this); }
public InstrumentService( IAssetSettingsRepository assetSettingsRepository, IAssetPairSettingsRepository assetPairSettingsRepository, IAssetHedgeSettingsService assetHedgeSettingsService, ILogFactory logFactory) { _assetSettingsRepository = assetSettingsRepository; _assetPairSettingsRepository = assetPairSettingsRepository; _assetHedgeSettingsService = assetHedgeSettingsService; _log = logFactory.CreateLog(this); _assetsCache = new InMemoryCache <AssetSettings>(GetKey, false); _assetPairsCache = new InMemoryCache <AssetPairSettings>(GetKey, false); }
public PositionReportService( IPositionService positionService, IHedgeLimitOrderService hedgeLimitOrderService, IAssetHedgeSettingsService assetHedgeSettingsService, IInvestmentService investmentService, IHedgeSettingsService hedgeSettingsService, IRateService rateService) { _positionService = positionService; _hedgeLimitOrderService = hedgeLimitOrderService; _assetHedgeSettingsService = assetHedgeSettingsService; _investmentService = investmentService; _hedgeSettingsService = hedgeSettingsService; _rateService = rateService; }
public RiskExposureReportService( IAssetHedgeSettingsService assetHedgeSettingsService, IInvestmentService investmentService, IIndexSettingsService indexSettingsService, IIndexPriceService indexPriceService, IPositionService positionService, IQuoteService quoteService, ITokenService tokenService) { _assetHedgeSettingsService = assetHedgeSettingsService; _indexPriceService = indexPriceService; _indexSettingsService = indexSettingsService; _investmentService = investmentService; _quoteService = quoteService; _positionService = positionService; _tokenService = tokenService; }
public HedgeService( IIndexPriceService indexPriceService, IIndexSettingsService indexSettingsService, IAssetHedgeSettingsService assetHedgeSettingsService, ITokenService tokenService, IPositionService positionService, IHedgeSettingsService hedgeSettingsService, IInvestmentService investmentService, IQuoteService quoteService, IExchangeAdapter[] exchangeAdapters, ILogFactory logFactory) { _indexPriceService = indexPriceService; _indexSettingsService = indexSettingsService; _assetHedgeSettingsService = assetHedgeSettingsService; _tokenService = tokenService; _positionService = positionService; _hedgeSettingsService = hedgeSettingsService; _investmentService = investmentService; _quoteService = quoteService; _exchangeAdapters = exchangeAdapters.ToDictionary(exchange => exchange.Name, exchange => exchange); _log = logFactory.CreateLog(this); }
public AssetHedgeSettingsController(IAssetHedgeSettingsService assetHedgeSettingsService) { _assetHedgeSettingsService = assetHedgeSettingsService; }