agentsclimarketplace

Fund index tracking funds

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/fund-index-tracking-funds

按指数代码查询跟踪该指数的基金。当用户需要查询跟踪某只指数(如沪深 300)的全部基金(场内 ETF + 场外联接基金),或仅场内 ETF(scope=etf)时使用。直接返回数组(非分页)。From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill fund-index-tracking-funds

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.5 KB, 328 tokens by cl100k_base, as published. Nobody here has run it

指数跟踪基金

接口说明

项目说明
接口名称指数跟踪基金
外部接口/api/v1/market/data/fund/index-fund
请求方式GET

请求参数

参数名类型是否必填描述
--index_codestring是指数代码,支持裸码(如 000300)或带后缀(如 000300.SH)
--scopestring否all 全市场(默认)/ etf 仅场内 ETF

执行方式

通过根目录的 run.py 调用(推荐):

python <RUN_PY> fund-index-tracking-funds --index_code 000300 --scope etf

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径。

响应结构

JSON 对象或数组,结构请参考 ftshare-doc 接口文档。

注意事项

  • 必填参数必须提供。
  • 响应以 JSON 格式输出至 stdout,诊断信息输出至 stderr。

What ships with it: 2 files

3.4 KB alongside SKILL.md, 2 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.