"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”