ftshare-lab/ftshare-skill/eastmoney-stock-valuation

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

查询东财个股日估值。当用户需要查询全部 A 股个股的每日估值数据,包括市盈率(TTM/LYR)、市净率、市现率、市销率、PEG、总市值、流通市值、收盘价等;支持单票单日、单票历史区间及全市场查询,或了解东财个股日估值时使用。

Install

npx vskill@latest install ftshare-lab/ftshare-skill/eastmoney-stock-valuation

SKILL.md

查询东财个股日估值

接口说明

项目说明
接口名称查询东财个股日估值
外部接口/api/v1/market/data/eastmoney-stock-valuation
请求方式GET
适用场景查询全部 A 股个股的每日估值数据,包括市盈率(TTM/LYR)、市净率、市现率、市销率、PEG、总市值、流通市值、收盘价等;支持单票单日、单票历史区间及全市场查询

请求参数

参数名类型是否必填描述取值示例备注
symbolstring否股票代码0000016位数字代码,不传返回全部股票
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
查询模式
模式参数说明
全量查询无返回全部股票全部日期(⚠️ 数据量极大,建议配合分页)
单票全部历史--symbol返回指定股票全部历史估值
单日全市场--trade_date返回指定交易日全部股票估值
单票单日--symbol --trade_date返回指定股票指定交易日估值
单票历史区间--symbol --start_date --end_date返回指定股票日期区间估值走势

执行方式

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

bash
python <RUN_PY> eastmoney-stock-valuation --symbol 000001 --page 1 --page_size 10
python <RUN_PY> eastmoney-stock-valuation --symbol 000001 --start_date 2026-06-01 --end_date 2026-06-09
python <RUN_PY> eastmoney-stock-valuation --start_date 2026-06-01 --end_date 2026-06-09 --page 1 --page_size 50
python <RUN_PY> eastmoney-stock-valuation --symbol 000001 --trade_date 2026-06-08
python <RUN_PY> eastmoney-stock-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 中每项字段:

字段名类型描述
stock_codestring股票代码,如 000001
stock_namestring股票简称,如 平安银行
trade_datestring交易日期,格式 YYYY-MM-DD
pe_ttmstring市盈率 TTM,无数据时为空
pe_larstring市盈率 LYR(静态),无数据时为空
pb_mrqstring市净率 MRQ,无数据时为空
pcf_ocf_ttmstring市现率 TTM,无数据时为空
pcf_ocf_larstring市现率 LYR,无数据时为空
ps_ttmstring市销率 TTM,无数据时为空
peg_carstringPEG 指标,无数据时为空
total_market_capstring总市值(元),无数据时为空
notlimited_marketcap_astring流通市值(元),无数据时为空
close_pricestring收盘价(元/股),无数据时为空
change_ratestring涨跌幅(%),无数据时为空
total_sharesstring总股本,无数据时为空
free_shares_astring流通股本,无数据时为空
响应示例
json
{
"code": 0,
"message": "success",
"data": {
"pageNum": 1,
"pageSize": 3,
"total": 33142,
"pages": 11048,
"records": [
{
"stock_code": "000001",
"stock_name": "平安银行",
"trade_date": "2026-06-08",
"pe_ttm": "4.9709",
"pe_lar": "5.0207",
"pb_mrq": "0.4612",
"pcf_ocf_ttm": "1.1223",
"pcf_ocf_lar": "0.6777",
"ps_ttm": "1.6093",
"peg_car": "-1.1934",
"total_market_cap": "214047277723.94",
"notlimited_marketcap_a": "214043775202.59",
"close_price": "11.03",
"change_rate": "0.4554",
"total_shares": "19405918198",
"free_shares_a": "19405600653"
}
]
}
}

注意事项

  • 所有数值字段序列化为字符串,避免 JSON 浮点精度问题
  • 无数据的字段输出为空字符串 "",而非 null
  • 部分估值指标(如 PEG、市现率 LYR)可能因财务数据缺失而为空
  • 负值指标(如负市盈率)会正常返回负数字符串
  • 推荐使用 YYYY-MM-DD 日期格式;YYYYMMDD 会返回空列表
  • 当前单日查询可能异常,建议优先使用区间查询

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
65
Repository forks
14
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ftshare-lab/ftshare-skill/eastmoney-stock-valuation/badge)](https://verified-skill.com/skills/ftshare-lab/ftshare-skill/eastmoney-stock-valuation)

Something wrong with this skill or its page? Tell us.