开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Handling Bot Restarts with OrderRef Issues?


 

Hi, I'm not sure if this question falls within the scope of our discussion since it pertains to a broader topic. Here it is: I run with ib-async several strategies per client. To handle the restart of my bot at the correct level after a system or network shutdown, I implemented a local database to store orders and their metadata. This was due to the limitation I encountered with the OrderRef field, where my client and strategy identifiers are stored, being empty on execFilter. Is maintaining this database the best approach, or is there a more straightforward solution to handle this issue?
Txs
Yed

Join [email protected] to automatically receive all group messages.