Repository iconcurepo.dev
Blog
TradingAgents preview

TauricResearch / TradingAgents

agentfinancellmmultiagent

TradingAgents: Multi-Agents LLM Financial Trading Framework

123.6k Stars
visibility926 Watchers
fork_right23.7k Forks
Python
historyUpdated recently

description README.md

Tauric Research

arXiv X GitHub YouTube Website

TradingAgents #1 Repository of the Day

English | Deutsch | Español | français | 日本語 | 한국어 | Português | Русский | 中文

TradingAgents: Towards Agentic Finance Research

TradingAgents researching a question in the terminal

Quick start

1. Get an API key

2. Install

curl -fsSL https://tauric.ai/tradingagents/install.sh | sh

Or with npm: npm i -g @tauric/tradingagents

3. Run

tradingagents

Start your agentic finance research with Tauric!

Models

ProviderNeeds
Tauric AITauric API key
OpenAI, Anthropic, Google, DeepSeek, OpenRoutertheir API key
Self-hosted models (vLLM, Ollama)its address and model
AI subscriptions (ChatGPT)tradingagents login chatgpt

With another provider, /login adds a Tauric API key for filings, statements and news. See docs/models.md.

Usage

Type a question and press Enter. Every figure in the answer is marked with its source, and a numbered list of sources follows.

CommandDoes
/Open the commands
/modelChoose the model and how hard it reasons
/resumeResume an earlier session
/exportSave the last answer as a PDF report, or the session as Markdown
/copyCopy the last answer
/helpList every command and key

Shift+Tab switches to plan mode, where the agent proposes a research plan first.

Architecture

What TradingAgents can call on: the main agent's tools, its data and compute tools, its agents and its skills

Agents and skills

The main agent plans the research, reads what the question needs with its data tools, and works the numbers with its compute tools. For depth, it briefs specialist agents, each in its own context:

AgentCovers
Equity Researcha company's statements, filings, estimates, valuation, ownership and news
Macro Strategygrowth, inflation, rates and the yield curve, credit, sectors, cross-asset moves
Quant Researchreturns, volatility, drawdowns, correlation and beta, technical indicators
Risk Analysiswhat could make a position lose, and what would show it early

For a known kind of research it follows a skill:

AreaSkills
Companiescompany snapshot, earnings preview and review, filing review, full analysis
ValuationDCF, relative valuation, scenario analysis
Marketsmacro outlook, market brief, performance comparison, sector review, technical analysis
Riskportfolio review, risk assessment, thesis review

You can add your own agents and skills as Markdown files (docs/usage.md). TradingAgents researches and answers; it does not place trades.

Documentation

  • Install: the installer, npm, release files and updates.
  • Usage: the terminal, one-off questions, sessions, agents and skills, sources, sync and limits.
  • Models: providers, keys, reasoning and OpenAI-compatible servers.
  • Configuration: files and environment variables.

To report an issue or open a pull request, see CONTRIBUTING.md; to report a security problem, SECURITY.md.

Citation

@article{xiao2024tradingagents,
  title={TradingAgents: Multi-agents LLM financial trading framework},
  author={Xiao, Yijia and Sun, Edward and Luo, Di and Wang, Wei},
  journal={arXiv preprint arXiv:2412.20138},
  year={2024}
}

License

Apache-2.0. See LICENSE.