Futu API Market Data for Openclaw

A high-performance data acquisition skill for fetching real-time stock market quotes, K-line history, and technical indicators via the FutuOpenD gateway.

jeffersonling1217-png
v1.0.1
Feb 28, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install futu-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install futu-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Futu API Market Data?

The Futu API skill for Openclaw Skills is a specialized tool designed for developers and quantitative researchers who need reliable, real-time access to Hong Kong and US stock market data. Unlike trading-oriented tools, this skill focuses exclusively on data retrieval and market monitoring, ensuring a secure environment for analysis without the risk of accidental trades.

By leveraging the FutuOpenD platform, this skill provides a bridge between your AI agents and the global markets. It allows for the automation of complex data gathering tasks, such as tracking capital flows, calculating technical indicators, and monitoring market status, making it a vital component for any financial automation project within Openclaw Skills.

Futu API Market Data Use Cases

  • Tracking real-time price fluctuations and percentage changes for specific symbols.
  • Automating the retrieval of historical K-line data for backtesting quantitative strategies.
  • Monitoring market sentiment through fund flow analysis and sector performance.
  • Implementing automated technical analysis alerts based on RSI, Moving Averages, and Bollinger Bands.

How Futu API Market Data Works

  1. The user launches the FutuOpenD application and logs into their Futu account to establish a gateway.
  2. The skill initiates a connection to the local gateway via the default address 127.0.0.1:11111.
  3. Requests for specific data (quotes, K-lines, or tickers) are sent through the FutuAPI class.
  4. The gateway fetches the requested information from Futu's servers and returns it to the skill.
  5. The skill processes the raw data, calculates any requested technical indicators, and outputs the result in a structured format.

Futu API Market Data Setup

To get started with this skill in Openclaw Skills, follow these steps:

  1. Navigate to the skill directory and install dependencies:
cd futu-api
pip install -r requirements.txt
  1. Download and install the FutuOpenD application from the Futu official website.
  2. Run FutuOpenD and log in with your credentials.
  3. Verify the gateway is running on 127.0.0.1:11111.
  4. Run a test query to fetch a quote:
python futu_api.py quote 00700 --market HK

Futu API Market Data Data Schema & Taxonomy

The skill provides structured data for various financial metrics. Below is the primary data organization:

Category Fields Included
Real-time Quote symbol, market, price, change, change_percent, volume, time
K-Line Data open, high, low, close, volume, turn_over, timestamp
Technical Indicators ma5, ma10, ma20, rsi, bb_upper, bb_middle, bb_lower
Capital Flow main_inflow, retail_outflow, sentiment_score
Stock Info stock_name, lot_size, listing_date

Futu API Market Data Advanced Features

  • Support for multiple K-line intervals including 1m, 5m, 15m, 60m, day, week, and month.
  • Real-time ticker data retrieval for the most recent 10 transactions.
  • Sector (Plate) list monitoring to track broad market movements.
  • JSON output flag (--format json) for seamless integration with other Openclaw Skills and automated pipelines.
  • Automated overbought/oversold detection using RSI thresholds.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*