futures-daily-kline

futures-daily-kline is a skill for Claude Code, Codex from FTShare-Lab/FTShare-skill. It costs 113 tokens per session (1,466 once invoked), scanned A, original, MIT.

A market-data query for official daily candlestick records for one futures contract or a 9999 continuous futures series. A candlestick records a market period’s opening, highest, lowest, and closing prices.

In plain words
What is it for?
Use it to look up daily prices and trends for a futures symbol, a main continuous contract, or a chosen trading-date range.
Why use it?
It provides a defined way to retrieve daily futures prices for one trading day or a date range instead of collecting them manually.

Skill for Claude CodeCodex

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

Good fit Use it to look up daily prices and trends for a futures symbol, a main continuous contract, or a chosen trading-date range.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/futures-daily-kline"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/futures-daily-kline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,466 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.00113 $0.01466
Opus 5.5 $0.00045 $0.00586
Sonnet 5.5 $0.00023 $0.00293
Haiku 4.5 $0.00011 $0.00147

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

Security

Grade A, and why

futures-daily-kline 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 2 executable files (scripts/handler.py, scripts/test_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/futures-daily-kline/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

期货官方日K与9999主连

接口:GET /api/v1/market/data/futures/daily-kline。在线文档:《期货官方日K与9999主连》

查询单个期货真实合约或 9999 主连的官方日 K。每次只查询一个 symbol,返回带分页信息的 {items,total,page,page_size} 对象。

1. 接口描述

项目 说明
接口名称 期货官方日K与9999主连(futures_daily_kline)
外部接口 GET /api/v1/market/data/futures/daily-kline
请求方式 GET(query 参数)
适用场景 单个期货真实合约日 K;9999 主连日 K;单日或日期区间查询
数据范围 按交易日查询
单次限量 每次查询一个 symbol;page_size 默认 50,最大 500

2. 请求参数

参数名 类型 是否必填 描述 取值示例
symbol string 是 期货合约或 9999 主连代码,交易所后缀可带可不带;不带后缀时由服务端按品种推断交易所,代码不区分大小写 A9999.DCE、A2405、AP2612.CZCE
trade_date string 单日模式必填 单个交易日 YYYYMMDD;与 start_date/end_date 二选一 20261117
start_date string 区间模式必填 起始交易日 YYYYMMDD;必须与 end_date 成对传入 20261101
end_date string 区间模式必填 结束交易日 YYYYMMDD;不能早于 start_date 20261117
rule_version string 否 9999 主连映射规则版本,默认 v1;查询真实合约时无影响 v1
page int 否 页码,从 1 开始,默认 1 1
page_size int 否 每页条数,默认 50,最大 500 50

两种日期模式不能混用:单日只传 --trade-date,区间同时传 --start-date 与 --end-date,不传日期参数时接口返回参数错误。

3. 响应说明

外层固定为 code(成功 200)/ message(成功 success)/ data。data 对象:

字段 类型 说明
items array 当前页日 K 记录,按交易日升序;无数据时为空数组
total integer 查询条件命中的总记录数,不随分页变化
page integer 当前页码
page_size integer 实际使用的每页条数,最大 500

items 字段:

字段名 类型 说明
symbol string 合约代码;真实合约返回不带交易所后缀、沿用官网大小写的代码,9999 主连返回品种加 9999;CZCE 真实合约返回四位年份代码
trade_date integer 交易日 YYYYMMDD
open / high / low / close number 开高低收价格
volume integer 成交量(手)
amount number 成交额(元)
open_interest integer 持仓量(手)

4. 调用方式

# 9999 主连:日期区间
python <RUN_PY> futures-daily-kline --symbol A9999.DCE --start-date 20261101 --end-date 20261117 --page 1 --page-size 5

# 真实合约:单个交易日
python <RUN_PY> futures-daily-kline --symbol AP2612.CZCE --trade-date 20261117

# 自动翻页取全部记录
python <RUN_PY> futures-daily-kline --symbol A9999.DCE --start-date 20261101 --end-date 20261117 --all

Read the full file on GitHub · 80 lines

Files

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.

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 First seen · 80 lines · 113 tokens per session scan A 1b012502bd6a

Subscribe to this mod's changes

futures-daily-kline is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 113 tokens to every session and 1,466 once invoked, about $0.0005 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-11-21.

Related

futures-daily-kline compared with skills from other repositories

futures-daily-kline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
futures-daily-klineFTShare-Lab/FTShare-skillSkill657d agoMITA113Claude Code, Codex
tickdb-market-dataTickDB/tickdb-unified-realtime-marketdata-apiSkill95025d agoMITA165Claude Code, Codex
defeatbeta-earnings-analysisdefeat-beta/defeatbeta-apiSkill81221d agoApache-2.0A112Claude Code
sprrwilsonfreitas/awesome-quantSkill31ktodaynoneA54Claude Code, Codex
bprrwilsonfreitas/awesome-quantSkill31ktodaynoneA36Claude Code, Codex
create-entrywilsonfreitas/awesome-quantSkill31ktodaynoneA43Claude Code, Codex
update-pypi-dateswilsonfreitas/awesome-quantSkill31ktodaynoneA47Claude Code, Codex