Holding Period Return
holding-period-returnHolding-period return: (income + capital gain) / starting value, in percent.
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": {
"income": "<income>",
"endValue": "<endValue>",
"beginValue": "<beginValue>"
},
"name": "holding-period-return"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| income | Yes | Income received over the period. | |
| endValue | Yes | Ending value. | |
| beginValue | Yes | Starting value. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hprPct | No | Holding-period return, percent (null if begin=0). |