github virattt/ai-hedge-fund v2.7.0
ai-hedge-fund 2.7.0

4 hours ago

Changes

  • Pay per call with x402. Set X402_WALLET_PRIVATE_KEY to a Base wallet holding USDC and each Financial Datasets request pays for itself. Install the extra with pip install 'aihf[x402]'. The app asks for an API key or a wallet key the first time it needs data. When both are set, the API key is what gets billed. x402 serves the last 365 days, non-professional use.

  • The scorecard moves the weights. An allocation block multiplies each pod's capital slice and each analyst's blend weight by clip(1 + slope × t-stat, floor, cap). Nothing moves until 20 graded dates or periods. A cut analyst keeps a quarter of its weight, and the cap is 2×. A minute fund rescores once a day. A mandate with no allocation block keeps the weights as written. New funds from the app include it.

  • Drawdown halving, plus caps on beta, sector, and vol. At halve_drawdown_pct the book runs at half size until NAV recovers. New funds from the app halve at 10%, under the 20% stop-out. max_beta, max_sector_pct, and max_volatility stay off until you set them. Beta is an OLS fit on about 100 daily returns, shrunk toward 1. A sector over its cap scales the whole book. Volatility is the single-index model, annualized. An existing mandate is unchanged until you set these.

Don't miss a new ai-hedge-fund release

NewReleases is sending notifications on new releases.