Login Page - Create Account

Support Board


Date/Time: Tue, 26 Aug 2025 08:51:40 +0000



Interactive Brokers orders disappear almost immediately

View Count: 196

[2025-07-31 14:48:31]
User688425 - Posts: 7
Hello,
While trying to place trades with IB, the orders disappear almost immediately and never get fill, nor do the attached OCO orders even appear on the chart. I contacted IB (as stated to do in SC support boards, but they say they is no issues on their end.
My message to them (and I included the trades log) was:
Hello,
I use Sierra chart to trade through IBKR's API. Every time I place an order, it disappears immediately, but in the Trade Orders log, the orders still say open but will not fill and disappear from the chart trade window. I attached a screenshot of the trade orders log. Why when a reqOpenOrders call is made through the API, why is there not a response for the order ID? Also, whenever I place orders with attached stops and target prices, the attached orders never appear?

Their response:
The TWS API should be providing order status updates so long as those orders are active. Interactive Brokers would not be familiar with the SierraChart setup on their application, but if you are getting the orders back from the trade log then it should be shown on the application as well. Have you reached out to SierraChart regarding this issue? This seems like there may be an implementation issue on their end as the trade log you provided shows that the API is working as intended.
imageScreenshot 2025-07-31 074523.png / V - Attached On 2025-07-31 14:45:45 UTC - Size: 190.78 KB - 35 views
Attachment Deleted.
[2025-07-31 15:56:25]
John - SC Support - Posts: 41464
When you have this occur, we need to see your "Trade >> Trade Service Log" by following these instructions:
Support Board Posting Information: Providing Lines From Trade Service Log
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-07-31 16:13:31]
User688425 - Posts: 7
2025-07-31 06:18:40.895 | TradeActivity files query time: 0.019858 seconds. Entries: 0. BeginDateTimeUTC: 00:00:00.000. Outstanding queries: 1
2025-07-31 06:18:40.909 | TradeActivity files query time: 0.013834 seconds. Entries: 92. BeginDateTimeUTC: 2025-06-15 00:00:00.000. Outstanding queries: 0
2025-07-31 06:18:46.495 | Interactive Brokers | Requesting Open orders.
2025-07-31 06:18:46.495 | Interactive Brokers | Sent reqAutoOpenOrders request
2025-07-31 06:18:46.606 | Interactive Brokers | Received Open orders end message.
2025-07-31 06:18:49.648 | TradeActivity files query time: 0.006515 seconds. Entries: 6. BeginDateTimeUTC: 00:00:00.000. Outstanding queries: 0
2025-07-31 06:18:49.691 | TradeActivity files query time: 0.005508 seconds. Entries: 6. BeginDateTimeUTC: 00:00:00.000. Outstanding queries: 0
2025-07-31 06:18:50.110 | Denali Data Feed | MaxConnectionsDifferentDevices = 1, NumCurrentConnectionsDifferentDevices = 1
2025-07-31 06:18:50.110 | Denali Data Feed | MaxConnectionsForSameDevice = 3, NumCurrentConnectionsForSameDevice = 1
2025-07-31 06:23:17.947 | TradeActivity files query time: 0.004782 seconds. Entries: 6. BeginDateTimeUTC: 00:00:00.000. Outstanding queries: 0
2025-07-31 06:23:17.981 | TradeActivity files query time: 0.003455 seconds. Entries: 6. BeginDateTimeUTC: 00:00:00.000. Outstanding queries: 0
2025-07-31 06:52:36.154 | TradeActivity files query time: 0.001898 seconds. Entries: 1. BeginDateTimeUTC: 2024-07-24 07:00:00.000. Outstanding queries: 0
2025-07-31 06:52:36.155 | TradeActivity files query time: 0.000558 seconds. Entries: 1. BeginDateTimeUTC: 2024-07-24 07:00:00.000. Outstanding queries: 0
2025-07-31 06:53:34.790 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 4. InternalOrderID: 146.
2025-07-31 06:53:34.929 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 6. InternalOrderID: 148.
2025-07-31 06:53:49.396 | Interactive Brokers | Requesting Open orders.
2025-07-31 06:53:49.396 | Interactive Brokers | Sent reqAutoOpenOrders request
2025-07-31 06:53:49.399 | Interactive Brokers | Received Open orders end message.
2025-07-31 06:54:37.922 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 7. InternalOrderID: 149.
2025-07-31 06:54:38.120 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 9. InternalOrderID: 151.
2025-07-31 06:54:38.241 | Trading message from IB: Order Message: BUY 1 NVTS NASDAQ.NMS Warning: Your order was repriced so as not to cross a related resting order. Error Code: 399. ServiceOrderID: 7. InternalOrderID: 149. *
2025-07-31 06:54:52.846 | Interactive Brokers | Requesting Open orders.
2025-07-31 06:54:52.846 | Interactive Brokers | Sent reqAutoOpenOrders request
2025-07-31 06:54:52.849 | Interactive Brokers | Received Open orders end message.
2025-07-31 06:57:54.570 | Interactive Brokers | Requesting Open orders.
2025-07-31 06:57:54.570 | Interactive Brokers | Sent reqAutoOpenOrders request
2025-07-31 06:57:54.681 | Interactive Brokers | Received Open orders end message.
2025-07-31 06:58:04.904 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 10. InternalOrderID: 152.
2025-07-31 06:58:05.093 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 12. InternalOrderID: 154.
2025-07-31 06:58:05.208 | Trading message from IB: Order Message: BUY 1 NVTS NASDAQ.NMS Warning: Your order was repriced so as not to cross a related resting order. Error Code: 399. ServiceOrderID: 10. InternalOrderID: 152. *
2025-07-31 06:58:19.812 | Interactive Brokers | Requesting Open orders.
2025-07-31 06:58:19.812 | Interactive Brokers | Sent reqAutoOpenOrders request
2025-07-31 06:58:19.814 | Interactive Brokers | Received Open orders end message.
2025-07-31 09:11:16.145 | Interactive Brokers | Received Open orders end message.
2025-07-31 09:11:16.394 | Interactive Brokers | Requesting Open orders.
2025-07-31 09:11:16.394 | Interactive Brokers | Sent reqAutoOpenOrders request
2025-07-31 09:11:16.625 | Denali Data Feed | MaxConnectionsDifferentDevices = 1, NumCurrentConnectionsDifferentDevices = 1
2025-07-31 09:11:16.625 | Denali Data Feed | MaxConnectionsForSameDevice = 3, NumCurrentConnectionsForSameDevice = 2
2025-07-31 09:11:45.001 | Interactive Brokers | Received Open orders end message.
[2025-07-31 17:48:36]
John - SC Support - Posts: 41464
There is the following in your log:
2025-07-31 06:58:04.904 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 10. InternalOrderID: 152.
2025-07-31 06:58:05.093 | Trading message from IB: Order Event Warning:Attribute 'Outside Regular Trading Hours' is ignored based on the order type and destination. PlaceOrder is now being processed. Error Code: 2109. ServiceOrderID: 12. InternalOrderID: 154.
2025-07-31 06:58:05.208 | Trading message from IB: Order Message: BUY 1 NVTS NASDAQ.NMS Warning: Your order was repriced so as not to cross a related resting order. Error Code: 399. ServiceOrderID: 10. InternalOrderID: 152. *

The first two are stating that the attribute "Outside Regular Trading Hours" is being ignored. We do not know why there would be an attribute set to this, but if it is being ignored, then it does not matter. Although we do wonder what you have set for the "Time in Force" for both the parent and child orders. Refer to the following:
Basic Trading and the Trade Window: Main >> TimeInForce (Time in Force):

Attached Orders: Time In Force

The last error is stating that an order is being repriced, but it does not give any information on what it is being repriced to. We wonder if this is what is causing the issue. You would need to work with Interactive Brokers on what that particular error means and exactly what occurred to that order.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account