Steve2![]() Elite ![]() ![]() ![]() ![]() ![]() Posts: 750 Joined: 10/11/2012 Location: Annapolis, MD ![]() | I believe there is currently an issue with the IB Gateway related to losing orders if TP submits an order while the IB Gateway is not connected to the IB servers. It doesn't happen all the time and seems to be related to the IB Gateway doing an internal restart when it has un-submitted orders queued. The greatest risk for this happening is if your TP is configured to submit orders on weekends. IB typically does maintenance on Saturdays and sometimes this maintenance leads to dropped connections with IB Gateway and IB Gateway internal restarts when the connection is restored. I've been running one TP/IB configuration for almost two years that is not configured to submit orders on weekends and have never encountered this problem. I started running a second TP/IB configuration where the TP is configured to submit orders on weekends (i.e., Friday orders are submitted on Saturdays at 8am) and have encountered this problem twice in two months. I'm currently "in negotiations" with the IB api group about whether or not this is a bug (which I'm sure it is). So far, they are unconvinced but their advice is to not submit orders during the weekend (although they said Sunday night would be ok since everything is always back up and running by then). So, if you are running TP with IB, I recommend that you NOT check the Weekend box under order submission. I'll post again if I get any more info from the IB api group. Steve (Note: This was originally posted in the IB TIPS and HOWTO thread. Posting it here so it gets a little more visibility since that thread is many pages long) [Edited by Steve2 on 3/23/2015 2:54 PM] |