¿ªÔÆÌåÓý

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

TWS Api Wart Report #1


Nick
 

It looks like when you ask for open orders when there are no open orders TWS simply doesn't bother to send a reply. At least it stayed idle for 15 seconds when I tried it.

I think everyone would agree that TWS should respond to ALL requests. In this case a reply of "There are no open orders" would be appropriate.

As an aside it's usually a good idea to make sure that no requests are lost. Having a request id in each request which is then echoed in the reply makes this possible.

Not to mention that it would be nice to have a time stamp in each reply so you can put the reply in context if needed.

That's all for now -
Nick

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