agentsclimarketplace

Eastmoney market valuation

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/eastmoney-market-valuation

查询东财市场日估值。当用户需要查询 A 股主要市场指数(上证指数、沪深300、深证成指、创业板指、科创50、北证50)的每日估值数据,包括市盈率、总市值、流通市值、收盘点位等;支持单日、区间查询,或了解东财市场日估值时使用。From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill eastmoney-market-valuation

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

One thing to look at

  • runs commandsInstructs the agent to run 6 commands, including `python <RUN_PY> eastmoney-market-valuation` and 5 more.

SKILL.md

5.1 KB, ~1.7k tokens by cl100k_base, as published. Nobody here has run it

查询东财市场日估值

接口说明

项目说明
接口名称查询东财市场日估值
外部接口/api/v1/market/data/eastmoney-market-valuation
请求方式GET
适用场景查询 A 股主要市场指数(上证指数、沪深300、深证成指、创业板指、科创50、北证50)的每日估值数据,包括市盈率、总市值、流通市值、收盘点位等;支持单日、区间查询

请求参数

参数名类型是否必填描述取值示例备注
market_codestring市场代码000300000001=上证指数, 000300=沪深300, 399001=深证成指, 399006=创业板指, 000688=科创50, 899050=北证50
trade_datestring交易日2026-06-08格式 YYYY-MM-DD;与 start_date/end_date 互斥
start_datestring区间起始日2026-06-01格式 YYYY-MM-DD;与 end_date 同时提供
end_datestring区间结束日2026-06-09格式 YYYY-MM-DD;与 start_date 同时提供
--pageint页码1从 1 开始,默认 1
--page_sizeint每页条数50默认 50,最大 500

查询模式

模式参数说明
全量查询返回全部市场全部日期估值
单市场全部历史--market_code返回指定市场全部历史估值
单日全市场--trade_date返回指定交易日全部市场估值
单市场单日--market_code --trade_date返回指定市场指定交易日估值
单市场区间--market_code --start_date --end_date返回指定市场日期区间估值

执行方式

通过根目录的 run.py 调用:

python <RUN_PY> eastmoney-market-valuation --market_code 000300 --page 1 --page_size 10
python <RUN_PY> eastmoney-market-valuation --market_code 000001 --start_date 2026-06-01 --end_date 2026-06-09
python <RUN_PY> eastmoney-market-valuation --start_date 2026-06-01 --end_date 2026-06-09 --page 1 --page_size 50
python <RUN_PY> eastmoney-market-valuation --market_code 000300 --trade_date 2026-06-08
python <RUN_PY> eastmoney-market-valuation --start_date 2026-06-01 --end_date 2026-06-09 --all

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径,参见主 SKILL.md 的「调用方式」说明。

响应结构

顶层为分页包装对象:

字段名类型描述
codeint业务状态码,成功为 0
messagestring业务消息
dataobject/null分页数据体;无数据时可能为 null
data.pageNumint当前页码
data.pageSizeint每页条数
data.totalint总记录数
data.pagesint总页数
data.recordsarray当前页记录列表

data.records 中每项字段:

字段名类型描述
market_codestring市场代码,如 000001=上证指数
market_namestring市场名称,如 上证指数
trade_datestring交易日期,格式 YYYY-MM-DD
pe_ttmstring市盈率 TTM,无数据时为空
total_sharesstring总股本,无数据时为空
free_sharesstring流通股本,无数据时为空
trade_market_valuestring市场总市值(元),无数据时为空
free_market_capstring流通市值(元),无数据时为空
listing_org_numstring上市公司家数,无数据时为空
close_pricestring收盘点位,无数据时为空
change_ratestring涨跌幅(%),无数据时为空

响应示例

{
  "code": 0,
  "message": "success",
  "data": {
    "pageNum": 1,
    "pageSize": 3,
    "total": 36,
    "pages": 12,
    "records": [
      {
        "market_code": "000001",
        "market_name": "上证指数",
        "trade_date": "2026-06-08",
        "pe_ttm": "13.95",
        "total_shares": "484989600",
        "free_shares": "462381100",
        "trade_market_value": "5276746800",
        "free_market_cap": "5065018100",
        "listing_org_num": "1708",
        "close_price": "3959.3378",
        "change_rate": "-1.6982"
      }
    ]
  }
}

注意事项

  • 覆盖 6 个 A 股主要市场指数
  • 市场代码参考:上证指数(000001)、沪深300(000300)、深证成指(399001)、创业板指(399006)、科创50(000688)、北证50(899050)
  • 所有数值字段序列化为字符串,避免 JSON 浮点精度问题
  • 无数据的字段输出为空字符串 "",而非 null
  • 推荐使用 YYYY-MM-DD 日期格式;YYYYMMDD 会返回空列表
  • 当前单日查询可能异常,建议优先使用区间查询

What ships with it: 1 file

3.6 KB alongside SKILL.md, 1 of them executable

scripts/

Gives 0 of the 12 instructions most finance skills give in ~1.7k tokens

Counted across 469 of the 469 authors here whose files we hold, read 2026-08-07

  • Extract date vendor amount and descriptionin 15 of 469, across 3 files
  • Scan folder for invoice filesin 14 of 469, across 2 files
  • Rename files to standard formatin 14 of 469, across 2 files
  • Show organization plan before movingin 14 of 469, across 2 files
  • Generate summary CSVin 14 of 469, across 2 files
  • Organize files by categoryin 13 of 469, across 1 file
  • Preserve original filesin 13 of 469, across 1 file
  • Flag files missing critical infoin 13 of 469, across 1 file
  • Produce the requested output filein 9 of 469, across 4 files
  • Build best, base, and worst case scenariosin 9 of 469, across 5 files
  • Implement backoff if rate limit errors occurin 8 of 469, across 3 files
  • Determine the weighted average cost of capitalin 8 of 469, across 4 files

Said here and by no other author read

  • Prefer date range queries over single-day queries
  • use maximum page size of 500
  • return empty string for missing numeric fields

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

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.