Eastmoney Market Valuation logo

Eastmoney Market Valuation

Organization
FTShare-Lab
eastmoney-market-valuation

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

Add to TypingMind

Overview

PublisherFTShare-Lab
RepositoryFTShare-skill
Skill nameeastmoney-market-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 Market 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-market-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-market-valuation .claude/skills/eastmoney-market-valuation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Eastmoney Market 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 Market 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 Market 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-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 调用:

bash
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涨跌幅(%),无数据时为空

响应示例

json
{
  "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 会返回空列表
  • 当前单日查询可能异常,建议优先使用区间查询

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 Market Valuation AI skill do?

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

Why use Eastmoney Market Valuation on TypingMind?

Because you install it once and use it with any model. Eastmoney Market 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 Market 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-market-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 Market 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 Market Valuation?

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

Is the Eastmoney Market 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 👇