calculate_portfolio_return
Calculates expected portfolio return by summing weighted individual asset returns. Input asset weights and expected returns as percentages.
Instructions
Calculate expected portfolio return. E(Rp) = Σ w_i × E(R_i). weights: [0.6, 0.4], returns: [15, 8] (percentages).
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": {
"weights_json": "<weights_json>",
"returns_json": "<returns_json>"
},
"name": "calculate_portfolio_return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| returns_json | Yes | ||
| weights_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |