楼主: maxth
1291 1

[其他] 简单编程,谢谢 [推广有奖]

  • 1关注
  • 0粉丝

本科生

23%

还不是VIP/贵宾

-

威望
0
论坛币
3 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
2731 点
帖子
69
精华
0
在线时间
67 小时
注册时间
2007-7-27
最后登录
2014-5-5

楼主
maxth 发表于 2011-2-6 06:32:17 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
主要是想问下这个障碍90写在程序里应该怎么写,也就是说“如果股票价格低于90,自动到期无效”这个语句怎么写,谢谢
我改编成了if SVals<90
CVals(i)=0;
else
    CVals(i) = max(SVals(i)-K,0);但结果不对,为什么呢


Consider a down-and-out call option with strike 115 and barrier 90 maturing in 9 months. Current spot price is 100. Volatility and riskless rate are 30% and 3%, respectively.  Modify both binomial (smartlattice) and trinomial algorithms presented in class in order to price this option. The number of time steps is left to your discretion but whatever you decide should be supported by evidence of convergence. Based on your results, do you have any reason to prefer one algorithm over the other (think of accuracy and computation speed)?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:vals 股票价格 SVA 程序 股票价格

沙发
maxth 发表于 2011-2-7 08:39:16
很急啊,大家帮忙哇

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

本版微信群
加好友,备注jr
拉您进交流群
GMT+8, 2025-12-9 08:35