For a few years now I've intermittently received the following message when sending bracket orders via API:
Error id=122631 code=135 msg=Can't find order with id =122630
Here 122630 is the parent order with transmit = false and 122631 is the child order with transmit = true. The parent order can be seen in TWS with gray/inactive status. It only shows up on the API tab but not the Pending All tab.
dst- Is there anything you guys can do about this? If not, is there anything I can do to prevent it other than catching the error, cancelling, and re-submitting?