Aggregated spending and income statistics over arbitrary date ranges, grouped by category - useful for "this month vs last month" comparisons without manually summing transactions client-side.
Summary
Functions
Fetches aggregated spending/income stats for the given date range.
Functions
@spec get(MoneyHub.Config.t(), String.t(), keyword()) :: {:ok, map()} | {:error, MoneyHub.Error.t()}
Fetches aggregated spending/income stats for the given date range.
Options
:from_date/:to_date- required, ISO 8601 date strings.:account_id- restrict the analysis to a single account.:category_type-:personal(default) or:business.