利用Google試算表取得台股/美股報價 - 股票
By Daniel
at 2014-12-19T23:18
at 2014-12-19T23:18
Table of Contents
對於想要自己建立投資報表的朋友,利用Google試算表是很實用而且簡單的方法。
雲端化的好處就是不論到哪裡,手機、電腦、平板,都可以直接觀看及修改。
這裡簡單分享如何利用Google試算表取得台股及美股的報價,給有需要的朋友。
網路上有一版本利用奇摩財經取回報價的方法已經失效,
我這邊提供最新的方法。
網誌好讀版:
http://hclovenote.blogspot.tw/2014/12/googlespreadsheet20141219.html
純文字版:
想要使用Google的試算表(Google Spreadsheet),必須先申請Google Account,
並連結到Google Drive雲端硬碟,點擊新增->Google試算表。
本文範例請到這個連結下載。
http://ppt.cc/496p
使用微軟Office Excel的朋友,想要取得股票報價比較麻煩,
因此建議嘗試用看看Google試算表囉!
若要取得美股的即時報價,請用這個公式:
=GOOGLEFINANCE("VTI", "price")
而如果想要用某個欄位的股票代碼來取得報價則是利用這個公式:
=GOOGLEFINANCE(A2, "price")
A2表示某欄位的值,需輸入美股的股票代號,範例如下圖:
http://ppt.cc/OoQ~
而台股有些股票代號不支援GOOGLEFINANCE公式,就要透過奇摩財經提供的資料,
取得報價請使用此公式(請直接複製,在試算表貼上即可):
=IFERROR(GoogleFinance(CONCATENATE(A5, ".TW"),"price"),
importXML(CONCATENATE("http://finance.yahoo.com/webservice/v1/symbols/",
A5,".tw/quote"),"//field[@name='price']"))
--
Tags:
股票
All Comments
By Adele
at 2014-12-24T19:03
at 2014-12-24T19:03
By Joe
at 2014-12-29T17:35
at 2014-12-29T17:35
By Hardy
at 2014-12-30T10:18
at 2014-12-30T10:18
By Lucy
at 2015-01-02T10:45
at 2015-01-02T10:45
By Ethan
at 2015-01-05T07:17
at 2015-01-05T07:17
By Rachel
at 2015-01-08T21:27
at 2015-01-08T21:27
By Hedwig
at 2015-01-12T15:15
at 2015-01-12T15:15
By Hardy
at 2015-01-14T13:38
at 2015-01-14T13:38
By Agnes
at 2015-01-16T06:47
at 2015-01-16T06:47
By Sierra Rose
at 2015-01-18T08:25
at 2015-01-18T08:25
By Noah
at 2015-01-23T05:06
at 2015-01-23T05:06
By Tristan Cohan
at 2015-01-25T16:14
at 2015-01-25T16:14
By Wallis
at 2015-01-29T15:01
at 2015-01-29T15:01
By Mason
at 2015-02-02T15:48
at 2015-02-02T15:48
By Eartha
at 2015-02-02T17:30
at 2015-02-02T17:30
By Isabella
at 2015-02-06T15:38
at 2015-02-06T15:38
By Edith
at 2015-02-08T17:03
at 2015-02-08T17:03
Related Posts
經驗談,指標背離
By Catherine
at 2014-12-18T02:46
at 2014-12-18T02:46
0061寶滬深市價遠低於淨值
By Edith
at 2014-12-09T13:37
at 2014-12-09T13:37
專業小散戶投資心得
By Tristan Cohan
at 2014-11-24T21:33
at 2014-11-24T21:33
過去十年主要交易所成交量變化
By Yuri
at 2014-11-13T16:40
at 2014-11-13T16:40
中韓FTA敲定 台3年損6500億 產業憂:大災難
By Puput
at 2014-11-11T10:02
at 2014-11-11T10:02