股票的歷史股價怎麼下載到google sheet 裡面??

股票的歷史股價怎麼下載到google sheet 裡面??


以這個yahoo為例,一個是香港的,一個是美國的,好像都有擋住禁止抓歷史股價
網站1
https://finance.yahoo.com/quote/8454.TW/history/?p=8454.TW&frequency=1mo&filter=history
網站2
https://hk.finance.yahoo.com/quote/2330.TW/history/?frequency=1mo%E7%9A%84%E6%AD%B7%E5%8F%B2%E8%82%A1%E5%83%B9


我本身是有用google sheet 內建的googel fiance 函數試過,是可以抓到日K的歷史股價

但沒辦法抓到「月K」,還有「上櫃」的股價google 也沒支援,只有支援「上市」的公司

我也有試過用chatgpt 和deepseek 其他方試來解決,但目前研究1個月沒找到解決辦法

不知道有哪個大大有研究這方面的,可以一起來討論
2025-08-09 21:20 發佈
歷史股價我以前是用三竹滙出到 excel, 但我只滙出收盤價. 最高最低價能不能滙出沒試過了.

google finance 可以滙出 最高最低和收盤價, 然後套公式算出 K 值. 但月 k沒試過.
https://www.twse.com.tw/zh/trading/historical/stock-day.html

不知道這邊的資訊是否符合您的需求?
這邊有

https://support.google.com/docs/answer/3093281?hl=en-GB&rd=1
試抓了一下AMD 歷史股價 是ok的

Date Close
6/2/2025 16:00:00 114.63
6/3/2025 16:00:00 117.31
6/4/2025 16:00:00 118.58
6/5/2025 16:00:00 115.69
6/6/2025 16:00:00 116.19
6/9/2025 16:00:00 121.73
6/10/2025 16:00:00 123.24
6/11/2025 16:00:00 121.14
6/12/2025 16:00:00 118.5
6/13/2025 16:00:00 116.16
6/16/2025 16:00:00 126.39
6/17/2025 16:00:00 127.1
6/18/2025 16:00:00 126.79
6/20/2025 16:00:00 128.24
6/23/2025 16:00:00 129.58
6/24/2025 16:00:00 138.43
6/25/2025 16:00:00 143.4
6/26/2025 16:00:00 143.68
6/27/2025 16:00:00 143.81
6/30/2025 16:00:00 141.9
7/1/2025 16:00:00 136.11
7/2/2025 16:00:00 138.52
7/3/2025 13:05:00 137.91
7/7/2025 16:00:00 134.8
7/8/2025 16:00:00 137.82
7/9/2025 16:00:00 138.41
7/10/2025 16:00:00 144.16
7/11/2025 16:00:00 146.42
7/14/2025 16:00:00 146.24
7/15/2025 16:00:00 155.61
7/16/2025 16:00:00 160.08
7/17/2025 16:00:00 160.41
7/18/2025 16:00:00 156.99
7/21/2025 16:00:00 157
7/22/2025 16:00:00 154.72
7/23/2025 16:00:00 158.65
7/24/2025 16:00:00 162.12
7/25/2025 16:00:00 166.47
7/28/2025 16:00:00 173.66
7/29/2025 16:00:00 177.44
7/30/2025 16:00:00 179.51
7/31/2025 16:00:00 176.31
8/1/2025 16:00:00 171.7
8/4/2025 16:00:00 176.78
8/5/2025 16:00:00 174.31
8/6/2025 16:00:00 163.12
8/7/2025 16:00:00 172.4
8/8/2025 16:00:00 172.76
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?