Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

yahoo finance intraday very slow and 2 not found

16:15:07 --- Starting script GetQuotes-YahooIntraday.ps1
Symbol count: 5. MinDate: 2019-01-07
Symbol: NOU.V. Next date: 2022-10-04. Quote file: C:\Users\andre\OneDrive\Documents\Document Andre\finances\Investissement\script\PortfolioSlicerDDMScriptsV2.4.16\Quotes\_NOU.V_.txt
Requesting url: https://finance.yahoo.com/quote/NOU.V
Found price: 7.58. Price found between strings 'data-field="regularMarketPrice" data-trend="none" data-pricehint="2" value="' and '"'
Symbol: VSP.TO. Next date: 2022-10-04. Quote file: C:\Users\andre\OneDrive\Documents\Document Andre\finances\Investissement\script\PortfolioSlicerDDMScriptsV2.4.16\Quotes\_VSP.TO_.txt
Requesting url: https://finance.yahoo.com/quote/VSP.TO
Found price: 62.63. Price found between strings 'data-field="regularMarketPrice" data-trend="none" data-pricehint="2" value="' and '"'
Symbol: ZPR.TO. Next date: 2022-10-04. Quote file: C:\Users\andre\OneDrive\Documents\Document Andre\finances\Investissement\script\PortfolioSlicerDDMScriptsV2.4.16\Quotes\_ZPR.TO_.txt
Requesting url: https://finance.yahoo.com/quote/ZPR.TO
Found price: 9.49. Price found between strings 'data-field="regularMarketPrice" data-trend="none" data-pricehint="2" value="' and '"'
Symbol: WEED.TO. Next date: 2022-10-04. Quote file: C:\Users\andre\OneDrive\Documents\Document Andre\finances\Investissement\script\PortfolioSlicerDDMScriptsV2.4.16\Quotes\_WEED.TO_.txt
Requesting url: https://finance.yahoo.com/quote/WEED.TO
** For Symbol: WEED.TO start string 'data-field="regularMarketPrice" data-trend="none" data-pricehint="2" value="' not found.

Found price: 4.24. Price found between strings 'data-field="regularMarketPrice" data-trend="none" data-pricehint="4" value="' and '"'
Symbol: CRON.TO. Next date: 2022-10-04. Quote file: C:\Users\andre\OneDrive\Documents\Document Andre\finances\Investissement\script\PortfolioSlicerDDMScriptsV2.4.16\Quotes\_CRON.TO_.txt
Requesting url: https://finance.yahoo.com/quote/CRON.TO
** For Symbol: CRON.TO start string 'data-field="regularMarketPrice" data-trend="none" data-pricehint="2" value="' not found.

Found price: 4.07. Price found between strings 'data-field="regularMarketPrice" data-trend="none" data-pricehint="4" value="' and '"'
16:15:11 --- Finished. Quotes Requested/Succeed/Failed/Rows: 5/5/0/5. Duration: 3 sec.

Comments

  • From the output above - it took you 3 seconds to get quotes for all 5 symbols you have. For each symbol there are multiple attempts to find price and if first attempt fails, then script looks for different string combinations and it appears to me that all prices are found.
Sign In or Register to comment.