public LimitArbitrage4Strategy(LimitArbitrageStrategy4SettingsDTO settings, ISpotExchangeFacade exchangefacade1, ISpotExchangeFacade exchangefacade2, StrategyLogService strategyLogService, SemaphoreSlim baseSemaphore, SemaphoreSlim quoteSemaphore, SemaphoreSlim concurrentSemaphores) { this.IsRunning = false; this.Type = StrategyType.LimitArbitrage4; this.settings = settings; this.exchangefacade1 = exchangefacade1; this.exchangefacade2 = exchangefacade2; this.symbol = settings.Symbol; this.strategyLogService = strategyLogService; this.baseSemaphore = baseSemaphore; this.quoteSemaphore = quoteSemaphore; this.concurrentSemaphores = concurrentSemaphores; this.Name = this.settings.StrategyName; }
public StrategyFactory(ExchangeFactory exchangeFactory, StrategyLogService logService) { this.exchangeFactory = exchangeFactory; this.logService = logService; }