[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-555":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":15,"starSnapshotCount":15,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},555,"ai-hedge-fund","virattt\u002Fai-hedge-fund","virattt","An AI Hedge Fund Team",null,"Python",59977,10593,658,48,0,27,186,1375,145,45,false,"main",true,[],"2026-06-12 02:00:15","# AI Hedge Fund\n\nThis is a proof of concept for an AI-powered hedge fund.  The goal of this project is to explore the use of AI to make trading decisions.  This project is for **educational** purposes only and is not intended for real trading or investment.\n\nThis system employs several agents working together:\n\n1. Aswath Damodaran Agent - The Dean of Valuation, focuses on story, numbers, and disciplined valuation\n2. Ben Graham Agent - The godfather of value investing, only buys hidden gems with a margin of safety\n3. Bill Ackman Agent - An activist investor, takes bold positions and pushes for change\n4. Cathie Wood Agent - The queen of growth investing, believes in the power of innovation and disruption\n5. Charlie Munger Agent - Warren Buffett's partner, only buys wonderful businesses at fair prices\n6. Michael Burry Agent - The Big Short contrarian who hunts for deep value\n7. Mohnish Pabrai Agent - The Dhandho investor, who looks for doubles at low risk\n8. Nassim Taleb Agent - The Black Swan risk analyst, focuses on tail risk, antifragility, and asymmetric payoffs\n9. Peter Lynch Agent - Practical investor who seeks \"ten-baggers\" in everyday businesses\n10. Phil Fisher Agent - Meticulous growth investor who uses deep \"scuttlebutt\" research \n11. Rakesh Jhunjhunwala Agent - The Big Bull of India\n12. Stanley Druckenmiller Agent - Macro legend who hunts for asymmetric opportunities with growth potential\n13. Warren Buffett Agent - The oracle of Omaha, seeks wonderful companies at a fair price\n14. Valuation Agent - Calculates the intrinsic value of a stock and generates trading signals\n15. Sentiment Agent - Analyzes market sentiment and generates trading signals\n16. Fundamentals Agent - Analyzes fundamental data and generates trading signals\n17. Technicals Agent - Analyzes technical indicators and generates trading signals\n18. Risk Manager - Calculates risk metrics and sets position limits\n19. Portfolio Manager - Makes final trading decisions and generates orders\n\n\u003Cimg width=\"1042\" alt=\"Screenshot 2025-03-22 at 6 19 07 PM\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fcbae3dcf-b571-490d-b0ad-3f0f035ac0d4\" \u002F>\n\nNote: the system does not actually make any trades.\n\n[![Twitter Follow](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fvirattt?style=social)](https:\u002F\u002Ftwitter.com\u002Fvirattt)\n\n## Disclaimer\n\nThis project is for **educational and research purposes only**.\n\n- Not intended for real trading or investment\n- No investment advice or guarantees provided\n- Creator assumes no liability for financial losses\n- Consult a financial advisor for investment decisions\n- Past performance does not indicate future results\n\nBy using this software, you agree to use it solely for learning purposes.\n\n## Table of Contents\n- [How to Install](#how-to-install)\n- [How to Run](#how-to-run)\n  - [⌨️ Command Line Interface](#️-command-line-interface)\n  - [🖥️ Web Application](#️-web-application)\n- [How to Contribute](#how-to-contribute)\n- [Feature Requests](#feature-requests)\n- [License](#license)\n\n## How to Install\n\nBefore you can run the AI Hedge Fund, you'll need to install it and set up your API keys. These steps are common to both the full-stack web application and command line interface.\n\n### 1. Clone the Repository\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fvirattt\u002Fai-hedge-fund.git\ncd ai-hedge-fund\n```\n\n### 2. Set up API keys\n\nCreate a `.env` file for your API keys:\n```bash\n# Create .env file for your API keys (in the root directory)\ncp .env.example .env\n```\n\nOpen and edit the `.env` file to add your API keys:\n```bash\n# For running LLMs hosted by openai (gpt-4o, gpt-4o-mini, etc.)\nOPENAI_API_KEY=your-openai-api-key\n\n# For getting financial data to power the hedge fund\nFINANCIAL_DATASETS_API_KEY=your-financial-datasets-api-key\n```\n\n**Important**: You must set at least one LLM API key (e.g. `OPENAI_API_KEY`, `GROQ_API_KEY`, `ANTHROPIC_API_KEY`, or `DEEPSEEK_API_KEY`) for the hedge fund to work. \n\n## How to Run\n\n### ⌨️ Command Line Interface\n\nYou can run the AI Hedge Fund directly via terminal. This approach offers more granular control and is useful for automation, scripting, and integration purposes.\n\n\u003Cimg width=\"992\" alt=\"Screenshot 2025-01-06 at 5 50 17 PM\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fe8ca04bf-9989-4a7d-a8b4-34e04666663b\" \u002F>\n\n#### Quick Start\n\n1. Install Poetry (if not already installed):\n```bash\ncurl -sSL https:\u002F\u002Finstall.python-poetry.org | python3 -\n```\n\n2. Install dependencies:\n```bash\npoetry install\n```\n\n#### Run the AI Hedge Fund\n```bash\npoetry run python src\u002Fmain.py --ticker AAPL,MSFT,NVDA\n```\n\nYou can also specify a `--ollama` flag to run the AI hedge fund using local LLMs.\n\n```bash\npoetry run python src\u002Fmain.py --ticker AAPL,MSFT,NVDA --ollama\n```\n\nYou can optionally specify the start and end dates to make decisions over a specific time period.\n\n```bash\npoetry run python src\u002Fmain.py --ticker AAPL,MSFT,NVDA --start-date 2024-01-01 --end-date 2024-03-01\n```\n\n#### Run the Backtester\n```bash\npoetry run python src\u002Fbacktester.py --ticker AAPL,MSFT,NVDA\n```\n\n**Example Output:**\n\u003Cimg width=\"941\" alt=\"Screenshot 2025-01-06 at 5 47 52 PM\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F00e794ea-8628-44e6-9a84-8f8a31ad3b47\" \u002F>\n\n\nNote: The `--ollama`, `--start-date`, and `--end-date` flags work for the backtester, as well!\n\n### 🖥️ Web Application\n\nThe new way to run the AI Hedge Fund is through our web application that provides a user-friendly interface. This is recommended for users who prefer visual interfaces over command line tools.\n\nPlease see detailed instructions on how to install and run the web application [here](https:\u002F\u002Fgithub.com\u002Fvirattt\u002Fai-hedge-fund\u002Ftree\u002Fmain\u002Fapp).\n\n\u003Cimg width=\"1721\" alt=\"Screenshot 2025-06-28 at 6 41 03 PM\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fb95ab696-c9f4-416c-9ad1-51feb1f5374b\" \u002F>\n\n\n## How to Contribute\n\n1. Fork the repository\n2. Create a feature branch\n3. Commit your changes\n4. Push to the branch\n5. Create a Pull Request\n\n**Important**: Please keep your pull requests small and focused.  This will make it easier to review and merge.\n\n## Feature Requests\n\nIf you have a feature request, please open an [issue](https:\u002F\u002Fgithub.com\u002Fvirattt\u002Fai-hedge-fund\u002Fissues) and make sure it is tagged with `enhancement`.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","该项目是一个基于人工智能的对冲基金概念验证，旨在探索使用AI进行交易决策。其核心功能包括通过模拟Aswath Damodaran、Ben Graham等著名投资者的策略来分析股票价值、市场情绪、基本面和技术指标，并生成交易信号。系统还配备了风险管理器和投资组合管理器，用于计算风险指标并做出最终交易决策。技术上，项目采用Python语言实现，集成了多种算法模型以模仿不同投资风格。尽管此系统不实际执行任何交易，但非常适合金融工程学生、研究人员以及对量化投资感兴趣的个人学习和研究使用。",2,"2026-06-11 02:37:29","top_all"]