whatisgithub

What is tradingagents-astock?

simonlin1212/tradingagents-astock — explained in plain English

Analysis updated 2026-05-18

312PythonAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A multi agent AI framework that analyzes Chinese A-share stocks using seven specialist agents and a bull versus bear debate.

Mindmap

mindmap
  root((repo))
    What it does
      Multi agent stock analysis
      A-share market focus
      Buy Hold Sell output
    Tech stack
      Python
      CLI
      Web interface
    Use cases
      Get stock recommendation
      Research market rules
      Run without coding
    Audience
      Traders
      Developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Get a structured Buy, Hold, or Sell recommendation for an A-share stock

USE CASE 2

Research how daily price limits and the T+1 rule affect a specific stock

USE CASE 3

Run analyses through a web interface without writing any code

What is it built with?

Python

How does it compare?

simonlin1212/tradingagents-astockgair-nlp/livetalksnazzybean/roommind
Stars312310316
LanguagePythonPythonPython
Setup difficultymoderatehardmoderate
Complexity3/55/53/5
Audiencedeveloperresearchergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Uses free Chinese financial data sources with no API keys required.

So what is it?

TradingAgents-Astock is a Python framework that uses multiple AI agents working together to analyze stocks listed on China's A-share market, a fork of an existing multi-agent trading research tool that was originally designed for US stocks. The problem it addresses is that Chinese A-share markets have unique rules, data sources, and market dynamics (such as daily price limits, a T+1 rule where you can't sell on the same day you buy, and the influence of hot-money traders and government policy) that US-focused tools don't account for. The framework works by running seven specialized AI analyst agents in sequence, each examining a different angle: market technicals, social sentiment, news, company fundamentals, government policy, hot-money flow, and share lockup expiry events. Their reports feed into a bull-versus-bear debate between two researcher agents, followed by a risk assessment from three perspectives (aggressive, conservative, neutral), and finally a portfolio manager agent that outputs a Buy/Hold/Sell recommendation. All data comes from free Chinese financial data sources with no API keys required. You would use this if you're researching Chinese A-share stocks and want a structured, AI-driven analysis that understands local market rules rather than generic stock-market logic. It includes both a command-line interface and a web-based interface for running analyses without writing code. Reports are output in Chinese by default.

Copy-paste prompts

Prompt 1
Help me run TradingAgents-Astock on a specific A-share ticker using the command line interface
Prompt 2
Explain how the bull versus bear researcher debate feeds into the final recommendation
Prompt 3
Show me how the seven analyst agents divide up market technicals, sentiment, and policy analysis
Prompt 4
Walk me through using the web interface instead of the command line

Frequently asked questions

What is tradingagents-astock?

A multi agent AI framework that analyzes Chinese A-share stocks using seven specialist agents and a bull versus bear debate.

What language is tradingagents-astock written in?

Mainly Python. The stack also includes Python.

How hard is tradingagents-astock to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tradingagents-astock for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.