stock-history-list

stock-history-list is a skill for Claude Code, Codex from FTShare-Lab/FTShare-skill. It costs 47 tokens per session (392 once invoked), scanned A, original, MIT.

A historical snapshot of stock-market data for a chosen trading day, optionally narrowed to one stock. It returns paged records for A-share main-board stocks.

In plain words
What is it for?
Use it to rebuild a day's market view, compare stocks on a past trading day, or retrieve one stock's historical record. The request requires an API key.
Why use it?
It provides past market records for a fixed date instead of requiring separate lookups for each stock. Pagination makes large daily datasets easier to process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to rebuild a day's market view, compare stocks on a past trading day, or retrieve one stock's historical record. The request requires an API key.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ftshare-lab/ftshare-skill/stock-history-list
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add FTShare-Lab/FTShare-skill --skill stock-history-list
Clone the repo
git clone --depth 1 https://github.com/FTShare-Lab/FTShare-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stock-history-list

README.md
[![agentmods](https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-history-list/github.svg)](https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-history-list)
Your own site
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-history-list"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-history-list/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for stock-history-list

Your own site · 80×15
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-history-list"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-history-list.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00392
Opus 5.5 $0.00019 $0.00157
Sonnet 5.5 $0.00009 $0.00078
Haiku 4.5 $0.00005 $0.00039

Measured 11d ago against content hash 4cf0a987d261, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

stock-history-list scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/handler.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ftshare-market-data/sub-skills/stock-history-list/SKILL.md · 29 lines

What it actually says

股票历史列表

接口:GET /api/v1/market/data/stock-history-list。在线文档:《股票历史列表》

按交易日查询 A 股主板股票历史行情截面。接口:GET /api/v1/market/data/stock-history-list。

注意:region_sector、cum_adjust_factor 不可用;pe_ttm、concept_sectors 仅 2026 年起有数据。

参数

  • --trade-date:必填,交易日,格式 YYYYMMDD。
  • --code:可选,股票代码,支持 600000.SH、600000.XSHG 或纯六位数字。
  • --page:可选,页码,默认 1。
  • --page-size:可选,每页条数,默认 50,最大 200。

响应为统一 code/message/data JSON,分页记录位于 data.records。

所有请求必须设置环境变量 FTSHARE_API_KEY;handler 将其作为 FTSHARE_API_KEY 请求头发送,并设置 Content-Type: application/json。缺失凭据时不会发起请求。

python <RUN_PY> stock-history-list --trade-date 20260909 --page 1 --page-size 5
python <RUN_PY> stock-history-list --trade-date 20260909 --code 600000.SH --page 1 --page-size 5
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · +2 lines 4cf0a987d261
  2. 2mo ago Changed · +2 lines 504782275afe
  3. 2mo ago First seen · 25 lines · 47 tokens per session scan A a5ce7c684e27

Subscribe to this mod's changes

stock-history-list is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 47 tokens to every session and 392 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

stock-history-list compared with skills from other repositories

stock-history-list next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stock-history-listFTShare-Lab/FTShare-skillSkill657d agoMITA47Claude Code, Codex
tickdb-market-dataTickDB/tickdb-unified-realtime-marketdata-apiSkill95025d agoMITA165Claude Code, Codex
defeatbeta-earnings-analysisdefeat-beta/defeatbeta-apiSkill81221d agoApache-2.0A112Claude Code
bprrwilsonfreitas/awesome-quantSkill31ktodaynoneA36Claude Code, Codex
create-entrywilsonfreitas/awesome-quantSkill31ktodaynoneA43Claude Code, Codex
update-pypi-dateswilsonfreitas/awesome-quantSkill31ktodaynoneA47Claude Code, Codex
defeatbeta-earnings-previewdefeat-beta/defeatbeta-apiSkill81221d agoApache-2.0A60Claude Code, Codex