Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Dual Connectivity through IB API

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

    Dual Connectivity through IB API

    Is it possible to have NinjaTrader and a trading platform (e.g., NeoTicker) that uses the API also to be concurrently connected to IB?

    I would like to consider using NeoTicker to submit orders directlyvia the IB interface but then use NinjaTrader to monitor trades rather than using TWS. Is this possible, and if so, how can I set it up? I should add, once I try to connect Ninja Trader after the NeoTicker interface is connected, I get an IB API error.

    Regards,

    Whitmark

    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    imported post

    Yes, feasible. Just make sure that you run NT with IB client ID = 0 and NeoTicker with a different client ID.

    Comment


      #3
      imported post

      Similar question.......I'm thinking switching from Esignal to IB to feed data into my Ensign......My NT client=0........same deal that my Ensign can share the IB feed with NT? (I'll have to figure out Ensign's "client equivilant setting)... But its possible??

      Comment


        #4
        imported post

        Yes, just make sure NT has ClientID=0.

        Comment


          #5
          imported post

          Total success..........seamless transition from Esignal to IB for my Ensign and NT........thanx for quick responces.........

          Regards

          Bruce

          Comment


            #6
            imported post

            Ninja Support,

            I am havingtrouble getting dual connectivity to work with Ninja, Neoticker and IB. Ninja and Neoticker are both accessing the IBAPIvia port 7496 and are assigned client IDs of 0 and 1 respectively. Please see attached error message.

            Has anyone gotten this to work? I am testing on an IB Paper Trading account.

            When I get this to work, I assume I will be able to see trades on the Ninja DOM that were placed on IB by the NeoTicker Order Servervia the API. Is this true?

            Regards,

            Whitmark
            Attached Files
            whitmark
            NinjaTrader Ecosystem Vendor - Whitmark Development

            Comment


              #7
              imported post

              This means that IB TWS is aborting a connection. NT will display any orders in TWS regardless of how they got there.
              RayNinjaTrader Customer Service

              Comment


                #8
                imported post

                No doubt, this is an IB error. Perhaps this is more of an IB support question but it represents an alternative method to usingNinja Trader. I am looking for confirmation that this type ofconnection is feasibleand whetherNinja Supportor other users havefirst hand knowledge of it working. Many thanks.

                Regards,

                Whitmark
                whitmark
                NinjaTrader Ecosystem Vendor - Whitmark Development

                Comment


                  #9
                  imported post

                  I am trying to set up my NT with a new second IB account. I can access either account independently but as soon as I try to log onto the second once the first is connected I get the same error box as the image below from Whitmark.

                  Is it possible to connect and trade 2 IB accounts from NT at the same time?

                  If so, what might I be doing wrong to get this error?

                  FWIW I have had this error before when NT crashes and I try to reopen it and log on without first closing TWS.

                  Many thanks,

                  Tony

                  Comment


                    #10
                    imported 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.

                    Comment


                      #11
                      imported post

                      Byron wrote:
                      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.
                      Thanks Byron - I have done this but now get the attached error message...


                      Attached Files

                      Comment


                        #12
                        imported post

                        Just wondered if you have any suggestions on this Byron? Can I run 2 versions of my NT on 2 pcs and therefore access each account separately?

                        Comment


                          #13
                          imported post

                          Yes, you can simultaneously log into TWS on two separate machines provided that you are the only one usingthe application.

                          Comment


                            #14
                            imported post

                            Can anyone confirm that it is possible to simultaneously use the IB data feed to run both NinjaTrader & NeoTicker?

                            Comment


                              #15
                              imported post

                              Hi,

                              It is possible to do this with IB feed.

                              Vince
                              Vince B.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by inanazsocial, Today, 01:15 AM
                              0 responses
                              2 views
                              0 likes
                              Last Post inanazsocial  
                              Started by trilliantrader, 04-18-2024, 08:16 AM
                              5 responses
                              22 views
                              0 likes
                              Last Post trilliantrader  
                              Started by Davidtowleii, Today, 12:15 AM
                              0 responses
                              3 views
                              0 likes
                              Last Post Davidtowleii  
                              Started by guillembm, Yesterday, 11:25 AM
                              2 responses
                              9 views
                              0 likes
                              Last Post guillembm  
                              Started by junkone, 04-21-2024, 07:17 AM
                              9 responses
                              70 views
                              0 likes
                              Last Post jeronymite  
                              Working...
                              X