Custom Stock Portfolio Generator
Generate custom stock portfolios from a universe of 60+ large-cap US equities using real market data from Yahoo Finance — no API key required on your end. Choose from three portfolio construction strategies: • random – random stock selection with randomized weights • risk_adjusted – selects top stocks by Sharpe ratio and weights them inversely proportional to volatility (lower-risk stocks get…
Custom Stock Portfolio Generator endpoints
| Method | Endpoint | Description |
|---|---|---|
| General | ||
| GET |
health_health_get /health |
Lightweight health check for Railway health monitoring and uptime services. Returns 200 when the app is running. |
| GET |
root__get / |
Returns basic information about the API and links to documentation. |
| Universe | ||
| GET |
list_sectors_sectors_get /sectors |
Returns all sector names present in the stock universe. |
| GET |
list_stocks_stocks_get /stocks |
List all stocks in the universe with optional sector and dividend filters. Set `include_metrics=true` to also return expected return and volatility (requires a live yfinance… |
| Portfolio | ||
| GET |
generate_portfolio_generate_portfolio_get /generate_portfolio |
Generate a stock portfolio from the configurable universe. **How it works** 1. Historical daily prices (1 year) are fetched from Yahoo Finance and cached for 6 hours. 2.… |
Custom Stock Portfolio Generator pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | $9.99 / month | — |
|
| PRO | $29.99 / month | — |
|
| ULTRA | $79.99 / month | — |
|
| MEGA | $199.99 / month | — |
|