Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Stock Spreadsheet

views
     
cucumber
post Oct 23 2021, 11:35 PM

Enthusiast
*****
Junior Member
821 posts

Joined: Jun 2005


QUOTE(calvinkcl @ Oct 23 2021, 11:37 AM)
Below code is to import the price.
If I want to import the 52w info, why to do it?
Thank you in advance.
<a href='https://pictr.com/images/2021/10/23/BL49Z6.md.jpg' target='_blank'>https://pictr.com/images/2021/10/23/BL49Z6.md.jpg </a>
*
CODE
=index(IMPORTXML("https://www.klsescreener.com/v2/stocks/view/5176", "//div[@class ='table-responsive']//table[1]/tbody/tr[7]/td[2]"),1)

cucumber
post Oct 23 2021, 11:50 PM

Enthusiast
*****
Junior Member
821 posts

Joined: Jun 2005


QUOTE(calvinkcl @ Oct 23 2021, 02:43 AM)
May I know the code to pull out the 52w from klsescreener?
*
Like this to keep it simple.
CODE
=index(IMPORTXML("https://www.klsescreener.com/v2/stocks/view/5176", "//tr[7]/td[2]"),1)

cucumber
post Apr 24 2022, 10:52 PM

Enthusiast
*****
Junior Member
821 posts

Joined: Jun 2005


If you're using Google Sheets

Here's the new code :

CODE
=index(ImportXML("https://klse.i3investor.com/web/stock/overview/1155?randomstring", "//div[contains(@id, 'stock-price-info')]//p[2]"), 1, 1)



cucumber
post Feb 26 2024, 03:32 PM

Enthusiast
*****
Junior Member
821 posts

Joined: Jun 2005


QUOTE(126126 @ Feb 26 2024, 11:22 AM)
Hello, have been using i3investor to pull bursa prices for sheets, but recently the prices are no longer updated.

Anyone has the most recent code? Or any other ways to pull live prices on sheets?
*
Could you share the code you were using? I had the same problem a few days ago, I just modified the url a bit and it worked. Yahoo however is not working, page is down.
cucumber
post Feb 12 2025, 09:36 AM

Enthusiast
*****
Junior Member
821 posts

Joined: Jun 2005


QUOTE(126126 @ Nov 14 2024, 10:28 AM)
Hello, looks like the code has been down for the past few weeks. Anyone has the new code to pull recent prices from i3 website or any other sites?
*
I cannot get it to work either with KLSE stocks. Tried various methods. It stopped working for me the past week. US stock still ok using Google Finance.

If anyone found a way to extract KLSE stock price in Google Sheets kindly share here.
cucumber
post Mar 26 2025, 12:36 PM

Enthusiast
*****
Junior Member
821 posts

Joined: Jun 2005


QUOTE(jegan80 @ Mar 4 2025, 09:48 AM)
Eg... for the green Telco provider..

CODE
=importxml("https://www.klsescreener.com/v2/stocks/view/8672","//span[@id='price']")

*
This works. Thank you ma man

 

Change to:
| Lo-Fi Version
0.0231sec    0.50    7 queries    GZIP Disabled
Time is now: 21st December 2025 - 03:42 AM