惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy International News Feed
WordPress大学
WordPress大学
Security Latest
Security Latest
Cyberwarzone
Cyberwarzone
K
Kaspersky official blog
Cisco Talos Blog
Cisco Talos Blog
Microsoft Security Blog
Microsoft Security Blog
G
GRAHAM CLULEY
N
News | PayPal Newsroom
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
美团技术团队
J
Java Code Geeks
I
Intezer
The Cloudflare Blog
SecWiki News
SecWiki News
S
Secure Thoughts
Microsoft Azure Blog
Microsoft Azure Blog
V2EX - 技术
V2EX - 技术
C
Cyber Attacks, Cyber Crime and Cyber Security
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Spread Privacy
Spread Privacy
D
DataBreaches.Net
S
Security Affairs
Help Net Security
Help Net Security
S
Securelist
F
Full Disclosure
C
Check Point Blog
F
Fortinet All Blogs
Know Your Adversary
Know Your Adversary
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
阮一峰的网络日志
阮一峰的网络日志
The Register - Security
The Register - Security
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
人人都是产品经理
人人都是产品经理
博客园_首页
G
Google Developers Blog
Google Online Security Blog
Google Online Security Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
Application and Cybersecurity Blog
Application and Cybersecurity Blog
H
Hacker News: Front Page
L
LINUX DO - 热门话题
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LangChain Blog

DigitalOcean Resources

AI Security: 10 Top Risks and Best Practices in 2026 | DigitalOcean 10 Leading AI Cloud Providers for Developers in 2026 | DigitalOcean 10 Top AI Infrastructure Companies Scaling ML in 2026 | DigitalOcean Inference-as-a-Service Explained for Developers | DigitalOcean DigitalOcean vs Heroku: Comparing Cloud Application Platforms | DigitalOcean 10 Alibaba Cloud Alternatives for Businesses in 2026 | DigitalOcean What Is LlamaIndex? A Guide to Building Context-Aware AI | DigitalOcean 10 Platform-as-a-Service Providers for App Dev in 2026 | DigitalOcean 10 Top Cloud Service Providers for Business Infrastructure in 2026 | DigitalOcean What Is AI Inference? The Process Behind Every AI Output | DigitalOcean 15 AI Animation Video Generators for Content Creation in 2026 | DigitalOcean 7 OpenClaw Security Challenges to Watch for in 2026 | DigitalOcean AI Inference vs Training: Key Differences Explained | DigitalOcean 10 Fly.io Alternatives for Global App Deployment in 2026 | DigitalOcean What are OpenClaw Skills? A 2026 Developer’s Guide | DigitalOcean 9 IBM Cloud Alternatives for Enterprise Computing in 2026 | DigitalOcean What Is NotebookLM? Features and How to Use It in 2026 | DigitalOcean 10 Claude Code Alternatives for AI-Powered Coding in 2026 | DigitalOcean What is Moltbook? The Social Network for AI Agents in 2026 | DigitalOcean 8 AWS RDS Alternatives for Managed Databases in 2026 | DigitalOcean What is OpenClaw? Your Open-Source AI Assistant for 2026 | DigitalOcean 8 Amazon EC2 Alternatives for Cloud Compute in 2026 | DigitalOcean DigitalOcean vs AWS Lightsail: Which Cloud is Right? | DigitalOcean 10 Vercel Alternatives for Deploying Apps in 2026 | DigitalOcean 10 Best Object Storage Solutions for Cloud Data in 2025 | DigitalOcean Edge Computing vs Cloud Computing: Key Differences Explained | DigitalOcean 8 AI Paraphrasers for Content Rewriting in 2026 | DigitalOcean Top 6 Collaborative Replit Alternatives for Teams in 2026 | DigitalOcean 8 Top Research-Focused Perplexity Alternatives for 2026 | DigitalOcean 10 Smart GitHub Copilot Alternatives for Coding in 2026 | DigitalOcean ChatGPT vs Gemini: How AI Assistants Stack Up in 2026 | DigitalOcean 10 Powerful Claude Alternative Assistants in 2026 | DigitalOcean GitHub Copilot vs Cursor : AI Code Editor Review for 2026 | DigitalOcean 10 Creative DALL-E Alternatives for AI Art in 2026 | DigitalOcean 5 Network File Storage Options for Your AI/ML Workloads in 2026 | DigitalOcean 10 Modal Alternatives for ML Deployment in 2025 | DigitalOcean Pros and Cons of Crowdfunding Your Startup 14 Educational AI YouTubers Teaching ML in 2025 | DigitalOcean 7 Smart AI Language Learning Apps for Fluency in 2025 | DigitalOcean Grok vs ChatGPT Review: Features, Use Cases, Pricing | DigitalOcean 10 Best AI Voice Generator Tools for Content in 2025 | DigitalOcean 6 Best AI Search Engines in 2025 | DigitalOcean 10 Cost-Effective Lambda Labs Alternatives in 2025 | DigitalOcean 8 Best AI Notetaking Apps for Meetings in 2025 | DigitalOcean 7 On-Demand Runpod Alternatives for GPU Compute in 2025 | DigitalOcean Claude vs ChatGPT: Which AI Assistant Wins in 2025? | DigitalOcean 10 Best AI Website Builders for No-Code Design in 2025 | DigitalOcean Hugging Face vs Replicate: From Model Discovery to Deployment | DigitalOcean 10 Vast.ai Alternatives for GPU Cloud Computing in 2025 | DigitalOcean 7 CoreWeave Alternatives for Cloud GPU Computing in 2025 | DigitalOcean 7 Platforms for Renting GPUs for Your AI/ML Projects | DigitalOcean 7 Serverless GPU Platforms for Scalable Inference Workloads | DigitalOcean What is Nano Banana (Gemini 2.5 Flash Image)? | DigitalOcean 10 Top LinkedIn Learning AI Courses to Build Skills in 2025 | DigitalOcean 10 AI and Machine Learning Bootcamps to Explore in 2025 | DigitalOcean 10 Major AI Hackathon Events in 2025 Worth Joining | DigitalOcean On-Premise GPU vs Cloud GPU: Which is Better for AI Training? | DigitalOcean 8 Best Managed AI Services for Running AI Models in 2025 | DigitalOcean GPU Options for Finetuning Large Models: Choose the Right Setup | DigitalOcean What Is GPU as a Service? A Guide to Cloud GPUs | DigitalOcean 7 Best Cloud GPU Platforms for AI, ML, and HPC in 2025 | DigitalOcean 5 Best Affordable Cloud GPU Services for Startups in 2025 | DigitalOcean GPU Autoscaling for AI: From Setup to Cost Optimization | DigitalOcean 8 Best AI App Builders to Ship Your Project in 2025 | DigitalOcean Cloud Migration Checklist: Your Pre- and Post-Migration Guide | DigitalOcean What is Data Labeling? Methods, Tools, and Examples | DigitalOcean 11 IT Cost Optimization Strategies for Scalable Savings in 2025 | DigitalOcean What is Lift-and-Shift Migration? Your Fastest Route to the Cloud | DigitalOcean Cloud Migration Assessment: Evaluate Your Readiness | DigitalOcean Complete Cloud Migration Strategy Guide: Planning and Implementation | DigitalOcean Multi-Cloud vs Single-Cloud: Choosing the Right Strategy | DigitalOcean GPT-5 Overview: OpenAI's Most Advanced AI Model Yet | DigitalOcean What is Agentic Commerce? Exploring AI Shopping Agents | DigitalOcean What are Agentic Browsers? Exploring AI-native Web Navigation | DigitalOcean What are Large Action Models? The Next Frontier in AI Decision-Making | DigitalOcean What is CrewAI? A Platform to Build Collaborative AI Agents | DigitalOcean 10 AI Code Review Tools That Find Bugs & Flaws in 2025 | DigitalOcean 10 Best Vibe Coding Tools: LLM-Powered Code Generators to Try | DigitalOcean 10 AI Transcription Tools to Convert Speech to Text in 2025 | DigitalOcean GitHub Copilot vs Microsoft Copilot: Key Differences | DigitalOcean 7 AI Video Editors for Creative Teams and Businesses in 2025 | DigitalOcean What is Serverless Inference? Leverage AI Models Without Managing Servers | DigitalOcean What is Vertex AI? Unpacking Google's ML Platform | DigitalOcean 10 MLOps Platforms to Streamline Your AI Deployment in 2025 | DigitalOcean 10 Generative AI Use Cases Transforming Industries in 2025 | DigitalOcean What Is an AI Task Manager and How Can It Automate Your Workflow? | DigitalOcean 10 Computer Vision Applications for 2025 | DigitalOcean What are AI-Powered Voice Assistants? Beyond Basic Commands | DigitalOcean 10 Midjourney Alternatives to Create AI Art in 2025 | DigitalOcean 8 Stable Diffusion Alternatives for Image Generation in 2025 | DigitalOcean NLP vs NLU: Key Differences and How They Work Together | DigitalOcean 8 Best AI Presentation Maker Tools for Professional Slides in 2025 | DigitalOcean Best AI Chrome Extensions to Supercharge Your Browsing in 2025 | DigitalOcean 10 AI Meeting Tools to Improve Team Collaboration in 2025 | DigitalOcean TPU vs GPU: Choosing the Right Hardware for Your AI Projects | DigitalOcean Machine Learning vs. Natural Language Processing Explained | DigitalOcean VPC vs VPN: Which One Fits Your Secure Networking Needs? | DigitalOcean 7 AI Content Detectors for Identifying Artificially Generated Text | DigitalOcean What is Conversational AI? How Computers Learn to Converse | DigitalOcean 10 Best AI Discord Servers to Join in 2025 | DigitalOcean
Your Guide to the TradingAgents Multi-Agent LLM Framework | DigitalOcean
By Jess LulkaContent Marketing ManagerPublished: June 27, 20258 · 2025-06-28 · via DigitalOcean Resources

