public OrderBooksController( IOrderBookService orderBookService, ILimitOrderService limitOrderService) { _orderBookService = orderBookService; _limitOrderService = limitOrderService; }
public Lp3Service(ILogFactory logFactory, IOrderBookTraderService orderBookTraderService, ILimitOrderService limitOrderService, ILykkeExchange lykkeExchange, IAssetsService assetsService, IBalanceService balanceService) { _orderBookTraderService = orderBookTraderService; _limitOrderService = limitOrderService; _lykkeExchange = lykkeExchange; _assetsService = assetsService; _balanceService = balanceService; _log = logFactory.CreateLog(this); }
public Lp3Service(ILogFactory logFactory, IOrderBookTraderService orderBookTraderService, ILimitOrderService limitOrderService, ILykkeExchange lykkeExchange, IAssetsService assetsService, IBalanceService balanceService) { _orderBookTraderService = orderBookTraderService; _limitOrderService = limitOrderService; _lykkeExchange = lykkeExchange; _assetsService = assetsService; _balanceService = balanceService; _log = logFactory.CreateLog(this); _retryTimer = new Timer(Retry, null, Timeout.InfiniteTimeSpan, Timeout.InfiniteTimeSpan); }
public MarketMakerService( IIndexSettingsService indexSettingsService, IIndexPriceService indexPriceService, IBalanceService balanceService, ISettingsService settingsService, ILykkeExchangeService lykkeExchangeService, ILimitOrderService limitOrderService, IInstrumentService instrumentService, TraceWriter traceWriter, ILogFactory logFactory) { _indexSettingsService = indexSettingsService; _indexPriceService = indexPriceService; _balanceService = balanceService; _settingsService = settingsService; _lykkeExchangeService = lykkeExchangeService; _limitOrderService = limitOrderService; _instrumentService = instrumentService; _traceWriter = traceWriter; _log = logFactory.CreateLog(this); }
public ParticipateBusinessService(IBlockTradeService blockTradeService, ICommonMessageService commonMessageService, ILimitOrderService limitOrderService, ILedgerLocalDbFullDomainRepository <Transactions> transRepository, ILedgerLocalDbFullDomainRepository <Tokenprice> tokenpriceRepository, IAccountService accountService, IDbContextService dbContextService, ILedgerLocalDbFullDomainUnitOfWork unitOfWork, ILogger <ParticipateBusinessService> logger) { _accountService = accountService; _blockTradeService = blockTradeService; _commonMessageService = commonMessageService; _tokenpriceRepository = tokenpriceRepository; _transRepository = transRepository; _unitOfWork = unitOfWork; _dbContextService = dbContextService; _limitOrderService = limitOrderService; _logger = logger; }
public TradingApiController(IAssetService assetService, ILimitOrderService limitOrderService) { _assetService = assetService; _limitOrderService = limitOrderService; }