If we add one to the return, then you've got a number that's never negative and we can then use geometric returns.
然后加上1,你永远也得不到一个负数,然后我们对这个值求几何平均
Now, assuming that we trust the government-- I think the U.S. Government has never defaulted on its debt-- we'd take that as a riskless return.
假设我们信任政府-,假设美国政府从未拖欠债务-,可以把它当作无风险回报。
And if you've never used those, they're usually above your Return key.
如果你从来没用过这些竖线,它们在,回车键的上面。
If it isn't, then I'm going to go back around the loop, and notice what happens. If I get all the way around the loop, that is, all the way through that FOR loop and I never find a path that takes me through here, then the last thing I'm going to do is return a pair or a tuple with a special simple number none twice.
如果没有,我会回到循环看看发生了什么,如果我运行了整个循环,也就是整个for循环,我仍没有找到符合条件的路径,那么我最后做的事情就是返回一对,或者一个数组的两次none值。
This would be good luck if you were long and now suddenly you got a huge return that you would not have thought was possible since you've never seen it before.
如果你长期持有这份投资,你就走运了,回报如此之高,你自己都没有料到,可能你也从来没有见过这种情况
应用推荐