facebookIs there a way to send in live/delayed sgx stock prices to Google sheets? - Seedly

Anonymous

09 Jun 2021

βˆ™

General Investing

Is there a way to send in live/delayed sgx stock prices to Google sheets?

I'm using Google sheets to track my portfolio. As I'm buying the Nikko am sti etf for DCA, it is not practical to use bloomberg/sgx to track my P&L. I've tried =googlefinance but it doesn't work for sgx stocks. Would appreciate your assistance. Thanks!

Discussion (26)

What are your thoughts?

Learn how to style your text

You can pull in data from Yahoo Finance quite easily using Google Apps Script. In the Apps script, you can define a function to retrieve data from any web page and then parse the HTML output.

​

I explained about how to do this in-depth in an article on Medium.

The workarounds listed in this thread didn't seem to work for me. Thanks to the other posters, I regineered it to make their formula to make it work for me. Hope this helps anyone else who had issues.

=REGEXEXTRACT(index(IMPORTHTML("http://www.shareinvestor.com/fundamental/factsh...",5),1,1),"0-9*.0-9+0-9+"))​​​

Hi

can try the below code in Google Sheets.

=REGEXREPLACE(index(IMPORTHTML("http://www.shareinve...

Write your thoughts