Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connection Problem IB

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

    Connection Problem IB

    I just updated my IB TWS using the TWS provided in the IB connection guide and I can no longer connect to my IB account via the API.

    Up until now I have been connecting to two IB accounts using two separate Socket Ports and I wanted to try to connect to an IB TWS on another computer over my local network and now my connection isn't working at all.

    I'm still using a different port then the one on my local network but even if I run two instances on the local computer it doesn't work.

    Basically the control center says "Connecting - Interactive Brokers" and won't actually connect.

    Please help.

    #2
    Hello Icon134,

    Do you have 'Host (optional)' set to the computer name or IP address?

    Does TWS launch when you try to connect from NinjaTrader?

    If you launch TWS and login, are you able to connect to connect from NinjaTrader?

    What version of NinjaTrader are you using? You can check under Help -> About
    Christopher S.NinjaTrader Customer Service

    Comment


      #3
      Do you have 'Host (optional)' set to the computer name or IP address?

      I set the IP address of the computer on the local network.

      Does TWS launch when you try to connect from NinjaTrader?

      I typically launch tws before trying to connect.

      If you launch TWS and login, are you able to connect to connect from NinjaTrader?

      The odd thing is that I could still connect to my other IB account (i have two accounts) when I ran it on my local machine. But when I tried to run the account that I was unsuccessful at connecting to on the other computer on the local computer I was still unable to connect. I do still get a pop up on the tws asking if I want to accept a connection... It just doesn't connect.

      What version of NinjaTrader are you using? You can check under Help -> About

      I'm running the latest which happens to be ver 7.0.1000.10

      Comment


        #4
        Hello Icon134,

        Please send a note to support[at]ninjatrader[dot]com with your most recent log and trace files.

        You can do this by going to the Control Center-> Help-> Mail to Support.

        Please reference this thread in your e-mail: http://www.ninjatrader.com/support/f...d.php?p=296491
        Christopher S.NinjaTrader Customer Service

        Comment


          #5
          I'm not sure it will do any good as it doesn't appear to be kicking out an error of any kind. but I sent off an email to support...

          Comment


            #6
            I'm having the same problem. Connection attempt just hangs, no error.

            EDIT: If I login to TWS with my paper trading account it works fine. IB issue I suspect.
            Last edited by azzab80; 07-27-2012, 02:06 AM.

            Comment


              #7
              TWS version 927 includes the Mosaic interface. Could it be the Advanced Order Management window is closed when you cannnot connect? If so, please select New Window-->Advanced Order Management in the Mosaic interface and subsequently re-connect.

              Comment


                #8
                I don't use the Mosaic interface so not the issue for me. Spoke to IB Support but they didn't seem to think it was an issue with them.

                I've also tried re-installing both Ninjatrader & TWS and resetting the DB but same issue.

                Comment


                  #9
                  I just resolved it. I had an order sitting on the API tab of TWS, deleted that and it connected.

                  Comment


                    #10
                    I don't think that's it as I do have the Advanced Order Management window open.

                    Comment


                      #11
                      Hello Icon134,

                      Do you have active orders in the TWS API-tab as well? If so, please check if you can connect once the order has been deleted.

                      Comment


                        #12
                        I did and last night when I was trying to connect I deleted them and was still unable to connect.

                        I am a little wary and curious how to delete them without killing the order. since they are active orders.

                        Comment


                          #13
                          Please check if you can connect once these orders are executed or cancelled. The issue has been reported at the forum thread below as well.

                          Comment


                            #14
                            Y'all are about to lose a customer due to this problem since it requires me to delete and re-enter every order I have every day when I reconnect to my IB Swing trading account.

                            Comment


                              #15
                              I too have to cancel all my orders every time I want Ninja to connect to TWS. I'm afraid waiting until the next "major release" isn't satisfactory.

                              I have paid for a lifetime license and this makes ninja a real pain to use. Not too mention if I forget to put one of my stop loss orders back in.

                              Can I use the beta?

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              95 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              49 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              31 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              35 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              71 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X