Description
AI Hedge Fund is a GitHub project designed as a proof of concept for an AI-powered hedge fund. The project's primary goal is to investigate the application of artificial intelligence in making trading decisions. It is explicitly intended for educational and research purposes and should not be used for actual trading or investment activities.
The system simulates a hedge fund environment by integrating several specialized agents. These agents include the Aswath Damodaran Agent, focusing on valuation; the Ben Graham Agent, emphasizing value investing; and others representing various investment philosophies such as growth, contrarian, and risk management. The project also incorporates agents for sentiment analysis, fundamental analysis, and technical analysis to generate trading signals. A risk manager and portfolio manager are also included to simulate the complete process.
The project provides a command-line interface (CLI) and a web application for users to interact with the AI-driven trading simulation. The CLI allows for granular control and is suitable for automation and scripting. The web application offers a user-friendly interface for those who prefer a visual approach. The project includes detailed instructions on how to install and run the application, including setting up API keys for LLMs and financial data. The project is licensed under the MIT License, allowing for broad use and modification.
The project's value lies in its educational potential, offering a hands-on experience in AI and finance. It allows users to explore different investment strategies and understand how AI can be applied in financial analysis. The project's structure and documentation make it accessible for both beginners and experienced developers interested in AI and finance. The project's disclaimer emphasizes that it is not intended for real trading and provides no investment advice, highlighting its focus on education and research.
AI Hedge Fund's Core Features
Simulates AI-driven trading strategies
Integrates multiple investment agent types
Includes valuation, sentiment, and risk analysis
Offers a command-line interface (CLI)
Provides a web application interface
Supports various LLM API keys
Uses financial data APIs
Includes backtesting capabilities
Educational and research-focused
Open-source MIT License
Detailed installation and usage instructions
Focuses on AI-driven financial analysis
Getting Started with AI Hedge Fund
Clone the Repository: Use `git clone https://github.com/virattt/ai-hedge-fund.git`.
Navigate to the Directory: Use `cd ai-hedge-fund`.
Set up API Keys: Create a `.env` file and add your API keys (e.g., OPENAI_API_KEY).
Install Dependencies: Use `poetry install`.
Run via CLI: Use `poetry run python src/main.py --ticker AAPL,MSFT,NVDA`.
Run via Web Application: Follow the detailed instructions for installation and running the web application.
Contribute: Fork the repository, create a feature branch, commit changes, push to the branch, and create a pull request.
AI Hedge Fund's Use Cases
- AI Trading Simulation
- Educational Finance
- Portfolio Analysis
- Backtesting Strategies
- Research and Development
- Agent-Based Modeling





