Net worth month by month
get_net_worth_trendTrack monthly net worth, assets, and debts in a YNAB plan to see whether loan balances are being paid down and how your finances change over time.
Instructions
Assets, debts and net worth at the end of each month, to see debts go down.
Use it for "is my debt going down?", "am I paying off my loans?" or "how did my net worth change over the year?". Every account counts, tracking ones included: credit cards, lines of credit, loans, mortgages and other liabilities are debts; every other account is an asset. A closed account counts for the months it still had a balance. Each month end is today's balance less the transactions dated after it; the current month shows today's balances. Amounts in currency units; debts are negative, as YNAB shows them, and net_worth is assets plus debts. For each account's balance today use list_accounts; for the months ahead, forecast_balance. Two YNAB requests: accounts, transactions; changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | YNAB plan id or 'last-used'. | |
| months_count | No | Number of months to show, the current one included, 1 to 24 (default 12). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| change | Yes | Last minus first: positive when the net worth grew. | |
| months | Yes | One entry per month, oldest first. | |
| accounts | Yes | Names of the accounts counted: the open ones, and the closed ones that still had a balance at one of these month ends. | |
| last_net_worth | Yes | Net worth at the end of the last month shown: today's. | |
| first_net_worth | Yes | Net worth at the end of the first month shown. |