iFinD Financial Data Query Skill for Openclaw

A comprehensive financial data retrieval tool for AI agents to access real-time and historical Chinese market data via the THS iFinD API.

sinabs
v1.0.1
Mar 10, 2026
0
0
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install ifind-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 ifind-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 iFinD Financial Data Query Skill?

The ifind-data skill provides a robust interface for AI agents to query professional-grade financial information from 51ifind.com. It covers 18 distinct API endpoints including A-shares, funds, bonds, and macro-economic indicators. This Openclaw Skills extension empowers developers to build automated trading assistants, financial analysts, and market monitoring tools with high-fidelity data.

By leveraging the THS iFinD infrastructure, this skill bridges the gap between raw market data and AI-driven insights. It handles complex authentication flows and provides structured data optimized for consumption by large language models and automated workflows.

iFinD Financial Data Query Skill Use Cases

  • Monitoring real-time stock prices and market volatility for A-shares and indices.
  • Backtesting trading strategies using historical K-line and high-frequency minute-level data.
  • Analyzing corporate financial health through ROE, EPS, and PE indicators.
  • Managing investment portfolios with automated transaction logging and performance tracking.
  • Researching macroeconomic trends using the EDB database for metrics like GDP, CPI, and PMI.
  • Retrieving and analyzing official corporate announcements and PDF reports.

How iFinD Financial Data Query Skill Works

  1. The AI agent initializes the skill by checking for the IFIND_REFRESH_TOKEN in the environment configuration.
  2. Upon a user request for financial data, the agent identifies the correct endpoint such as real_time_quotation or basic_data_service.
  3. The agent formats a JSON payload containing specific security codes and desired indicators.
  4. The skill executes the binary command which handles automatic authentication, billing verification via SkillPay, and data retrieval.
  5. The THS iFinD server returns the requested data, which the skill then parses and presents as a structured JSON response.
  6. The agent interprets the data for the user while providing metadata about usage volume or trial status.

iFinD Financial Data Query Skill Setup

To use the ifind-data skill within Openclaw Skills, you must configure your refresh token. First, verify if the token is already set:

grep -q 'IFIND_REFRESH_TOKEN=.' ~/.openclaw/skills/ifind-data/.env && echo "ok" || echo "missing"

If missing, obtain your token from the iFinD Super Command client (Tools -> refresh_token) and update your configuration:

sed -i 's/^IFIND_REFRESH_TOKEN=.*/IFIND_REFRESH_TOKEN=your_actual_token/' ~/.openclaw/skills/ifind-data/.env

iFinD Financial Data Query Skill Data Schema & Taxonomy

The skill returns structured data including performance metrics and usage tracking. Below is the primary response structure:

Field Description
errorcode Status code where 0 indicates success
errmsg Descriptive error message for troubleshooting
tables The main data payload containing the requested financial indicators
perf Processing time in milliseconds
dataVol Volume of data units consumed by the query
trial Boolean indicating if the request was made during the trial period

iFinD Financial Data Query Skill Advanced Features

  • High-frequency data analysis with support for technical indicators like MACD, KDJ, and RSI.
  • Comprehensive portfolio management including risk metrics like Alpha, Beta, and Sharpe ratios.
  • Real-time fund valuation for both intra-day minute intervals and daily closing assessments.
  • Automated data volume monitoring to track account consumption limits.
  • Seamless payment integration via SkillPay for pay-as-you-go access using USDT after the initial trial period.
  • Intelligent stock picking via natural language string search functionality.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*