The financial sector is transforming, driven by the emergence of large language models (LLMs) and AI agents. These technologies are reshaping how institutions analyze markets, generate insights, and execute trades, with single-agent models analyzing and collecting information to provide financial feedback and advice.

But what if the technology could mimic the behavior of real-life financial institutions? Researchers from the University of California, Los Angeles, and the Massachusetts Institute of Technology were curious enough to pursue this question and create one of the earliest LLMs designed for theoretical financial analysis.

The team developed TradingAgents, a large language model and framework dedicated to simulating real-world trading firms and providing in-depth market analysis. Its research team wanted to see how using a multi-agent structure could improve the use of LLMs and agents within the financial sector and help with forecasting and market simulation.

This article covers the TradingAgents framework, its architecture, and the use of LLMs in the finance sector.

Key takeaways

  • The TradingAgents framework is a multi-agent system leveraging large language models (LLMs) designed for complex tasks like simulating trading or negotiations, by assigning different AI agents specialized roles that collaborate towards a goal.

  • It provides a structured way to combine multiple AI agents—each handling a specific aspect of a problem—so they can communicate and coordinate more effectively than a single model handling all tasks in isolation.

  • This guide explains how to set up and use TradingAgents, showing how multi-agent LLMs can work together to solve multifaceted problems (for instance, in finance or operations) and highlighting the benefits of modular, team-based AI agent approaches.

A look at LLMs in finance

The overall LLM market is expected to reach $31.6 billion by 2030, with a CAGR of 33.2%. This growth means more specialized use cases of LLMs – and the financial sector is no exception. LLMs are being used in the finance sector for both internal process evaluation and market-facing activities such as trading services, advisory services, and capital strategy development.

Models being used in the finance sector include BloombergGPT, FinGPT, TradingGPT, and FinBERT. Across this collection, you can use these LLMs for financial news and analysis, financial report generation, trader behavior emulation, financial sentiment classification, forecasting, and financial information analysis.

