Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Trail price movement callbacks?
I dont think this exists but wanted to check with the group before giving up.?
?
I'm trying to record movements of the stop price on a trailing order, so I can chart the movement of the floor price and understand how close the price is to the floor at any given time.?
?
I dont see any relevant events in the order status events, does this info exist?
?
thank you. |
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. -- |
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:
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:
Since no one replied to your question, I will provide my (possibly outdated) contribution. |
Excellent thanks Orionn & 闯ü谤驳别苍. Glad to know I'm not crazy thinking it should be in the status updates.
?
I'll have a closer look at the openOrder callbacks. Looking through the logs it didn't appear that it was firing often enough to be updated at the speed of price movements but it's worth a shot! Thanks! |
to navigate to use esc to dismiss