메뉴
HN
Hacker News • 18일 전

TradingAgents: 멀티 에이전트 LLM 금융 트레이딩 프레임워크

IMP
7/10
핵심 요약

TradingAgents는 실제 트레이딩 회사의 역할 구조를 모방한 오픈소스 멀티 에이전트 LLM 트레이딩 프레임워크입니다. 펀더멘털·감성·뉴스·기술 분석가 에이전트부터 트레이더, 리스크 관리팀까지 전문화된 LLM 에이전트들이 협력하고 동적 토론을 통해 최적의 매매 전략을 도출합니다. GPT-5.x, Gemini, Claude 등 다양한 모델을 지원하며 연구 목적으로 설계되었습니다.

번역된 본문

TradingAgents: 멀티 에이전트 LLM 금융 트레이딩 프레임워크

뉴스

[2026-08] TradingAgents v0.4.0 출시 — FRED 거시경제 데이터, 소셜 감성 분석, 의사결정 로그 메모리 전반에 걸친 룩어헤드(look-ahead)/시점 일관성(point-in-time) 문제 수정, 더 명확한 의사결정 신호, 정상 작동하는 CLI 체크포인트 재개 기능, 트레이더 가격 그라운딩, GPT-5.6 및 GLM-5.3 모델 지원. 전체 목록은 CHANGELOG.md 참고.

[2026-07] TradingAgents v0.3.1 출시 — 정확성 및 안정성 수정: Alpha Vantage 룩어헤드 필터링, 그래프 라우터 크래시 안전성, 그래프 구조 인식 체크포인트 재개, 작동하는 암호화폐 감성 데이터 소스, 설정 가능한 LLM 재시도 예산, Bedrock API 키 인증, Claude Sonnet 5 / Fable 5 지원.

[2026-06] TradingAgents v0.3.0 출시 — 검증된 데이터 접근 계약, 확장된 프로바이더 레지스트리(NVIDIA, Kimi, Groq, Mistral, Bedrock 및 모든 OpenAI 호환 엔드포인트), FRED 및 Polymarket 데이터 벤더, 최신 세대 모델 카탈로그, CI 게이트 추가.

[2026-05] TradingAgents v0.2.5 출시 — 그라운딩된 감성 분석가, GPT-5.5 등 모델 커버리지, Qwen/GLM/MiniMax 듀얼 리전 지원, TRADINGAGENTS_* 환경변수 설정 및 API 키 자동 감지, 원격 Ollama 지원, 미국 외 알파 벤치마크, 티커 경로 탐색(path-traversal) 보강.

[2026-04] TradingAgents v0.2.4 출시 — 구조화된 출력 에이전트(리서치 매니저, 트레이더, 포트폴리오 매니저), LangGraph 체크포인트 재개, 영구 의사결정 로그, DeepSeek/Qwen/GLM/Azure 프로바이더 지원, Docker, Windows UTF-8 인코딩 수정.

[2026-03] TradingAgents v0.2.3 출시 — 다국어 지원, GPT-5.4 계열 모델, 통합 모델 카탈로그, 백테스팅 날짜 충실도, 프록시 지원.

[2026-03] TradingAgents v0.2.2 출시 — GPT-5.4/Gemini 3.1/Claude 4.6 모델 커버리지, 5단계 평가 척도, OpenAI Responses API, Anthropic effort 제어, 크로스 플랫폼 안정성.

[2026-02] TradingAgents v0.2.0 출시 — 멀티 프로바이더 LLM 지원(GPT-5.x, Gemini 3.x, Claude 4.x, Grok 4.x) 및 개선된 시스템 아키텍처.

[2026-01] Trading-R1 기술 보고서 공개, Terminal 출시 예정.

🚀 TradingAgents | ⚡ 설치 및 CLI | 🎬 데모 | 📦 패키지 사용법 | 🤝 기여하기 | 📄 인용

🎉 TradingAgents 정식 출시! 많은 문의를 받았으며 커뮤니티의 뜨거운 관심에 감사드립니다. 이에 프레임워크를 완전히 오픈소스로 공개하기로 결정했습니다. 여러분과 함께 의미 있는 프로젝트를 만들어가기를 기대합니다!

TradingAgents 프레임워크

TradingAgents는 실제 트레이딩 회사의 역학을 그대로 반영한 멀티 에이전트 트레이딩 프레임워크입니다. 펀더멘털 애널리스트, 감성 전문가, 기술적 분석가부터 트레이더, 리스크 관리팀까지 전문화된 LLM 기반 에이전트를 배치하여 플랫폼 전체가 협력적으로 시장 상황을 평가하고 트레이딩 의사결정을 지원합니다. 또한 이들 에이전트는 동적 토론을 통해 최적의 전략을 도출합니다.

