示例#1
0
 public ModeTestRule(
     IMarketService marketService,
     IPushOverNotificationService pushOverNotificationService)
 {
     _marketService = marketService;
     _pushOverNotificationService = pushOverNotificationService;
 }
 public BinanceStopLossExecuteMarketRule(
     IBinanceClient binanceClient,
     IPushOverNotificationService pushOverNotificationService)
 {
     _binanceClient = binanceClient;
     _pushOverNotificationService = pushOverNotificationService;
 }
示例#3
0
 public SendNotificationRule(
     IPushOverNotificationService pushOverNotificationService,
     DateTimeOffset?runLastTime)
 {
     _pushOverNotificationService = pushOverNotificationService;
     _runForTheFirstTime          = runLastTime is null;
 }
 public KucoinBuyExecuteMarketRule(
     IKucoinClient kucoinClient,
     IPushOverNotificationService pushOverNotificationService)
 {
     _kucoinClient = kucoinClient;
     _pushOverNotificationService = pushOverNotificationService;
 }
 public BinanceModeProductionRule(
     IMarketService marketService,
     IPushOverNotificationService pushOverNotificationService,
     IBinanceClient binanceClient)
 {
     _marketService = marketService;
     _pushOverNotificationService = pushOverNotificationService;
     _binanceClient = binanceClient;
 }
 public KucoinModeProductionRule(
     IMarketService marketService,
     IPushOverNotificationService pushOverNotificationService,
     IKucoinClient kucoinClient)
 {
     _marketService = marketService;
     _pushOverNotificationService = pushOverNotificationService;
     _kucoinClient = kucoinClient;
 }
示例#7
0
 public BuyDeepSellHighJob(
     IStorageService storageService,
     IMarketService marketService,
     IConfigurationService schedulerService,
     IPushOverNotificationService pushOverNotificationService)
 {
     _storageService              = storageService;
     _marketService               = marketService;
     _schedulerService            = schedulerService;
     _pushOverNotificationService = pushOverNotificationService;
 }
示例#8
0
 public SwitchExchangeForProductionRule(
     IMarketService marketService,
     Exchange exchange,
     IBinanceClient binanceClient,
     IKucoinClient kucoinClient,
     IPushOverNotificationService pushOverNotificationService)
 {
     _marketService = marketService;
     _exchange      = exchange;
     _binanceClient = binanceClient;
     _kucoinClient  = kucoinClient;
     _pushOverNotificationService = pushOverNotificationService;
 }
示例#9
0
 public BuyDeepSellHighJob(
     IBinanceClient binanceClient,
     IStorageService storageService,
     IMarketService marketService,
     IConfigurationService schedulerService,
     IPushOverNotificationService pushOverNotificationService,
     ITickerPriceService tickerPriceService)
 {
     _binanceClient               = binanceClient;
     _storageService              = storageService;
     _marketService               = marketService;
     _schedulerService            = schedulerService;
     _pushOverNotificationService = pushOverNotificationService;
     _tickerPriceService          = tickerPriceService;
 }
示例#10
0
 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;
 }
示例#11
0
 public BuyExecuteMarketTestRule(
     IPushOverNotificationService pushOverNotificationService)
 {
     _pushOverNotificationService = pushOverNotificationService;
 }