public BotManagerController(ILogger <BotManagerController> logger, IBotProcessManager botProcessManager, IExchangeFactory exchangeFactory, IBotProcessorFactory botProcessorFactory) { _logger = logger; _botProcessManager = botProcessManager; _exchangeFactory = exchangeFactory; _botProcessorFactory = botProcessorFactory; }
public RepositoryBootstrapper( IExchangeFactory exchangeFactory, IIntervalFactory intervalFactory, ICurrencyFactory currencyFactory, ISymbolFactory symbolFactory, IOrderSideFactory orderSideFactory, IStorageTransactionFactory <HistorianDbContext> storageTransactionFactory, IHistorianRepository historianRepository, IExchangeRepository exchangeRepository, IIntervalRepository intervalRepository, ICurrencyRepository currencyRepository, ISymbolRepository symbolRepository, IOrderSideRepository orderSideRepository) { ExchangeFactory = exchangeFactory; IntervalFactory = intervalFactory; CurrencyFactory = currencyFactory; SymbolFactory = symbolFactory; OrderSideFactory = orderSideFactory; StorageTransactionFactory = storageTransactionFactory; HistorianRepository = historianRepository; ExchangeRepository = exchangeRepository; IntervalRepository = intervalRepository; CurrencyRepository = currencyRepository; SymbolRepository = symbolRepository; OrderSideRepository = orderSideRepository; }
public CustomerService(IGenericRepository <Customer> repository, IMapper mapper, IExchangeFactory <CreateCustomerResponse> exchangeFactory) { _repository = repository; _mapper = mapper; _exchangeFactory = exchangeFactory; }
public BotProcessManager(IExchangeFactory exchangeFactory, IBotProcessorFactory botProcessorFactory, IBotInstanceDataRepository botInstanceRepository, ISecretDataRepository secretRepository, ITradingViewAlertService tradingViewAlertService, IInstanceConfigurationService instanceConfigurationService) { _exchangeFactory = exchangeFactory; _secretRepository = secretRepository; _botProcessorFactory = botProcessorFactory; _botInstanceRepository = botInstanceRepository; _tradingViewAlertService = tradingViewAlertService; _instanceConfigurationService = instanceConfigurationService; State = "INITIALIZED"; }
private void CreateExchanges(IExchangeFactory factory) { _exchanges.Add(factory.Create(ExchangeType.Binance)); _exchanges.Add(factory.Create(ExchangeType.Huobi)); _exchanges.Add(factory.Create(ExchangeType.Yobit)); _exchanges.Add(factory.Create(ExchangeType.Bitfinex)); _exchanges.Add(factory.Create(ExchangeType.Cryptopia)); _exchanges.Add(factory.Create(ExchangeType.Kucoin)); _exchanges.Add(factory.Create(ExchangeType.Exmo)); _exchanges.Add(factory.Create(ExchangeType.Okex)); }
public ArbitrageScanner(IExchangeFactory factory) { CreateExchanges(factory); GenerateExchangePairs(); }
public CoreNumberProcessor(IExchangeFactory exchangeFactory, IBotInstanceDataRepository botInstanceRepository) { _exchangeFactory = exchangeFactory; _botInstanceRepository = botInstanceRepository; }
public ExchangeController(ILogger <ExchangeController> logger, IExchangeFactory factory) { _logger = logger; this.factory = factory; }