public LimitTradeQueue(
     AppSettings.RabbitMqSettings config,
     ILog log,
     IWalletCredentialsRepository walletCredentialsRepository,
     IOffchainRequestService offchainRequestService,
     IEthereumTransactionRequestRepository ethereumTransactionRequestRepository,
     ISrvEthereumHelper srvEthereumHelper,
     ICachedAssetsService assetsService,
     IBcnClientCredentialsRepository bcnClientCredentialsRepository,
     AppSettings.EthereumSettings settings,
     IEthClientEventLogs ethClientEventLogs,
     ILimitOrdersRepository limitOrdersRepository, IClientTradesRepository clientTradesRepository, ILimitTradeEventsRepository limitTradeEventsRepository, IClientSettingsRepository clientSettingsRepository, IAppNotifications appNotifications, IClientAccountsRepository clientAccountsRepository, IOffchainOrdersRepository offchainOrdersRepository, IClientCacheRepository clientCacheRepository, IBitcoinTransactionService bitcoinTransactionService)
 {
     _rabbitConfig = config;
     _walletCredentialsRepository          = walletCredentialsRepository;
     _offchainRequestService               = offchainRequestService;
     _ethereumTransactionRequestRepository = ethereumTransactionRequestRepository;
     _srvEthereumHelper = srvEthereumHelper;
     _assetsService     = assetsService;
     _bcnClientCredentialsRepository = bcnClientCredentialsRepository;
     _settings           = settings;
     _ethClientEventLogs = ethClientEventLogs;
     _log = log;
     _limitOrdersRepository      = limitOrdersRepository;
     _clientTradesRepository     = clientTradesRepository;
     _limitTradeEventsRepository = limitTradeEventsRepository;
     _clientSettingsRepository   = clientSettingsRepository;
     _appNotifications           = appNotifications;
     _clientAccountsRepository   = clientAccountsRepository;
     _offchainOrdersRepository   = offchainOrdersRepository;
     _clientCacheRepository      = clientCacheRepository;
     _bitcoinTransactionService  = bitcoinTransactionService;
 }
 public LimitOrderCommandHandler(
     IClientAccountClient clientAccountClient,
     ILimitOrdersRepository limitOrdersRepository,
     IAssetsServiceWithCache assetsServiceWithCache)
 {
     _clientAccountClient    = clientAccountClient;
     _limitOrdersRepository  = limitOrdersRepository;
     _assetsServiceWithCache = assetsServiceWithCache;
 }
Beispiel #3
0
 public LimitOrderCommandHandler(
     IClientAccountClient clientAccountClient,
     ILimitOrdersRepository limitOrdersRepository,
     IAssetsServiceWithCache assetsServiceWithCache,
     ILogFactory logFactory
     )
 {
     _clientAccountClient    = clientAccountClient;
     _limitOrdersRepository  = limitOrdersRepository;
     _assetsServiceWithCache = assetsServiceWithCache;
     _log = logFactory.CreateLog(this);
 }
Beispiel #4
0
 public LimitOrdersChecker(
     string sqlConnecctionString,
     ILimitOrdersRepository repository,
     ITradesRepository tradesRepository,
     IMarketOrdersRepository marketOrdersRepository,
     ILog log)
     : base(
         sqlConnecctionString,
         true,
         repository,
         log)
 {
     _tradesRepository       = tradesRepository;
     _marketOrdersRepository = marketOrdersRepository;
 }
Beispiel #5
0
 public HistoryCommandHandler(ILogFactory logFactory, ILimitOrdersRepository limitOrdersRepository, IClientCacheRepository clientCacheRepository)
 {
     _log = logFactory.CreateLog(this);
     _limitOrdersRepository = limitOrdersRepository;
     _clientCacheRepository = clientCacheRepository;
 }