public MainTask( ILogger <MainTask> logger, IBitCoinTradeService bitCoinTradeService, IGenericService genericService, INotificationService notificationService, IDecisionMakerService decisionMakerService, ITaskAwaitToBuy awaitToBuyTask, ITaskBuy BuyTask, ITaskSell SellTask, ITaskAwaitToSell awaiToSellTask, ICryptoCurrencyService cryptoCurrencyService ) { _notificateBotIsAlive = true; this._logger = logger; this._bitCoinTradeService = bitCoinTradeService; this._genericService = genericService; this._notificationService = notificationService; this._decisionMakerService = decisionMakerService; this._awaitToBuyTask = awaitToBuyTask; this._buyTask = BuyTask; this._cryptoCurrencyService = cryptoCurrencyService; this._sellTask = SellTask; this._awaiToSellTask = awaiToSellTask; }
public TaskAwaitToSell(IDecisionMakerService decisionMakerService, ILogger <TaskAwaitToSell> logger, ITaskSell taskSell) { this._decisionMakerService = decisionMakerService; this._logger = logger; this._taskSell = taskSell; }