Navigation
Mobile DocsNavigation
Mobile Docs⚠️ Stock, options, futures, and forex trading
Connect to Interactive Brokers API for professional trading across stocks, options, futures, forex, bonds, and funds. Access real-time market data, execute trades, manage portfolios, and retrieve account information. Supports multiple asset classes and global markets. Uses API key authentication with TWS/Gateway. ⚠️ REGULATORY NOTICE: This integration is for authorized use only. Trading carries substantial risk of loss. Users must comply with all applicable securities regulations, margin requirements, and trading rules. Professional trading requires proper licensing in many jurisdictions.
⚠️ Requires TWS or IB Gateway running. Use paper trading for testing.
Placeholder: Your IB API Key
Layout: full
Placeholder: Your IB API Secret
Layout: full
Enable for simulated trading
Layout: half
Layout: full
Options: Get Accounts, Get Account Summary, Get Positions, Get Portfolio
Placeholder: Account number (optional)
Layout: full
Condition: operation = ["get_account_summary","get_positions","get_portfolio","get_cash_balance","place_order","get_pnl"]
Placeholder: AAPL, TSLA, SPY
Layout: half
Condition: operation = ["get_market_data","get_historical_data","get_contract_details","search_contracts","place_order"]
Layout: half
Condition: operation = ["get_market_data","get_historical_data","get_contract_details","search_contracts","place_order"]
Options: Stock, Option, Future, Forex
Placeholder: SMART, NASDAQ, NYSE
Layout: half
Condition: operation = ["get_market_data","get_contract_details","place_order"]
Placeholder: USD, EUR, GBP
Layout: half
Condition: operation = ["get_market_data","get_contract_details","place_order"]
Placeholder: 1 D, 1 W, 1 M, 1 Y
Layout: half
Condition: operation = "get_historical_data"
Layout: half
Condition: operation = "get_historical_data"
Options: 1 Minute, 5 Minutes, 15 Minutes, 1 Hour
Layout: half
Condition: operation = "place_order"
Options: 🟢 BUY, 🔴 SELL
Layout: half
Condition: operation = "place_order"
Options: Market, Limit, Stop, Stop Limit
Placeholder: 100
Layout: half
Condition: operation = "place_order"
Placeholder: 150.00
Layout: half
Condition: operation = "place_order"
Placeholder: 145.00
Layout: half
Condition: operation = "place_order"
Placeholder: Order ID
Layout: full
Condition: operation = ["modify_order","cancel_order","get_order_status"]
Required
Required
Optional
Required
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Optional
Primary response type:
{
"success": "boolean",
"data": "any"
}REGULATORY NOTICE: Professional securities trading carries substantial risk of loss. This block is intended for authorized use only. Users must comply with all applicable securities regulations, margin requirements, FINRA rules, and trading laws. Interactive Brokers is a regulated broker-dealer subject to oversight by multiple financial authorities. Professional trading may require licensing (Series 7, Series 63, etc.) in many jurisdictions. Margin trading, options, futures, and forex involve significant risk. Users are solely responsible for ensuring compliance with all applicable laws and regulations.