1. 打開 Google 試算表
2. 輸入以下公式
(1)股名:
=IMPORTXML("https://tw.stock.yahoo.com/quote/00679B","//*[@id='main-0-QuoteHeader-Proxy']/div/div[1]/h1")(2)股價:
=IMPORTXML("https://tw.stock.yahoo.com/quote/00679B","//*[@id='main-0-QuoteHeader-Proxy']/div/div[2]/div[1]/div/span[1]")(3)漲跌點數:
=股價 * 漲跌幅(4)、漲跌幅(百分比):
=IMPORTXML("https://tw.stock.yahoo.com/quote/00679B","//*[@id='main-0-QuoteHeader-Proxy']/div/div[2]/div[1]/div/span[3]")*100
google finance 相關技巧及文章:
沒有留言:
張貼留言