get_portfolio_performance
Calculate time-weighted rate of return (TWROR) for a portfolio over any date range. Get a monthly, weekly, yearly, or daily performance timeseries to see how your investments performed.
Instructions
Get TWROR (time-weighted rate of return) timeseries for the portfolio over a date range. Use this to answer 'how did my portfolio perform this year / last 5 years?'.
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": {
"accountIds": "<accountIds>",
"startDate": "<startDate>"
},
"name": "get_portfolio_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date (yyyy-MM-dd), defaults to today | |
| interval | No | month | |
| startDate | Yes | Start date (yyyy-MM-dd) | |
| accountIds | Yes | Depot ID(s) to include |