• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Creating IB connection

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

    Creating IB connection

    Hello, i tried to create a connection to IB data but something is not right. When i try to connect i get the message that target machine actively refused connection. Now, there were some checkboxes when i was adding a new conneciton, so not really sure if i needed to check/uncheck something there ( i left everything like it was initially just added user and pass). Could you please assist? Im on 6.5 version.

    Thanks

    #2
    Hi,

    This message usually comes up when the configuration is not set up correctly or when an incorrect version of TWS is installed.

    First make sure you have TWS 911 installed as this is the only official supported version. Second follow the instructions from the link below and make sure all steps are taken. Then see if you can connect:
    Click here to take me to the Interactive Brokers Connection Guide
    VinceNinjaTrader Customer Service

    Comment


      #3
      It connected after setting up the TWS, thanks

      Comment


        #4
        Just have a question on how to start trading thru IB? I guess i would need a License for IB? I have one from Mirus but closed that acc? Will the license be the same for IB or i need a new one? I use free version

        Comment


          #5
          Hi bagzi,

          That's correct, you would need a full license which included IB. If you require the abilty to connect to both IB and Mirus, a multi-broker license would be required. I've included more information about our lease and purchase options for this type of license below.

          Purchase Options - Multi Broker
          The best value when purchasing NinjaTrader is to select one of our lifetime purchase options. Alternatively, you can also lease our software for a period of time that makes sense to you. We make purchasing NinjaTrader easy by providing you choice in how you access our software...choose a plan that suits you best!
          • Lifetime license for a one time payment of $1,495
          • Lifetime license for 4 easy monthly payments of $449
          • Several flexible leasing options starting as low as $75 per month

          Learn more about our purchase options!
          KyleNinjaTrader Customer Service

          Comment


            #6
            Hello,

            again i encounter the problem of logging in with the IB connection. I set up everything like in the instruction provided on
            http://www.ninjatrader.com/Connectio...tion-Guide.php
            but when i try to connect it seems that some kind of loop is being created and i see that ninja is trying to connect several times, but it does not connect. After several attempts it says that connection timed out on waiting for TWS. Any idea what needs to be done in order to connect? I am on 918.9b version of TWS 7.0.1000.7 Ninja version running on Windows 7.

            Thanks

            Comment


              #7
              Hello bagzi,

              TWS 918 and above has an identified issue which does not allow NinjaTrader to connect.

              With the current version of NinjaTrader, it is critical that you use TWS version 917. Please uninstall your existing version via the Windows Control Panel, and then install 917 via the following link:



              http://www.ninjatrader.com/ninjatrader/TWS/tws40_install_917_8.exe

              Once TWS 917 has been installed, please ensure that the configuration in our Connection Guide for TWS has been completed.

              The following link will take you to a page that details the steps required for creating a connection to Interactive Brokers and specific connection configuration information.



              http://www.ninjatrader.com/ConnectionGuides/Interactive-Brokers-Connection-Guide.php
              CameronNinjaTrader Customer Service

              Comment


                #8
                Ok, thanks, i managed to do so, but now when i connect i get the error for example for YM data: Error in requesting historical data from IB: No security definition has been found for the request(200). Any idea is this normal or not?
                Im showing a chart with range data and this is the message i get for all my futures chart

                Comment


                  #9
                  bagzi,

                  Please reset your master instrument list.


                  To reset your instruments please: go to the Tools menu, select the Options menu item, select the Data tab, and then click on 'Reset Instruments'.


                  Once the reset is complete, restart NinjaTrader.

                  Please note, Range bars are built off of tick data IB does not provide Historical Tick data.

                  This is noted in the following section.


                  Understanding the data provided by your connectivity provider -
                  http://www.ninjatrader.com/support/helpGuides/nt7/index.html?historical_data.htm

                  To receive Historical Tick data, you can supplement your current IB connection with a connection to Kinetick.



                  Kinetick supplies at least 120 days of historical tick data, two years of minute data, and ten years of daily data, much more for popular instruments.



                  http://www.kinetick.com/

                  Last edited by NinjaTrader_Cameron; 12-27-2011, 07:53 AM.
                  CameronNinjaTrader Customer Service

                  Comment


                    #10
                    Ok, i did so, now i get the following message error for SPY XLE and GLD (ETFs): Unable to change order: Please assign and additional exchange to this instrument in the instrument manager SPY Default.
                    It seems that the chart is loaded tho, not sure if i need to do anything.
                    The futures charts still do not have historical data, so not sure if the reset list worked?

                    Comment


                      #11
                      bagzi,

                      Please see the following forum post for adding the additional exchange for SPY XLE and GLD.

                      http://www.ninjatrader.com/support/f...ad.php?t=45833

                      The reason your chart is not back filling the historical data is due to Interactive Brokers not supporting Historical Tick Data.


                      Range bars are built off of tick data.

                      Please see the Kinetick information in post #9 to receive historical Tick Data.


                      CameronNinjaTrader Customer Service

                      Comment


                        #12
                        Ok, thanks, all is clear now

                        Comment


                          #13
                          I received the note from IB that they are gona stop supporting the 917 version of TWS. Can u tell me what version i need to have now in order to connect IB to Ninja?

                          Thanks
                          Igor

                          Comment


                            #14
                            Igor,

                            The current version of NinjaTrader requires Traders Workstation 917.8.

                            We are aware that Interactive Brokers will no longer support version 917.8 past February 24th and our Development Team is already doing internal testing on a new IB-TWS version and we will have an official announcement shortly.

                            Until the announcement please continue to use Traders Workstation 917.8.

                            If there is anything further I may assist you with don't hesitate to ask.
                            CameronNinjaTrader Customer Service

                            Comment


                              #15
                              NinjaTrader ver of TWS 917.8 will not Login to IB

                              I had upgraded TWS to ver 923 only to learn it is not supported at NinjaTrader.
                              I then downloaded ver TWS 917.8 from your site, using your link in IB connection guide.

                              That was done Fe 6 ~ 9:30 am and used until 7:45pm tonight.

                              Multiple attempts to log back onto the IB connection are rejected when using your ver of TWS 917.8. I am able to go directly to IB via browser and log in, so my account at IB is very alive and working.

                              Incompatibility appears to have developed with your ver917.8. It is not working. I am going to stand down on NinjaTrader until I learn from NT of some overdue resolution to this conflict with IB.

                              If a solution arrives at NinjaTrader, please post news or send a message. [all times EST]

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Birdseye, Today, 04:52 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post Birdseye  
                              Started by U0000999, Today, 03:43 AM
                              0 responses
                              4 views
                              0 likes
                              Last Post U0000999  
                              Started by NinjaCustomer, Today, 03:22 AM
                              1 response
                              7 views
                              0 likes
                              Last Post NinjaTrader_Marco  
                              Started by MarianApalaghiei, Today, 01:26 AM
                              0 responses
                              9 views
                              0 likes
                              Last Post MarianApalaghiei  
                              Started by seagraph, Yesterday, 03:27 PM
                              0 responses
                              14 views
                              0 likes
                              Last Post seagraph  
                              Working...
                              X