futuapi

Access Futu OpenAPI quotes and trading from Python with simulated orders.

6|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/verkyyi/always-on-claude --skill futuapi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: futuapi
Source: https://github.com/verkyyi/always-on-claude/tree/main/scripts/runtime/codex-home/skills/futuapi
Command: npx skills add https://github.com/verkyyi/always-on-claude --skill futuapi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires futu-api, futu, and includes scripts (resource) components.

What problem does it solve?

Provides a programmable interface to interact with Futu OpenAPI from Python, enabling automated data retrieval and simulated trading workflows.

Core Features & Use Cases

  • Real-time quotes and market data for US/HK markets with comprehensive quote utilities (get snapshot, kline, ticker, rt data, etc.)
  • Portfolio and trading workflow: query accounts, view holdings, place, modify, and cancel orders in simulated mode by default
  • Subscription and push data support for live market events, board data, and option/future references to build trading assistants

Quick Start

Install the futu-api package and run a short example to fetch US.AAPL quotes and place a simulated order.

Frequently Asked Questions about futuapi

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

FAQPage Schema
How do I get real-time market quotes using Futu OpenAPI in Python?

You can retrieve real-time market quotes for US and HK markets in Python using Futu OpenAPI by requesting snapshots, K-lines, and ticker data programmatically. The interface handles data retrieval and outputs robust JSON formatted market data.

Can I automate simulated trading workflows for US and HK stocks with Python?

Yes, you can automate simulated trading workflows for US and HK stocks with Python. The interface defaults to SIMULATE mode to enforce safe defaults, allowing you to query accounts, view holdings, and place, modify, or cancel orders securely.

Does Futu OpenAPI support live market data subscriptions for building trading assistants?

Futu OpenAPI supports live market data subscriptions for building trading assistants. You can subscribe to push data for real-time market events, board data, and option or future references directly through the Python interface.

How do I handle stock code formats and market inference when fetching K-line data?

When fetching K-line data, the interface features automatic market inference from stock codes. This mechanism automatically identifies whether a code belongs to the US or HK market, ensuring accurate data retrieval without manual market specification.

What are the limitations of placing orders through the Futu OpenAPI Python interface?

The primary limitation is enforced safe defaults, meaning order placement operates in SIMULATE mode by default. While you can query accounts and manage portfolios, live trading requires explicit configuration changes to bypass the simulated environment.

Do I need the futu-api package to interact with Futu OpenAPI for programmatic trading?

Yes, you need to install the futu-api package to interact with Futu OpenAPI for programmatic trading. This Python dependency provides the necessary functions to access quotes, handle subscriptions, and execute simulated trading workflows.