pub fn aggregate_by_type(
activities: &[Activity],
fx: FxCurrency,
) -> ByTypeAndCurrencyExpand description
Aggregate sums by TxType and Currency across many activities.
- Currency resolution: value.currency -> act.default_currency -> error.
- FX: Native (no conversion) or Fixed{target} (placeholder 1:1).