NinjaTrader + Interactive Brokers (multiple accounts) (Page 2) - NinjaTrader | futures trading

Go Back

> Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader

NinjaTrader + Interactive Brokers (multiple accounts)
Started:August 15th, 2012 (04:25 PM) by dtrade88 Views / Replies:4,883 / 12
Last Reply:January 18th, 2016 (05:03 PM) Attachments:1

Welcome to

Welcome, Guest!

This forum was established to help traders (especially futures traders) by openly sharing indicators, strategies, methods, trading journals and discussing the psychology of trading.

We are fundamentally different than most other trading forums:
  • We work extremely hard to keep things positive on our forums.
  • We do not tolerate rude behavior, trolling, or vendor advertising in posts.
  • We firmly believe in openness and encourage sharing. The holy grail is within you, it is not something tangible you can download.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community. It's free and simple, and we will never resell your private information.

-- Big Mike

Thread Tools Search this Thread

NinjaTrader + Interactive Brokers (multiple accounts)

Old January 26th, 2015, 09:57 PM   #11 (permalink)
Elite Member
Tokyo, Japan
Futures Experience: Intermediate
Platform: Ninja Trader with IB TWS
Favorite Futures: Forex, NQ, CL, GC, ES, 6E, Stocks
Posts: 3 since Aug 2012
Thanks: 0 given, 7 received

I have an Advisor (Corporate account) with IB. That is only account type that allows a Master account, and ability to make sub accounts with unique account numbers. If you want to trade the same instrument on different timeframes at the same time, you need to select DIFFERENT trading accounts to do that. You will be subject to "Professional" status and higher fees for CME exchanges under the recent changes because you have an IB Advisor account. As far as NT set up and corresponding set up on IB's Trader Workstation (TWS) platform, you do have to specify unique port number values for the API on TWS and when you set up the accounts in NT.

I get live data through Kinetick. When I complained about Kinetick's unilateral classification of my account as "Professional" for CME exchange fees, they sent me a form, and based on that, re-classified my status to Non-Pro and refunded the money ($3/month instead of $180/month for Comex, Nymex, Globex, Cbot). So I connect NT to Kinetick first, start up separate instances of TWS for each account ID, then connect to those from Ninja Trader. Version of NT I am running is 64 bit 7.0.1000.21. TWS version is Build 946.2m Aug 21, 2014.

Here is the explanation I go from NT Customer Service back in 2012, and an attached photo of the TWS settings for the API in Configuration.


Thank you for your note.

There is no inbound telephone number for support, however if you would like a support call at any time you will only need to request one and we will be happy to schedule a support call with you.


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, the user must manually start TWS multiple times for each account first in the morning, then connect with NinjaTrader since the auto startup functionality does not work with multiple logins.

Manually start TWS from the desktop, if you have two accounts start it up twice with each account logged in.
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.
In your NinjaTrader connection for this account, match the port with what you specify in TWS for each account connection.
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.
If you would like to schedule a support call to discuss the items above I will need a few things from you before our call.
A phone number where you can be reached
A time window where I can call you (please include a time zone)
Launch our remote support application from the following link, NinjaTrader Remote Support. Once launched, the application will provide you with an ID# and password. I will need these from you once I have you on the phone.
Please let me know if I may be of further assistance.


Please register on to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 2 users say Thank You to dekelly for this post:

Old January 13th, 2016, 06:52 PM   #12 (permalink)
Elite Member
Futures Experience: Intermediate
Platform: NT, IB, TOS, MultiChart
Broker/Data: BBG, Reuters, Kinetick
Favorite Futures: US Equities, US Options, ETFs, Commodities, EUR/USD
Minds's Avatar
Posts: 59 since May 2013
Thanks: 14 given, 9 received

dtrade88 View Post

