Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Autotrading API

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

    Autotrading API

    Hi guys, I'm new here. I'm looking for an API which can copy trade to an Interactive Broker account. Please kindly assist and advise. Thank you.

    #2
    Hello eddkoh,

    If you have an IB account in NinjaTrader you would just need to select that when using a strategy. Strategies by nature only use a single account so if you are trying to send a trade to more than one account you should not use a strategy. You could use an Indicator or Addon for that purpose. Scripts that do not use an account at all like an indicator could make use of the addon framework to access an account by name. https://ninjatrader.com/support/help...ount_class.htm

    Strategies are not suggested here because you need to write trading logic for one account using strategy methods the second account would have a whole separate set of logic based on the addon account which is confusing in a single script. An indicator would just use addon account methods for trading for all accounts which simplifies the syntax used a lot.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Originally posted by eddkoh View Post
      Hi guys, I'm new here. I'm looking for an API which can copy trade to an Interactive Broker account. Please kindly assist and advise. Thank you.
      Good reading here.

      Comment


        #4
        Originally posted by bltdavid View Post

        Good reading here.
        Thank you for your kind assistance. I would like to have 10 different accounts belonging to 10 different people copying trades of a master account belonging to a good trade. I saw your post with the following links. Are the following suitable to what I have described?

        Thanks!

        "You can try these,

        Apex Trade Copier
        https://apexinvesting.com/ninjatrade...iple-accounts/

        FlowBots Replikanto
        https://flowbots.ninja/product/replikanto/

        SpeedyTradingServers.com Replicator
        https://www.speedytradingservers.com...-8-replicator/

        SpeedyTradingServers.com Network Replicator
        https://www.speedytradingservers.com/netreplicator/'

        Comment


          #5
          Examine the Network Replicator product.

          This means that you have NT8 running on 10 different machines, with 10
          different accounts from 10 different people connected, one account per
          person per machine. Then, each if these 10 machines needs to run the
          Network Replicator "client" product.

          Finally, you run the Network Replicator "master" product on your machine,
          and it copies your orders to the 10 follower machines.

          This setup sounds kinda pricey. I mean, you'll need 10 different PCs,
          each running it's own licensed copy of NT8, and each running its own
          licensed copy of the Network Replicator client. But if you're making
          the bucks, these are simply the costs of doing business. Thankfully,
          they are fixed costs.

          I don't know IB that well, but I thought they had some cool feature to
          setup trade copies at their end, as long as all slave accounts were
          IB accounts, of course. Investigate this heavily. If that is available,
          it easily sounds like it would be the best solution. I mean, assuming
          their 'copy' feature works the way I hope, NT is not even involved.

          What? How is that?
          Easy. The entire trade copy configuration (your "leader" acct plus
          10 "follower" accounts) need only be known to IB. As your broker
          processes orders on your "leader" account (sent to IB from your
          PC running NT), they have the obvious power to duplicate these
          order actions from your IB account to your "follower" accounts,
          which are also IB accounts. Sweet!

          Latency for the 10 follower accounts would be non-existent, since
          all the copy activity is happening at the broker, on the broker's
          servers. No internet is involved as they replicate your orders to
          your designated client accounts. That's even sweeter!

          You'll need to do more research with IB to see if this service is
          available -- and if so, how to set it up.

          Good luck!



          PS: Don't expect NT support to know answers to these IB
          related "trade copy" questions -- that's not their job. If this
          feature exists at IB (I hope it does, I just outlined how it could
          work above, and it sounds very cool), it would be a service and
          benefit provided by IB, not by NT. Thus, contact IB directly.
          Last edited by bltdavid; 03-03-2021, 07:16 PM. Reason: expand a bit, fix typos

          Comment


            #6
            I've just emailed IB. I really hope they have this function. I will update here if i find anything. Thanks!


            Originally posted by bltdavid View Post
            Examine the Network Replicator product.

            This means that you have NT8 running on 10 different machines, with 10
            different accounts from 10 different people connected, one account per
            person per machine. Then, each if these 10 machines needs to run the
            Network Replicator "client" product.

            Finally, you run the Network Replicator "master" product on your machine,
            and it copies your orders to the 10 follower machines.

            This setup sounds kinda pricey. I mean, you'll need 10 different PCs,
            each running it's own licensed copy of NT8, and each running its own
            licensed copy of the Network Replicator client. But if you're making
            the bucks, these are simply the costs of doing business. Thankfully,
            they are fixed costs.

            I don't know IB that well, but I thought they had some cool feature to
            setup trade copies at their end, as long as as all slave accounts were
            IB accounts, of course. Investigate this heavily. If that is available,
            it easily sounds like it would be the best solution. I mean, assuming
            their 'copy' feature works the way I hope, NT is not even involved.

            What? How is that?
            Easy. The entire trade copy configuration (your "leader" acct plus
            10 "follower" accounts) need only be known to IB. As your broker
            processes orders on your "leader" account (sent to IB from your
            PC running NT), they have the obvious power to duplicate these
            order actions to your 10 other "follower" accounts.

            Latency for the 10 follower accounts would be non-existent, since
            all the copy activity is happening at the broker on the broker's
            servers, no internet is involved as they replicate your orders to
            your designated client accounts.

            Good luck!



            PS: Don't expect NT support to know answers to these IB
            related "trade copy" questions -- that's not their job. If this
            feature exists at IB (I hope it does, I just outlined how it could
            work above, and it sounds very cool), it would be a service and
            benefit provided by IB, not by NT. Thus, contact IB directly.

            Comment


              #7
              Originally posted by eddkoh View Post
              I've just emailed IB. I really hope they have this function. I will update here if i find anything. Thanks!
              Any updates?
              Did you find anything?

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by terkk, Today, 01:16 PM
              4 responses
              31 views
              0 likes
              Last Post bltdavid  
              Started by TraderElegante, Today, 12:14 PM
              1 response
              25 views
              0 likes
              Last Post NinjaTrader_PaulH  
              Started by dgee949, Today, 11:44 AM
              1 response
              15 views
              0 likes
              Last Post NinjaTrader_JustinD  
              Started by NinjaTrader_Kate, Today, 12:01 PM
              0 responses
              22 views
              0 likes
              Last Post NinjaTrader_Kate  
              Started by efeuvejota01, Today, 11:42 AM
              4 responses
              39 views
              0 likes
              Last Post efeuvejota01  
              Working...
              X