Description
Risk-Aware Trading Agents is an open-source project hosted on GitHub, providing a framework for developing and evaluating AI trading agents specifically designed for US stocks. A core principle of this project is its commitment to realistic backtesting, ensuring that agents cannot "see the future." This is achieved through rigorous news backtesting methodologies and a look-ahead check implemented on every run.
Read More
The repository features a public LLM trading agent leaderboard, designated as rta-bench-1, which allows for comparative analysis of different agent performances. To facilitate robust testing, the project utilizes frozen point-in-time market data, including prices, VIX, and news, for specific years such as 2020, 2022, and 2026. This approach ensures that agents are evaluated under consistent and historically accurate market conditions, preventing data contamination.
The project supports the development of LLM agents over traditional Monte Carlo Path (MCP) methods, offering a modern approach to algorithmic trading. Furthermore, it provides capabilities for both paper trading and live trading across a network of 10 different brokers, making it a versatile tool for researchers and practitioners alike. The codebase is structured to support continuous development, with recent commits indicating active maintenance and feature additions, such as Docker image support, Codespaces integration, and updates to the leaderboard with various LLM models like Gemini, Llama, and Claude Haiku.
Risk-Aware Trading Agents aims to provide a transparent and reproducible environment for exploring the potential of AI in financial markets, with a strong emphasis on ethical and realistic simulation practices. Its open-source nature encourages community contributions and collaborative research in the field of AI-driven trading strategies.
- CategoryAI Trading & Investing Tools
- Pricing ModelOpen source
- DeploymentCloud, Self-hosted
- PlatformsWeb
Risk-Aware Trading Agents's Core Features
AI trading agents for US stocks
News backtesting with no future data leakage
Public LLM trading agent leaderboard (rta-bench-1)
Frozen point-in-time market data (2020, 2022, 2026)
Includes prices, VIX, and news data
Look-ahead check on every run
Supports LLM agents over MCP
Paper trading capabilities
Live trading support on 10 brokers
Docker image available
Codespaces integration
Active development and commit history
Support for various LLM models (Gemini, Llama, Claude Haiku)
Open-source project on GitHub
Comprehensive documentation (README.md, README_zh.md)
Getting Started with Risk-Aware Trading Agents
Clone the repository: Use `git clone` to get the project files onto your local machine.
Install dependencies: Follow instructions in the documentation to set up the required Python packages and environment.
Configure market data: Set up access to the frozen point-in-time market data for backtesting.
Develop trading agents: Implement or modify LLM trading agents using the provided framework.
Run backtests: Execute backtests with news data and the look-ahead check to evaluate agent performance.
Participate in leaderboard: Submit agent results to the rta-bench-1 leaderboard for comparison.
Connect to brokers: Configure the system for paper or live trading with one of the 10 supported brokers.
Monitor and optimize: Analyze trading results and refine agent strategies for improved performance.
Risk-Aware Trading Agents's Use Cases
- Algorithmic Trading Research
- LLM Agent Evaluation
- Realistic Backtesting
- Paper Trading Simulation
- Live Trading Deployment
- Financial Data Analysis
- Open-Source Contribution








