@backtrader Thank you for this answer as I was having a similar problem. So if I want an order to be valid for the next 1-minute bar, I should use valid=timedelta(minutes=2)
.
It would be great if the docs could note this issue (e.g., in https://www.backtrader.com/docu/order/). Is there a way for me to submit a pull request to help improve the docs? I didn't see any docs on github at https://github.com/mementum/backtrader so I am asking here.
Thanks.