ib-insync

Community

Implement Interactive Brokers trading logic with ib_insync.

Authordaisyzhang2024
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables the implementation of Interactive Brokers trading logic using ib_insync, simplifying the integration of trading strategies into Python applications.

Core Features & Use Cases

  • Interactive Brokers API: Offers a high-level interface to Interactive Brokers' TWS API.
  • Connection Management: Handles connections to TWS or IB Gateway, including timeouts and error handling.
  • Data Fetching: Provides methods for fetching historical data, live market data, and account information.
  • Order Management: Supports placing, modifying, and canceling orders, including market, limit, stop, and bracket orders.
  • Use Case: Build a trading bot that connects to Interactive Brokers, fetches market data, and places orders based on predefined rules.

Quick Start

Connect to Interactive Brokers using ib-insync by running ib.connect("127.0.0.1", 7497, clientId=1). To place an order, use ib.placeOrder(contract, order).

Dependency Matrix

Required Modules

ib_insync

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ib-insync
Download link: https://github.com/daisyzhang2024/AgenticQuantSystem/archive/main.zip#ib-insync

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.