Changes
-
Pay per call with x402. Set
X402_WALLET_PRIVATE_KEYto a Base wallet holding USDC and each Financial Datasets request pays for itself. Install the extra withpip 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
allocationblock multiplies each pod's capital slice and each analyst's blend weight byclip(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 noallocationblock keeps the weights as written. New funds from the app include it. -
Drawdown halving, plus caps on beta, sector, and vol. At
halve_drawdown_pctthe 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, andmax_volatilitystay 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.