Files
sure/app/views
soky srm 6ebe8da928 Add investment tracking to expenses (#381)
* Add investment tracking to expenses

Add new sections to dashboard and reporting around investments.

* Create investment-integration-assessment.md

* Delete .claude/settings.local.json

Signed-off-by: soky srm <sokysrm@gmail.com>

* Category trades

* Simplify

* Simplification and test fixes

* FIX merge

* Update views

* Update 20251125141213_add_category_to_trades.rb

* FIX tests

* FIX statements and account status

* cleanup

* Add default cat for csv imports

* Delete docs/roadmap/investment-integration-assessment.md

Signed-off-by: soky srm <sokysrm@gmail.com>

* Update trend calculation

Use already existing column cost basis for trend calculation
   - Current value: qty * price (already stored as amount)
  - Cost basis total: qty * cost_basis
  - Unrealized gain: current value - cost basis total
Fixes N+1 query also

---------

Signed-off-by: soky srm <sokysrm@gmail.com>
2026-01-09 13:03:40 +01:00
..
2025-12-09 21:02:23 +01:00
2025-12-19 16:30:21 +01:00
2025-11-24 19:52:34 +01:00
2025-11-24 19:52:34 +01:00
2025-11-24 19:52:34 +01:00
2026-01-05 02:13:12 +01:00
2025-11-17 21:51:37 +01:00
2025-11-24 19:52:34 +01:00
2025-11-24 19:52:34 +01:00
2025-07-18 08:30:00 -04:00
2025-07-18 08:30:00 -04:00
2026-01-08 15:20:14 +01:00
2025-07-18 08:30:00 -04:00
2025-07-18 08:30:00 -04:00
2025-04-11 09:28:00 -05:00
2025-09-24 00:19:51 +02:00
2025-07-18 08:30:00 -04:00