Re: [其他] 用Excel做回測下集(附做好的回測檔案)

作者: kslman   2020-06-18 23:02:08
※ 引述《yahoo168 (努力就會有騷貨)》之銘言:
: 上次有大大建議股價可以直接用google finance
: 不一定要用python或手動 蠻有道理的 大家可以參考看看
幫你補充下GoogleFinance取歷史資料的寫法:
這是抓2317:
=GoogleFinance("TPE:2317","close","2015/6/20","2020/6/18",1)
這是抓GOOG:
=GoogleFinance("GOOG","all","2015/6/20","2020/6/18",1)
資料會像這樣:
https://imgur.com/XqfRdk6
想看其他參數詳情可參考:
https://support.google.com/docs/answer/3093281?hl=zh-Hant

Links booklink

Contact Us: admin [ a t ] ucptt.com