as I see that the schedule function runs daily at market close, how can I make it runs at each candle (every 15 minutes)
schedule_function(
rebalance,
date_rule=date_rules.every_day(),
time_rule=time_rules.market_close(minutes=1)
)
Hi Ahmed,
You can use "every_nth_minute(minutes=15)" to run your strategy every 15 minutes.
You can refer to the documentation of this function from this link.
Hope this helps!
Many thanks ,