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

Enable smaller "period" increments #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

bwasti
Copy link

@bwasti bwasti commented Mar 12, 2021

Yahoo's API supports minute-level timescales for historical quotes.

@gadicc
Copy link
Collaborator

gadicc commented Mar 17, 2021

Thanks for the PR, @bwasti.

Can you give us some more context on this? Where did you see these timescales in use?

We based historical on the "Historical Data" tab, e.g. https://finance.yahoo.com/quote/TSLA/history?p=TSLA.

The dropdown there only offers "daily", "weekly" or "monthly".

If I try manually use any of the timescales you're adding, I get an HTTP 422 ERR_INVALID_RESPONSE.

e.g. https://query1.finance.yahoo.com/v7/finance/download/TSLA?period1=1584454014&period2=1615990014&interval=90m&events=history

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.

2 participants