Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to smokey01,bungeejumper,stockton,Anonymous,bruncher, for Donating to support the site

Scraping ^FTAS & ^FTSE

Discussions regarding financial software
HillManMill
Lemon Pip
Posts: 59
Joined: November 8th, 2016, 8:36 am
Has thanked: 280 times
Been thanked: 22 times

Scraping ^FTAS & ^FTSE

#670922

Postby HillManMill » June 25th, 2024, 1:55 pm

I had been using an old version the funds scrape spreadsheet to obtain ^FTSE and ^FTAS values together with various ETF values. The underlying macro pointed to the https://uk.finance.yahoo.com/quotes/???? pages. In excel the macro halts at the line:

Set table_data = mtbl.getElementsByTagName("tr")

As the macro stopped working today I then got a copy of the current fund scrape spreadsheet which I notice points to https://markets.ft.com/data/funds/tears ... mary?s=???? . The new fundscrape sheet was able to scrape the ETFs but I could not get it to recover ^FTSE and ^FTAS [e.g. https://markets.ft.com/data/funds/tearsheet/summary?s=^FTAS] I guess that the are held elsewhere. Does anyone if and how it is possible to scrape FTSE and FTAS values please?

Thanks

kiloran
Lemon Quarter
Posts: 4149
Joined: November 4th, 2016, 9:24 am
Has thanked: 3308 times
Been thanked: 2876 times

Re: Scraping ^FTAS & ^FTSE

#670970

Postby kiloran » June 25th, 2024, 6:26 pm

HillManMill wrote:I had been using an old version the funds scrape spreadsheet to obtain ^FTSE and ^FTAS values together with various ETF values. The underlying macro pointed to the https://uk.finance.yahoo.com/quotes/???? pages. In excel the macro halts at the line:

Set table_data = mtbl.getElementsByTagName("tr")

As the macro stopped working today I then got a copy of the current fund scrape spreadsheet which I notice points to https://markets.ft.com/data/funds/tears ... mary?s=???? . The new fundscrape sheet was able to scrape the ETFs but I could not get it to recover ^FTSE and ^FTAS [e.g. https://markets.ft.com/data/funds/tearsheet/summary?s=^FTAS] I guess that the are held elsewhere. Does anyone if and how it is possible to scrape FTSE and FTAS values please?

Thanks

I just tried the Simple Price Scrape v2.2 and this failed to get prices from Yahoo, so something seems to have changed at the Yahoo end. Don't have time to look at it just now, but I'll have a gander tomorrow

--kiloran


Return to “Financial Software - Discussion”

Who is online

Users browsing this forum: No registered users and 9 guests