hithink-finance-futures

hithink-finance-futures is a skill for Claude Code, Codex from HiThink-Tech/Financial-API. It costs 78 tokens per session (1,102 once invoked), scanned A, original, MIT.

A command-line data source for public futures-market information, including contracts, positions, warehouse receipts, basis, trading schedules, and price charts. Futures are agreements to buy or sell an asset at a set future date.

In plain words
What is it for?
Use it to inspect futures varieties and contracts, query market positions, compare prices with their basis, check warehouse receipts and trading times, or retrieve intraday and daily prices.
Why use it?
It gives an agent a defined way to look up futures data instead of relying on guesses about commands or parameters.

Skill for Claude CodeCodex

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

Good fit Use it to inspect futures varieties and contracts, query market positions, compare prices with their basis, check warehouse receipts and trading times, or retrieve intraday and daily prices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hithink-tech/financial-api/hithink-finance-futures
About the project

HiThink-Tech/Financial-API is an official Tonghuashun service that provides A-share market data, including prices, financial statements, indices, sectors, funds and trading activity through APIs and developer tools. It serves AI agents, quantitative researchers and application developers. The catalogue add-ons help coding agents access and use this financial data.

HiThink-Tech/Financial-API · 3,149 stars · on GitHub · fuyao.aicubes.cn

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 HiThink-Tech/Financial-API --skill hithink-finance-futures
Clone the repo
git clone --depth 1 https://github.com/HiThink-Tech/Financial-API

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 hithink-finance-futures

README.md
[![agentmods](https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-futures/github.svg)](https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-futures)
Your own site
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-futures"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-futures/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 hithink-finance-futures

Your own site · 80×15
<a href="https://agentmods.dev/skills/hithink-tech/financial-api/hithink-finance-futures"><img src="https://agentmods.dev/badge/skills/hithink-tech/financial-api/hithink-finance-futures.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,102 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.00078 $0.01102
Opus 5 $0.00039 $0.00551
Sonnet 5 $0.00016 $0.00220
Haiku 4.5 $0.00008 $0.00110

Measured today against content hash d35cde3055cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

hithink-finance-futures 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 today.

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.

hithink-finance-cli/skills/hithink-finance-futures/SKILL.md · 72 lines

How it starts

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

hithink-finance-futures

期货公开资料和行情入口。按完整 thscode、品种与日期语义选择稳定命令。

前置条件表

条件 操作
开始任何 CLI 调用 先读取并遵循 hithink-finance-shared
不确定命令是否存在或参数是否变化 运行 hithink-finance capabilities --format json,再运行 hithink-finance schema <id> --format json
需要执行下表某个命令 先读取对应 reference 文件,不要只凭命令名猜参数
结果可能是全市场、分页、多标的或长区间 使用命令声明的 --output <path> 落盘;远端 stdout 只返回摘要

快速决策

用户意图 首选命令 / 路由
期货品种 futures varieties
合约详情 futures contract-detail
品种或公司持仓 futures variety-positions / futures company-variety-positions
合约持仓 futures contract-positions / futures contract-position-history
仓单或基差 futures warehouse-receipts / futures latest-basis / futures basis-history
交易日程 futures trading-schedule
分时或日 K futures intraday / futures daily

Shortcuts

命令 何时使用
futures basis-history Query historical futures basis
futures company-variety-positions Query daily company positions by futures varieties
futures contract-detail Query futures contract details
futures contract-position-history Query up to one year of futures contract positions
futures contract-positions Query daily futures contract positions
futures daily Query fixed 1d futures prices
futures intraday Query current futures session intraday prices
futures latest-basis Query latest main-continuous futures basis
futures position-companies List futures position companies
futures trading-schedule Query futures trading schedule
futures varieties List public futures varieties
futures variety-positions Query daily futures variety positions
futures warehouse-receipts Query historical futures warehouse receipts

Read the full file on GitHub · 72 lines

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. today First seen · 72 lines · 78 tokens per session scan A d35cde3055cb

Subscribe to this mod's changes

hithink-finance-futures is a skill published in the GitHub repository HiThink-Tech/Financial-API (3,149 stars, last pushed yesterday), licensed MIT. It adds 78 tokens to every session and 1,102 once invoked, about $0.0004 per session on Opus 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-12.

Related

Other skills, from other repositories

通达信TQ

A connection between Python strategy files and TdxQuant, TongdaXin's platform for securities data analysis and quantitative investment research. It uses the platform's tqcenter.py module to interact with the TongdaXin client.

adambbhe/TDX-finance-mcp-plugin-v3 · 56 tokens

机构持仓股东分析

A research workflow for examining an A-share company’s major shareholders and institutional holdings. It compares ownership structure, changes in holdings, concentration, and possible investor behavior.

adambbhe/TDX-finance-mcp-plugin-v3 · 229 tokens

问小达选A股

A Chinese-language stock screener for A-shares, the shares traded on mainland Chinese stock exchanges. It turns natural-language requests into filters for prices, trends, company finances, industries, concepts, and money flows.

adambbhe/TDX-finance-mcp-plugin-v3 · 82 tokens

政策解读与受益分析

A research assistant for interpreting Chinese policies and tracing how they may affect industries and companies. It is designed for policy research, thematic investing, event-driven analysis, and mapping policy changes to potential beneficiaries.

adambbhe/TDX-finance-mcp-plugin-v3 · 248 tokens

仓位决策

A Chinese-language decision aid for managing how much money is invested in A-share trades. It considers market conditions, current holdings, risk tolerance, and investment timeframe.

adambbhe/TDX-finance-mcp-plugin-v3 · 109 tokens

生成交易计划

A trading-plan workflow for an already selected A-share stock. It covers possible entry, adding or reducing a position, profit-taking, stop-losses, and exit conditions.

adambbhe/TDX-finance-mcp-plugin-v3 · 64 tokens