mcp-ibkr-agent
This server lets an AI agent trade US stocks on Interactive Brokers, monitor account state, and manage orders — all with built-in safety guards.
Session & Market State
session_status— Check authentication, account type (LIVE/PAPER), dry-run mode, daily budget remaining, and whether it's safe to trademarket_status— Check if the US market is currently openreconcile_pending— Reconcile dispatched-but-unconfirmed orders to unblock the safety layer
Account & Market Data
account_summary— View available funds, net liquidation value, and buying powerpositions— List all open positionsportfolio— Combined snapshot of account summary + positions + unrealized P&Lget_quote/get_quotes— Fetch current last/bid/ask for one or multiple US stock symbols
Order Placement
buy— Buy by dollar amount (fractional shares) or share quantity; market or limitsell— Sell by share quantity; market or limitclose_position— Close 100% of a position, resolving exact fractional quantity automaticallystop_order— Place a stop or stop-limit ordertrailing_stop— Place a trailing stop by fixed dollar amount or percentagebracket_order— Place an entry order with attached take-profit and stop-loss (OCO bracket)preview_order— Preview margin impact, commission, and warnings without sending the order
Order Management & Auditing
order_status— Check state, filled quantity, and average price of a placed orderwait_for_fill— Poll an order until it fills, cancels, or times out (up to 120s)cancel_order— Cancel an open order by IDopen_orders— List all currently active orderstrade_history— View the local audit log of recent order attempts without hitting IBKR
Allows trading on Binance spot market via CCXT, including buying, selling, stop orders, trailing stops, and account queries.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-ibkr-agent show my account balance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Two MCP servers over one shared safety core, giving an AI agent (like Claude Code) the ability to trade: ibkr on Interactive Brokers (US stocks, fractional shares by dollar amount via cashQty) and crypto on crypto exchanges (spot, via CCXT — persistent API key, 24/7). Both expose quotes, balance, positions and buy/sell under mirrored tool names.
The investment decision (what/when to buy or sell) stays with you and your skill's prompt — e.g. Vizier, the decision-making brain of this stack. This project delivers only the reliable trading plumbing — with safety guards on by default.
Part of a three-piece stack — brain, senses, hands: Vizier (the /vizier skill) decides, Scout researches (62 keyless market-data tools: stocks, crypto, macro, SEC filings), and Valet (this repo) executes. Each piece works standalone; together they close the research → decision → execution loop.
⚠️ Not financial advice. Runs against a paper account by default; live trading requires explicit opt-in. Use at your own risk.
What to expect. The crypto server is the low-friction path: just a persistent API key, 24/7, no gateway — it can run unattended. The IBKR server needs a funded IBKR Pro account and a manual browser login about once a day (IBKR offers no OAuth for retail — an IBKR constraint, not ours), so the stock side isn't fully hands-off. First-time setup is roughly 30–60 min per venue.
Architecture
Hexagonal (ports & adapters). The agent talks only to the MCP tools; the safety guards sit on the path of every order; IBKR is an adapter detail:
flowchart LR
A["AI agent<br/>(/vizier skill)"] -->|MCP tools| B["MCP server<br/>(FastMCP)"]
B --> C["GuardedBroker<br/>(safety guards)"]
B --> D["MarketData"]
C --> E["CPAPI adapters"]
D --> E
E -->|REST localhost:5000| F["IBKR Client<br/>Portal Gateway"]
F --> G["Interactive Brokers"]src/
trading_core/ shared core — domain models, ports, trade journal, the generic
GuardedBroker, and the per-venue Capabilities contract
ibkr_agent/ IBKR adapter (cpapi/ over the Client Portal API) + the `ibkr` MCP server
crypto_agent/ crypto adapter (adapters/ccxt/, spot) + the `crypto` MCP serverEach venue is a thin adapter over trading_core; adding a third venue is a new *_agent
package, not a change to the core. The diagram above shows the IBKR server specifically.
The reasoning behind the key choices lives in DECISIONS.md.
Related MCP server: IBKR TWS MCP Server
Also trades crypto (second MCP server)
This repo is a monorepo of two execution servers over one shared safety core
(trading_core): the IBKR server above, and a crypto server (spot, via
CCXT). They are separate MCP processes — own login,
own tools, registered separately — and only share code.
Crypto is here because it removes IBKR's structural friction: a persistent API key
(no gateway, no daily browser login, no tickle), a 24/7 market, and CCXT behind one
interface for ~100 exchanges. The tools mirror the IBKR names (session_status,
get_quote, buy, sell, stop_order, close_position, open_orders, …) so one skill
can drive both venues uniformly. Buy-by-value mirrors IBKR's cashQty via CCXT's
createMarketBuyOrderWithCost. stop_order places an exchange-native trigger order
(CCXT unified triggerPrice) that rests on the exchange and fires with no agent running —
most spot APIs (binance included) only offer stop-LIMIT, so pass limit_price; where the
exchange has no native stops the tool refuses cleanly. Spot-only by default.
# register the crypto server (separate from ibkr)
# Windows: claude mcp add crypto -- /path/to/.venv/Scripts/python.exe -m crypto_agent.server.app
# Linux/macOS: claude mcp add crypto -- /path/to/.venv/bin/python -m crypto_agent.server.app
python -m crypto_agent.healthcheck # exchange, mode, balance, a quoteSafety mirrors the IBKR posture: sandbox (exchange testnet — free keys, no deposit) is
paper-first; the live and dry-run arms are per-venue (CRYPTO_ALLOW_LIVE /
CRYPTO_DRY_RUN, both independent of the IBKR gates — arming IBKR does not arm crypto),
while the policy limits (MAX_ORDER_VALUE, MAX_DAILY_VALUE, …) are shared. See
ADR-014 for the rationale and the CRYPTO_* keys in
.env.example.
Why fractional matters
Most retail trading APIs force you into whole shares. This project leans on the IBKR Client Portal API's cashQty field, which lets you buy by dollar amount (e.g. "$50 of AAPL") and get a fractional position — the unlock for dollar-cost averaging, rebalancing, and small accounts. See DECISIONS.md for the full rationale.
Requirements
Python 3.12+
An Interactive Brokers account that is open, funded, and IBKR Pro (an API requirement, even to use the associated paper account).
Fractional permission enabled: Client Portal → Settings → Trading → Trading Permissions → Stocks section → check "Global (Trade in Fractions)".
IBKR Client Portal Gateway running locally (Java 8u192+).
A dedicated username for the bot: IBKR allows only one brokerage session per username — logging into TWS/mobile with the same user kills the gateway session.
Installation
git clone https://github.com/pedrobraiti/agentic-trading-mcp.git
cd agentic-trading-mcp
python -m venv .venv
# Windows (PowerShell): & ".venv\Scripts\Activate.ps1" (on a policy error: Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass)
# Linux/macOS: source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env # fill in IBKR_ACCOUNT_ID etc.Configuration (.env)
See .env.example. Main keys:
Key | Default | Description |
|
| Client Portal Gateway endpoint |
| — | Account id (e.g. |
|
| A label only — it does not pick the account. Whether real money is at stake depends on which account you log the gateway into; the ground truth is IBKR's |
|
| Hard lock: |
|
| Validates but does not send orders |
|
| Allow a SELL bigger than the held position (opening a short) |
|
| Per-order limit (USD) |
| — | Cumulative daily buy cap (empty = no cap; only the per-order |
|
| Reject identical orders within this window ( |
Running
Gateway setup
Valet talks to a local Client Portal Gateway — a small Java app from IBKR that bridges to your account. It's the most common place people get stuck, so:
Download
clientportal.gw.zip(from IBKR's API page). Requires Java 8u192+.Unzip it somewhere outside this repo and start it:
# Linux/macOS: bin/run.sh root/conf.yaml # Windows: bin\run.bat root\conf.yamlOpen
https://localhost:5000and log in with 2FA. Accept the self-signed certificate warning — it's local and expected.You'll know it worked when the page says "Client login succeeds" and
python -m ibkr_agent.healthcheckshowsauthenticated=True connected=True.
Keep the gateway running while you use Valet; the session needs a fresh login about once a day (see Keeping the session alive). If the browser login misbehaves, see Login troubleshooting.
Register and verify
With the gateway running and logged in, register the MCP server with Claude Code:
# Windows: claude mcp add ibkr -- /path/to/.venv/Scripts/python.exe -m ibkr_agent.server.app # Linux/macOS: claude mcp add ibkr -- /path/to/.venv/bin/python -m ibkr_agent.server.app(or run it directly to test:
python -m ibkr_agent.server.app)The tools appear in a new Claude Code session.
Check the connection anytime (with the gateway logged in):
python -m ibkr_agent.healthcheck # or: ibkr-healthcheckShows the server version, auth status, account flags (
supportsCashQty/supportsFractions), balance and a quote.
Keeping the session alive
The gateway session expires (without /tickle in ~6 min; lasts at most ~24h; daily maintenance ~01:00 drops it) — and IBKR offers no OAuth for retail, so reauth is always a manual browser login.
While the MCP server is running it keeps its own session warm — a background /tickle runs on the server's lifespan, so you don't need a separate process for interactive use. For when the MCP server isn't running (e.g. scheduled jobs, or just to watch the session), there's also a standalone keep-alive:
python -m ibkr_agent.keepalive # or: ibkr-keepaliveBoth /tickle every TICKLE_INTERVAL_SECONDS and, when the session drops, emit an alert ([ALERT] Reauthentication required: ...) telling you to log back in. When merely connected without a brokerage session, they try to recover on their own (no new 2FA).
Login troubleshooting
https://localhost:5000 won't load at all (ERR_CONNECTION_REFUSED / "connection refused") — the login page never even appears? That page only exists while the gateway is running, so this means the gateway isn't up. Start it (bin\run.bat root\conf.yaml on Windows, bin/run.sh root/conf.yaml on Linux/macOS) and leave that window open — if it closes, the gateway stops and the port refuses connections again. Only once the page loads do the login steps below apply.
If you log in and approve 2FA but nothing happens — the page just sits there and the API stays authenticated:false/connected:false (sometimes ssodh/init returns HTTP 500 / no bridge):
Restart the gateway clean and log in fresh — this is what fixes it almost every time. Kill the Java process, start it again, reload
https://localhost:5000, and log in. An incognito/private tab also helps (stale cookies).The login is not sticky: each time you need a fresh login, restart the gateway first, then log in — don't retry against the already-running gateway.
If it still persists, log out of any other IBKR session (IBKR Mobile or Client Portal web) — only one brokerage session per username is allowed — then restart the gateway and try again.
The old launcher build (2023) is not the problem — at runtime the gateway connects to the current backend.
Exposed tools
session_status, market_status, get_quote, get_quotes, account_summary, positions, portfolio, preview_order, buy, sell, close_position, stop_order, trailing_stop, bracket_order, order_status, wait_for_fill, cancel_order, open_orders, trade_history, reconcile_pending.
get_quotes(symbols)quotes a whole watchlist in one snapshot call (cheaper than oneget_quoteper symbol).preview_order(symbol, side, ...)estimates an order's margin impact, commission and warnings via IBKR'swhatif— without sending it — so the agent can reason about cost before committing.buytakescash_amount(USD, fractional viacashQty) orquantity(shares, fractional ok). Passlimit_pricefor a LIMIT order (market by default; LIMIT needsquantity).selltakes onlyquantity(shares, fractional ok); optionallimit_pricefor a LIMIT sell. IBKR does not allow selling by dollar amount —cashQtyis buy-only.close_position(symbol)closes 100% of a position by trading the exact fractional quantity.stop_order(symbol, side, quantity, stop_price, limit_price?)places a STOP (e.g. a stop-loss) — a market order triggered atstop_price, or a STOP-LIMIT iflimit_priceis given.trailing_stop(symbol, side, quantity, trail_amount | trail_percent)places a trailing stop — the trigger follows the price (by a US$ amount or a %), locking in gains as it moves.bracket_order(symbol, quantity, take_profit, stop_loss, ...)places an entry with attached take-profit + stop-loss exits (OCO) — when one exit fills the other is cancelled.order_status(order_id)reports an order's state, filled quantity and average price — use it afterbuy/sellto confirm a fill (positions lag right after a trade).wait_for_fill(order_id, timeout_seconds)polls until it fills (or is cancelled/rejected), so the agent doesn't orchestrate the retry itself.filled_quantityis always in SHARES, never dollars: acash_amountorder additionally reports the US$ spent infilled_cashand setsis_cash_quantity(IBKR itself reports that order's fill in dollars, in the same field it uses for shares — Valet converts it; see ADR-017).portfolio()returns a single snapshot: account summary + open positions + total unrealized P&L.trade_history(limit)returns the audit log of recent order attempts (buys, sells, dry-runs, blocks) — answers "what did my agent do?".reconcile_pending(resolve_missing?)reconciles dispatched-but-unconfirmed orders against IBKR's open orders. After a timeout/crash an order may have landed without its outcome journaled, so the safety layer blocks an identical resend until reconciled: orders found resting are marked resolved; ones not found stay blocked (resending blind could double them).
Usage example
With the MCP registered, you talk in natural language and the agent uses the tools:
You: "Buy $50 of AAPL." The agent calls
buy(symbol="AAPL", cash_amount=50)— IBKR fills a fractional order (≈ 0.16 share), no need to pay for a whole share (~$300).
You: "Close my AAPL position." The agent calls
close_position(symbol="AAPL"), which reads the exact quantity and sells 100%.
Every tool returns an {"ok": ..., "data": ...} envelope. A real example of an executed fractional buy (validated live against an IBKR account):
{
"ok": true,
"data": {
"order_id": "8645012XX",
"status": "filled",
"symbol": "AAPL",
"side": "BUY",
"message": "Bought 0.0066 AAPL Market, Day"
}
}Fractional buys use
cashQty(dollar amount). Fractional sells are by share quantity — IBKR rejectscashQtyon sells; that's whyclose_positionexists, resolving the exact quantity for you.
Safety (defaults)
paper by default; live blocked unless
TRADING_ALLOW_LIVE=true.dry-run on by default (no real order is sent).
Know which account is live.
session_statusandportfolioreportaccount_type("LIVE"/"PAPER") straight from IBKR'sisPaper— not theIBKR_TRADING_MODElabel, which can disagree with the account the gateway is actually logged into. A LIVE account also returns an explicitwarning. Check it before trading: real-money and paper accounts are never told apart by the config alone.The money-lock is bound to the real account, not the label. Before sending, the guard verifies IBKR's
isPaperand the logged-in account and fails closed if the configuredIBKR_ACCOUNT_IDdoesn't match, if a real-money account isn't armed withTRADING_ALLOW_LIVE=true, or ifIBKR_TRADING_MODEdisagrees with reality — so a mislabelled setup can't quietly trade real money.No accidental shorts: a SELL larger than the held position is blocked (unless
TRADING_ALLOW_SHORT=true); exits are never trapped. No inverted stops: a stop already on the wrong side of the market (it would fire instantly) is rejected.Buys above
MAX_ORDER_VALUEare rejected (it's a spend cap; exits — sells, closes, stop-losses — aren't value-gated, so a large position can always be closed or protected).Orders only during regular trading hours (RTH), accounting for NYSE holidays (via the
holidayslib).CPAPI confirmation warnings are auto-accepted only through an allow-list; an unknown warning blocks the order.
Optional daily spend cap (
MAX_DAILY_VALUE) across all buys, tracked in the audit log — not just per-order. It is off by default (no cap): out of the box only the per-orderMAX_ORDER_VALUEbounds spending, so many sub-cap buys are unbounded over a day. When it's off and live trading is armed (TRADING_ALLOW_LIVE/CRYPTO_ALLOW_LIVE), the server emits a loud startup warning — setMAX_DAILY_VALUEto bound cumulative daily spend.The audit-backed caps treat an
inactiveorder conservatively: CPAPI usesinactivefor both a dead order and one parked until the open (and a rejected order can arrive asinactivetoo), so it counts toward the daily cap and duplicate window on purpose — the fail-safe direction (it may over-block a retry, never over-spend).Duplicate-order guard: an identical order within
DUPLICATE_WINDOW_SECONDSis rejected (protects against timeout/retry double-buys).Every order attempt (sent, dry-run, or blocked) is written to a local audit log (
logs/trades.jsonl, gitignored).Optional symbol allow/deny list (
SYMBOL_ALLOWLIST/SYMBOL_DENYLIST) restricts the universe the agent can trade.
The keep-alive can also POST to an optional webhook (REAUTH_WEBHOOK_URL, e.g. ntfy/Discord) when the session needs a fresh login — a one-way notification, no account data, no trade.
Development
python -m pytest -q # 206 tests, all offline (brokers/exchanges are faked)
python -m ruff check . # lintSee CONTRIBUTING.md and SECURITY.md.
License
MIT.
Available Tools
20 toolsaccount_summaryB
Account summary: available funds, net liquidation, buying power.
Inputs: no named parameters.
bracket_orderA
Place an entry order with attached take-profit and stop-loss exits (OCO).
The entry buys (or sells) quantity shares — market by default, or a limit if
entry_limit_price is set. Once it fills, two exits go live: a limit at
take_profit and a stop at stop_loss; when one fills the other is cancelled.
Returns one result per leg (labelled entry / take_profit / stop_loss in message).
Inputs: symbol (required), quantity (required), stop_loss (required), take_profit (required), +2 more.
buyA
Buy. Provide cash_amount (US$, fractional via cashQty) OR quantity (shares).
Omit limit_price for a market order. Pass limit_price for a LIMIT order —
LIMIT requires quantity (cashQty is market-only). A limit order may surface a
confirmation IBKR hasn't mapped yet; if so it is blocked (safe) until allow-listed.
A cash_amount buy comes back with is_cash_quantity: true. Its fill is reported in
SHARES in filled_quantity and in US$ in filled_cash (IBKR itself reports both in the
same field — see order_status); size any protective stop from the SHARE count.
Inputs: symbol (required), quantity, cash_amount, limit_price.
cancel_orderA
Cancels an open order by its order_id.
Inputs: order_id (required).
close_positionA
Closes 100% of a symbol's position, trading the exact fractional quantity.
Reads the exact position size and sends the opposite order. Note: IBKR's
portfolio is eventually-consistent — right after a recent BUY the position may
not appear yet (and the close will return closed=False). In that case, wait
a few seconds and try again, or sell the exact quantity via sell.
Inputs: symbol (required).
get_quoteA
Current quote (last/bid/ask) for a US stock symbol.
Inputs: symbol (required).
get_quotesA
Quotes for several US stock symbols at once (one snapshot — cheaper for a watchlist).
Inputs: symbols (required).
market_statusA
Indicates whether the US market is open (RTH) right now.
Inputs: no named parameters.
open_ordersB
Lists the active orders (live orders) in the account.
Same unit contract as order_status: filled_quantity in SHARES, filled_cash in US$.
Inputs: no named parameters.
order_statusA
Status of a placed order by its order_id: state, filled quantity, average price.
Use this after buy/sell to confirm whether the order actually filled —
positions is eventually-consistent and lags right after a trade.
Units: filled_quantity is ALWAYS in SHARES, filled_cash is the US$ spent (set only on
a cash_amount order). If quantity_is_estimate is true the share count was derived from
a partial cash fill — do NOT size an exit from it; read positions for the exact size.
Inputs: order_id (required).
portfolioA
Combined snapshot: account summary + open positions + total unrealized P&L.
Inputs: no named parameters.
positionsC
Open positions in the account.
Inputs: no named parameters.
preview_orderA
Preview an order's impact (margin, estimated commission, warnings) WITHOUT sending it.
Uses IBKR's whatif so the agent can reason about cost/margin before committing. side
is "BUY" or "SELL"; size is cash_amount (USD) or quantity (shares). Pass
limit_price to preview a LIMIT order (needs quantity).
Inputs: symbol (required), side, quantity, cash_amount, +1 more.
reconcile_pendingA
Reconcile dispatched-but-unconfirmed orders against IBKR's open orders.
After a timeout/crash an order may have landed without its outcome journaled, so the
safety layer BLOCKS an identical resend until it is reconciled. This clears that block:
orders found resting on IBKR are marked resolved; ones not found stay blocked (they may
have filled — resending blind would double them). Set resolve_missing=true to also clear
the not-found ones AFTER you've verified via positions/trade_history that they didn't fill.
Inputs: resolve_missing.
sellA
Sell by quantity (shares, fractional ok). Omit limit_price for market, pass it for LIMIT.
IBKR does NOT accept selling by US$ value (cashQty is buy-only). To exit
100% of a position use close_position; to sell a dollar amount,
compute the quantity via get_quote.
Inputs: symbol (required), quantity (required), limit_price.
session_statusA
Trading posture — "am I safe to trade right now?" — plus which account is live.
Identity: authenticated/connected/competing, account_id, account_type
("LIVE"/"PAPER", the ground truth from IBKR's isPaper, NOT the IBKR_TRADING_MODE
label) and is_paper. A LIVE account includes a warning.
Posture (so an unattended caller can self-gate): dry_run, allowlist_active,
daily_cap_configured, remaining_daily_budget (when a cap is set), unresolved_orders
(dispatched-but-unconfirmed orders that must be reconciled before resending), trade_stops
(active reasons NOT to trade — a competing session, or unresolved in-flight orders) and an
advisory safe_to_trade. When live trading is armed with no cap, a daily_cap_warning.
Inputs: no named parameters.
stop_orderA
Place a STOP order (e.g. a stop-loss). Triggers a market order when stop_price is hit.
side is "BUY" or "SELL" (a stop-loss on a long position is a SELL). Pass
limit_price to make it a STOP-LIMIT (becomes a limit order on trigger instead
of a market order). Sized by quantity (shares).
Inputs: side (required), symbol (required), quantity (required), stop_price (required), +1 more.
trade_historyA
Audit log of the agent's recent order attempts (buys, sells, dry-runs, blocks).
Reads the local trade journal — answers "what did my agent do?". Does not hit IBKR.
Inputs: limit.
trailing_stopB
Place a TRAILING stop — a stop that follows the price (locks in gains as it moves).
The trigger trails the market by trail_amount (US$) or trail_percent (%).
side is "BUY" or "SELL" (a trailing stop-loss on a long position is a SELL).
Sized by quantity (shares).
Inputs: side (required), symbol (required), quantity (required), trail_amount, +1 more.
wait_for_fillA
Poll an order until it reaches a terminal state (filled/cancelled/rejected/inactive), or the timeout elapses.
Closes the confirm-the-fill loop so the agent doesn't have to orchestrate the
retry itself. Returns the latest status with timed_out true if it was still
working when time ran out. timeout_seconds is capped at 120. Note: an inactive
result usually means the order was rejected/killed, but IBKR also uses it for an
order parked until the market opens — so confirm intent before assuming it's dead.
Same unit contract as order_status: filled_quantity in SHARES, filled_cash in US$,
and quantity_is_estimate true when the share count was derived from a partial cash fill.
Inputs: order_id (required), timeout_seconds.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool serves a distinct purpose: account info, quotes, order placement (different order types), order management, preview, history, reconciliation, and session status. Descriptions clearly differentiate even similar-sounding tools like 'open_orders' and 'order_status'.
Tool names follow a consistent snake_case verb_noun pattern (e.g., account_summary, cancel_order, get_quote). A few are single verbs (buy, sell) but that is standard for basic actions and does not break consistency.
With 20 tools, the server covers a wide range of trading operations without being excessive. Some tools (e.g., get_quote and get_quotes) could be merged, but the count is still appropriate for the domain.
The tool set covers core trading workflows: account info, quotes, various order types, order management, preview, history, and reconciliation. Minor gaps like order modification are absent, but the set is largely complete for common trading tasks.
Maintenance
Related MCP Connectors
Agentic brokerage access to a US brokerage account: quotes, orders, positions, cash and documents.
Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
Live stock quotes, a stock screener, crypto prices and FX rates as agent tools.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables AI assistants to interact with Interactive Brokers trading accounts to retrieve market data, check positions, and place trades. Includes pre-configured IB Gateway and handles OAuth authentication automatically.14317 npm227MIT
- FlicenseNot gradedqualityDmaintenanceEnables LLM clients to interact with Interactive Brokers Trader Workstation for automated trading workflows. Supports market data retrieval, portfolio management, and order execution through the TWS API.5-
- AlicenseNot gradedqualityDmaintenanceProvides AI models with secure access to Interactive Brokers trading data and functionality, enabling account management, market data retrieval, and trading operations through natural language interactions.18MIT
- AlicenseAqualityCmaintenanceEnables LLM agents to interact with Interactive Brokers accounts for market data, account info, and order entry with built-in risk controls and a two-step confirmation flow.9MIT