Eastmoney Stock Valuation logo

Eastmoney Stock Valuation

Organization
FTShare-Lab
eastmoney-stock-valuation

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

Overview

PublisherFTShare-Lab
RepositoryFTShare-skill
Skill nameeastmoney-stock-valuation
Stars
64
Forks
14
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by FTShare-Lab on GitHub. Read the source before you install it.

Installation

Install the Eastmoney Stock Valuation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data/sub-skills/eastmoney-stock-valuation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/FTShare-Lab/FTShare-skill.git /tmp/FTShare-skill
mkdir -p .claude/skills
cp -r /tmp/FTShare-skill/ftshare-market-data/sub-skills/eastmoney-stock-valuation .claude/skills/eastmoney-stock-valuation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Eastmoney Stock Valuation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Eastmoney Stock Valuation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Eastmoney Stock Valuation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

查询东财个股日估值

接口说明

项目说明
接口名称查询东财个股日估值
外部接口/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 会返回空列表
  • 当前单日查询可能异常,建议优先使用区间查询

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Eastmoney Stock Valuation AI skill do?

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

Why use Eastmoney Stock Valuation on TypingMind?

Because you install it once and use it with any model. Eastmoney Stock Valuation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Eastmoney Stock Valuation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data/sub-skills/eastmoney-stock-valuation. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Eastmoney Stock Valuation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Eastmoney Stock Valuation?

As many as you like. As long as a model supports skills, you can use Eastmoney Stock Valuation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Eastmoney Stock Valuation AI skill free?

Yes. It is published on GitHub by FTShare-Lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