It is correct, that the callback focuses on the status and (partial) fills of an order, but there is also the callback. That callback provides you information about all aspects of open orders and the changes that take place. You receive:
- a copy of the contract object that the order is about
- an object that focuses on margin impact and cost
- and an object that reflects any and all changes of the order since it was placed or since the most recent or callback.
That includes any changes that were applied manually in TWS (such as changing the limit of an order) or automatically by IBKR or the exchange (such as the current trail price).
And a "master client" or "client 0" can request callbacks for orders placed from within TWS or other client applications. More detail in the "Order Management" section of the TWS API documentation or .
I don't think that there is anything missing.
闯ü谤驳别苍
?
On Wed, Nov 13, 2024 at 03:51 PM, Orionn wrote:
toggle quoted message
Show quoted text
Since no one replied to your question, I will provide my (possibly outdated) contribution.
Several years ago, I was also interested in monitoring the updated price of trailing (stop) orders.
I confirmed that the "orderStatus" callback was called periodically for these order types but unfortunately no price updates were being issued.
I contacted IB which provided the usual response: "it is like this by design".
So I gave up.
I cannot confirm if this unfortunate limitation is still in place.
Hope this helps.
--