TradingAgents 프레임워크는 연구 목적으로 설계되었습니다. 트레이딩 성과는 선택한 백본 언어 모델, 모델 온도, 트레이딩 기간, 데이터 품질 및 기타 비결정적 요인을 포함한 여러 변수에 따라 달라질 수 있습니다. 금융, 투자 또는 트레이딩 조언으로 활용할 수 없습니다.

이 프레임워크는 복잡한 트레이딩 작업을 전문화된 역할로 분해합니다.

애널리스트 팀

  • 펀더멘털 애널리스트: 기업 재무 상태와 성과 지표를 평가하여 내재 가치와 잠재적 위험 신호(red flag)를 식별합니다.
  • 감성 애널리스트: 뉴스 헤드라인, StockTwits, Reddit 논의를 종합한 단일 감성 판독으로 단기 시장 분위기를 측정합니다.
  • 뉴스 애널리스트: 글로벌 뉴스와 거시경제 지표를 모니터링하며 사건이 시장 상황에 미치는 영향을 해석합니다.
  • 기술적 애널리스트: MACD, RSI 같은 기술적 지표를 활용해 트레이딩 패턴을 감지하고 가격 움직임을 예측합니다.

리서처 팀 애널리스트 팀의 인사이트를 비판적으로 평가하는 강세(bullish) 및 약세(bearish) 리서처로 구성됩니다.

