Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unkown error when connect IB API or IB TWS 978.1o

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unkown error when connect IB API or IB TWS 978.1o

    Hi,

    I updated ninjatrader to 8.0.22.2 64-bit and I updated IB API Gateways and IB TWS from version 973 to 978.1o (as suggested in https://ninjatrader.com/es/Connectio...nnection-Guide). I also updated java. I followed the link to have the expected configuration the same as 973 version.

    But there are an unkwown error when I try to connect version 978.1o (both Gateway or TWS). Charts are not loaded after the error. I had to come back to version 973 which still works fine.


    I checked the logs and I found this in ninjatrader:

    2020-06-23 01:40:56:673|2|4|Received unknown error/warning: Sec-def data farm connection is broken:secdefeu

    In API Gateways I found only this in client0 after connect:

    01:59:22:918 -> 15-1-U2215662-
    01:59:22:918 -> 9-1-1-
    01:59:22:919 -> 4-2--1-2157-Sec-def data farm connection is broken:secdefeu-
    01:59:22:979 <- 20-6-116-0-TSLA-STK--0-0--SMART-ISLAND-USD---0-20200623 01:59:24-1 min-6 D-0-TRADES-1--
    01:59:23:449 <- 1-11-408-0-NFLX-STK--0---SMART-ISLAND-USD---0-375-0--
    01:59:23:470 <- 1-11-409-0-TSLA-STK--0---SMART-ISLAND-USD---0-375-0--
    01:59:23:492 <- 1-11-410-0-SHOP-STK--0---SMART-SMART-USD---0-375-0--
    01:59:23:513 <- 1-11-411-0-ROKU-STK--0---SMART-SMART-USD---0-375-0--

    And in general API gateways logs:

    2020-06-23 01:59:24.631 [DO] INFO [JTS-SocketListener-48] - State: STOP, IsAPI: NO
    2020-06-23 01:59:24.632 [DO] INFO [JTS-SocketListener-48] - ArEServer: Adding 1555328714 with id 2147483647
    2020-06-23 01:59:24.632 [DO] INFO [JTS-SocketListener-48] - eServersChanged: 1
    2020-06-23 01:59:24.633 [DO] INFO [JTS-EServerSocketNotifier-1581] - Starting async queue thread
    2020-06-23 01:59:24.633 [DO] INFO [JTS-EServerSocket-1580] - [2147483647:66:76:1:0:0:0:SYS] Starting new conversation with client on 127.0.0.1
    2020-06-23 01:59:24.634 [DO] INFO [JTS-EServerSocket-1580] - [2147483647:66:76:1:0:0:0:SYS] Server version is 76
    2020-06-23 01:59:24.634 [DO] INFO [JTS-EServerSocket-1580] - [2147483647:66:76:1:0:0:0:SYS] Client version is 66
    2020-06-23 01:59:24.634 [DO] INFO [JTS-EServerSocket-1580] - [2147483647:66:76:1:0:0:0:SYS] is 3rdParty true
    2020-06-23 01:59:24.635 [DO] INFO [JTS-EServerSocket-1580] - Start API message, ClientID=0
    2020-06-23 01:59:24.745 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: DATA | hmdscore.W@71914231 | Removing all series
    2020-06-23 01:59:24.746 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: QUERY | qm@291db2bf | Sending queries | 1
    2020-06-23 01:59:24.746 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: QUERY | agg5@53e6a098 | Incoming | q(2;;TSLA@SMART Trades;;1;;true;;0;;I 76792991@BEST STK src:Transacciones e:20200623-05:59:24 len:6 d step:1 min) | agg5;;TSLA@SMART Trades;;1;;true;;0;;I
    2020-06-23 01:59:24.746 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: QUERY | agg5@53e6a098 | -4-1/8 Transmitting | q(agg5;;TSLA@SMART Trades;;1;;true;;0;;I 76792991@BEST STK src:Transacciones e:20200623-05:59:24 len:6 d step:1 min) | 0
    2020-06-23 01:59:24.746 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: QUERY | indicativeData6@4c48bb3 | Incoming | q(agg5;;TSLA@SMART Trades;;1;;true;;0;;I 76792991@BEST STK src:Transacciones e:20200623-05:59:24 len:6 d step:1 min) | indicativeData6;;TSLA@SMART Trades;;1;;true;;0;;I
    2020-06-23 01:59:24.746 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: QUERY | indicativeData6@4c48bb3 | -4-1/8 Transmitting | q(indicativeData6;;TSLA@SMART Trades;;1;;true;;0;;I 76792991@BEST STK src:Transacciones e:20200623-05:59:24 len:6 d step:1 min) | 0
    2020-06-23 01:59:24.747 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: QUERY | adjustments7@53591ab5 | Incoming | q(indicativeData6;;TSLA@SMART Trades;;1;;true;;0;;I 76792991@BEST STK src:Transacciones e:20200623-05:59:24 len:6 d step:1 min) | adjustments7;;TSLA@SMART Trades;;1;;true;;0;;I
    2020-06-23 01:59:24.747 [DO] INFO [JTS-CCPDispatcherS2-34] - cdebug: QUERY | adjustments7@53591ab5 | request | conAdj(76792991@NASDAQ/1 STK 20200615-20200623) | adjProc[q:adjustments7;;TSLA@SMART Trades;;1;;true;;0;;I p:null ch:0]
    2020-06-23 01:59:30.792 [DO] INFO [JTS-Cleaner-32] - market data wrapper, cleaning maps
    2020-06-23 01:59:38.337 [DO] INFO [JTS-CCPDispatcherS2-34] - Setting time offset to -1337 diff 382
    2020-06-23 01:59:38.338 [DO] INFO [JTS-CCPDispatcherS2-34] - CCP reported time: 2020-06-23 05:59:37.000 (GMT) [1592891977000], local time: 2020-06-23 05:59:38.337 (GMT), local time: 2020-06-23 01:59:38.337 (EDT), difference in seconds: -1.337, handling delta:n/a [MsgU]


    I miss something? how I can make it work?

    Thanks for helping.

    Regards





    #2
    Hello mbcmbc,

    Thank you for your note.

    We are aware of various symptoms with this version of TWS and NinjaTrader.

    We recommend using version 978.2 of TWS currently which can be downloaded from the IB website: https://download2.interactivebrokers...indows-x64.exe

    Let us know if we may assist further.

    Comment


      #3
      Ok Thank you! I’ll try it

      Regards

      Comment


        #4
        It works Thanks!

        Comment


          #5
          @mbcmbc
          Do you have still 973 IB gateway version? Would you like to upload it?
          Thanks

          Comment


            #6
            Now I’m using 978.2 as Chris suggested in this topic. It has also a link to download. I have not installer of 973 version sorry.

            Regards

            Comment


              #7
              @ Obelixtrader

              I uploaded IB Gateway 973.2 and TWS 973.2 zipped installers on WeTransfer.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Rapine Heihei, 04-23-2024, 07:51 PM
              2 responses
              30 views
              0 likes
              Last Post Max238
              by Max238
               
              Started by Shansen, 08-30-2019, 10:18 PM
              24 responses
              943 views
              0 likes
              Last Post spwizard  
              Started by Max238, Today, 01:28 AM
              0 responses
              9 views
              0 likes
              Last Post Max238
              by Max238
               
              Started by rocketman7, Today, 01:00 AM
              0 responses
              7 views
              0 likes
              Last Post rocketman7  
              Started by wzgy0920, 04-20-2024, 06:09 PM
              2 responses
              28 views
              0 likes
              Last Post wzgy0920  
              Working...
              X