stock-intraday

stock-intraday is a skill for Claude Code, Codex from FTShare-Lab/FTShare-skill. It costs 102 tokens per session (1,223 once invoked), scanned A, original, MIT.

A market-data lookup for one stock's minute-by-minute prices across today and up to several recent trading days. It also returns the day's cumulative average price, volume, and turnover.

In plain words
What is it for?
Use it to inspect intraday movement, compare recent trading days, or obtain minute prices with cumulative volume and turnover for a stock.
Why use it?
It avoids manually combining minute records and calculating the running trading totals. The time range is limited to the current day and recent trading days.

Skill for Claude CodeCodex

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

Good fit Use it to inspect intraday movement, compare recent trading days, or obtain minute prices with cumulative volume and turnover for a stock.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ftshare-lab/ftshare-skill/stock-intraday
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-intraday
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-intraday

README.md
[![agentmods](https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-intraday/github.svg)](https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-intraday)
Your own site
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-intraday"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-intraday/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-intraday

Your own site · 80×15
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/stock-intraday"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/stock-intraday.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,223 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.
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.00102 $0.01223
Opus 5.5 $0.00041 $0.00489
Sonnet 5.5 $0.00020 $0.00245
Haiku 4.5 $0.00010 $0.00122

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

Security

Grade A, and why

stock-intraday 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 29d 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-intraday/SKILL.md · 72 lines

What it actually says

股票跨日分时行情

1. 接口描述

项目 说明
接口名称 股票跨日分时行情(stock_intraday)
外部接口 GET /api/v4/market/data/stock-intraday
请求方式 GET(query 参数)
适用场景 查询单只股票的分钟分时价格、均价及日累计成交量额;支持当日实时分时与近期历史分时合并返回
数据范围 当日及近期历史交易日,时间范围按北京时间(Asia/Shanghai)计算
单次限量 单只股票;days 为 1~5;无分页,返回所选范围内的可用数据点

2. 请求参数

参数名 类型 是否必填 描述 取值示例 备注
symbol string 是 股票代码(需带市场后缀) 600000.SH 不接受裸代码;也接受 600000.XSHG 等 MIC 后缀
range string 否 预置区间 Today Today(当日)/FiveDays(当日及此前 4 个交易日,默认);大小写敏感
days int 否 查询当日及此前 N−1 个交易日 3 范围 1~5,1 表示当日
ts_ms int 否 当日过滤起点(毫秒,包含起点) 1789522140000 只过滤当日数据,不能通过它指定历史日期;早于当日零点时按当日零点处理

三个时间参数可以同时传入,按 ts_ms > days > range 选择生效参数,低优先级参数不参与范围计算;三者均不传时默认 FiveDays。

3. 响应说明

外层固定为 code(成功 200)/ message(成功 success)/ data。data 为分时点数组,按时间升序排列,同一分钟只返回一个数据点,无分页:

字段名 类型 说明 单位
ts_ms int 分钟起点的 Unix 毫秒时间戳 毫秒
price number 成交价格;历史分钟取该分钟收盘价,不复权 元
avg_price number / null 当日累计成交均价;不可用时为 null,字段仍返回 元
volume int 当日累计成交量 股
turnover number 当日累计成交额 元

注:price / avg_price / turnover 是 JSON 数字,不是字符串。历史均价按当日累计成交额除以累计成交量计算,累计成交量为零时均价为 null。

4. 调用方式

# 当日分时
python <RUN_PY> stock-intraday --symbol 600000.SH --range Today

# 默认五日范围(不传任何时间参数)
python <RUN_PY> stock-intraday --symbol 600000.SH

# 当日及此前两个交易日
python <RUN_PY> stock-intraday --symbol 600000.SH --days 3

# 显式指定五日范围
python <RUN_PY> stock-intraday --symbol 600000.SH --range FiveDays

# 同时传入 days 与 range 时 days 优先,此请求按三日范围查询
python <RUN_PY> stock-intraday --symbol 600000.SH --days 3 --range Today

<RUN_PY> 为主 SKILL.md 同级 run.py 的绝对路径。输出 JSON;HTTP 错误输出到 stderr 并以非零状态退出。

5. 注意事项

  • symbol 必填且需带市场后缀,不接受裸代码。
  • days=3 表示当日及此前 2 个交易日,历史日期跳过休市日;例如在周二且周一、上周五均为交易日时,范围覆盖上周五、周一和周二。
  • 当日按自然日计算:非交易日不会自动用上一个交易日替换当日,因此实际有数据的日期数可能少于 days。
  • ts_ms 只过滤当日数据;传入过去日期的时间戳不会返回该历史日期。跨日查询使用 days 或 range。
  • 历史分钟价格不复权。
  • 行情查询所需数据不可用时接口返回错误,不会以缺少部分日期的数据冒充完整成功结果;HTTP 400 表示参数问题,405 不支持的方法,502 行情查询失败,503 行情服务暂不可用。
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. 29d ago First seen · 72 lines · 102 tokens per session scan A 545d7e888b98

Subscribe to this mod's changes

stock-intraday is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 2d ago), licensed MIT. It adds 102 tokens to every session and 1,223 once invoked, about $0.0004 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-18.

Related

Other skills, from other repositories

tickdb-market-data

A real-time market-data API for foreign exchange, metals, indexes, stocks, and cryptocurrencies. An API is a service that software can call to request data.

TickDB/tickdb-unified-realtime-marketdata-api · 165 tokens

defeatbeta-earnings-analysis

Create professional equity research earnings update reports (8-12 pages, 3,000-5,000 words) analyzing quarterly results for companies already under coverage. Fast-turnaround format focusing on beat/miss analysis, key metrics, updated estimates, and revised thesis. Includes 1-3 summary tables and 8-12 charts. Use when…

defeat-beta/defeatbeta-api · 112 tokens

defeatbeta-earnings-preview

Build pre-earnings analysis with normalized baselines, weighted decision models, company-specific veto gates, scenario frameworks, catalysts, historical reactions, and options-implied moves. Use before a company reports quarterly earnings to prepare positioning notes or bilingual three-page PDF reports.

defeat-beta/defeatbeta-api · 60 tokens

defeatbeta-analyst

Professional financial analysis using 60+ market data APIs. Use for: company fundamentals (revenue, margins, EPS, balance sheet), valuation (P/E, P/B, P/S, PEG, DCF, intrinsic value), profitability (ROE, ROA, ROIC), growth trends (YoY revenue/earnings/FCF), earnings transcripts (key data, changes, guidance), industry…

defeat-beta/defeatbeta-api · 154 tokens

defeatbeta-earnings-key-data

Run one of three traceable earnings-call transcript templates through the DefeatBeta MCP tools: (1) extract current-quarter results plus next-quarter and full-year guidance, (2) extract factual QoQ or YoY financial-metric change sentences, or (3) extract numerical forward-looking forecast sentences with…

defeat-beta/defeatbeta-api · 138 tokens

sprr

Single PR reviewer for awesome-quant. Use when the user asks to review, validate, comment on, label, close, or merge one specific pull request that adds README.md entries. Triggers include "sprr", "review PR", "check PR", and "validate contribution".

wilsonfreitas/awesome-quant · 60 tokens