I just ran my update script for the first time in a few weeks. The "Latest Quote Date" shows today (Sept. 05, 2025) but the "Refresh Time" shows August 15. Also my September dividends are not showing up. This is happeneing in both power-BI and the regular excel reports. I think I'm on the latest release as of August.
Any suggestions?
Comments
In the folder Scripts \ Log folder check the file GetExcelSrcData . txt First - what is the date time for this file Sep 9th, or Aug 15th?
What is the content of the file?
And then, please open file c: \ PortfolioSlicer \ PSData \ Config.csv - please post the content of that file here.
The content of the file is "17:33:21 --- Starting script GetExcelSrcData.ps1"
The content of the PSData/Config.csv is:
MinDate TrackCash RefreshTime
2016-12-30 Yes Aug-15, 18:41
20:10:41 --- Finished ExtractExcelData. Duration: 6 sec.
If there is no "Finished" line, that is likely because of some error. But if there would be an error, then PSData\Config.csv would not be created, yet it is. Can you please check c:\PortfolioSicer\PSData\Config.csv file and see the date when the files was created. Is the file date is from Aug-15?
I am assuming you are executing script UpdatedPSData.bat
Can you please:
1. Make a copy of the file UpdatePSData.bat to UpdatePSData2.bat
2. Edit file UpdatePSData2.bat. Replace last line:
with line
3. Execute UpdatePSData2.bat. Somewhere it should show an error - you might need to scroll up. What is the error?
In the UpdatePSData.bat file the lines for that entry are:
C:\PortfolioSlicer\PortfolioSlicer-Source.xlsx
which is indeed the name of the source file.
*** Error. Please specify "ExcelSourceFile" parameter value in psConfig.txt file
In the UpdatePSData.bat file the lines for that entry are:
C:\PortfolioSlicer\PortfolioSlicer-Source.xlsx
which is indeed the name of the source file.
Everything works fine now.