Files
sure/app/models
Zach Gollwitzer 8db95623cf Handle holding quantity generation for reverse syncs correctly when not all holdings are generated for current day (#2417)
* Handle reverse calculator starting portfolio generation correctly

* Fix current_holdings to handle different dates and hide zero quantities

- Use DISTINCT ON to get most recent holding per security instead of assuming same date
- Filter out zero quantity holdings from UI display
- Maintain cash display regardless of zero balance
- Use single efficient query with proper Rails syntax

* Continue to process holdings even if one is not resolvable

* Lint fixes
2025-06-26 16:57:17 -04:00
..
2025-03-28 13:08:22 -04:00
2025-06-24 11:15:28 -04:00
2024-10-18 11:26:58 -05:00
2024-10-18 11:26:58 -05:00
2024-11-08 09:58:35 -06:00
2025-05-23 18:58:22 -04:00
2025-05-07 22:19:09 -04:00
2025-03-28 13:08:22 -04:00
2025-03-28 13:08:22 -04:00