Optimize Portfolio Weights
warden.optimize_portfolioComputes volatility-targeted dual-momentum, HRP, or shrinkage mean-variance weights under concentration and turnover caps, sweeping residual capital to cash without trading.
Instructions
Computes volatility-targeted dual-momentum, hierarchical risk parity, or shrinkage mean-variance portfolio weights under the house concentration and turnover caps. Residual capital is swept to the defensive cash proxy; never places or routes trades. Pro tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_k | No | Maximum number of active risk slots to select. | |
| method | No | Allocation method: vol_target_momentum | hrp | mvo_shrinkage. | vol_target_momentum |
| candidates | Yes | Candidate risk assets: [{symbol, momentum_score, realized_vol_annual, above_trend_sma?, chandelier_triggered?, current_weight?}]. | |
| turnover_cap | No | Maximum one-way portfolio turnover fraction per rebalance. | |
| floor_overrides | No | Optional per-fund overrides {max_position_pct, max_gross_exposure_pct}. | |
| cash_proxy_symbol | No | Defensive cash proxy ticker receiving unallocated weight. | SGOV |
| target_volatility | No | Target annualized portfolio volatility (e.g. 0.12 for 12%). | |
| cash_momentum_score | No | Composite momentum score of the defensive cash proxy. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | No | ||
| tool | No | ||
| error | No | ||
| access | No | ||
| method | No | ||
| safety | No | ||
| verdict | No | ||
| provenance | No | ||
| filtered_out | No | ||
| house_floors | No | ||
| target_weights | No | ||
| cash_proxy_symbol | No | ||
| cash_sweep_weight | No | ||
| request_access_at | No | ||
| overrides_deviation | No | ||
| selected_risk_assets | No | ||
| gross_risk_exposure_pct | No | ||
| estimated_turnover_one_way | No | ||
| estimated_portfolio_vol_annual | No |