public override void Update(int dateIndex_, ConstructGen<double> data_, TradeBasket tb_) { if (!Enabled) return; var date = data_.Dates[dateIndex_]; if (date.Hour < Hour) return; if (date.Hour >= Hour || date.Minute >= Minute) OnActioned(EventArgs.Empty); }
abstract public void Update(int dateIndex_, ConstructGen<double> data_, TradeBasket tb_);