Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve caching of financials data #1284

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Improve caching of financials data #1284

merged 1 commit into from
Jan 12, 2023

Conversation

ValueRaider
Copy link
Collaborator

@ValueRaider ValueRaider commented Jan 7, 2023

  • Replace 'datetime.now()' with midnight

Some financial data was being fetched using parameters derived from datetime.now(), so obviously will never get reused in requests_cache. Replace with midnight

Originally proposed in PR #1204 alongside a controversial change, so separated out for quicker merge.

@ValueRaider ValueRaider merged commit 4db178b into dev Jan 12, 2023
@ValueRaider ValueRaider deleted the fix/financials-caching branch January 13, 2023 15:33
@ValueRaider ValueRaider mentioned this pull request Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant