コード例 #1
0
ファイル: ModeTestRule.cs プロジェクト: marcel7181/SolBo
 public ModeTestRule(
     IMarketService marketService,
     IPushOverNotificationService pushOverNotificationService)
 {
     _marketService = marketService;
     _pushOverNotificationService = pushOverNotificationService;
 }
コード例 #2
0
 public BinanceStopLossExecuteMarketRule(
     IBinanceClient binanceClient,
     IPushOverNotificationService pushOverNotificationService)
 {
     _binanceClient = binanceClient;
     _pushOverNotificationService = pushOverNotificationService;
 }
コード例 #3
0
 public SendNotificationRule(
     IPushOverNotificationService pushOverNotificationService,
     DateTimeOffset?runLastTime)
 {
     _pushOverNotificationService = pushOverNotificationService;
     _runForTheFirstTime          = runLastTime is null;
 }
コード例 #4
0
 public KucoinBuyExecuteMarketRule(
     IKucoinClient kucoinClient,
     IPushOverNotificationService pushOverNotificationService)
 {
     _kucoinClient = kucoinClient;
     _pushOverNotificationService = pushOverNotificationService;
 }
コード例 #5
0
 public BinanceModeProductionRule(
     IMarketService marketService,
     IPushOverNotificationService pushOverNotificationService,
     IBinanceClient binanceClient)
 {
     _marketService = marketService;
     _pushOverNotificationService = pushOverNotificationService;
     _binanceClient = binanceClient;
 }
コード例 #6
0
 public KucoinModeProductionRule(
     IMarketService marketService,
     IPushOverNotificationService pushOverNotificationService,
     IKucoinClient kucoinClient)
 {
     _marketService = marketService;
     _pushOverNotificationService = pushOverNotificationService;
     _kucoinClient = kucoinClient;
 }
コード例 #7
0
ファイル: BuyDeepSellHighJob.cs プロジェクト: hkrawczyk/SolBo
 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;
 }