Can't a timed executable like the apscheduler in python be used in backtest code?

Author: Sadhu is down there., Created: 2023-02-02 14:13:50, Updated:

apscheduler


More

Sadhu is down there.This is the equivalent of on bar mode.

Sadhu is down there.I want to know how to decide if a stock is open at the start time of each hour of the kline.

The Little DreamYes, this design is equivalent to an on-bar: https://www.fmz.com/digest-topic/4138# judging k-line updates

The Little Dreamhttps://www.fmz.com/digest-topic/4138#%E5%88%A4%E6%96%ADk%E7%BA%BF%E6%9B%B4%E6%96%B0%E7%9A%84%E5%B0%8F%E6%8A%80%E5%B7%A7 This is the kind of judgement that is described in the article.