ClaudeMap

FQGate (tonghuasun-agent)

A local A-share quotes/quant/trading plugin for Claude Code, Codex and other agents via the FQGate gateway — unofficial, data from 同花顺.

Plugins & Agentspluginfinancea-sharequotestradingchinese

FQGate (formerly the tonghuasun-agent plugin; the repos keep the old name) is a free, open-source local gateway + AI-plugin pair: agents can query realtime A-share quotes, intraday and K-line history, Level-2 tick data, news and filings, security reference data, account assets, positions and orders — and execute trades only after explicit user confirmation. Adapter plugins install into Codex, Claude Code, WorkBuddy, ZCode, OpenClaw, DeepSeek Harness, 豆包 and Qwen from one rule source. Explicitly unofficial: no authorization, partnership or endorsement from 同花顺 (Hithink) — the data and permissions you see follow your own account.

What it does

  • Market data via the local FQGate gateway: realtime quotes, intraday, K-line, Level-2 ticks, news and announcements, and security reference data
  • Account visibility — assets, positions, orders, fills — read through the same local connection
  • Trade execution is gated on explicit user confirmation; the plugin adds no permissions beyond what your account already has
  • One rule source installs adapters into Codex, Claude Code, WorkBuddy, ZCode, OpenClaw, DeepSeek Harness, 豆包 and Qwen; GitHub mirror plus a Gitee primary repo for mainland access

When to use it

For Chinese A-share users who want their coding agent to watch quotes, pull historical data for analysis, or prep orders in the terminal they already work in — with manual sign-off before anything executes.

Getting started

# paste to your AI assistant (installs FQGate + the plugin, then checks the connection):
安装并配置同花顺免费开源AI插件FQGate:https://gitee.com/qicuo/tonghuasun-agent.git

# FQGate binaries: github.com/zhuyifang/fqgate-releases — verify file size and SHA-256 before running
# current plugin 0.3.0 is compatible with FQGate 0.1.x

Things to know

Independent project with no relation to 同花顺 — data and functionality follow your own account's permissions. The AI-plugin code is open source, but the FQGate gateway itself ships as a compiled package under its own license. Trading is real money: the confirmation gate exists for a reason — keep it that way.

Repository

zhuyifang/tonghuasun-agent

Charted

Related on the map

  • CometixCode

    Plugin / Agent

    An unofficial Rust 1:1 reimplementation of the Claude Code terminal UI, ported file-for-file onto an iocraft TUI framework.

    • terminal-ui
    • rust
    • reimplementation
    • unofficial
  • Abide

    Plugin / Agent

    Hook-level enforcement for the natural-language rules in AGENTS.md and CLAUDE.md — every edit is judged and violations are repaired in the same turn.

    • hooks
    • code-review
    • rules
    • agents-md
  • fast-jev-compaction

    Plugin / Agent

    A Claude Code plugin that replaces the lossy compaction summary with Jev-scored pruning: stale tool calls are dropped, and everything kept stays verbatim.

    • plugin
    • context-management
    • compaction
    • function-hooks