WHY alphavantage api is returning data for only 6 random dates?
Hey, are you making the right API call?
Yes when i paste the same url and run in browser it is returning many rows…
THIS IS THE URL
Hey, alphavantage API, does not have the parameter for start date and end date, you have to work your logic around it, from your code, as far as I can see, you haven’t made the right API call.
Refer this -https://www.alphavantage.co/documentation/
I am facing the same issue. This the API call I am using: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=" + symbol + “&outputsize=full&apikey=” + apiKey.
I guess your time parameter thing is wrong.
You can try this -https://www.alphavantage.co/query?function=TIME_SERIES_DAILY_ADJUSTED&symbol=YOUR_SYMBOL&apikey=YOURAPIKEY&outputsize=full
There is no time parameter in the URL I believe. And this one also returns only 6 values on random dates.
Let me just dm you and solve your problem.
Hey I think you got this while debugging the AlphavantageServiceTest, while testing, actually they are not calling the api they are just mocking the response of api.
have a look at the test you will get an idea about why there is 6 dates
I think I got what I am missing. Thanks!