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.
npx skills add FTShare-Lab/FTShare-skill --skill futures-kline-batchgit clone --depth 1 https://github.com/FTShare-Lab/FTShare-skillWrote 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.
[](https://agentmods.dev/skills/ftshare-lab/ftshare-skill/futures-kline-batch)<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/futures-kline-batch"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/futures-kline-batch/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.
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/futures-kline-batch"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/futures-kline-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00085 | $0.01412 |
| Opus 5.5 | $0.00034 | $0.00565 |
| Sonnet 5.5 | $0.00017 | $0.00282 |
| Haiku 4.5 | $0.00009 | $0.00141 |
Grade A, and why
futures-kline-batch 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.
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.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
批量期货合约历史K线
接口:GET /api/v2/market/data/futures/kline/batch。在线文档:《批量期货合约历史K线》
1. 接口描述
| 项目 | 说明 |
|---|---|
| 接口名称 | 批量期货合约历史K线(futures_kline_batch) |
| 外部接口 | GET /api/v2/market/data/futures/kline/batch |
| 请求方式 | GET(query 参数,symbols 使用逗号分隔) |
| 适用场景 | 一次批量获取多个期货合约的历史 K 线(开高低收、成交量、成交额、vwap、持仓量),支持日/周/月/季周期 |
| 数据范围 | 支持日、周、月、季 K 线;周、月、季 K 线由历史日 K 线聚合生成 |
| 单次限量 | symbols 支持 1~20 个合约;每个合约 limit 默认 500;时间范围不超过 12 个自然月 |
2. 请求参数
| 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 |
|---|---|---|---|---|---|
| symbols | string | 是 | 不带交易所后缀的期货合约代码列表,逗号分隔传给 CLI | A2611,M2611 | 1~20 个;请求不区分大小写,CZCE 真实合约必须使用四位年份代码(如 AP2612);接口侧以逗号分隔发送,兼容旧的重复参数格式 |
| interval | string | 否 | K 线周期 | daily | daily/weekly/monthly/quarterly;默认 daily |
| start | int | 否 | 起始时间戳(毫秒) | 1790784000000 | 闭区间;按北京时间解释 |
| end | int | 否 | 结束时间戳(毫秒) | 1791647999000 | 闭区间;不能单独传入 |
| limit | int | 否 | 每个合约返回的最新 K 线条数 | 5 | 默认 500 |
3. 响应说明
外层固定为 code(成功 200)/ message(成功 success)/ data。data 为按请求顺序排列的标的分组数组(非分页),每项结构为 {symbol, items, total}:
| 字段名 | 类型 | 说明 |
|---|---|---|
| symbol | string | 请求中合约代码规范化后的裸代码,大小写沿用对应交易所官网格式;CZCE 真实合约返回四位年份代码 |
| items | array | 该合约符合条件且经 limit 截断后的 K 线记录列表 |
| total | integer | items 中的 K 线记录数(已应用 limit);无数据时为 0 |
分组内每根 K 线字段:
| 字段名 | 类型 | 说明 |
|---|---|---|
| symbol | string | 不带交易所后缀的官网合约代码,大小写沿用对应交易所官网格式;CZCE 真实合约返回四位年份代码 |
| datetime | int | K 线时间戳(毫秒) |
| trade_date | int | 交易日 YYYYMMDD |
| open / high / low / close | number | 开盘价 / 最高价 / 最低价 / 收盘价 |
| volume | int | 成交量 |
| amount | number | 成交额 |
| vwap | number | 成交量加权均价 |
| open_interest | number | 持仓量 |
| dominant_contract | string / null | 主力合约;当前接口返回 null |
| forward_factor | number / null | 前复权因子;当前接口返回 null |
| backward_factor | number / null | 后复权因子;当前接口返回 null |
4. 调用方式
python <RUN_PY> futures-kline-batch --symbols A2611,M2611 --interval daily --start 1790784000000 --end 1791647999000 --limit 5
python <RUN_PY> futures-kline-batch --symbols A2611,M2611,CU2611 --interval weekly --limit 5
What ships with it
2 files 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.
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.
- 11d ago Changed · +2 lines 4b7b86aa2912
- 1mo ago Changed · -4 lines · -2 tokens per session 3634d6ad8770
- 1mo ago First seen · 76 lines · 87 tokens per session scan A 942d607212da
futures-kline-batch is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 85 tokens to every session and 1,412 once invoked, about $0.0003 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-10-15.
futures-kline-batch compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| futures-kline-batchFTShare-Lab/FTShare-skill | Skill | 65 | 7d ago | MIT | A | 85 | Claude Code, Codex |
| tickdb-market-dataTickDB/tickdb-unified-realtime-marketdata-api | Skill | 950 | 25d ago | MIT | A | 165 | Claude Code, Codex |
| defeatbeta-earnings-analysisdefeat-beta/defeatbeta-api | Skill | 812 | 21d ago | Apache-2.0 | A | 112 | Claude Code |
| sprrwilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 54 | Claude Code, Codex |
| bprrwilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 36 | Claude Code, Codex |
| create-entrywilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 43 | Claude Code, Codex |
| update-pypi-dateswilsonfreitas/awesome-quant | Skill | 31k | today | none | A | 47 | Claude Code, Codex |