AI Agent Skill-Futu OpenAPI Mastery
Futu OpenAPI Mastery
Complete AI Agent Skill for Algorithmic Trading & Market Data
The most comprehensive Futu OpenAPI practice guide — combining official API documentation with battle-tested real-world experience across 100+ scripts.
Overview
This is the definitive toolkit for anyone using Futu OpenD to access Hong Kong, US, China A-share, Singapore, and Japan markets programmatically. Built from months of hands-on trading and data pipeline development, this skill covers every major API endpoint with production-ready code examples, not just theory.
What You Can Do
Market Data: Real-time quotes, historical K-lines, market snapshots for HK/US/CN/SG/JP stocks.
IPO Tracking: Fetch IPO lists and subscription data across markets.
Order Execution: Place, modify, and cancel orders with proper trade environment handling.
Options & Warrants: Query option chains, volatility, and warrant data.
Stock Screening: Build custom screeners using fundamental and technical filters.
Portfolio Management: Query positions, account lists, and order history.
Crypto: Access BTC/ETH and other cryptocurrency data via Futu.
Excel Export: Pipe any data directly to formatted Excel spreadsheets.
What's Included
SKILL.md — Master skill definition with full API quick-reference and code format guide.
100+ Python scripts — Ready-to-run examples covering all major API functions (quote, trade, subscribe, crypto).
API Reference — Complete Futu OpenAPI documentation organized for quick lookup.
API Traps & Pitfalls — Real-world gotchas and workarounds discovered through trial and error.
Requirements
• Futu OpenD (running and logged in on 127.0.0.1:11111)
• Python 3.7+ with futu-api and openpyxl
• VS Code with GitHub Copilot Chat