https://bbs.wenxuecity.com/bbs/tzlc/1843694.html
鏈接中給出的是任何時段的年回報率。稍微修改一下就可用來準確計算YTD了:
1. 計算從年初開始至今的年回報率(R);
2. 將計算出的年回報率乘以當日在全年的天數除以365.25就可以了。比如今天的 YTD = R*("7/26/2025" - "12/31/2024")/365.25 = R*158/365.25.
https://bbs.wenxuecity.com/bbs/tzlc/1843694.html
鏈接中給出的是任何時段的年回報率。稍微修改一下就可用來準確計算YTD了:
1. 計算從年初開始至今的年回報率(R);
2. 將計算出的年回報率乘以當日在全年的天數除以365.25就可以了。比如今天的 YTD = R*("7/26/2025" - "12/31/2024")/365.25 = R*158/365.25.
•
Thank you so much!
-美心-
♀
(0 bytes)
()
07/26/2025 postreply
07:31:05
WENXUECITY.COM does not represent or guarantee the truthfulness, accuracy, or reliability of any of communications posted by other users.
Copyright ©1998-2025 wenxuecity.com All rights reserved. Privacy Statement & Terms of Use & User Privacy Protection Policy