Scope of this article: This article covers IBKR connection for futures trading through NinjaTrader. If you're using IBKR for stocks (via Traders Post), the setup is completely different — see the Stock Trading Broker Setup article for that flow.
IBKR is supported as a futures broker in the Vector setup (see: Supported Brokers). Connecting NinjaTrader to IBKR for futures is structurally different from connecting to Rithmic or Tradovate, which is worth knowing — but the actual setup is handled by the Vector team during onboarding or when you switch brokers.
Unlike Rithmic and Tradovate, which connect to NinjaTrader directly through a built-in connection, IBKR requires Interactive Brokers' own platform — TWS (Trader Workstation) — to be running on the same machine as NinjaTrader. NinjaTrader talks to TWS through an API, and TWS talks to IBKR's servers.
What this means in practice:
Your normal AM check (see: AM Check Routine) covers the IBKR scenario as well — confirm that TWS is running and that the NinjaTrader Connections indicator shows green for Interactive Brokers. If the connection is dropped, open a ticket at http://support.vectoralgorithmics.io/ rather than reconfiguring TWS yourself — the Vector team will handle the reconnection so the setup stays consistent.
The connection setup involves multiple settings (TWS API permissions, socket port matching between TWS and NinjaTrader, auto-logon configuration) that change occasionally with TWS and NinjaTrader updates. If you want to handle the setup yourself, always follow the official NinjaTrader documentation rather than third-party guides — port numbers and specific menu paths in older articles can be out of date, and an incorrect setting can prevent the connection from establishing.
Official reference: Connecting To Your Interactive Brokers Account — NinjaTrader Support