¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

No or delayed response on placed orders using IB Python API TWS 10.19 on Linux EC2


 

Hello,

I've been using the TWS Python API for almost two years for automatically trading futures. I run my code on an amazon Linux EC2 machine, Python 3.9.5 , ibapi version 9.81.1.post1, TWS version 10.19.
Over the past few weeks I've noticed that some of my orders have been getting "lost". By lost I mean no response in the orderStatus() callback. Normally I get a response almost immediately (my system checks every 2 seconds), sometimes it takes 8-10 seconds, sometimes up to 3-4 minutes, and on one occasion I didn't get a response at all. I checked by the TWS logs, the API logs, and my own system logs, and nothing.

Anyone have any idea what might cause this???

Thank you,
Yonatan

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