node-yahoo-finance
node-yahoo-finance copied to clipboard
Enable smaller "period" increments
Yahoo's API supports minute-level timescales for historical quotes.
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