public TradeExecutionService( IStrategyRepository strategyRepository, IAssetRepository assetRepository, ITradeRepository tradeRepository, IMarketDataService marketDataService, ITradeFinalizationService tradeFinalizationService, IExchangeObjectFactory exchangeObjectFactory) { _strategyRepository = strategyRepository; _assetRepository = assetRepository; _tradeRepository = tradeRepository; _marketDataService = marketDataService; _tradeFinalizationService = tradeFinalizationService; _exchangeFactory = exchangeObjectFactory; }
public PoloniexService( UserManager <User> userManager, IMarketDataService marketDataService, ITradeRepository tradeRepository, ITradeFinalizationService tradeFinalizationService, IExchangeSecretRepository exchangeSecretRepository ) { _poloniexWrapper = new PoloniexWrapper(); _userManager = userManager; _marketDataService = marketDataService; _exchangeSecretRepository = exchangeSecretRepository; _tradeRepository = tradeRepository; _tradeFinalizationService = tradeFinalizationService; }