楼主: chengzhifu2013
8078 25

[学科前沿] 急急急!!!20币求购可提前执行的美式期权蒙特卡洛模拟定价源代码(matalb环境) [推广有奖]

21
Chemist_MZ 在职认证  发表于 2012-5-11 10:45:33
kurtoo 发表于 2012-5-11 10:35
Binomial model 是怎么build的?每个tree node都是 s_0* u^i * d^{n-i}, s_0 是spot price, u是up scale ...
我姑且假设存续期是一年,如果有1000步的话u绝对不会有1.2这么大,比如我有250步,一步一天,那我每天股价都可能有1.2的增幅,显然不太可能。二叉树速度当然比simulation要快,而且结果稳定,确实收敛速度可能如你所说收敛比较慢,但是凡事有利有弊。你可以去看看这本书(WileyFinance_ Modeling Derivatives in C++论坛里有)里关于美式期权二叉树的C++代码。你不信的话可以试试,速度和精度都比较令人满意。至于你说是不是骗小孩子的,我个人觉得不是,蒙特卡洛,二叉树,有限差分平时我都用,各有好坏,至少我用得还不错。我这里放了一个根据这本书上写的源代码是C++的exe可执行文件,是美式期权二叉树的,你可以试试看。

American_Option.rar
下载链接: https://bbs.pinggu.org/a-1108560.html

115.66 KB

本附件包括:

  • American_Option.exe

已有 1 人评分经验 论坛币 收起 理由
见路不走 + 5 + 5 热心帮助其他会员

总评分: 经验 + 5  论坛币 + 5   查看全部评分

扫头像关注公众号“二点三西格玛”衍生品定价与风险管理

22
kurtoo 发表于 2012-5-11 11:08:27
Chemist_MZ 发表于 2012-5-11 10:45
我姑且假设存续期是一年,如果有1000步的话u绝对不会有1.2这么大,这个你可以去看看。二叉树速度当然比si ...
vol=50%(10Y tenor 1Y expiry USD swpation vol quoted from SuperD), TTM=1Y, step size u=exp(0.5*sqrt(1/1000))=1.0159, u^1000=7.35*10^6, and you need to multiply the risk neutral probability then discount them back, lots of rounding would happen.  I am not arguing with you whether the model is good and not, instead of telling you that it is not a market model, and no traders are applying the model in the same way in your mind. In the real trading market, American option is very liquid and the profit margin is low. To be able to apply a model then price back the market quotes, PDE+local vol is often used in major banks to give the price of American options.  But I believe with you that binomial tree is better then the longstaff schwartz model used for Monte Carlo.

23
Chemist_MZ 在职认证  发表于 2012-5-11 11:15:54
kurtoo 发表于 2012-5-11 11:08
vol=50%(10Y tenor 1Y expiry USD swpation vol quoted from SuperD), TTM=1Y, step size u=exp(0.5*sqrt ...
恩,这个我非常同意,楼主是要写个毕业论文,所以我推荐他用二叉树,不推荐LSM,正如您所说,实际当中是要用别的模型。用什么模型其实都看需要,各有用处,各有好坏。
扫头像关注公众号“二点三西格玛”衍生品定价与风险管理

24
windblood 发表于 2012-5-11 20:42:23
chengzhifu2013 发表于 2012-5-10 23:14
谢谢你!你去我的悬赏贴中点击“我来回答”随便回复一句话,我把那20币给你,聊表谢意。
谢谢,谢谢!
...
不用了,当初随便看看,本来就不是冲着那20币来的

25
chengzhifu2013 发表于 2012-5-11 20:50:51
windblood 发表于 2012-5-11 20:42
不用了,当初随便看看,本来就不是冲着那20币来的
你别这么客气,我知道。不过你不要,我也没办法,就给其他人好了。
不管怎么说,非常谢谢你,只是无以为报啊。
Focus on the task at hand.

26
EdwardBlues 发表于 2014-6-3 15:10:26
kurtoo 发表于 2012-5-11 11:08
vol=50%(10Y tenor 1Y expiry USD swpation vol quoted from SuperD), TTM=1Y, step size u=exp(0.5*sqrt ...
这人英语蠢尿了
人不呆逼枉少年

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jr
拉您进交流群
GMT+8, 2026-1-9 11:16