Stockalyze

STOCKALYZE => Troubleshooting & Bug Reports => Topic started by: ASHOK on June 16, 2020, 03:10:08 AM

Title: FAILED TO GET PRICE HISTORY
Post by: ASHOK on June 16, 2020, 03:10:08 AM
I was trying to get the intraday chart of SBI (NSE) at 12:40 today (16 Jun 20) . But it is giving the Error "Failed to get pprice history"
Title: Re: FAILED TO GET PRICE HISTORY
Post by: Sacha on June 17, 2020, 01:59:17 AM
Looks like the problem is that Alphavantage doesn't support NSE. If you want to confirm you can do this ->
Copy paste the below URL into your browsers address bar and hit Enter, but also make sure you have provided your API key, check the text in bold in the URL written below.
https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&interval=1min&apikey=INSERT-ALPHAVANTAGE-API-KEY-HERE&datatype=csv&outputsize=full&symbol=SBIN.NS

You will see almost an empty page.
But if you do the same for SBIN.BO then you will notice that a csv file gets downloaded.

I hope I have explained you the reason. Please let me know if you need any help.