the status of order with valid given is never set to "expired" in live trading
I'm tying to build my trade system with backtrader and btoandav20.
And I find that the order with valid is never set to "expired", I'm not sure this situation is causes by backtrader or btoandav20.
After tracing code, I think the problem is caused by the
nanwhen the "expired event" comes and the oandastore.py calls
It makes the expression
self.data.datetime > self.validof
expirein order.py always returns