(self)
| 96 | ) |
| 97 | |
| 98 | def is_active(self): |
| 99 | if self.is_trading_date and not etime.is_trade_date(self.clock_engine.now_dt): |
| 100 | # 仅在交易日触发时的判断 |
| 101 | return False |
| 102 | return self.next_time <= self.clock_engine.now_dt |
| 103 | |
| 104 | |
| 105 | class ClockEngine: |
no outgoing calls