ib-order-execution

Execute and monitor options and stock orders via Interactive Brokers TWS/Gateway.

12|2|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/joemccann/radon --skill ib-order-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ib-order-execution
Source: https://github.com/joemccann/radon/tree/main/.pi/skills/ib-order-execution
Command: npx skills add https://github.com/joemccann/radon --skill ib-order-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of placing, monitoring, and logging trades through the Interactive Brokers platform, ensuring accuracy and efficiency in trade execution.

Core Features & Use Cases

  • Order Placement: Execute single-leg stock and option orders, as well as multi-leg option spreads.
  • Real-time Monitoring: Track order fills and status updates directly from Interactive Brokers.
  • Automated Logging: Automatically logs all filled trades to trade_log.json for record-keeping.
  • Use Case: When instructed to "buy 10 calls for GOOG expiring 2026-04-17 with a strike of 315 at a limit of MID", this skill will execute the trade, monitor for fills, and confirm the transaction.

Quick Start

Use the ib-order-execution skill to sell 4500 shares of NFLX at a limit of 98.70.

Frequently Asked Questions about ib-order-execution

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Interactive Brokers order execution for options and stocks?

Automate Interactive Brokers order execution by running a Python script that connects to TWS or Gateway with API enabled, places single-leg or multi-leg trades, and monitors fill status using specific client IDs.

Can I place multi-leg option spreads through the IBKR API automatically?

Yes, you can place multi-leg option spreads through the IBKR API by executing a unified Python script that defines the spread parameters and submits the order directly to Interactive Brokers TWS or Gateway.

How do I monitor IBKR order fills and log trades automatically?

Monitor IBKR order fills by connecting a Python script to Interactive Brokers TWS or Gateway, which tracks real-time order status and automatically logs all confirmed filled trades to a trade_log.json file.

Do I need IB Gateway or TWS with API enabled to execute stock orders programmatically?

Yes, you need either IB Gateway or TWS running with API enabled to execute stock orders programmatically, as the Python script requires an active connection and specific client IDs to route and monitor trades.

What are the limitations of automating options trading through Interactive Brokers TWS?

Limitations of automating options trading through Interactive Brokers TWS include requiring a persistent local connection to the gateway and specific client IDs for different operations, meaning the script cannot execute orders if TWS or Gateway disconnects.