|
Steve2
 Elite
     Posts: 750
Joined: 10/11/2012
Location: Annapolis, MD
User Profile |
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]
|
|
Steve2
 Elite
     Posts: 750
Joined: 10/11/2012
Location: Annapolis, MD
User Profile |
Just to wrap this up. IB's official position is that the kind of maintenance that they perform on Saturdays could lead to IBG orders being lost if they are submitted on a Saturday while IBG is not connected to their servers. They state that IBG orders submitted during disconnect periods on other days will be properly recovered.
They recommend that IBG be taken down on Friday nights and brought back up on Sunday. In realty though, I think one just needs to be sure that TP is configured to not submit orders on Saturdays. IB has no plans to make IBG more robust to their Saturday maintenance processes.
|
|
Barry Cohen
 Icon
      Posts: 1844
Joined: 10/11/2012
User Profile |
Thank you for the update, Steve.
|