Anyone using NT 7 with **multiple** IB accounts though IB's Advisor master account? I'm currently with another broker and have no problem routing orders to several accounts simultaneously using NT 7. Was looking to setup an Advisor account with IB so as to have simultaneous access to both IB trading accounts. When I contacted IB customer service with a question regarding the Advisor account, the customer service rep suggested that I may run into issues when submitting a long/short order simultaneously (long to one IB account, short to the second IB account) when logged in as Advisor. I'm not sure just how knowledgeable the rep was... Anyone have any experience with this type of setup? Thanks.

Did you get a way to do it? I have now the same issue. Thaks

Reply With Quote

Old January 18th, 2016, 05:03 PM   #13 (permalink)
NinjaTrader Trader
Kitchener, Ontario, Canada
Futures Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker/Data: Interactive Brokers
Favorite Futures: Stocks
Posts: 6 since Feb 2012
Thanks: 2 given, 0 received

I know what you want to do, because I had the same plan I believe.

I am using the IB Canada accounts:
- Margin

IB Side:
1) Setup a "Friends and Family" (F&F) Account - which is the master "advisor" Account - NOTE: I set this up as a NON PROFESSIONAL account
2) Create the RRSP under the F&F
3) Create the TFSA under the F&F
4) Create the Margin under the F&F
4a) Create a PAPER TRADING account (this mimics the setup above and gives you a F&F account structure above)
5) Setup the data subscription for the exchange data
6) Setup a SECOND account login for the IB Gateway
7) Setup a SECOND data service on this ID
8) Now you trade in IB's TWS, logging into the Master F&F account number and trade under the "advisor account to view account auto trades
9) NT8 logs in using IB Gateway ID and trades that using the F&F account

IE: If I had 100,000 in RRSP, 50,000 in TFSA and 10,000 in Margin - and I buy 1000 shares of SPY it would proportion the number of shares across EACH of the accounts proportionately.

NT8 side:
1) Setup your account connection to IB Gateway ID
2) Setup your strategy to trade using the F&F account.

All of this sounds pretty good eh? Well.... on the initial try, buy orders were going into IB and it wasn't selling all the accounts correctly... I only did a few tests with this - because it was live, and because I hadn't finished working out the gremlins on the NT Strategy.

I'll do some more tests with this as I get closer to getting it all working. The key is the second IB Gateway account, and use the IB Gateway - NOT the IB TWS to login.

NOTE: You COULD use the IB TWS instead of the IB Gateway program if you wish. I needed both because I wanted to use the PAPER account to auto trade, and live trade using my active account.

Lots to do still.

Reply With Quote

Reply > Futures Trading, News, Charts and Platforms > Platforms and Indicators > NinjaTrader > NinjaTrader + Interactive Brokers (multiple accounts)

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

An Afternoon with FIO trader bobwest

Elite only

NinjaTrader 8: Programming Profitable Trading Edges w/Scott Hodson

Elite only

Anthony Drager: Executing on Intermarket Correlations & Order Flow, Part 2

Elite only

Adam Grimes: Five critically important keys to professional trading

Elite only

Machine Learning Concepts w/FIO member NJAMC

Elite only

MarketDelta Cloud Platform: Announcing new mobile features

Dec 1

NinjaTrader 8: Features and Enhancements

Dec 6

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Interactive Brokers bad? muscleman Brokers and Data Feeds 69 February 6th, 2014 06:40 PM
NinjaTrader + Interactive Brokers (IB) + Kinetick. Multiple Data Feeds BCNTrader NinjaTrader 8 November 9th, 2012 08:46 PM
Ninjatrader Forex / futures EUR/USD commision help for (Interactive Brokers ) wallsteetking NinjaTrader Programming 6 April 4th, 2012 12:45 AM
Interactive Brokers - More Problems sam1197 Brokers and Data Feeds 20 January 24th, 2012 07:13 AM
Interactive Brokers fees + NinjaTrader thomas79 Brokers and Data Feeds 2 November 19th, 2011 05:56 PM

All times are GMT -4. The time now is 05:00 AM.

Copyright © 2016 by All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts

Page generated 2016-10-24 in 0.10 seconds with 21 queries on phoenix via your IP