Orchestrates seven AI analysts, debate, and risk review for China A-share stocks using free local market data. Offers a Streamlit web UI and CLI for research and teaching, not investment advice.
Overview
TradingAgents-Astock is a specialized fork of the TradingAgents multi-agent research stack, tuned for Shanghai and Shenzhen listings instead of US markets. It wires seven analyst roles—including policy, hot-money flow, and share-unlock monitors—into bull/bear debate and three-way risk discussion, with reports aimed at Chinese readers while internal reasoning can stay in English.
Market data comes from free China-facing sources such as mootdx, East Money, Sina Finance, and Tonghuashun, without paid APIs like Tushare points or Yahoo Finance for A-shares. Trading constraints reflect A-share rules: T+1 settlement, price limits, lot sizes, and related safeguards. Outputs include Buy, Hold, or Sell-style signals, per-analyst writeups, debate transcripts, and optional Markdown or PDF exports.
A dual-LLM layout uses faster models for analysts and researchers and deeper models for research and portfolio managers. You configure providers via environment keys or an optional Claude Agent SDK path that can draw on a personal Claude subscription instead of metered API billing. A built-in Streamlit UI lets you pick models, enter a six-digit code, and watch a multi-stage pipeline progress.
Compared with upstream TradingAgents, this variant replaces US data feeds and four generic analyst roles with A-share data plumbing and seven roles grounded in local market structure. Optional Docker can host the web UI; local installs can run without containers. The authors position it as research and education tooling and disclaim investment advisory use.
Key features
- Seven A-share-tuned analyst roles
- Free China market data without API keys
- Bull-bear and risk debate pipeline
- Streamlit UI with live stage progress
- Multiple LLM provider switches
- Decision logging and direction accuracy stats
- Markdown and PDF report export
- Optional Docker web deployment
Use cases
- A-share stock research experiments
- Teaching multi-agent finance workflows
- Comparing LLM providers on equity analysis
- Exploring China-specific market factors
- Tracking past signal quality per ticker