mean_variance_optimize
Calculate optimal portfolio weights using Mean-Variance Optimization to maximize Sharpe ratio for given tickers and lookback period.
Instructions
Calculates optimal portfolio weights using Mean-Variance Optimization (Max Sharpe).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tickers": "<tickers>"
},
"name": "mean_variance_optimize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tickers | Yes | ||
| lookback | No | 1y |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |