¿ªÔÆÌåÓý

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

Re: Trading in the Last Minute of the Market


 

Frankly, I don¡¯t remember my TWS code, but I¡¯m quite sure that I don¡¯t use execDetails. As far as I remember I ¡°sit¡± on the orderStatus.

On Thu, 7 Jan 2021 at 11:05 David Armour <dave.armour@...> wrote:
Actually it is the placing that is giving me the problem but I think it is a "feature" of the TWS API.

I am entering MKT orders and I am expecting an orderStatus() callback but none comes within 5 secs. After reading the docs more closely, it seems that it is possible that no orderStatus() callback gets called for MKT orders and you need to check execDetails().

So I just have to send my order and not look for the callback.

--
Ed Gonen

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