FT AI Market Data for Openclaw

A unified interface for accessing comprehensive China A-share market data, including real-time quotes, IPOs, and valuation metrics.

shawn92
v1.0.0
Mar 11, 2026
61
1.9k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install ftai-market-data

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 ftai-market-data 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 FT AI Market Data?

FT AI Market Data is a sophisticated skill designed for AI agents to retrieve and analyze financial data from the China A-share market. It acts as a centralized routing hub, allowing developers and AI agents to fetch everything from basic stock lists to complex margin trading details and block trade records via a simple CLI interface. By integrating this skill, users gain programmatic access to high-quality financial datasets directly within their AI workflows. This Openclaw Skills implementation ensures that data fetching is streamlined, reliable, and easily interpretable by large language models for financial analysis or portfolio tracking.

FT AI Market Data Use Cases

  • Retrieving a complete list of all A-share stocks including ticker symbols and names.
  • Monitoring real-time market quotes and price fluctuations across different boards like STAR or ChiNext.
  • Tracking upcoming IPOs, subscription dates, and offering prices.
  • Analyzing large-scale block trades to understand institutional movements.
  • Evaluating stock valuations using metrics like P/E ratios, P/B ratios, and net assets per share.
  • Auditing margin trading and securities lending activities to gauge market sentiment.

How FT AI Market Data Works

  1. The AI agent identifies the absolute path of the SKILL.md file and locates the accompanying run.py script.
  2. Based on the user query, the agent matches the intent to one of the available sub-skills such as stock-quotes-list or stock-ipos.
  3. The agent executes the run.py script via Python, passing the sub-skill name and any necessary arguments like page size or stock symbols.
  4. The script sends an HTTP GET request to the market data API with the required headers built-in.
  5. The resulting JSON payload is captured, parsed, and formatted into a readable structure like a table or summary for the end user.

FT AI Market Data Setup

Ensure you have a Python environment ready. To use this within Openclaw Skills, follow these steps:

# Navigate to the skill directory
cd ftai-market-data

# Test a sub-skill to verify connectivity and list all stocks
python run.py stock-list-all-stocks

# Fetch IPO data with specific pagination
python run.py stock-ipos --page 1 --page_size 20

# Fetch detailed info for a specific stock
python run.py stock-security-info --symbol 600519.SH

FT AI Market Data Data Schema & Taxonomy

The skill returns structured JSON data derived from several sub-skills. Below is the metadata taxonomy for major components:

Sub-Skill Key Data Points
stock-list-all-stocks Symbol, Stock Name
stock-quotes-list Real-time Price, Change Percentage, Turnover, Market Board
stock-ipos Issue Price, Number of Shares, Subscription Date, Listing Date
block-trades Buyer/Seller Branch, Execution Price, Volume, Premium Rate
margin-trading-details Margin Balance, Net Buy Amount, Securities Lending Volume
stock-security-info Multi-period price changes, P/E Ratio, P/B Ratio, Net Assets per Share

FT AI Market Data Advanced Features

  • Unified Routing System: A single entry point via run.py manages all sub-skill executions for better maintainability.
  • Automatic Pagination: Supports the --all flag in specific sub-skills to automatically crawl and aggregate multi-page datasets.
  • Built-in Authentication: Essential headers like X-Client-Name are pre-configured within the execution scripts for seamless API access.
  • Valuation Insights: Provides deep-dive valuation metrics beyond simple price quotes, suitable for fundamental analysis.
  • Cross-Market Support: Covers all major A-share boards including Shanghai, Shenzhen, and Beijing exchanges.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*