public KucoinBuyExecuteMarketRule( IKucoinClient kucoinClient, IPushOverNotificationService pushOverNotificationService) { _kucoinClient = kucoinClient; _pushOverNotificationService = pushOverNotificationService; }
/// <summary> /// Create a new order book instance /// </summary> /// <param name="symbol">The symbol the order book is for</param> /// <param name="options">The options for the order book</param> public KucoinSpotSymbolOrderBook(string symbol, KucoinOrderBookOptions?options = null) : base(symbol, options ?? new KucoinOrderBookOptions()) { Levels = options?.Limit; socketClient = options?.SocketClient ?? new KucoinSocketClient(); restClient = options?.RestClient ?? new KucoinClient(); _restOwner = options?.RestClient == null; _socketOwner = options?.SocketClient == null; }
public KucoinModeProductionRule( IMarketService marketService, IPushOverNotificationService pushOverNotificationService, IKucoinClient kucoinClient) { _marketService = marketService; _pushOverNotificationService = pushOverNotificationService; _kucoinClient = kucoinClient; }
public SwitchExchangeForProductionRule( IMarketService marketService, Exchange exchange, IBinanceClient binanceClient, IKucoinClient kucoinClient, IPushOverNotificationService pushOverNotificationService) { _marketService = marketService; _exchange = exchange; _binanceClient = binanceClient; _kucoinClient = kucoinClient; _pushOverNotificationService = pushOverNotificationService; }
public SwitchExchangeForSymbolRule( Exchange exchange, IBinanceClient binanceClient, IKucoinClient kucoinClient, IBinanceTickerService binanceTickerService, IKucoinTickerService kucoinTickerService) { _exchange = exchange; _binanceClient = binanceClient; _kucoinClient = kucoinClient; _binanceTickerService = binanceTickerService; _kucoinTickerService = kucoinTickerService; }
public BuyDeepSellHighJob( IBinanceClient binanceClient, IKucoinClient kucoinClient, IStorageService storageService, IMarketService marketService, IConfigurationService schedulerService, IPushOverNotificationService pushOverNotificationService, IBinanceTickerService binanceTickerService, IKucoinTickerService kucoinTickerService) { _binanceClient = binanceClient; _kucoinClient = kucoinClient; _storageService = storageService; _marketService = marketService; _schedulerService = schedulerService; _pushOverNotificationService = pushOverNotificationService; _binanceTickerService = binanceTickerService; _kucoinTickerService = kucoinTickerService; }
public KucoinSymbolSequenceRule( IKucoinClient kucoinClient) { _kucoinClient = kucoinClient; }
public KucoinTickerService( IKucoinClient kucoinClient) { _kucoinClient = kucoinClient; }
public KucoinAccountExchangeRule( IKucoinClient kucoinClient) { _kucoinClient = kucoinClient; }