Fintel Data
himself65/finance-skills
Query Fintel (fintel.io) institutional market data through its REST API or official MCP server.
同花顺 iFinD (51ifind.com) 金融数据查询。支持 A 股/基金/债券/期货/指数的实时行情、历史行情、财务指标、宏观经济数据等 18 个 API 接口。
$ npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills ifind-data --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ifind-data .claude/skills/ifind-data && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ifind-data" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/ifind-data into .claude/skills/ifind-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ifind-data", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/ifind-dataType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills ifind-data --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ifind-data .agents/skills/ifind-data && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ifind-data" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/ifind-data into .agents/skills/ifind-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ifind-data", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills ifind-data --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ifind-data .cursor/skills/ifind-data && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ifind-data" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/ifind-data into .cursor/skills/ifind-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ifind-data", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/ifind-data--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills ifind-data --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ifind-data .gemini/skills/ifind-data && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ifind-data" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/ifind-data into .gemini/skills/ifind-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ifind-data", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills ifind-dataInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ifind-data .github/skills/ifind-data && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ifind-data" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/ifind-data into .github/skills/ifind-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ifind-data", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills ifind-data --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ifind-data .opencode/skills/ifind-data && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ifind-data" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/ifind-data into .opencode/skills/ifind-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ifind-data", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ifind-data同花顺 iFinD (51ifind.com) 金融数据查询。支持 A 股/基金/债券/期货/指数的实时行情、历史行情、财务指标、宏观经济数据等 18 个 API 接口。
Ifind Data is an agent skill from LeoYeAI/openclaw-master-skills. 同花顺 iFinD (51ifind.com) 金融数据查询。支持 A 股/基金/债券/期货/指数的实时行情、历史行情、财务指标、宏观经济数据等 18 个 API 接口。 Chinese financial data query skill powered by THS iFinD (51ifind.com) API. Covers real-time quotes, historical data, financial indicators, macro economics, fund valuation, and more across 18 API endpoints for A-shares, funds, bonds, futures, and indices.
Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts and reference files (for example `README.md`, `_meta.json` and `build.sh`).
It sits in Business, Finance & HR, covering REST APIs. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Shell, Go and JavaScript), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ft.10jqka.com.cnquantapi.51ifind.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
IFIND_REFRESH_TOKENFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ifind Data loads about 4.2k tokens when it runs, and up to ~21k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 1,000 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
H_TOKEN=.' ~/.openclaw/skills/ifind-data/.env 2>/dev/null && echo "ok" || echo "missing"提供的token/' ~/.openclaw/skills/ifind-data/.envAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 1,000 words, ~4,164 tokens.
.claude/skills/ifind-data/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.| # | API | URL 路径 | 用途 |
|---|---|---|---|
| 1 | 基础数据 | basic_data_service | 财务指标、基本面数据 |
| 2 | 日期序列 | date_sequence | 按时间序列获取指标数据 |
| 3 | 历史行情 | cmd_history_quotation | 日K/周K等历史行情 |
| 4 | 高频序列 | high_frequency | 分钟级高频数据+技术指标 |
| 5 | 实时行情 | real_time_quotation | 最新价、涨跌幅、成交量 |
| 6 | 日内快照 | snap_shot | 逐笔/分钟级日内盘口快照 |
| 7 | 经济数据库 | edb_service | 宏观经济指标(GDP、CPI等) |
| 8 | 专题报表 | data_pool | REITs、龙虎榜等专题数据 |
| 9 | 组合管理 | portfolio_manage | 组合新建/导入/交易/监控 |
| 10 | 智能选股 | smart_stock_picking | 按条件筛选股票 |
| 11 | 基金估值(分钟) | fund_valuation | 基金实时分钟级估值 |
| 12 | 基金估值(日) | final_fund_valuation | 基金日终估值 |
| 13 | 日期查询 | get_trade_dates | 查询交易日历 |
| 14 | 日期偏移 | get_trade_dates | 基于基准日前推后推 |
| 15 | 数据量查询 | get_data_volume | 查询账号已用数据量 |
| 16 | 错误信息查询 | get_error_message | 查询错误码含义 |
| 17 | 代码转换 | get_thscode | 证券代码转同花顺代码 |
| 18 | 公告查询 | report_query | 上市公司公告检索下载 |
每次调用 API 前,必须先检查 IFIND_REFRESH_TOKEN 是否已配置:
grep -q 'IFIND_REFRESH_TOKEN=.' ~/.openclaw/skills/ifind-data/.env 2>/dev/null && echo "ok" || echo "missing"如果返回 missing,停止执行,向用户提示:
使用 iFinD 金融数据查询需要你的 refresh_token。获取方式:
- 还没有账号:访问 https://ft.10jqka.com.cn 申请 iFinD 量化数据终端
- 已有账号:打开 iFinD 超级命令客户端 → 工具 → refresh_token 查询;或登录 https://quantapi.51ifind.com 在账号信息中查看
请把你的 refresh_token 发给我,我帮你配置好。
用户回复 token 后,静默写入配置,不要展示命令:
sed -i 's/^IFIND_REFRESH_TOKEN=.*/IFIND_REFRESH_TOKEN=用户提供的token/' ~/.openclaw/skills/ifind-data/.env写入后告诉用户「已配置好,正在为你查询...」,然后继续执行 API 调用。
脚本 stderr 中如果出现 [TRIAL] 开头的行,说明用户处于免费试用期。每次看到此标记时,在回复数据结果之后,必须附加如下提示:
🎁 您正在免费试用中,剩余 {trial_remaining_days} 天。试用期结束后按 0.0001 USDT/次计费(约 ¥0.0007/次),充值 1 USDT 可使用约 10000 次查询。
从 [TRIAL] 后的 JSON 中提取 trial_remaining_days 填入。不要省略这个提示,每次试用期调用都要显示。
所有 API 通过 scripts/ifind-api 二进制调用:
./scripts/ifind-api "<api_endpoint>" '<json_body>'api_endpoint: 下方各 API 的路径名(如 real_time_quotation)json_body: JSON 格式的请求参数二进制自动处理:user_id 生成 → 计费验证 → iFinD Token 获取 → API 请求 → 返回结果。
日志排查:出问题时查看 .data/ifind.log,每次请求记录 endpoint、状态、耗时等信息,日志超过 1MB 自动轮转。
Endpoint: basic_data_service
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的证券代码 | "300033.SZ,600030.SH" |
| indipara | 是 | 指标及参数数组 | 见下方 |
indipara 格式:
[{
"indicator": "ths_roe_stock",
"indiparams": ["20241231"]
}]示例:
{
"codes": "300033.SZ,600030.SH",
"indipara": [{
"indicator": "ths_roe_stock",
"indiparams": ["20241231"]
}, {
"indicator": "ths_roe_avg_by_ths_stock",
"indiparams": ["20241231"]
}]
}指标名过多,推荐使用超级命令生成。常用:
ths_roe_stock(ROE)、ths_eps_stock(EPS)、ths_pe_stock(PE)等。
Endpoint: date_sequence
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的证券代码 | "300033.SZ,600030.SH" |
| startdate | 是 | 开始日期 | "2023-01-01" |
| enddate | 是 | 结束日期 | "2024-12-31" |
| indipara | 是 | 指标及参数数组 | 同基础数据格式 |
| functionpara | 否 | 附加参数 | 见下方 |
functionpara 选项:
| 名称 | key | 可选值 | 默认 |
|---|---|---|---|
| 时间周期 | Interval | D/W/M/Q/S/Y | D |
| 日期类型 | Days | Tradedays/Alldays | Tradedays |
| 非交易间隔 | Fill | Previous/Blank | Previous |
示例:
{
"codes": "300033.SZ,600030.SH",
"startdate": "20230101",
"enddate": "20241231",
"functionpara": {"Days": "Alldays", "Fill": "Blank", "Interval": "Y"},
"indipara": [{
"indicator": "ths_total_equity_atoopc_stock",
"indiparams": ["", "100"]
}]
}Endpoint: cmd_history_quotation
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的证券代码 | "300033.SZ,600030.SH" |
| indicators | 是 | 逗号分隔的指标 | "open,close,volume" |
| startdate | 是 | 开始日期 | "2024-01-01" |
| enddate | 是 | 结束日期 | "2025-01-01" |
| functionpara | 否 | 附加参数 | 见下方 |
常用 indicators: preClose(前收盘价), open(开盘价), high(最高价), low(最低价), close(收盘价), avgPrice(均价), change(涨跌), changeRatio(涨跌幅), volume(成交量), amount(成交额), turnoverRatio(换手率), pe_ttm(市盈率TTM), pe(PE), pb(PB), ps(PS), pcf(PCF)
基金专用: netAssetValue(单位净值), adjustedNAV(复权单位净值), accumulatedNAV(累计单位净值)
functionpara 选项:
| 名称 | key | 可选值 | 默认 |
|---|---|---|---|
| 时间周期 | Interval | D/W/M/Q/S/Y | D |
| 复权方式 | CPS | 1-不复权 2-前复权 3-后复权 | 1 |
| 非交易间隔 | Fill | Previous/Blank/数值/Omit | Previous |
| 货币 | Currency | MHB(美元)/GHB(港元)/RMB/YSHB(原始) | YSHB |
示例:
{
"codes": "300033.SZ,600030.SH",
"indicators": "open,close,volume",
"startdate": "2024-08-25",
"enddate": "2025-08-25",
"functionpara": {"Interval": "W", "CPS": "3", "Currency": "RMB", "Fill": "Blank"}
}Endpoint: high_frequency
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的证券代码 | "300033.SZ" |
| indicators | 是 | 逗号分隔的指标 | "open,high,low,close" |
| starttime | 是 | 开始时间 | "2024-01-01 09:15:00" |
| endtime | 是 | 结束时间 | "2024-01-01 15:15:00" |
| functionpara | 否 | 附加参数 | 见下方 |
常用 indicators: open, high, low, close, avgPrice, volume, amount, change, changeRatio, turnoverRatio, sellVolume(内盘), buyVolume(外盘)
技术指标: MA, MACD, KDJ, RSI, BOLL, CCI, OBV, ATR 等(需在 functionpara.calculate 中配置参数)
资金流向: large_amt_timeline(主力净流入), active_buy_large_volume(主动买入特大单量) 等
functionpara 选项:
| 名称 | key | 可选值 | 默认 |
|---|---|---|---|
| 时间周期 | Interval | 1/3/5/10/15/30/60(分钟) | 1 |
| 非交易间隔 | Fill | Previous/Blank/数值/Original | Original |
| 复权方式 | CPS | no/forward3/backward1 等 | no |
| 技术指标参数 | calculate | 各指标对应参数 | - |
技术指标 calculate 示例:
{
"Interval": "1",
"calculate": {
"MACD": "12,26,9,MACD",
"KDJ": "9,3,3,K"
}
}Endpoint: real_time_quotation
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的证券代码 | "300033.SZ,600000.SH" |
| indicators | 是 | 逗号分隔的指标 | "open,high,low,latest" |
常用 indicators:
通用: tradeDate, tradeTime, preClose, open, high, low, latest(最新价), change, changeRatio, amount, volume, turnoverRatio
股票: totalCapital(总市值), mv(流通市值), pe_ttm, pb, vol_ratio(量比), committee(委比), swing(振幅), bid1bid10(买价), ask1ask10(卖价), bidSize1bidSize10, askSize1askSize10
资金流向: mainNetInflow(主力净流入), largeNetInflow(超大单净流入), bigNetInflow(大单净流入)
示例:
{
"codes": "300033.SZ,600000.SH",
"indicators": "open,high,low,latest,changeRatio,volume,amount"
}Endpoint: snap_shot
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的证券代码 | "300033.SZ" |
| indicators | 是 | 逗号分隔的指标 | "open,high,low,latest" |
| starttime | 是 | 开始时间(同一天) | "2025-01-06 09:30:00" |
| endtime | 是 | 结束时间(同一天) | "2025-01-06 15:00:00" |
注意:起始和结束日期必须是同一天。
常用 indicators: tradeDate, tradeTime, preClose, open, high, low, latest, amt(成交额), vol(成交量), amount(累计成交额), volume(累计成交量), bid1bid10, ask1ask10, bidSize1bidSize10, askSize1askSize10
Endpoint: edb_service
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| indicators | 是 | 逗号分隔的EDB指标代码 | "M001620326,M002822183" |
| startdate | 是 | 开始日期 | "2018-01-01" |
| enddate | 是 | 结束日期 | "2024-12-31" |
| functionpara | 否 | 更新时间筛选 | 见下方 |
EDB 指标代码需通过超级命令查询,如 GDP、CPI、PMI 等宏观指标。
示例:
{
"indicators": "M001620326,M002822183",
"startdate": "2018-01-01",
"enddate": "2024-12-31"
}Endpoint: data_pool
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| reportname | 是 | 报表编码 | "p03341" |
| functionpara | 是 | 报表参数 | 见示例 |
| outputpara | 是 | 输出字段控制 | "p03341_f001:Y,p03341_f002:Y" |
报表编码需通过超级命令查看。
示例:
{
"reportname": "p03341",
"functionpara": {
"sdate": "20210421",
"edate": "20241231",
"xmzt": "全部",
"jcsslx": "全部",
"jys": "全部"
},
"outputpara": "p03341_f001:Y,p03341_f002:Y"
}Endpoint: portfolio_manage
支持多个子功能,通过 func 字段区分:
func: "newportf"){
"func": "newportf",
"name": "策略组合",
"group": 11580,
"performbm": {"code": "000300.SH", "name": "沪深300"},
"tday": "国内交易所",
"currency": "CNY"
}func: "importf"){
"func": "importf",
"portfid": 161390,
"content": [
["交易日期","证券代码","业务类型","数量","价格","成交金额","费用","证券类型"],
["2020-03-30","CNY","现金存入","","",10000000,"",""],
["2020-04-01","600000.SH","买入",100,10.09,1009,5.225,"A股"]
]
}func: "cashacs"){
"func": "cashacs",
"portfid": 161390,
"functionpara": {"acesscls": "101", "amount": "10000"}
}acesscls: 101=存入不计收益, 102=取出不计收益
func: "deal"){
"func": "deal",
"portfid": 161390,
"functionpara": {
"thscode": "300033", "direct": "buy", "codeName": "同花顺",
"marketCode": "212100", "securityType": "001001",
"price": 78.7, "volume": 100, "currency": "CNY",
"fee": "0", "feep": 0, "rate": "1.00"
}
}func: "query_exchange_records"){
"func": "query_exchange_records",
"portfid": 161390,
"indicators": "date,code,name,dealPrice,dealNumber,realPrice,businessName",
"startdate": "2024-10-01",
"enddate": "2024-10-07"
}最大时间区间为 7 天。
func: "query_overview"){
"func": "query_overview",
"portfid": 161390,
"indicators": "category,thscode,stockName,newPrice,increase,increaseRate,number,marketValue,weight,floatProfit,floatProfitRate"
}func: "query_positions"){
"func": "query_positions",
"portfid": 161390,
"indicators": "categoryName,securityName,thsCode,weight,marketPrice,cost,wavepl,cumpl,price,increaseRate,amount,costPrice",
"date": "2024-10-19",
"functionpara": {"penetrate": "false"}
}func: "query_perform"){
"func": "query_perform",
"portfid": 161390,
"performbm": "000300",
"startdate": "2020-06-02",
"enddate": "2024-10-20",
"functionpara": {"pfclass": "utnv", "cycle": "day"}
}pfclass: perform=业绩表现, nasset=净资产, utnv=组合净值
func: "query_risk_profits"){
"func": "query_risk_profits",
"portfid": 161390,
"indicators": ["alpha,yield,annual_yield,sharpe_ratio,max_drawdown,beta,annual_volatility"],
"startdate": "2023-10-19",
"enddate": "2024-10-19",
"functionpara": {"cycle": "day", "benchmark": "000300"}
}Endpoint: smart_stock_picking
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| searchstring | 是 | 搜索关键词 | "个股热度" |
| searchtype | 是 | 搜索类别 | "stock" |
示例:
{
"searchstring": "个股热度",
"searchtype": "stock"
}Endpoint: fund_valuation
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的基金代码 | "000001.OF,000003.OF" |
| functionpara | 是 | 参数 | 见下方 |
| outputpara | 是 | 输出字段 | "changeRatioValuation:Y,realTimeValuation:Y" |
functionpara:
| key | 说明 |
|---|---|
| onlyLastest | 1=仅最新估值, 0=时间区间估值 |
| beginTime | 开始时间(onlyLastest=0 时需要) |
| endTime | 结束时间(onlyLastest=0 时需要) |
示例:
{
"codes": "000001.OF,000003.OF",
"functionpara": {"onlyLastest": "1"},
"outputpara": "changeRatioValuation:Y,realTimeValuation:Y,Deviation30TDays:Y"
}Endpoint: final_fund_valuation
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 分号分隔的基金代码 | "000001.OF;000003.OF" |
| functionpara | 是 | beginDate + endDate | 见下方 |
| outputpara | 是 | 输出字段 | "finalValuation:Y,netAssetValue:Y,deviation:Y" |
示例:
{
"codes": "000001.OF;000003.OF",
"functionpara": {"beginDate": "2024-06-01", "endDate": "2024-12-31"},
"outputpara": "finalValuation:Y,netAssetValue:Y,deviation:Y"
}Endpoint: get_trade_dates
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| marketcode | 是 | 交易所代码 | "212001" |
| startdate | 是 | 开始日期 | "2025-01-01" |
| enddate | 是 | 结束日期 | "2025-12-31" |
| functionpara | 是 | 查询参数 | 见下方 |
常用 marketcode: 212001(上交所), 212100(深交所), 212200(港交所)
functionpara:
| key | 说明 | 值 |
|---|---|---|
| mode | 模式 | "1"=查询区间日期, "2"=查询日期数目 |
| dateType | 类型 | "0"=交易日, "1"=日历日 |
| period | 周期 | D/W/M/Q/S/Y |
| dateFormat | 格式 | "0"=YYYY-MM-DD, "1"=YYYY/MM/DD, "2"=YYYYMMDD |
示例:
{
"marketcode": "212001",
"functionpara": {"mode": "1", "dateType": "0", "period": "D", "dateFormat": "0"},
"startdate": "2025-01-01",
"enddate": "2025-12-31"
}Endpoint: get_trade_dates
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| marketcode | 是 | 交易所代码 | "212001" |
| startdate | 是 | 基准日期 | "2025-03-06" |
| functionpara | 是 | 偏移参数 | 见下方 |
functionpara:
| key | 说明 | 值 |
|---|---|---|
| dateType | 类型 | "0"=交易日, "1"=日历日 |
| period | 周期 | D/W/M/Q/S/Y |
| offset | 偏移 | "-5"=前推5, "5"=后推5 |
| dateFormat | 格式 | "0"/"1"/"2" |
| output | 输出 | "sequencedate"=所有日期, "singledate"=单个 |
示例:
{
"marketcode": "212001",
"functionpara": {"dateType": "0", "period": "D", "offset": "-5", "dateFormat": "0", "output": "sequencedate"},
"startdate": "2025-03-06"
}Endpoint: get_data_volume
无需 JSON body,仅需 token 访问即可。
./scripts/ifind-api "get_data_volume" '{}'Endpoint: get_error_message
{"errorcode": -1}Endpoint: get_thscode
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| seccode | 是 | 行情代码 | "300033" |
| functionpara | 是 | 转换参数 | 见下方 |
functionpara:
| key | 说明 |
|---|---|
| mode | seccode=按代码查, secname=按名称查 |
| sectype | 证券类型(空字符串=全部) |
| market | 市场代码(空字符串=全部) |
| tradestatus | 0=全部, 1=交易中, 2=已退市 |
| isexact | 0=模糊, 1=精确 |
示例:
{
"seccode": "300033",
"functionpara": {"mode": "seccode", "sectype": "", "market": "", "tradestatus": "0", "isexact": "0"}
}Endpoint: report_query
参数:
| key | 必须 | 说明 | 示例 |
|---|---|---|---|
| codes | 是 | 逗号分隔的证券代码 | "300033.SZ,600000.SH" |
| functionpara | 否 | 筛选参数 | 见下方 |
| outputpara | 是 | 输出字段 | 见下方 |
functionpara 可选项:
| key | 说明 |
|---|---|
| reportType | 公告类型: 903=全部, 901=年报 等 |
| beginrDate | 公告开始日期 |
| endrDate | 公告截止日期 |
| keyWord | 标题关键词 |
outputpara: "reportDate:Y,thscode:Y,secName:Y,ctime:Y,reportTitle:Y,pdfURL:Y,seq:Y"
示例:
{
"codes": "300033.SZ,600000.SH",
"functionpara": {"reportType": "901", "beginrDate": "2024-01-01", "endrDate": "2025-03-06"},
"outputpara": "reportDate:Y,thscode:Y,secName:Y,ctime:Y,reportTitle:Y,pdfURL:Y,seq:Y"
}返回的 pdfURL 可用于下载公告原文。
所有 API 返回 JSON,通用字段:
| 字段 | 说明 |
|---|---|
| errorcode | 错误码,0=正常 |
| errmsg | 错误信息 |
| tables | 数据主体 |
| perf | 耗时(ms) |
| dataVol | 数据量消耗 |
| 错误码 | 说明 | 处理建议 |
|---|---|---|
| -1010 | token 已失效 | 重新获取 access_token |
| -1302 | access_token 过期 | 脚本自动重试 |
| -1303 | 绑定IP超过20个 | 减少使用设备 |
| -4001 | 数据为空 | 检查代码/日期范围 |
| -4206 | 错误的同花顺代码 | 用代码转换API查正确代码 |
| -4304~4306 | 单次数据量超限 | 缩小时间范围或代码数量 |
| -4400 | 每分钟超过600次 | 降低请求频率 |
完整错误码请参考 references/iFinD HTTP API 用户手册.txt。
trial: true 和 trial_remaining_days 字段payment_url 字段© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 8 other files (scripts, references) in skills/ifind-data of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Ifind Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ifind Data this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~4.2k | Automated safety check: Notes | MIT | |
| Fintel Datahimself65/finance-skills | 3.4k | — | ~2.2k | Automated safety check: Notes | MIT | |
| Searching Clinicaltrialsmaziyarpanahi/openmed | 5.5k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Trading Manifoldalsk1992/CloddsBot | 2.9k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Lifiaiskillstore/marketplace | 430 | 2 repos | ~5k | Automated safety check: Pass | None | |
| Binance Datatoollostleaf/binance-datatool | 148 | — | ~2.5k | Automated safety check: Notes | BSD-3-Clause |
himself65/finance-skills
Query Fintel (fintel.io) institutional market data through its REST API or official MCP server.
maziyarpanahi/openmed
Searches ClinicalTrials.gov for studies by condition, intervention, and recruitment status using the modern v2 REST API with cursor (pageToken) pagination.
alsk1992/CloddsBot
Place bets on Manifold Markets using their REST API. An agent skill from alsk1992/CloddsBot.
aiskillstore/marketplace
Use the LI.FI REST API for cross-chain and same-chain token swaps, bridging, DeFi deposits through Composer, yield discovery and position tracking through Earn, and solver-based Intents.
lostleaf/binance-datatool
Manage Binance historical market data from data.binance.vision using the binance-datatool CLI.
trustwallet/tw-agent-skills
Trust Wallet API for crypto data — token search, prices, trending tokens, swap quotes, market data, security checks, address validation, asset info, and coin status across 100+ blockchains.
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Categories
同花顺 iFinD (51ifind.com) 金融数据查询。支持 A 股/基金/债券/期货/指数的实时行情、历史行情、财务指标、宏观经济数据等 18 个 API 接口。. Ifind Data is an agent skill from LeoYeAI/openclaw-master-skills.com) API.
Ifind Data fits situations like: tasks that involve REST APIs.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a claude-code`. Or copy the skill folder (skills/ifind-data in LeoYeAI/openclaw-master-skills) into .claude/skills/ifind-data in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a codex`. Or copy the skill folder (skills/ifind-data in LeoYeAI/openclaw-master-skills) into .agents/skills/ifind-data in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill ifind-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ifind-data, .gemini/skills/ifind-data, .github/skills/ifind-data and .opencode/skills/ifind-data in your project.
Going by SKILL.md and its folder, Ifind Data needs a shell, Go and JavaScript for the scripts in its folder and credentials named IFIND_REFRESH_TOKEN. Our summary lists: Node.js; A Bash shell; A credential in IFIND_REFRESH_TOKEN.
SKILL.md names 2 domains. As links in the text: ft.10jqka.com.cn and quantapi.51ifind.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Ifind Data is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 17k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Ifind Data: Fintel Data (himself65/finance-skills, 3.4k stars), Searching Clinicaltrials (maziyarpanahi/openmed, 5.5k stars), Trading Manifold (alsk1992/CloddsBot, 2.9k stars) and Lifi (aiskillstore/marketplace, 430 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,159 GitHub stars. The repository holds 972 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.