IB Midnight Disconnect

Discussion in 'Interactive Brokers' started by brocklanders, Jan 7, 2011.

  1. FWIW, Bloomberg has a once-a-day reset/disconnect as well. It allows them to push out security patches and updates.

    Why not change your account to a time zone that is outside your normal trading hours or at least more convienient?
     
    #21     Jan 12, 2011
  2. Kirkx

    Kirkx

    Same here. Can you provide the link with exact hours. And keep in mind that neither Hong Kong nor Japan have DST, so the reset would start at 6:30 pm EDT in the summer.
     
    #22     Jan 13, 2011
  3. Data from the cusfuture farm was cut off again last night resulting in no data for products on those servers from about 12:15am and after. I tried the commands you posted once I saw the disconnection had happened but unfortunately it did not recover the connection to this particular server farm and a hard restart was again necessary. The only solution appears to be moving to a different server region.
     
    #24     Jan 14, 2011
  4. Stok

    Stok

    I'm on the Hong Kong server, which will reset at 4:30pm CST. Makes it easier since I am around to see it, and it usually get all data back in under 1 min. Never had any problems.
     
    #25     Jan 14, 2011
  5. JackR

    JackR

    Brock:
    So you lost data only from the "cusfuture" farm, but not from usfarm, cashfarm, usfuture, usopt, or ushmds2a (or whichever others you get data from)?

    Where are you located?

    Jack
     
    #26     Jan 14, 2011
  6. Yes, that's what is happening. Only losing it from cusfuture and the others are reconnecting fine. I'm in South Carolina.
     
    #27     Jan 14, 2011
  7. JackR

    JackR

    Hmm...

    Has that always been the case? If not, I wonder if the cusfuture farm was just down longer and your restart hit at just theright time?
     
    #28     Jan 14, 2011
  8. I (almost) never had this problem before upgrading past 906 late last year. I don't know if this is just coincidental or not but I've tried versions 906.9 and 908 and both have had this problem happen. Last week it happened 3 nights but this week only once. I'm curious what version most are using on here. I've tested 911 but have not upgraded yet. My gut is that it is not completely TWS related and could be more network related.
     
    #29     Jan 14, 2011
  9. JackR

    JackR

    Interesting problem. Of course it's your money.

    Well you are in SC, and therefore on Eastern time. So it could be someone like your ISP doing midnight maintenance, but I really doubt it.

    I have an application that connects to the TWS and grabs data. Below is an extract of its log from last night. I've included data starting with the previous evening's last entry. It is not the TWS log which is running at a very minimal level and is of no use to us right now. However, note that there is more than one up/down cycle for the farms. Some of this is probably due to the TWS/farm server protocol, but that's a guess.

    2011-01-13 00:28:30 Info (1102): Connectivity between IB and TWS has been restored - data maintained.
    2011-01-13 17:01:05 Info (2103): Market data farm connection is broken:cashfarm
    2011-01-13 17:11:20 Info (2104): Market data farm connection is OK:cashfarm
    2011-01-13 17:13:21 Info (2104): Market data farm connection is OK:cashfarm
    2011-01-13 23:55:45 Info (2105): HMDS data farm connection is broken:ushmds2a
    2011-01-13 23:59:04 Info (2103): Market data farm connection is broken:cusfuture
    2011-01-13 23:59:04 Info (2103): Market data farm connection is broken:usfarm
    2011-01-13 23:59:05 Info (2103): Market data farm connection is broken:usopt
    2011-01-13 23:59:05 Info (2103): Market data farm connection is broken:usfuture
    2011-01-13 23:59:08 Info (2104): Market data farm connection is OK:usfarm
    2011-01-13 23:59:13 Info (2104): Market data farm connection is OK:usopt
    2011-01-13 23:59:18 Info (2104): Market data farm connection is OK:usfuture
    2011-01-13 23:59:46 Info (2104): Market data farm connection is OK:cusfuture
    2011-01-14 00:01:02 Info (2103): Market data farm connection is broken:cusfuture
    2011-01-14 00:01:19 Info (2104): Market data farm connection is OK:usfuture
    2011-01-14 00:03:25 Info (2104): Market data farm connection is OK:cusfuture
    2011-01-14 00:05:26 Info (2104): Market data farm connection is OK:cusfuture
    2011-01-14 00:06:00 Info (2106): HMDS data farm connection is OK:ushmds2a
    2011-01-14 00:08:01 Info (2106): HMDS data farm connection is OK:ushmds2a
    2011-01-14 00:14:16 Info (2103): Market data farm connection is broken:usfuture
    2011-01-14 00:14:20 Info (2104): Market data farm connection is OK:usfuture
    2011-01-14 00:18:22 Info (2104): Market data farm connection is OK:usfuture
    2011-01-14 00:19:05 Info (1100): Connectivity between IB and TWS has been lost.
    2011-01-14 00:19:14 Info (1100): Connectivity between IB and TWS has been lost.
    2011-01-14 00:19:22 Info (1100): Connectivity between IB and TWS has been lost.
    2011-01-14 00:19:32 Info (1100): Connectivity between IB and TWS has been lost.
    2011-01-14 00:19:39 Info (1100): Connectivity between IB and TWS has been lost.
    2011-01-14 00:19:49 Info (1100): Connectivity between IB and TWS has been lost.
    2011-01-14 00:19:58 Info (1102): Connectivity between IB and TWS has been restored - data maintained.
    2011-01-14 00:27:04 Info (2103): Market data farm connection is broken:usopt
    2011-01-14 00:27:05 Info (2103): Market data farm connection is broken:usfarm
    2011-01-14 00:27:05 Info (2103): Market data farm connection is broken:usfuture
    2011-01-14 00:27:08 Info (2104): Market data farm connection is OK:usfuture
    2011-01-14 00:27:18 Info (2104): Market data farm connection is OK:usfarm
    2011-01-14 00:27:18 Info (2104): Market data farm connection is OK:usopt
    2011-01-14 00:29:10 Info (2104): Market data farm connection is OK:usfuture
    2011-01-14 00:31:19 Info (2104): Market data farm connection is OK:usopt


    You might download pingplotter http://www.pingplotter.com/freeware.html . The link is to the free version. See very bottom of that page. For $25 you can get the version that records the history. It might help.

    As to TWS versions. I run two physical machines, in general my "play\paper trading" machine has the latest downloadable TWS and the "live" machine has one version back. I haven't needed to restart either in a long time. When IB was going through the "security token" upgrade I was having a lot of difficulty but I sent some of my TWS log files to IB and they fixed their code.
     
    #30     Jan 14, 2011