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
Zach Gollwitzer
10f255a9a9
Clarify backend data pipeline naming concepts (importers, processors, materializers, calculators, and syncers) ( #2255 )
...
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions
* Rename MarketDataSyncer to MarketDataImporter
* Materializers
* Importers
* More reference replacements
2025-05-17 16:37:16 -04:00
Zach Gollwitzer
10dd9e061a
Improve account sync performance, handle concurrent market data syncing ( #2236 )
...
* PlaidConnectable concern
* Remove bad abstraction
* Put sync implementations in own concerns
* Sync strategies
* Move sync orchestration to Sync class
* Clean up sync class, add state machine
* Basic market data sync cron
* Fix price sync
* Improve sync window column names, add timestamps
* 30 day syncs by default
* Clean up market data methods
* Report high duplicate sync counts to Sentry
* Add sync states throughout app
* account tab session
* Persistent account tab selections
* Remove manual sleep
* Add migration to clear stale syncs on self hosted apps
* Tweak sync states
* Sync completion event broadcasts
* Fix timezones in tests
* Cleanup
* More cleanup
* Plaid item UI broadcasts for sync
* Fix account ID namespace conflict
* Sync broadcasters
* Smoother account sync refreshes
* Remove test sync delay
2025-05-15 10:19:56 -04:00
Zach Gollwitzer
2000f05453
Match Plaid holding values on current day ( #2212 )
...
* Match Plaid holding values on current day
* Fix chart timezone issue
* Add timezone tests for syncs
* Hide sidebars on trades test
2025-05-06 09:25:49 -04:00
Zach Gollwitzer
e657c40d19
Account:: namespace simplifications and cleanup ( #2110 )
...
* Flatten Holding model
* Flatten balance model
* Entries domain renames
* Fix valuations reference
* Fix trades stream
* Fix brakeman warnings
* Fix tests
* Replace existing entryable type references in DB
2025-04-14 11:40:34 -04:00