¿ªÔÆÌåÓý

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

Re: orderStatus for orders modified in TWS


Nick
 

¿ªÔÆÌåÓý

You might look into using client id of 0. I don't know if this applies to your situation but normally a client id of 0 is required to be notified of orders entered in TWS.

On 12/7/2015 6:17 PM, kimbleyoung@... [TWSAPI] wrote:

?

I actually cancels myself when amending an order via the API and haven't run into an issue....yet but do understand the race condition and actually leave a small pause in-between (not doing HFT here by any means).


What I am actually trying to do though is simulate a delayed fill using the demo account by changing the order from a LIMIT to a MARKET so it gets filled immediately. When I do this in TWS it is filled but there is no orderstatus update triggered in the API.

I wanted to know ?if this is a known limitation or a bug I'm hitting across.

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