Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dual Connectivity through IB API

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

    #16
    imported post

    Trymph, how do you keep the old historical data in Ensign, when changing datafeeds from eSignal to IB? For example, emini Russell in eSignal is AB #F and the same in IB is ER2U6? Also, is there any backfill available for tick charts when on IB feed? What do you do every day when TWS is shutdown for maintenance - endup with gaps?

    Comment


      #17
      imported post

      I'm not exactly sure but I think it rebuilds them from the historical backup arrangement with some price service beyond IB's short term database when you click on IB data feed itwas just there for me: dont really know the mechanics. Probabably if the symbol is different it will rebuild from scratch. You could ask in the Nqqqq's newsgroup on Yahoo and someone would probably know. Or ask in the chat room of Buffy's.

      Comment


        #18
        imported post

        Please excuse the redundant request if this has been answered already - it looked like Whitmark asked whether it was possible to connect two 3rd party apps (Ninja and another app) to tws simultaneously.

        Is there a setting configuration that anyone's familiar with in TWS that supports this?

        Thanks in advance,

        John


        Comment


          #19
          imported post

          Yes you can. NT goes by ClientID=0. You need to configure your other app to use a different ClientID (e.g. 1).

          Comment


            #20
            Connecting to 2 IB account on NT multibroker licence

            Originally posted by Byron View Post
            Hi Tony,

            Thank you for your note.

            You can connect to multiple TWS instances by creating separate account connections in the NinjaTrader Account Set Up window.Set different port numbers for each account connection.

            Below is an example of setting NinjaTrader up with two separate TWS accounts:

            TWS Instance One - Configure-->API-->Socket Port = 7496
            TWS Instance Two - Configure-->API-->Socket Port = 4000

            When setting up an account connection in NinjaTrader for each instance, ensure that the correct port numbers are reflected.



            I have tried this but get the same error message. Is there a solution for connecting to 2 IB accounts on the multi broker licence? Regards and thx

            Comment


              #21
              Hello everington_f,


              Thank you for your forum post.


              Connecting to Multiple IB Accounts:

              NinjaTrader can connect to multiple different IB accounts that have separate login username and passwords at the same time.

              To set this up please see the instructions below. In order to do this however, you must manually start TWS multiple times for each account, then connect with NinjaTrader since the auto startup functionality does not work with multiple logins.



              1) Manually start TWS from the desktop, if you have two accounts start it up twice with each account logged in.

              2) When platform has started, Click Configure > API Settings > Socket Port > Provide a unique value. Default is 7496, leave this as is for the first username. Add 1 to this value to be 7497 on the second account so each account has a unique port value.

              3) In your NinjaTrader connection for this account, match the port with what you specify in TWS for each account connection.

              4) Connect in NT using File > Connect, you will do this twice for both account connections.




              Note: The Client ID can remain at default setting. Only port needs changing in our testing..
              Ryan L.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by traderqz, Today, 12:06 AM
              6 responses
              12 views
              0 likes
              Last Post traderqz  
              Started by Skifree, Today, 03:41 AM
              3 responses
              12 views
              0 likes
              Last Post Skifree
              by Skifree
               
              Started by traderqz, Yesterday, 09:06 AM
              5 responses
              33 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by guillembm, Today, 11:25 AM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by owensd, 04-21-2024, 11:34 PM
              9 responses
              34 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Working...
              X