AI news and explainers at 7 AM weekdays, plus a Sunday weekly at 8Get it in your inbox

METAL LAB

TauricResearch/TradingAgents

99,943+191 todayPython

A framework where multiple LLM agents split into analyst, researcher, trader and risk-management roles, debate, and decide stock trades

TradingAgents mimics the structure of a real trading firm, using LLM-powered agents for fundamentals, sentiment, news and technical analysis, bullish/bearish researchers who debate, a trader who synthesizes their reports, and risk-management plus portfolio-manager agents who approve final trades. It's built with LangGraph to wire the agents' workflow together and supports many LLM providers including OpenAI, Google, Anthropic, xAI, DeepSeek, Qwen, GLM, MiniMax, Ollama for local models, and Azure. It works on any ticker covered by Yahoo Finance across markets like the US, Hong Kong, Tokyo, London, India, China A-shares and crypto, and it logs past decisions to inform future runs plus supports checkpoint resume for interrupted sessions.

What it does

  1. Analyst team (fundamentals, sentiment, news, technical indicators), researcher team (bull vs bear debate), trader agent, and risk-management/portfolio-manager agents collaborate in sequence
  2. Built with LangGraph to structure the agent workflow as a graph, and designed to swap between many different LLM provider APIs
  3. Completed trading decisions are logged locally and reused as reflection material when analyzing the same ticker again later
  4. The README explicitly notes that running the same ticker and date twice can produce different results due to LLM sampling randomness and live news/social data changing over time
  5. Positioned explicitly as a research tool, not a strategy guaranteeing any fixed, replicable return

Why it matters

It offers a concrete, runnable example of AI agents with different perspectives (finance, news, technicals, risk) debating to reach a decision, which is useful reference material for anyone designing multi-agent LLM systems or researching automated financial analysis.

Terms in this repo

  • LLM · Large language model, an AI model that understands and generates text
  • LangGraph · A framework for structuring multiple AI agents' workflow as a graph
  • Checkpoint resume · Saving intermediate state so an interrupted run can continue instead of restarting
  • MACD, RSI · Common technical indicators used to analyze price trends
  • Alpha · Financial term for return in excess of a market benchmark such as SPY

Repository description (English)

TradingAgents: Multi-Agents LLM Financial Trading Framework

Open on GitHub

Trending repos

All repos →

Latest from METAL LAB