登录论坛

查看完整版本 : 如何在MATLAB中计算股票的历史波动率?


poster
2019-12-10, 20:41
我想创建一些模拟的历史期权数据,并需要根据历史股价计算历史波动率。有内置的功能可以做到这一点吗?有公式吗?



回答:

我发现的唯一内置功能是在Financial Toolbox中 (http://www.mathworks.com/products/finance/) :


BLKIMPV (http://www.mathworks.com/access/helpdesk/help/toolbox/finance/blkimpv.html)
BLSIMPV (http://www.mathworks.com/access/helpdesk/help/toolbox/finance/blsimpv.html)
柴伏拉 (http://www.mathworks.com/access/helpdesk/help/toolbox/finance/chaikvolat.html)
除此之外,这里还有一些其他链接可能会有所帮助:


使用MATLAB (http://tradingwithmatlab.blogspot.com/2008/06/estimate-historical-volatility.html)博客进行交易 (http://tradingwithmatlab.blogspot.com/2008/06/estimate-historical-volatility.html)
Josiah Renfree (http://www.mathworks.com/matlabcentral/fileexchange/authors/27774)在MathWorks文件交换 (http://www.mathworks.com/matlabcentral/fileexchange/)上的历史波动率 (http://www.mathworks.com/matlabcentral/fileexchange/24811-historical-volatility) (来自上述ShinTakezou的评论的链接)


更多&回答... (https://stackoverflow.com/questions/3040676)