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