Eastmoney Us Stock Daily Ohlc logo

Eastmoney Us Stock Daily Ohlc

Organization
FTShare-Lab
eastmoney-us-stock-daily-ohlc

查询东财美股历史日 K 线。当用户需要查询东财美股历史日 K 线;有日期范围时按 3 天窗口分批请求,无日期范围时全量拉取,或了解东财美股历史 OHLC、东财美股历史日 K 线时使用。

Add to TypingMind

Overview

PublisherFTShare-Lab
RepositoryFTShare-skill
Skill nameeastmoney-us-stock-daily-ohlc
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 Us Stock Daily Ohlc 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-us-stock-daily-ohlc
  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-us-stock-daily-ohlc .claude/skills/eastmoney-us-stock-daily-ohlc
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Eastmoney Us Stock Daily Ohlc 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 Us Stock Daily Ohlc 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 Us Stock Daily Ohlc 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.

查询东财美股历史 OHLC

接口说明

项目说明
接口名称查询东财美股历史日 K 线
外部接口/api/v1/market/data/eastmoney-us-stock-daily-ohlc
请求方式GET
适用场景查询东财美股历史日 K 线;有日期范围时按 3 天窗口分批请求,无日期范围时全量拉取

请求参数

参数名类型是否必填描述取值示例备注
--stock_codestring否股票代码;不传则查询全市场AAL东财美股代码
--start_datestring否起始日期(含)2026-06-01格式 YYYY-MM-DD 或 YYYYMMDD
--end_datestring否截止日期(含)2026-06-10格式 YYYY-MM-DD 或 YYYYMMDD
--pageint否页码1从 1 开始,默认 1
--page_sizeint否每页条数50默认 50
--allflag否全量返回—返回全量数据(不分页)

执行策略:有日期范围时,将区间拆分为最多 3 天的窗口分批请求,合并去重排序;无日期范围时全量拉取(不传日期参数)。

查询模式

模式参数说明
全部历史--stock_code全量拉取全部历史 K 线(分页)
日期区间--stock_code --start_date --end_date按 3 天窗口分批请求,合并后分页
日期区间全量--stock_code --start_date --end_date --all按 3 天窗口分批请求,合并后返回全量(不分页)
全市场全部历史(不传 --stock_code)全量拉取全市场历史 K 线(分页,数据量可达数千条)
全市场日期区间--start_date --end_date(不传 --stock_code)按 3 天窗口分批查全市场,合并后分页

执行方式

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

bash
python <RUN_PY> eastmoney-us-stock-daily-ohlc --stock_code AAL --page 1 --page_size 10
python <RUN_PY> eastmoney-us-stock-daily-ohlc --stock_code AAL --start_date 2026-05-01 --end_date 2026-06-10 --page 1 --page_size 50
python <RUN_PY> eastmoney-us-stock-daily-ohlc --stock_code AAL --start_date 2026-05-01 --end_date 2026-06-10 --all
python <RUN_PY> eastmoney-us-stock-daily-ohlc --start_date 2026-06-01 --end_date 2026-06-03 --page 1 --page_size 50

最后一条不传 --stock_code,查询全市场(数据量可达数千条)。

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

响应结构

顶层为分页包装对象:

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

data.records[] 单条记录字段(全部字段按字符串返回):

字段名类型描述
secidstring证券 ID,格式 {market}.{code},如 105.ADV
codestring股票代码
namestring股票名称
marketstring市场编号
datestring日期,格式 YYYY-MM-DD
openstring开盘价
closestring收盘价
highstring最高价
lowstring最低价
volumestring成交量
amountstring成交额
amplitudestring振幅
kltstringK 线类型
fqtstring复权类型

响应示例

json
{
  "code": 0,
  "message": "success",
  "data": {
    "pageNum": 1,
    "pageSize": 50,
    "total": 503,
    "pages": 11,
    "records": [
      {
        "secid": "105.ADV",
        "code": "ADV",
        "name": "Advantage Solutions Inc",
        "market": "105",
        "date": "2021-01-05",
        "open": "12.34",
        "close": "12.56",
        "high": "12.78",
        "low": "12.10",
        "volume": "1234567",
        "amount": "9876543.21",
        "amplitude": "5.5",
        "klt": "101",
        "fqt": "1"
      }
    ]
  }
}

注意事项

  • 有日期范围时,区间拆分为最多 3 天的窗口分别请求,避免服务端大范围 500 错误
  • 无日期范围时,全量拉取全部历史 K 线(单只股票数据量较小,如 AAL ~1365 条)
  • start_date / end_date 支持 YYYY-MM-DD 与 YYYYMMDD 两种格式
  • 记录字段为 snake_case,所有数值字段均为字符串
  • data 在错误或无数据时可能为 null
  • stock_code 为东财美股代码(如 AAL);不传时查询全市场(可用 --start_date/--end_date 限定区间)
  • 可先通过 eastmoney-us-stock-list 获取有效的美股代码列表

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 Us Stock Daily Ohlc AI skill do?

查询东财美股历史日 K 线。当用户需要查询东财美股历史日 K 线;有日期范围时按 3 天窗口分批请求,无日期范围时全量拉取,或了解东财美股历史 OHLC、东财美股历史日 K 线时使用。

Why use Eastmoney Us Stock Daily Ohlc on TypingMind?

Because you install it once and use it with any model. Eastmoney Us Stock Daily Ohlc 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 Us Stock Daily Ohlc 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-us-stock-daily-ohlc. 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 Us Stock Daily Ohlc?

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 Us Stock Daily Ohlc?

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

Is the Eastmoney Us Stock Daily Ohlc 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 👇