feat(investments): asset classes with target allocation, charts and rebalance

- Asset classes (name, optional target %) managed under Management > Investments,
  chosen per account
- Charts tab: allocation by asset class and currency, value against invested,
  return by investment; off-target classes flagged by the 5/25 rule
- Rebalance tab: what to buy or sell per class to reach the targets
- Investment page: price against average cost with trades, monthly earnings
  and income
This commit is contained in:
Herculino Trotta committed 2026-11-08 02:26:40 -03:00
1 parent 7902c4fc4e
commit 7038ce8e18
18 files changed
+1085 -63

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ class AccountSerializer(serializers.ModelSerializer):
"exchange_currency_id",
"is_asset",
"is_investment",
"investment_class",
"income_entities",
"income_categories",
"income_tags",