---
title: "Interactive Brokers API and AI agents: precautionary settings, limits"
description: "IBKR's size and value checks, read-only API and AI connection: what each does for an AI's orders, what they don't cover, and how to add your own rules."
last_updated: "2026-12-05"
url: "https://trygalore.com/learn/interactive-brokers-api-order-limits"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://trygalore.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

Source: [https://trygalore.com/learn/interactive-brokers-api-order-limits](https://trygalore.com/learn/interactive-brokers-api-order-limits)

# Interactive Brokers API and AI: what limits an order

Interactive Brokers has size and value checks on each order and a read-only switch for its API. How much they hold an AI back depends on how you connect it: through TWS, the Web API, or IBKR's own AI connection.

## Precautionary settings

In Trader Workstation (TWS) you can set a Size Limit, a Total Value Limit and a percentage check on the limit price. "If you submit an order that violates any of these custom settings, you will have to confirm your intent to transmit the order before TWS submits it" ([IBKR order presets](https://www.ibkrguides.com/traderworkstation/define-order-preset-value.htm)).

- **API orders through TWS:** TWS "would usually generate a pop-up warning dialogue, or sent back an error message via the API" when an order breaks these settings, and the order waits for you in TWS. If you tick "Bypass Order Precautions for API Orders" in the API settings, "API orders placed from a third party software will not be checked by TWS precautions" ([TWS API third-party FAQ](https://interactivebrokers.github.io/tws-api/third_party.html)).

- **The Web API:** a breach comes back as an "order reply message" that "must be confirmed via a second request" ([order reply messages](https://interactivebrokers.com/docs/web-api/trading/orders/order-reply-messages.md)). Certain types of these messages can be suppressed for the session, and IBKR recommends submitting that list "prior to conducting any trading" ([reply suppression](https://interactivebrokers.com/docs/web-api/trading/orders/order-reply-suppression.md)). So in the Web API, the software sending the order can confirm or suppress the warning itself.

## Read-only API

"The setting 'Read-Only' is enabled by default and will block all API orders. It must be unchecked to allow any orders from the API" ([IBKR Campus](https://www.interactivebrokers.com/campus/trading-lessons/installing-configuring-tws-for-the-api/)). This is a TWS and IB Gateway setting. For an AI that only reads through them, leave it on.

## IBKR's own AI connection

IBKR has an MCP connection for AI tools that support MCP, including ChatGPT, Claude, Grok and Perplexity ([IBKR AI integrations](https://www.interactivebrokers.com/en/trading/ai-integrations.php)):

- **Standard:** "you review and submit every order yourself."

- **Autonomous Trading:** IBKR says it is planned for eligible clients of some IBKR entities. The AI would trade "within a dedicated AI Partition, without confirming each order individually". The partition limits "the cash, products and trading authority available to connected AI": stocks and equity options, Market, Limit, Stop and Stop-Limit orders, Day only, no margin or short selling. IBKR says the integration is designed to limit products, "slow the speed of the orders it submits" and control "how much of your account you let the AI trade". Access can be revoked in Client Portal, though "Revoking access does not automatically cancel pending or partially filled orders."

- **Other agents:** "If you link an AI provider, including browser-based and similar agents, you are providing those AI agents with full control of your account, without any controls or limits."

## Who is responsible

IBKR: "You are responsible for all orders submitted by your account" ([AI integrations](https://www.interactivebrokers.com/en/trading/ai-integrations.php)). Its Autonomous Trading risk disclosure adds that IBKR "does not supervise, monitor, review, or second-guess your Agent's trading decisions" ([form 4930](https://ndcdyn.interactivebrokers.com/Universal/servlet/Registration_v2.formSampleView?formdb=4930&preferredFormat=html&lang=en)).

## What these checks don't cover

IBKR describes per-order size and value warnings, and limits on products, order speed and how much cash an AI Partition holds. We found no IBKR setting for a list of allowed stocks, a daily spending cap or trading hours for an AI.

## Adding your own rules

Galore checks every trade your AI sends through it against rules you approve in your own browser (what it can trade, how much per trade and in total, and when) before it reaches Interactive Brokers. Your AI can't approve or widen them, and one off switch stops every AI at once. Trades your AI places through IBKR's own AI connection (its MCP server) instead are reviewed first but can't be blocked, so for full checks send trades through Galore.

Add ` https://connect.trygalore.com/mcp ` to your MCP client and sign in. If Galore lets through a trade your rules don't allow, that month is free. It is not insurance, and market losses are not covered.

[Night Stop](https://trygalore.com/night-stop) · [Your rules](https://trygalore.com/rules) · [Galore MCP server](https://trygalore.com/developers/mcp) · [Our promise](https://trygalore.com/cover) · [Pricing](https://trygalore.com/pricing)

Reviewed 5 December 2026

## Sitemap

- [Every page on trygalore.com](https://trygalore.com/sitemap.md)
