Hello,
I'm struggling with schedule_function,
For ex. I want each Friday to buy AAPL and sell at each Monday.
So by using schedule_function, i order stock by order_target_percent. But at backtest shows that order executed at next days or after few days.
Problem at schedule_function or at order_target_percent ??