LLMs can also be used for personal finance tasks, including overall portfolio analysis, goal setting, debt management, financial literacy education, and information gathering about specific financial products. You can complete these tasks with ChatGPT, Mistral, GPT4All, or any publicly available LLM.

With all the possibilities, there are also concerns around data privacy, data transparency, and security, lack of LLM explainability, cyberattacks, reasoning errors, data bias, AI hallucinations, and environmental impacts of the use of these models within the financial sector and for personal financial planning.

Want to see TradingAgents in action? Our community tutorial covers how to set up TradingAgents on your own GPU Droplet and start running financial simulations.

Read tutorial

What is TradingAgents?

TradingAgents is a multi-agent LLM-driven stock trading framework that emulates a realistic trading firm with specialized agents that collaborate via structured communication and debates.

“Our framework leverages diverse data sources and multi-agent interactions to enhance trading decisions, achieving superior performance in cumulative returns, Sharpe ratio, and risk management compared to traditional strategies,” researchers wrote in their findings in “TradingAgents: Multi-Agents LLM Financial Trading Framework.”

The goal of the framework is to provide a more human-like LLM that can mimic trader behavior and offer more in-depth financial analysis and simulation than previous single-agent LLMs that focused on doing one task well or didn’t account for the more dynamic nature of financial markets. When creating TradingAgents, researchers wanted to address two main problems:

  • Lack of realistic organizational modeling: Previous frameworks were focused on specific task performance and siloed from workflows, which limited their ability to capture the complex interactions between agents and realistically simulate real-world trading firms.

  • Inefficient communication interface: Prior communication between agents relied on message histories or unstructured data pools, which resulted in lost details, missing context, and inability to track information from long conversations.

Researchers decided to tackle these problems with two main components: multi-agent teams that use specialized agents and structured outputs and controls for communication. To build out TradingAgents, researchers used LLMs such as GPT-4o-mini, GPT-4o, and o1-preview from OpenAI to run their multi-agent teams. Throughout the research process, researchers validated the model with cumulative return, Sharpe ratio, and maximum drawdown metrics.

An overview of the TradingAgents architecture and its different agents

The TradingAgents LLM is designed to simulate a real financial trading firm, which requires multiple AI agents to perform specialized tasks and communicate with each other. These agents communicate through structured documents and diagrams and natural language dialogue.

“By integrating agents with distinct roles and risk profiles, along with a reflective agent and a dedicated risk management team, TradingAgents significantly improves trading outcomes and overall risk management compared to baseline models. Additionally, the collaborative nature of these agents ensures adaptability to varying market conditions,” according to researchers.

The different teams are:

  1. Analyst Team: Gathers market data and analysis to inform trading decisions from financial statements, social media posts, insider transactions, earnings reports, news reports, government announcements, world news, and relevant technical indicators such as the Moving Average Convergence Divergence (MACD) and Relative Strength Index (RSI). This team relies on Fundamental Analyst Agents, Sentiment Analyst Agents, News Analyst Agents, and Technical Analyst Agents.

  2. Research Team: Evaluates the information from the Analyst Team and debates the potential positives and negatives of investment decisions. The Bullish Researcher advocates for investment opportunities and provides positive indicators and growth indicators. The Bearish Researcher focuses on potential risks and downsides, and highlights potential negative outcomes.

  3. Trader Agents: Executes trading decisions based on information from the Analyst and Research Teams. It evaluates recommendations, decides timing and size of trades, places buy/sell orders on the market, and adjusts portfolio allocations as the market responds or changes.

  4. Risk Management Team: Monitors the simulated firm’s exposure to certain market risks. These agents consistently evaluate the firm’s risk profile, check market volatility, implement risk mitigation strategies, provide feedback to Trader Agents, and confirm that the firm’s portfolio is within the risk tolerance and investment objectives.

A diagram of TradingAgents architecture

Fig. 1: TradingAgents multi-agent LLM for financial trading simulation. Source: https://tradingagents-ai.github.io/

All of these agents rely on the ReAct prompting framework to use a blend of reasoning and action. According to researchers, this design ensures a dynamic decision-making process that mirrors real-world trading systems.

