Hi, I have an algo that uses bands, and I log what bands have been filled in a context variable. The problem is, I'm afraid that if the algo is interrupted (like Friday), or has some other issue, the algo won't know which bands have been filled and I'll have a bunch of positions and orders still on. My question is, does anyone have a method of persistently logging position data from the algo, in order to resume easily in case of a stop condition? Right now I can only think to rebalance the previous days quotes with the previous days positions and deduce what band I'm in. This would basically double the complexity of the algo. Any suggestions would help. Thanks!