Handle missing weekend stock prices in sync process #1242
Reference in New Issue
Block a user
Delete Branch "1222-bug-investment-account-balances-should-handle-missing-stock-prices-for-weekends-and-holidays"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are a few different areas that we could potentially solve this issue:
Security::Price.find_prices)Account::Holding::Syncer)To keep the gapfill logic isolated from the base model, I've added a
Gapfillerclass that operates on the fetched prices directly in the sync process.