Results and looking ahead

Researchers tested this framework to simulate the market between January 1, 2024, and March 29, 2024. They used several baseline models and evaluation metrics to test the effectiveness of TradingAgents, including:

  • Buy and Hold: Invest equal amounts in specified stocks and hold them throughout the simulation period.

  • Moving Average Convergence Divergence (MACD): A strategy that buys and sells based on specified crossover points between the MACD line and signal line.

  • KDJ and Relative Strength Index (RSI): Uses indicators to identify overbought and oversold conditions for trading.

  • Zero Mean Reversion (ZMR): Generates trading signals based on price deviations and reversions to a zero reference line

  • Simple Moving Average: Develops trading signals based on crossovers between short- and long-term moving averages.

The included evaluation metrics were cumulative return, annualized return, Sharpe ratio, and maximum drawdown. Researchers saw an overall positive response to using the TradingAgents framework and had the additional benefit of model explainability, as the project uses natural language and can communicate its decisions to researchers.

“This framework efficiently synthesizes diverse data sources and expert analyses, enabling trader agents to make well-informed decisions tailored to specific risk profiles. The inclusion of a reflective agent and a dedicated risk management team is pivotal in refining strategies and mitigating risks. As a result, the framework achieves exceptional return capture while maintaining strong risk management metrics, striking an optimal balance between maximizing rewards and minimizing risks,” researchers wrote.

The team notes that future work includes live deployment, expanding agent roles, and integrating real-time data processing to further improve performance.

Editor’s note: DigitalOcean does not endorse TradingAgents as a tool for day-to-day financial decision-making. It is designed to run financial simulations and should be used as such.

Resources

TradingAgents FAQ

What is TradingAgents and how does it work?

TradingAgents is a multi-agent LLM-driven stock trading framework developed by UCLA and MIT researchers that emulates a realistic trading firm with specialized agents collaborating via structured communication and debates. The framework uses specialized agents categorized into teams that collect financial information, perform sentiment analysis, complete bids, and assess risk, leveraging diverse data sources and multi-agent interactions to enhance trading decisions.

What types of agents are included in the TradingAgents framework?

The framework includes technical analysts, sentiment analysts, news analysts, and fundamentals analysts that work together to provide holistic market analysis. These agents use the ReAct prompting framework to blend reasoning and action, ensuring a dynamic decision-making process that mirrors real-world trading systems with collaborative evaluation of market conditions.

How was TradingAgents tested and what were the results?

Researchers tested the framework by simulating market conditions between January 1, 2024, and March 29, 2024, using baseline models like Buy and Hold, MACD, and RSI strategies for comparison. The testing showed superior performance in cumulative returns, Sharpe ratio, and risk management compared to traditional strategies, achieving better results than single-agent approaches.

What are the main advantages of using a multi-agent approach for trading?

The multi-agent structure provides more human-like LLM behavior that can mimic trader behavior and offer more in-depth financial analysis than previous single-agent LLMs. It addresses the lack of realistic organizational modeling and dynamic market adaptation by creating a collaborative environment where agents engage in structured debates to pinpoint optimal strategies.

Build with DigitalOcean’s Gradient Platform

DigitalOcean Gradient Platform makes it easier to build and deploy AI agents without managing complex infrastructure. Build custom, fully-managed agents backed by the world’s most powerful LLMs from Anthropic, DeepSeek, Meta, Mistral, and OpenAI. From customer-facing chatbots to complex, multi-agent workflows, integrate agentic AI with your application in hours with transparent, usage-based billing and no infrastructure management required.

Key features:

  • Serverless inference with leading LLMs and simple API integration

  • RAG workflows with knowledge bases for fine-tuned retrieval

  • Function calling capabilities for real-time information access

  • Multi-agent crews and agent routing for complex tasks

  • Guardrails for content moderation and sensitive data detection

  • Embeddable chatbot snippets for easy website integration

  • Versioning and rollback capabilities for safe experimentation

Get started with DigitalOcean Gradient Platform for access to everything you need to build, run, and manage the next big thing.