查询个股交易相关数据

查询个股交易相关数据 is a skill for Codex from adambbhe/TDX-finance-mcp-plugin-v3. It costs 36 tokens per session (1,090 once invoked), scanned A, original, MIT.

A guide for querying Chinese stock-market trading data through tdxapidata. It maps requested data types to the required query settings and expects a six-digit stock code.

In plain words
What is it for?
Use it to retrieve block-trade intentions, margin-trading data, refinancing data, capital flows, or limit-up and limit-down analyses.
Why use it?
It reduces mistakes when selecting the correct data source and query tag for each kind of market information.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to retrieve block-trade intentions, margin-trading data, refinancing data, capital flows, or limit-up and limit-down analyses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-trading-info
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 adambbhe/TDX-finance-mcp-plugin-v3 --skill tdx-trading-info
Clone the repo
git clone --depth 1 https://github.com/adambbhe/TDX-finance-mcp-plugin-v3

Made for: 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 查询个股交易相关数据

README.md
[![agentmods](https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-trading-info/github.svg)](https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-trading-info)
Your own site
<a href="https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-trading-info"><img src="https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-trading-info/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 查询个股交易相关数据

Your own site · 80×15
<a href="https://agentmods.dev/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-trading-info"><img src="https://agentmods.dev/badge/skills/adambbhe/tdx-finance-mcp-plugin-v3/tdx-trading-info.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,090 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.00036 $0.01090
Opus 5 $0.00018 $0.00545
Sonnet 5 $0.00007 $0.00218
Haiku 4.5 $0.00004 $0.00109

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

Security

Grade A, and why

查询个股交易相关数据 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 12d 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.

skills/tdx-trading-info/SKILL.md · 79 lines

How it starts

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

TDX Trading Info

何时使用

当用户想看大宗交易意向申报、融资融券、转融券、资金流向、涨停分析或跌停分析时使用本 skill。

入参规则

  • 这些交易类查询都已纳入自动映射
  • block_trade_intention 使用 entry="TdxSharePCCW.tdxf10_gg_iyds"
  • 其余类型使用 entry="TdxSharePCCW.tdxf10_gg_jyds"
  • code 必须是 6 位股票代码字符串
  • fixedTag 决定查询类型
  • extra 一般留空,只有上游明确需要第三参数时再传
  • 如果显式传 responseTransform,要保证它与 fixedTag 对应一致

查询类型映射

查询类型 适用场景 entry fixedTag 默认 preset
block_trade_intention 大宗交易意向申报 TdxSharePCCW.tdxf10_gg_iyds yxsbxx block_trade_intention
margin_trading 融资融券数据 TdxSharePCCW.tdxf10_gg_jyds rzrq margin_trading
refinancing 转融券数据 TdxSharePCCW.tdxf10_gg_jyds zrq refinancing
capital_flow 资金流向数据 TdxSharePCCW.tdxf10_gg_jyds zjlx capital_flow
limit_up_analysis 涨停分析 TdxSharePCCW.tdxf10_gg_jyds ztfx limit_up_analysis
limit_down_analysis 跌停分析 TdxSharePCCW.tdxf10_gg_jyds dtfx limit_down_analysis

选择规则

  • 用户要“大宗交易意向申报”时,选 block_trade_intention
  • 用户要“融资融券”时,选 margin_trading
  • 用户要“转融券”时,选 refinancing
  • 用户要“资金流向”时,选 capital_flow
  • 用户要“涨停分析”时,选 limit_up_analysis
  • 用户要“跌停分析”时,选 limit_down_analysis

调用方式

推荐写法:依赖自动推导

tdx_api_data entry="TdxSharePCCW.tdxf10_gg_iyds" code="000001" fixedTag="yxsbxx"
tdx_api_data entry="TdxSharePCCW.tdxf10_gg_jyds" code="000001" fixedTag="rzrq"
tdx_api_data entry="TdxSharePCCW.tdxf10_gg_jyds" code="000001" fixedTag="zjlx"

结果处理

  • 优先读取 response.transformed.tables
  • block_trade_intention 看申报信息和时间
  • margin_tradingrefinancing 看融资融券余额、变动和相关指标
  • capital_flow 看主力/大单/中单/小单资金方向
  • limit_up_analysislimit_down_analysis 看封板原因、强度和持续性
  • 如果用户要求原始字段,再补充 response.data

输出要求

  • 先说明查询对象、查询类型和调用参数
  • 再总结资金方向、交易特征或涨跌停成因
  • 最后补充明细表、空结果或接口异常说明

⚠️ 数据权限说明(v3 实测)

基础 Token 下本技能的主数据可用;以下子数据可能返回 401 需登录E|-7202 未注册,需向通达信申请更高权限。遇到这些错误时请优雅降级:跳过受限子表,用已获取的数据继续分析,并向用户说明哪部分数据暂不可用、可联系通达信开通。

  • 🔴 异动信息 tdxf10_gg_iyds/yxsbxx:未注册 (E|-7202)
  • ✅ 可用:龙虎榜 tdxf10_gg_jyds 多数子表(ztfx/dzjy/zjlx

Read the full file on GitHub · 79 lines

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. 12d ago First seen · 79 lines · 36 tokens per session scan A c615357795dd

Subscribe to this mod's changes

查询个股交易相关数据 is a skill published in the GitHub repository adambbhe/TDX-finance-mcp-plugin-v3 (35 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 1,090 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

hithink-finance

A routing guide for accessing Chinese A-share financial data, including prices, company reports, valuations, funds, indices, sectors, and local data storage.

HiThink-Tech/Financial-API · 93 tokens

hithink-finance-fund

A command-line guide for querying fund information, including profiles, managers, holdings, prices, returns, financial data, news, and exchange-traded fund snapshots. A command-line tool is a program controlled by typed terminal commands.

HiThink-Tech/Financial-API · 96 tokens

hithink-finance-data

A local data-management skill for the HiThink Finance command-line tool and its DuckDB database. DuckDB is a database stored in a local file.

HiThink-Tech/Financial-API · 60 tokens

hithink-finance-market

A command-line tool entry for retrieving ordinary Chinese A-share market data, including snapshots, historical price bars, trading calendars, adjustment factors, and company actions.

HiThink-Tech/Financial-API · 89 tokens

hithink-finance-special-data

A command-line tool entry for retrieving special Chinese market lists and event data, such as limit-up stocks, limit-down stocks, unusual moves, hot stocks, and Dragon-Tiger records.

HiThink-Tech/Financial-API · 82 tokens

hithink-finance-futures

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.

HiThink-Tech/Financial-API · 78 tokens