We are trying to be able to get back to the Position state when our software goes down unplanned during the day. So far it seems we can get all our bought and sold quantity based on execution log we keep. However to find the outstanding positions it seems a bit tricky. Any suggestions would be appreciated. We do keep track of acknowledgments.