We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When LEAN fetches an open order, we get the time is was recorded by IB.
The order timestamp is DateTime.MinValue.
DateTime.MinValue
Open Limit Order for MES, for example. Deploy algorithm to IB.
2024-06-24T22:10:23.8663356Z TRACE:: InteractiveBrokersBrokerage.HandleOpenOrder(): OrderId: -2, Contract: FUT MES USD CME, OrderStatus: Submitted 2024-06-24T22:10:23.8762989Z ERROR:: InteractiveBrokersBrokerage.HandleOpenOrder(): Unable to locate order with BrokerageID -2 2024-06-24T22:10:23.9069760Z TRACE:: InteractiveBrokersBrokerage.HandleOrderStatusUpdates(): OrderId: -2, Status: Submitted, Filled: 0, Remaining: 1, AverageFillPrice: 0, PermId: 2129007122, ParentId: 0, LastFillPrice: 0, ClientId: 0, WhyHeld: ,MktCapPrice: 0 2024-06-24T22:10:23.9070630Z ERROR:: InteractiveBrokersBrokerage.HandleOrderStatusUpdates(): Unable to locate order with BrokerageID -2
master
The text was updated successfully, but these errors were encountered:
This is a limitation of the IB API, this information is currently not available
Sorry, something went wrong.
Could you be more specific regarding the limitation? If I query endpoint /iserver/account/orders, it provides lastExecutionTime, which is much better than 0000-12-31 19:36:45. Reference: https://www.interactivebrokers.eu/campus/ibkr-api-page/webapi-doc/#monitoring-live-orders-33
No branches or pull requests
Expected Behavior
When LEAN fetches an open order, we get the time is was recorded by IB.
Actual Behavior
The order timestamp is
DateTime.MinValue
.Potential Solution
Reproducing the Problem
Open Limit Order for MES, for example.
Deploy algorithm to IB.
Checklist
master
branchThe text was updated successfully, but these errors were encountered: