When IB disconnects, I understand I have to rerun the strategy. the strategy won't know that it should be holding a position from the previous session.
Is it possible to tell the strategy that it should be long instead of flat? If so, how would it know which timeframe it should be long (so that it can exit appropriately)? For example an entry on the 5 minute series will exit on a 5 minute bar, a 10 minute will enter/exit on a 10 minute, etc. So if I just say the strategy is long, it has to know long 5 minute or long 10 minute.
If it's not possible then I'd have to close the position myself which won't be possible.
Comment