DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

matrevi /

matrevi/awesome-tdx-finance-toolbox

仅 Topic 仓库

TongDaXin (TDX) market data and research skills for Chinese A-shares, available through MCP and plugins for conventional Agents.

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@53444f4f

TDX Finance Toolbox

English · 简体中文 · Quick start

MIT license Project version 1.0.0 8 MCP tools 48 research skills

TongDaXin data for AI-assisted A-share research

Look up a quote, read a company's cash flow statement or follow a stock through the trading day in Codex, Claude Code, DeepSeek Harness or Antigravity CLI. The tools fetch market data, and the skills guide your assistant through each research question.

List the first three indices in the TDX broad-market group (宽基规模). Include their exchange codes.

The assistant can answer this one offline. The first lines returned by tdx_index_list with {"group":"宽基规模"} are shown below.

主要指数清单: 50/100 个(分组: 宽基规模)
999999.SH 上证指数 [宽基规模]
399001.SZ 深证成指 [宽基规模]
399330.SZ 深证100 [宽基规模]

Quick start

To build the plugins from source, use Node.js 22.16 or newer.

git clone https://github.com/matrevi/awesome-tdx-finance-toolbox.git
cd awesome-tdx-finance-toolbox
npm ci
npm run build

Already have an archive containing dist/? Start in the extracted directory. Choose your host below and run its commands there. Keep local marketplace directories in place after installation.

Codex
codex plugin marketplace add ./dist/codex
codex plugin add awesome-tdx-finance-toolbox@tdx-toolbox
Claude Code
claude plugin marketplace add ./dist/claude-code
claude plugin install awesome-tdx-finance-toolbox@tdx-toolbox
DeepSeek Harness (DSH)
dsh plugin --profile web add "$PWD/dist/dsh-tdx-finance-toolbox-1.0.0.tgz"

For a headless session, use --profile headless.

Antigravity CLI
agy plugin install ./dist/antigravity/plugins/awesome-tdx-finance-toolbox
OpenClaw

Install the project's Node dependencies with npm ci, then link the checkout.

openclaw plugins install . --link
openclaw plugins inspect tdx-finance-mcp
Other MCP clients or a single skill

For a client with an mcpServers configuration, install dependencies with npm ci in the checkout, then point the client at the stdio entry. Replace the path with your absolute path. On Windows you can use forward slashes, for example C:/projects/awesome-tdx-finance-toolbox/mcp-stdio.mjs.

{
  "mcpServers": {
    "tdx-finance-mcp": {
      "command": "node",
      "args": ["/absolute/path/to/awesome-tdx-finance-toolbox/mcp-stdio.mjs"]
    }
  }
}

For a standalone installation, run npm install --global ./dist/tdx-tdx-finance-mcp-1.0.0.tgz and configure the client to launch tdx-finance-mcp. To add an individual skill, copy its entire folder from dist/skills/ into your host's skills directory. Skills that query TDX also need the MCP server connected.

Check the connection. Open a new session and try the index question above. The tool should report 50 matches from the 100-index catalog, and the assistant can show the first three. No TDX token is needed for this check. Host verification guide

Research skills

Ask your assistant Skill
“What is Ping An Bank's main business? Its Shenzhen stock code is 000001.” Company profile
“Show me the latest available cash flow statement for Kweichow Moutai (600519).” Financial statements
“Using five-minute bars, how did volume change during today's session for 601600?” Intraday tracking
See the F10 tool call behind the company profile

The company profile skill requests the business overview through tdx_api_data. The stock code is a string to preserve its leading zeros.

{"entry":"TdxSharePCCW.tdxf10_gg_zxts","code":"000001","fixedTag":"gsgy"}

The catalog includes Chinese trigger phrases, tool dependencies and workflows for all 48 skills. Scripted strategies such as OBV/MA and first-to-second limit-up screening have additional Python requirements. Their local TQ modes also need a running Windows TDX terminal. Browse the skill catalog

Tool reference

Tool What you can look up
tdx_lookup_stock Securities and market codes matching a name or alias
tdx_quotes Quote snapshots, price changes and five levels of order-book depth
tdx_kline Historical OHLC bars, with period and price-adjustment options
tdx_api_data F10 company profiles, financials, shareholders, dividends and trading activity
tdx_screener Securities matching a natural-language screen
tdx_indicator_select Financial indicators matching a query
tdx_index_list Offline · 100 major indices, filterable by group
tdx_industry_list Offline · 503 industry groups across three levels

The two offline tools use bundled snapshots. The other six query TDX over the network. Try a live query anonymously first. If a route requires a credential, set TDX_API_TOKEN in the stdio server's environment (TDX_API_KEY is the fallback). OpenClaw reads the plugin setting tdxApiToken or the environment variable TDX_API_KEY. API and data dictionary · F10 route catalog

Development

After npm ci, run the offline checks from the repository root.

npm run check
npm test
npm run build
npm run test:packages

The package tests start the server from installed artifacts. For live upstream checks, node tests/run-tests.mjs contacts TDX and writes reports under tests/. Test guide · Architecture · Contributor guide

The toolbox starts at 1.0.0. If you have a legacy 3.x installation, explicitly install the 1.0.0 artifact for your host. The MCP service ID remains tdx-finance-mcp. Versioning and migration · Changelog · MIT license

—/ 5

暂无评分

需要先验证清单

Commit 53444f4f8908

社区评论

还没有评论,来写第一条。

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于