Current implementation checks if we have any entries the the database within the date range. As long as we have 1 or more entries than we skip querying YF.
Issue emerges when you do an initial query than expand the range
We do not fetch the extended range
Proposed Solutions:
Track stored ranges in a separate table
Implement and check against a trading calendar to determine if we are missing days
Current implementation checks if we have any entries the the database within the date range. As long as we have 1 or more entries than we skip querying YF.
Proposed Solutions: