futures-settle

futures-settle is a skill for Claude Code, Codex from FTShare-Lab/FTShare-skill. It costs 38 tokens per session (725 once invoked), scanned A, original, MIT.

A market-data lookup for daily settlement figures from Chinese futures markets. It sends supported filters to an external API and returns the response as JSON.

In plain words
What is it for?
Use it to retrieve settlement data for futures contracts on a chosen trading date, with optional pagination.
Why use it?
It saves you from building the request and handling the required API key yourself. Missing credentials stop the request before it is sent.

Skill for Claude CodeCodex

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

Good fit Use it to retrieve settlement data for futures contracts on a chosen trading date, with optional pagination.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ftshare-lab/ftshare-skill/futures-settle"><img src="https://agentmods.dev/badge/skills/ftshare-lab/ftshare-skill/futures-settle.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 725 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.00038 $0.00725
Opus 5.5 $0.00015 $0.00290
Sonnet 5.5 $0.00008 $0.00145
Haiku 4.5 $0.00004 $0.00072

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

Security

Grade A, and why

futures-settle 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/futures-settle/SKILL.md · 37 lines

What it actually says

期货每日结算参数

接口:GET /api/v1/market/data/futures/fut-settle。在线文档:《期货每日结算参数》

外部接口:GET /api/v1/market/data/futures/fut-settle。

支持源接口文档列出的查询参数,handler 将参数作为 query 发送,并以 JSON 输出响应。--exchange 在未传 --ts-code 时必填(SHFE/INE/CZCE/CFFEX/DCE/GFEX);--trade-date 与 --start-date/--end-date 二选一,区间跨度不超过 31 天。所有请求必须设置环境变量 FTSHARE_API_KEY;缺失凭据时不会发起请求。

参数

参数 必填 说明
--ts-code 否 不带交易所后缀的合约代码,如 A2609;请求不区分大小写,CZCE 真实合约必须使用四位年份代码(如 AP2612)。传入时可省略 --exchange。
--trade-date 否 单个交易日,格式 YYYYMMDD;不能与日期区间同时使用。
--start-date 否 开始交易日,格式 YYYYMMDD;必须与 end_date 同时传入,且日期区间跨度不超过 31 天。
--end-date 否 结束交易日,格式 YYYYMMDD;必须与 start_date 同时传入。
--exchange 否 交易所代码:SHFE、INE、CZCE、CFFEX、DCE、GFEX。不传 --ts-code 时必填;传 --ts-code 时用于范围限制和一致性校验。
--page 否 页码,从 1 开始,默认 1。
--page-size 否 每页条数,默认 50,最大 4000。

返回

  • 记录容器:data.records
  • 分页字段:pageNum、pageSize、total、pages
  • 记录字段:ts_code、trade_date、settle、trading_fee_rate、trading_fee、delivery_fee、b_hedging_margin_rate、s_hedging_margin_rate、long_margin_rate、short_margin_rate、offset_today_fee、exchange

调用示例

python <RUN_PY> futures-settle --exchange DCE --ts-code A2609 --trade-date 20260721 --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 · +20 lines 946f420c3b68
  2. 2mo ago Changed 01e6590a8e41
  3. 2mo ago First seen · 17 lines · 38 tokens per session scan A 6686df860d14

Subscribe to this mod's changes

futures-settle is a skill published in the GitHub repository FTShare-Lab/FTShare-skill (65 stars, last pushed 7d ago), licensed MIT. It adds 38 tokens to every session and 725 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

futures-settle compared with skills from other repositories

futures-settle next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
futures-settleFTShare-Lab/FTShare-skillSkill657d agoMITA38Claude 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