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-17 15:00:01 +01:00
2025-02-21 11:57:59 -05:00
2025-12-24 00:59:50 +01:00
2025-12-22 20:41:37 +01:00
2026-01-07 15:59:04 +01:00
2025-02-21 11:57:59 -05:00
2025-04-14 11:40:34 -04:00
2025-07-03 09:33:07 -04:00
2026-01-08 15:38:13 +01:00
2025-12-19 16:30:21 +01:00
2025-04-14 11:40:34 -04:00
2025-02-25 10:14:07 -06:00
2025-04-18 11:39:58 -04:00
2025-04-30 18:14:22 -04:00
2026-01-07 15:59:04 +01:00
2025-05-15 10:19:56 -04:00
2024-11-04 20:27:31 -05:00
2024-11-04 20:27:31 -05:00
2024-07-16 14:08:24 -04:00
2025-05-15 10:19:56 -04:00
2024-11-04 20:27:31 -05:00
2025-01-31 11:29:49 -06:00
2026-01-08 18:23:34 +01:00
2025-08-22 20:43:24 +02:00
2025-12-05 22:15:07 +01:00
2025-10-28 19:32:27 +01:00
2024-10-18 11:26:58 -05:00
2025-08-22 20:43:24 +02:00
2024-11-04 20:27:31 -05:00
2025-01-30 13:13:37 -06:00
2025-09-22 09:29:23 +02:00
2025-04-14 09:09:25 -04:00
2025-04-30 18:14:22 -04:00
2026-01-08 18:23:34 +01:00
2025-10-24 12:04:19 +02:00
2025-03-05 13:44:56 -06:00
2026-01-07 20:17:23 +01:00
2025-05-02 15:21:46 -04:00
2024-11-04 20:27:31 -05:00
2024-11-04 20:27:31 -05:00
2026-01-09 13:03:40 +01:00
2026-01-07 20:17:23 +01:00
2024-08-23 10:06:24 -04:00
2025-11-14 10:42:31 +01:00
2025-12-24 00:59:50 +01:00
2025-12-17 16:03:05 +01:00
2025-10-27 21:52:37 +01:00
2026-01-09 13:03:40 +01:00
2026-01-08 15:20:14 +01:00
2025-03-17 11:54:53 -04:00
2025-12-24 00:15:53 +01:00
2026-01-08 15:38:13 +01:00
2025-09-24 00:19:51 +02:00
2025-05-05 12:43:46 -04:00
2026-01-09 13:03:40 +01:00
2025-12-24 01:57:16 +01:00
2025-12-17 16:03:05 +01:00
2025-07-03 09:33:07 -04:00
2025-06-20 13:31:58 -04:00
2025-11-04 23:11:26 +01:00
2025-07-16 11:31:47 -04:00
2024-11-04 20:27:31 -05:00
2025-05-24 18:33:59 -04:00