TradingView IBKR: Connect Interactive Brokers for Live Trading
Interactive Brokers (IBKR) is one of the most widely used brokerage platforms for active traders, and TradingView offers a direct integration that lets you place live trades straight from your charts. I've been using this setup for about a year now, and it's changed how I manage my entries and exits — especially on MNQ futures.
I connected my IBKR account to TradingView for the first time about a year ago. It took three tries and one support ticket before everything clicked. The steps are simple on paper, but a few details can trip you up. This guide covers what actually worked for me and where most people get stuck.
What You Need Before You Start
Three things have to be in place:
- An IBKR account with API enabled. Margin or cash both work. Go to Settings → Trading → API in the Client Portal, flip the Enable switch, and confirm with two-factor authentication.
- A TradingView Pro, Pro+, or Premium plan for real-time data. The free plan lets you connect, but quotes come in delayed. I would not trade live on delayed data — the lag is noticeable on fast moves.
- An up-to-date desktop browser: Chrome, Edge, or Safari 17+. Mobile linking is not supported yet, so plan to trade from a computer.
Step 1: Turn On the IBKR API
Log into your IBKR Client Portal. Go to Settings → Trading → API and toggle on the Enable switch under Third-Party. Save, then confirm with 2FA.
Why this matters: TradingView talks to IBKR through this API endpoint. Without it, the Trading Panel cannot open a connection. What can go wrong: if 2FA keeps looping, the time on your IBKR mobile app is probably out of sync. Re-sync it from the app settings.
Step 2: Connect from the Trading Panel
Open TradingView, click the Trading Panel button at the bottom of any chart, select Interactive Brokers, and hit Connect.
A pop-up opens to the IBKR login page. Enter your username and password, complete 2FA, and choose between your Live account and Paper Trading account.
Why this matters: This uses OAuth — TradingView never sees your raw password, only a temporary token that expires every 24 hours. What can go wrong: if the login window does not pop up, check your browser's pop-up blocker.
Step 3: Grant Permissions
TradingView asks for read/write access to your orders and positions, plus market data access.
| Permission Type | What It Allows |
|---|---|
| Read/Write Access | View and manage your orders and positions. |
| Market Data | Access real-time price data for trading. |
Why this matters: No market data permission means empty quotes. No read/write means you cannot submit orders. What can go wrong: if you accidentally deny one, you'll need to disconnect and re-link from scratch.
When the connection light turns green, you are live. Your account balance, buying power, and open positions appear in the panel.
Placing Your First Trade
You have three ways to enter a trade. I mostly use chart clicks for quick entries and the Order Ticket when I want bracket orders set from the start.
| Method | Action | Best For |
|---|---|---|
| Chart click | Hover over a price, click the "+" icon, Buy/Sell ticket pops up with the price pre-filled | Quick entries based on chart levels |
| DOM | Trading Panel → Depth of Market → choose quantity and order type | Scalping — you see the live bid/ask stack |
| Order Ticket | Right-click on chart → Trade → Create New Order | Multi-leg setups with take-profit and stop-loss |
Standard order types are all available: Market, Limit, Stop, Stop Limit, and Trailing Stop. On most U.S. stocks you can trade fractional shares down to 0.001.
Settings I'd Adjust Before You Trade
These four settings cost me a few bad fills before I dialed them in. Set them first, not after a mistake.
- Default Qty: Settings → Trading → Order Defaults. Choose between a fixed percentage of your account or a set share count. I use 2% per trade — keeps my risk consistent across different tickers.
- Hotkeys: This is the single biggest speed improvement you can make. I use
Ctrl+Bfor Buy Limit at bid andCtrl+Sfor Sell Limit at ask. Customize them to whatever feels natural. Do not skip this if you scalp. - Commission Display: Turn on Show estimated fees. I've had trades where the commission ate more of the expected profit than I realized — this preview catches that before you click submit.
- Trade Confirmation Pop-up: Keep it on while you are testing a new strategy. I turn it off for scalping, but I have fat-fingered orders without it more than once.
Trading with This Setup
Day-Trading MNQ and MES Futures
For CME micro futures the integration gives you 0.25-tick precision on the DOM ladder. I adjust entries by a single tick, and margin requirements update in real time. Last week I traded 5 MNQ contracts, and the buying power display was accurate within seconds of each fill.
Options Swing Trades with Live Greeks
The entire IBKR options chain shows up inside TradingView. I run iron condors on SPX, and having Delta and Gamma update live on the same screen as the chart saves me from jumping between tabs. I have not tested this with multi-leg forex options, so I cannot speak to that specifically.
Alerts to Manual Execution
Backtest a Pine Script strategy, set an alert, and when it fires, you decide whether to place the IBKR trade manually. You get the data advantage of automation but keep the final call in your hands. If you are new to writing strategies, my guide on how to make your own strategy in TradingView covers the basics. For more complex scripts, understanding global variables in Pine Script helps you maintain state between executions.
Troubleshooting Connection Issues
"My connection to TWS keeps dropping." — The TWS gateway closed or timed out. Make sure it is running and in Allow connections mode before you open TradingView.
"My quotes are delayed." — You are missing a market data subscription in IBKR. Add the real-time bundle for the exchange you are trading. I hit this on CME data — adding the bundle fixed it immediately.
"My order was rejected (Error 102)." — The symbol is not available in your region, or you are trading outside regular hours. Switch the order type to Good-'Til-Canceled (GTC) or enable Fill outside RTH.
"2FA keeps prompting." — The time on your IBKR mobile app is out of sync. Use the re-sync feature inside the app. Also verify the app version is current.
Tips for Smoother Trading
- Bracket Orders: On the Order Ticket, click Take-profit / Stop-loss. This creates an OCO bracket — both exit orders placed at entry time. I use these on every MNQ trade.
- Alert-to-Trade Bridge: Route a TradingView alert via webhook to a service like CrossTrade or your own Node.js API to auto-execute in IBKR. Writing clean Pine Script end of line conventions keeps your alert scripts readable.
- Currency Conversion: Trading an asset in a different currency than your account base? Use FXCONV inside IBKR before you place the trade. TradingView assumes base currency, which can cause margin rejections.
- Multiple Accounts: Use the drop-down in the Trading Panel to switch between family or advisor sub-accounts without logging out.
- Partial Fills: Go to the Executions tab to modify the remaining quantity instead of canceling and replacing the whole order.
▶Is there an extra fee for connecting IBKR to TradingView?
No. You pay your regular TradingView subscription and IBKR commissions. The connection itself does not cost anything extra.
▶Can I trade crypto with this integration?
Yes. IBKR offers crypto ETNs for Bitcoin and Ethereum. You can also trade spot crypto through Paxos Trust Company once you enable it in your account settings.
▶How does paper trading compare to live trading on this connection?
Close but not identical. Same order types, routing, and data. But fills are simulated using midpoint liquidity, so you will not see real slippage. I would paper-trade a new strategy for at least two weeks before going live.
▶What markets can I access?
U.S. stocks and options, futures, forex, European stocks, and Asia-Pacific stocks. What you see depends on the market data subscriptions you have enabled in IBKR.
▶How secure is the link between TradingView and IBKR?
It uses OAuth. TradingView gets a 24-hour access token, not your IBKR password. Your credentials never reach TradingView's servers.

