Trying to figure out how to handle a specific issue. Let's say a strategy submits an order, and waits for close order command. Then PC crashes. Once I restart PC, all my order objects are null, and my exit command will be ignored since I am checking that order is not null to allow closing the position.
How can I repopulate an order object with the order that was earlier opened and still active?
Thanks,
redduke
Comment