My quotes are always a day old and will not update until the next calendar day. Using Excel 2016, Portfolio Slicer 2.4, and scripts 2.4.12. Have had this problem for months and just lived with it. I can force the update by changing the date on the computer and setting it forward one day. Decided to finally ask if anyone else is experiencing same issue.
Comments
Can you go into PSData\Dates.csv file and check last date - is it todays date or yesterdays date.
So script that gets Intraday Quotes for yahoo is called GetQuotes-YahooIntraday.ps1. I am assuming you are running UpdatePSData.bat file and that script should be included there, but please check. Next, please check Scripts\Log\GetQuotes-YahooIntraday.txt file - are there any errors in that file and also check last date when that file was created. Then you can also check QuotesIntraDay subfolder - do you have there file YahooIntraday.txt with all then intraday quotes?
Symbol: AMZN. Next date: 2020-02-26. Quote file: C:\PortfolioSlicer\Quotes\_AMZN_.txt
Requesting url: https://finance.yahoo.com/quote/AMZN
** For Symbol: AMZN new quotes not found (there is no 'D(ib)" data-reactid="34">' in html that came back)
Symbol: MSFT. Next date: 2020-02-26. Quote file: C:\PortfolioSlicer\Quotes\_MSFT_.txt
Requesting url: https://finance.yahoo.com/quote/MSFT
** For Symbol: MSFT new quotes not found (there is no 'D(ib)" data-reactid="34">' in html that came back)
My initial thought when this stated was it had something to do with Yahoo's policy. But, when I changed the date on my computer to make it the next day into the future and it downloaded the quotes just fine, I changed my mind. Now I see the issue is not with the Yahoo end-of-day quotes, instead it's something to do with the intra-day quotes.
I've ran this as late as after 10:00 PM at night and the results are always the same: the quotes will not update any newer than a day old.
1. Start Internet Explorer. Do not use any other browser, but Internet Explorer. If you get a message that you need to configure for first time use - that might be the cause. If there is no message about first time use, then continue.
2. On internet explorer visit page: https://finance.yahoo.com/quote/AMZN Do you see latest price for Amazon (for todays quote)?