If I wanted every stock to have the same volatility, I could just do that, if you will, at the time I wrote my program.
如果我希望每只股票的浮动值都相同,在我编写程序的时候,如果你愿意的话,我会这么做。
I'm gonna keep as part of each stock, it's history of prices, which we can initialize, well, I've initialized it as empty, but that's probably the wrong thing, right?
我会把股票的历史价格,作为每只股票的一部分,我们可以先对它的历史价格进行赋值,好了,我先给它赋了空值,但是这样做可能不对,是吗?
We might or might not have time to come back to that But more generally, the point is, that each stock actually behaves a little bit differently.
我们可能没有时间讲这些问题了,但是一般来说,这里的问题是,每一只股票的表现,都是不一样的。
So we're going to assign to each stock, when we create it, a distribution.
所以我们在创建每只股票时,要给它们指定一中概率分布。
How would you model individual stocks if you believe this hypothesis?
如果你们相信这个,假设你们应该怎样去对每只股票建模呢?
I'll draw something from the distribution, so this is interesting, distribution I'm now calling self dot distribution, and remember this will be different for each stock.
我会从分布中读取一个值,这就是有趣的部分,我现在会调用self。,请记住每只股票都是不一样的。
应用推荐