May 19th, 2013, 11:53 pm
Hi Guys,I'm trying to implement some code to solve the Heston PDE for European options using the ADI method. I've worked through the thesis by Lin, and gotten similar results to that thesis but when I run a Monte Carlo simulation, or compare it to the option city or kluge calculator my results are way off. Could someone please look through my code to see any glaring mistakes I may have missed? The parameters I am using are r=0.03,S=100,s0=0,V=1,lambda=0,T=1,K=50,rho=0.8,kappa=2,eta=0.2,sigma=0.3,theta=0.5,nv=20;ns=40;nt=100.Thanks for any help
-
Attachments
-
hestonFD.zip
- (1.26 KiB) Downloaded 93 times