XIRR
xirrDate-aware internal rate of return: the annual rate that zeroes the XNPV of irregular dated cashflows. Null if no rate fits.
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": {
"cashflows": "<cashflows>"
},
"name": "xirr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cashflows | Yes | Dated cashflows; the first date is the valuation date. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xirrPct | No | Date-aware IRR, percent (null if none). |