"days: [9, 20]", 什麽意思?

來源: BeLe 2024-02-03 17:46:58 [] [博客] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (471 bytes)
本文內容已被 [ BeLe ] 在 2024-02-03 17:56:20 編輯過。如有問題,請報告版主或論壇管理刪除.
回答: 2000-01-01到2022-12-31每月定投結果study1692024-02-03 16:16:12
Investing into SPY $100 weekly
start_date: 2000-01-01, end_date: 2022-12-31, days:[9, 20]
Total money invested: $38500.00
Total return rate:229.45%
Profit: $88338.60

 

 

 

 

所有跟帖: 

應該是每個月的9號或者20號定投 -yuanshangdu- 給 yuanshangdu 發送悄悄話 yuanshangdu 的博客首頁 (0 bytes) () 02/03/2024 postreply 18:01:40

就是每月9號和20號兩次定投。另外, -study169- 給 study169 發送悄悄話 (143 bytes) () 02/03/2024 postreply 18:19:09

你是用什麽網站做這些計算的? -BeLe- 給 BeLe 發送悄悄話 BeLe 的博客首頁 (0 bytes) () 02/03/2024 postreply 18:24:47

我用python寫了點程序,從Yahoo finance下載數據自己算的 -study169- 給 study169 發送悄悄話 (121 bytes) () 02/03/2024 postreply 18:33:21

你的計算裏麵,好像是若9號或20號股市不開盤,就跳過。 -BeLe- 給 BeLe 發送悄悄話 BeLe 的博客首頁 (0 bytes) () 02/03/2024 postreply 18:39:34

我簡化了一下,沒有考慮股市不開盤的情況。其實一年Miss一兩次應該影響不大。 -study169- 給 study169 發送悄悄話 (0 bytes) () 02/03/2024 postreply 18:41:44

2024年將有7次,9號或20號在周末。 -BeLe- 給 BeLe 發送悄悄話 BeLe 的博客首頁 (0 bytes) () 02/03/2024 postreply 18:51:49

那我再把這些再考慮進去重算一下 -study169- 給 study169 發送悄悄話 (0 bytes) () 02/03/2024 postreply 19:06:15

更新了考慮周末或者節日的情況,原來的邏輯確實漏掉了不少。但結論是一樣的。 -study169- 給 study169 發送悄悄話 (0 bytes) () 02/03/2024 postreply 19:45:15

投資回報比例一樣,資金投入增多了。 -study169- 給 study169 發送悄悄話 (0 bytes) () 02/03/2024 postreply 19:47:00

遇到9號或20號在周末,就在緊接著的星期一買SPY? -BeLe- 給 BeLe 發送悄悄話 BeLe 的博客首頁 (0 bytes) () 02/03/2024 postreply 20:01:22

是的 -study169- 給 study169 發送悄悄話 (0 bytes) () 02/03/2024 postreply 20:02:46

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”