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

Drop intraday intervals if in post-market but prepost=False #1311

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

ValueRaider
Copy link
Collaborator

@ValueRaider ValueRaider commented Jan 16, 2023

When requesting intraday price data with prepost=False, sometimes Yahoo returns an interval at regular market close. Normally happens on half-day early closes. Can get market close datetimes from history_metadata so easy to fix.

@ValueRaider ValueRaider force-pushed the feature/prices-metadata-prune-prepost branch from 4497890 to 891b533 Compare January 31, 2023 19:49
@ValueRaider ValueRaider merged commit 84a31ae into dev Jan 31, 2023
@ValueRaider ValueRaider deleted the feature/prices-metadata-prune-prepost branch January 31, 2023 19:50
@ValueRaider ValueRaider mentioned this pull request Feb 7, 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