I am working on a trading app project, and i am using Alpha Vantage API to get stock prices.
I tried the TIME_SERIES_INTRADAY function to get real time stock prices in a 5 minute interval, but i get only the data from the previous market day instead of the current day.
For example if launch the API today (2020-01-03 at 12:30) the last refresh is at "2020-01-02 12:50:00":
Request
https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&apikey=********&symbol=DAX&interval=5min
Response
{
"Meta Data": {
"1. Information": "Intraday (5min) open, high, low, close prices and volume",
"2. Symbol": "DAX",
"3. Last Refreshed": "2020-01-02 12:50:00",
"4. Interval": "5min",
"5. Output Size": "Compact",
"6. Time Zone": "US/Eastern"
},
"Time Series (5min)": {
"2020-01-02 12:50:00": {
"1. open": "28.4635",
"2. high": "28.5001",
"3. low": "28.4635",
"4. close": "28.5001",
"5. volume": "359"
},
"2020-01-02 11:15:00": {
"1. open": "28.6631",
"2. high": "28.6631",
"3. low": "28.6631",
"4. close": "28.6631",
"5. volume": "105"
},
...
I do not see what i am missing.
Really glad if anyone could help.
Thanks!