Hello everyone
I am trying to pull daily trailing returns from Morningstar into Google sheets - for ETFs.
I was able to find the earlier post below that works for a number of ETFs - many thanks!
However, I was unable to get the formulae to work for the ETF: ARKG
Any advise is appreciated.
***********************************************************
If anyone is using the import xml from Morningstar and wants to get ETF data, they use a different table. This worked for VTI:
=IMPORTXML("http://performance.morningstar.com/perform/Performance/cef/trailing-total-returns.action?&t=ARCX:VTI®ion=usa&culture=en-US&cur=&ops=clear&s=0P00001MK8&ndec=2&ep=true&align=d&annlz=true&comparisonRemove=false&benchmarkSecId=&benchmarktype=", "//table/tbody[1]/tr[1]/td[5]")
With the concatenate addition to pull the ticker from a cell:
=IMPORTXML(Concatenate("http://performance.morningstar.com/perform/Performance/cef/trailing-total-returns.action?&t=ARCX:",K28,"®ion=usa&culture=en-US&cur=&ops=clear&s=0P00001MK8&ndec=2&ep=true&align=d&annlz=true&comparisonRemove=false&benchmarkSecId=&benchmarktype="), "//table/tbody[1]/tr[1]/td[5]")[/QUOTE]
I am trying to pull daily trailing returns from Morningstar into Google sheets - for ETFs.
I was able to find the earlier post below that works for a number of ETFs - many thanks!
However, I was unable to get the formulae to work for the ETF: ARKG
Any advise is appreciated.
***********************************************************
If anyone is using the import xml from Morningstar and wants to get ETF data, they use a different table. This worked for VTI:
=IMPORTXML("http://performance.morningstar.com/perform/Performance/cef/trailing-total-returns.action?&t=ARCX:VTI®ion=usa&culture=en-US&cur=&ops=clear&s=0P00001MK8&ndec=2&ep=true&align=d&annlz=true&comparisonRemove=false&benchmarkSecId=&benchmarktype=", "//table/tbody[1]/tr[1]/td[5]")
With the concatenate addition to pull the ticker from a cell:
=IMPORTXML(Concatenate("http://performance.morningstar.com/perform/Performance/cef/trailing-total-returns.action?&t=ARCX:",K28,"®ion=usa&culture=en-US&cur=&ops=clear&s=0P00001MK8&ndec=2&ep=true&align=d&annlz=true&comparisonRemove=false&benchmarkSecId=&benchmarktype="), "//table/tbody[1]/tr[1]/td[5]")[/QUOTE]