원문 보기
원문 보기 (영어)
Deutsch | Español | français | 日本語 | 한국어 | Português | Русский | 中文 TradingAgents: Multi-Agents LLM Financial Trading Framework News [2026-08] TradingAgents v0.4.0 released with look-ahead / point-in-time fixes across FRED macro, social sentiment, and the decision-log memory; clearer decision signals; working CLI checkpoint resume; Trader price grounding; and the GPT-5.6 and GLM-5.3 models. See CHANGELOG.md for the full list. [2026-07] TradingAgents v0.3.1 released with correctness and stability fixes: Alpha Vantage look-ahead filtering, graph-router crash-safety, graph-shape-aware checkpoint resume, working crypto sentiment sources, a configurable LLM retry budget, Bedrock API-key auth, and Claude Sonnet 5 / Fable 5 support. [2026-06] TradingAgents v0.3.0 released with a verified data-access contract, an expanded provider registry (NVIDIA, Kimi, Groq, Mistral, Bedrock, and any OpenAI-compatible endpoint), FRED and Polymarket data vendors, a current-generation model catalog, and a CI gate. [2026-05] TradingAgents v0.2.5 released with the grounded Sentiment Analyst, GPT-5.5 etc. model coverage, Qwen/GLM/MiniMax dual-region support, TRADINGAGENTS_* env-var configurability with API-key auto-detection, remote Ollama support, non-US alpha benchmarks, and ticker path-traversal hardening. [2026-04] TradingAgents v0.2.4 released with structured-output agents (Research Manager, Trader, Portfolio Manager), LangGraph checkpoint resume, persistent decision log, DeepSeek/Qwen/GLM/Azure provider support, Docker, and a Windows UTF-8 encoding fix. [2026-03] TradingAgents v0.2.3 released with multi-language support, GPT-5.4 family models, unified model catalog, backtesting date fidelity, and proxy support. [2026-03] TradingAgents v0.2.2 released with GPT-5.4/Gemini 3.1/Claude 4.6 model coverage, five-tier rating scale, OpenAI Responses API, Anthropic effort control, and cross-platform stability. [2026-02] TradingAgents v0.2.0 released with multi-provider LLM support (GPT-5.x, Gemini 3.x, Claude 4.x, Grok 4.x) and improved system architecture. [2026-01] Trading-R1 Technical Report released, with Terminal expected to land soon. 🚀 TradingAgents | ⚡ Installation & CLI | 🎬 Demo | 📦 Package Usage | 🤝 Contributing | 📄 Citation 🎉 TradingAgents officially released! We have received numerous inquiries about the work, and we would like to express our thanks for the enthusiasm in our community. So we decided to fully open-source the framework. Looking forward to building impactful projects with you! TradingAgents Framework TradingAgents is a multi-agent trading framework that mirrors the dynamics of real-world trading firms. By deploying specialized LLM-powered agents: from fundamental analysts, sentiment experts, and technical analysts, to trader, risk management team, the platform collaboratively evaluates market conditions and informs trading decisions. Moreover, these agents engage in dynamic discussions to pinpoint the optimal strategy. TradingAgents framework is designed for research purposes. Trading performance may vary based on many factors, including the chosen backbone language models, model temperature, trading periods, the quality of data, and other non-deterministic factors. It is not intended as financial, investment, or trading advice. Our framework decomposes complex trading tasks into specialized roles. Analyst Team Fundamentals Analyst: Evaluates company financials and performance metrics, identifying intrinsic values and potential red flags. Sentiment Analyst: Aggregates news headlines, StockTwits, and Reddit chatter into a single sentiment read to gauge short-term market mood. News Analyst: Monitors global news and macroeconomic indicators, interpreting the impact of events on market conditions. Technical Analyst: Utilizes technical indicators (like MACD and RSI) to detect trading patterns and forecast price movements. Researcher Team Comprises both bullish and bearish researchers who critically assess the insights provided by the Analyst Team. Through structured debates, they balance potential gains against inherent risks. Trader Agent Composes reports from the analysts and researchers to make informed trading decisions, determining the timing and magnitude of trades. Risk Management and Portfolio Manager Continuously evaluates portfolio risk by assessing market volatility, liquidity, and other risk factors. The risk management team evaluates and adjusts trading strategies, providing assessment reports to the Portfolio Manager for final decision. The Portfolio Manager approves/rejects the transaction proposal. If approved, the order will be sent to the simulated exchange and executed. Installation and CLI Installation Clone TradingAgents: git clone https://github.com/TauricResearch/TradingAgents.git cd TradingAgents Create a virtual environment in any of your favorite environment managers: conda create -n tradingagents python=3.12 conda activate tradingagents Install the package and its dependencies: pip install . Docker Alternatively, run with Docker: cp .env.example .env # add your API keys docker compose run --rm tradingagents For local models with Ollama: docker compose --profile ollama run --rm tradingagents-ollama Required APIs TradingAgents supports multiple LLM providers. Set the API key for your chosen provider: export OPENAI_API_KEY=... # OpenAI (GPT) export GOOGLE_API_KEY=... # Google (Gemini) export ANTHROPIC_API_KEY=... # Anthropic (Claude) export XAI_API_KEY=... # xAI (Grok) export DEEPSEEK_API_KEY=... # DeepSeek export DASHSCOPE_API_KEY=... # Qwen — International (dashscope-intl.aliyuncs.com) export DASHSCOPE_CN_API_KEY=... # Qwen — China (dashscope.aliyuncs.com) export ZHIPU_API_KEY=... # GLM via Z.AI (international) export ZHIPU_CN_API_KEY=... # GLM via BigModel (China, open.bigmodel.cn) export MINIMAX_API_KEY=... # MiniMax — Global (api.minimax.io) export MINIMAX_CN_API_KEY=... # MiniMax — China (api.minimaxi.com) export OPENROUTER_API_KEY=... # OpenRouter export ALPHA_VANTAGE_API_KEY=... # Alpha Vantage For Azure OpenAI, copy .env.enterprise.example to .env.enterprise and fill in your credentials. For AWS Bedrock, install the extra with pip install ".[bedrock]" , set llm_provider: "bedrock" , configure AWS credentials (environment variables, ~/.aws/credentials , or an IAM role) and AWS_DEFAULT_REGION , and use a Bedrock model ID, e.g. us.anthropic.claude-opus-4-8-v1:0 . For local models, configure Ollama with llm_provider: "ollama" . The default endpoint is http://localhost:11434/v1 ; set OLLAMA_BASE_URL to point at a remote ollama-serve . Pull models with ollama pull <name> , and pick "Custom model ID" in the CLI for any model not listed by default. For any other OpenAI-compatible server (vLLM, LM Studio, llama.cpp, or a custom relay), use llm_provider: "openai_compatible" and set the endpoint via backend_url (or TRADINGAGENTS_LLM_BACKEND_URL ), e.g. http://localhost:8000/v1 for vLLM or http://localhost:1234/v1 for LM Studio. The model is whatever your server serves. No key is needed for local servers; set OPENAI_COMPATIBLE_API_KEY when the endpoint requires one. Alternatively, copy .env.example to .env and fill in your keys: cp .env.example .env CLI Usage Launch the interactive CLI: tradingagents # installed command python -m cli.main # alternative: run directly from source You will see a screen where you can select your desired tickers, analysis date, LLM provider, research depth, and more. Markets and tickers TradingAgents works with any market Yahoo Finance covers, using the exchange-suffixed ticker. Company identity and the alpha benchmark resolve automatically per market. US: AAPL , SPY Hong Kong: 0700.HK · Tokyo: 7203.T · London: AZN.L India: RELIANCE.NS , .BO · Canada: .TO · Australia: .AX China A-shares: Shanghai .SS , Shenzhen .SZ (e.g. 600519.SS for Kweichow Moutai) Crypto: BTC-USD , ETH-USD An interface will appear showing results as they load, letting you track the agent's progress as it runs. TradingAgents Package I