Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IB Connection issues

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

    IB Connection issues

    I am having hard time connecting to IB lately, I am using latest NT7.10.

    I am using TWS build 928, and when trying to connect, it just sits there, no error message.
    I sometimes can try 10 times without any success, and every so often it will connect after a few attempts. It is doing the same thing on three different PC's, and it was doing this with older TWS versions also, although not as bad as lately.

    Simon.

    #2
    Hello wcicom,

    Thanks for your post.

    The current version of NinjaTrader and Traders Workstation supported together is NinjaTrader 9.0.1000.10 and Traders Workstation 927.7

    You can download Traders Workstation 927.7 from the link below


    Once installed please ensure your settings match the second screen shot in our Interactive Brokers Connection Guide which I have provided a link to below.


    I look forward to hearing if that worked for you.
    BrandonNinjaTrader Customer Service

    Comment


      #3
      Recently upgraded to TWS 927.7 via the NT site after encountering connection issues with the previous. Unable to connect on 127.0.0.1 per the old account setting but turns out setting it to the LAN IP (192.168.0.100) of the TWS server worked for me--for a while.

      Not to hijack the thread, but more or less on the same topic, after being up for a couple of weeks a couple of hours ago NT lost the connection with TWS after TWS lost the connection with its servers. Now NT refuses to reconnect--specifically, to finish connecting--with TWS after the usual reboots/restarts. Symptoms are:
      1. NT appears to attempt to connect (TWS issues the connection confirm popup) but nothing after that.
      2.. Last log entry is " Connecting to NinjaTrader data server (64.202.118.179/31654)".
      3. Last trace entry appears to come from TWS (has to do with active order placed earlier today).

      Comment


        #4
        Hello bnichols,

        Thanks for your post.

        Since having the Host setting set to 127.0.0.1 was giving you an error please change this setting to localhost
        You can do this by going to Tools> Account Connections
        Select your Interactive Brokers account and press Change
        Select Next on the Manage and Existing Connection and General screen
        Under Host (optional) enter localhost
        Select Next and Finished

        Attempt to reconnect.

        If you still can not connect to you have any open or pending orders in Traders Workstation?
        If so log into Traders Workstation and close them, then attempt to reconnect again.

        I look forward to hearing if that worked for you.
        BrandonNinjaTrader Customer Service

        Comment


          #5
          Just an update--changing TWS IP to "localhost" per instructions from NT support worked (note neither 127.0.0.1 nor the LAN IP work any longer)

          Comment


            #6
            I am experiencing exactly what bnichols is describing.
            But my other software using IB is connecting fine.
            Last edited by wcicom; 08-08-2012, 01:47 PM.

            Comment


              #7
              Hello wcicom,

              Thanks for your reply.

              To clarify, you are now receiving an error message in regards to 127.0.0.1 such as the following?

              "Connection Issues: 'Login Failed: IB.Adapter.MessageLoop No connection could be made because the target machine actively refused it 127.0.0.1:7496':"

              If so you may also complete the steps below to change your host settings to local host.

              If this is not the case/ you are not getting this error message, do you currently have any open/pending orders within Traders Workstation? If so lo into Traders Workstation and close out of any open/pending orders then attempt to reconnect.

              I look forward to hearing if that worked for you.
              BrandonNinjaTrader Customer Service

              Comment


                #8
                Hi,

                Yes, it does seem to connect fine if there are no orders on TWS at the time.

                Thanks,

                Comment


                  #9
                  Hello wcicom,

                  Thanks for your reply.

                  I'm glad to hear that worked for you.
                  BrandonNinjaTrader Customer Service

                  Comment


                    #10
                    Hello,

                    I was having the same problem and changed the Host to localhost; now I am getting a different message:

                    "Login Failed: IB Adapter.MessageLoop No connection could be made because the target machine actively refused it :: 1:7496"

                    Please advise. Thank you.

                    Comment


                      #11
                      Please make sure that you have enabled the TWS API Configuration to allow a connection. This can be set in TWS by going to Configure--> API--> check "Enable ActiveX and Socket Clients".

                      Please let me know you continue to experience issues.
                      MatthewNinjaTrader Product Management

                      Comment


                        #12
                        Hi i am also getting the same message as post #10 have follow instruction in post #11 but still get same message. Thanks

                        Comment


                          #13
                          Hello mikew,

                          Could it be Advanced Order Management (TWS) is closed? It needs to be opened in order to connect. Please see the instructions at the connection guide below to enable the Advanced Order Management window. Subsequently check if you can connect.


                          Do perhaps have active orders in TWS? If so, please check if you can connect once these orders have been filled or cancelled.

                          If the issue remains, please tell me what NinjaTrader and TWS version you have installed. You can check this at Help-->About (TradersWorkStation).
                          JasonNinjaTrader Customer Service

                          Comment


                            #14
                            Sorted Thank you

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by Powerbucker, Yesterday, 05:09 PM
                            2 responses
                            14 views
                            0 likes
                            Last Post Powerbucker  
                            Started by DerkWehler, 11-27-2024, 11:56 AM
                            16 responses
                            50 views
                            0 likes
                            Last Post NinjaTrader_ChelseaB  
                            Started by MikM45, Today, 03:10 AM
                            2 responses
                            9 views
                            0 likes
                            Last Post NinjaTrader_LuisH  
                            Started by londonby, 10-31-2024, 03:09 PM
                            2 responses
                            42 views
                            0 likes
                            Last Post KenyaFuentes  
                            Started by ezrollin, 02-26-2022, 11:14 PM
                            14 responses
                            306 views
                            0 likes
                            Last Post NinjaTrader_ChelseaB  
                            Working...
                            X