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?'.
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 |