This 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.
Note: the system does not actually make any trades.
This project is for educational and research purposes only.
By using this software, you agree to use it solely for learning purposes.
pipx install aihf
(or uv tool install aihf, or pip install aihf into an environment of your choice)
Then run it from anywhere:
aihf
The app asks for keys the first time it needs them and saves them to ~/.hedge-fund/.env — nothing to configure up front. It needs:
Keys exported in your shell always win over the saved file.
aihf
With no arguments, this launches the interactive terminal app. It has two modes:
s for its full session history, h/r for the kill switch. Build a new fund from the same list: strategies, capital, cadence, tickers, and it is live. Every session is appended to a hash-chained ledger in ~/.hedge-fund/paper/<name>/, so NAV is a track record, not a reset.~/.hedge-fund/research/. Fund definitions live in ~/.hedge-fund/mandates/ and carry no tickers; you pick the universe per backtest.git clone https://github.com/virattt/ai-hedge-fund.git
cd ai-hedge-fund
poetry install
poetry run aihf
poetry run pytest hedge_fund
Important: Please keep your pull requests small and focused. This will make it easier to review and merge.
If you have a feature request, please open an issue and make sure it is tagged with enhancement.
This project is licensed under the MIT License - see the LICENSE file for details.
| 日期 | 榜单 | 排名 | 周期新增 | 总 STAR |
|---|