It looks like you're new here. If you want to get involved, click one of these buttons!
At C:\Users\Charles\Google Drive\PortfolioSlicer\Scripts\GetQuotesYahoo.ps1:12
char:60
+ $minDate = ($config | Select-Object -Index(($config.IndexOf <<<< ("<MinDate>"
))+1)).Replace("","");
+ CategoryInfo : InvalidOperation: (IndexOf:String) [], RuntimeEx
ception
+ FullyQualifiedErrorId : MethodNotFound
*** Error. Min date in psconfig file is but should be between 1960-01-01 and 2
050-01-01
Method invocation failed because [System.Object[]] doesn't contain a method nam
ed 'IndexOf'.
At C:\Users\Charles\Google Drive\PortfolioSlicer\Scripts\GetQuotesGoogle.ps1:11
char:72
+ $verbose = $false; if (($config | Select-Object -Index(($config.IndexOf <<<<
("<DetailOutput>"))+1)).Replace("","").ToLower() -eq "yes") {$ve
rbose=$true;}; # Check if configured to do detail output
+ CategoryInfo : InvalidOperation: (IndexOf:String) [], RuntimeEx
ception
+ FullyQualifiedErrorId : MethodNotFound
Thanks in advance,
Comments
Unfortunately I still get some errors when running the script and only "CurrencyConv", "Dividens" and "Quotes" are being generated.
Here's what I get in command prompt:
It looks that you put scripts into folder
C:\Users\Charles\Google Drive\PortfolioSlicer
Error message says that during execution file
.\Scripts\ArchiveOldQuotes.ps1
Can you please confirm if that file is there.
I made the mistake to download the wrong script set which didn't contain all the required files.
Everything seems to be working as it should now, however I do have two questions:
- My stock prices are pulled from yahoo in cents (GBP) and copied accordingly to in the main excel file (srcSymbol). How can all the values then be converted back to British pounds?
- Which field should be used to take stamp duty into account on any purchase?
Thank you very much for making this freely available!
Charles
I do not know what is stamp duty, maybe fee for purchase?
HSTN.L,MinDate,MaxDate,IntraDayFlag[Y|N],[DividendFlag[Y|N],0.01,FactorIntraDay,FactorDividend
Stamp duty is a UK tax of 0.5% on orders over 1,000£, can a percentage be entered in the fee for purchase?