Hello:
I have been using the Scheme and C++ algorithms from Espen Haug's website:
http://www.espenhaug.com/black_scholes.html
They work okay under most circumstances, but when I try to simulate option values under hyperinflation with interest rates greater than 50%, the put values given by Espen Haug's algorithms are significantly different from the put values given by online option calculators; for instance, the option calculator from the Optons Industry Council:
http://www.optionseducation.org/quotes/default.jsp
(Try stock 100, strike 100, 30 days, 20% volatility, and use 1% and 50% interest rates on Haug's and OIC's algorithms, and you will see that Haug's gives call of 4.8 and put of 0.78 with interest of 50%, and with 50% interest, OIC's give call of 4.8 and put of 1.173; the puts are similar when interest is 1%)
So, which ones are correct? Any other SIMPLE open source algorithms I can use for my programming? I don't need the fancy but unnecessarily lengthy programs from QuantLib.org.
Thanks!
I have been using the Scheme and C++ algorithms from Espen Haug's website:
http://www.espenhaug.com/black_scholes.html
They work okay under most circumstances, but when I try to simulate option values under hyperinflation with interest rates greater than 50%, the put values given by Espen Haug's algorithms are significantly different from the put values given by online option calculators; for instance, the option calculator from the Optons Industry Council:
http://www.optionseducation.org/quotes/default.jsp
(Try stock 100, strike 100, 30 days, 20% volatility, and use 1% and 50% interest rates on Haug's and OIC's algorithms, and you will see that Haug's gives call of 4.8 and put of 0.78 with interest of 50%, and with 50% interest, OIC's give call of 4.8 and put of 1.173; the puts are similar when interest is 1%)
So, which ones are correct? Any other SIMPLE open source algorithms I can use for my programming? I don't need the fancy but unnecessarily lengthy programs from QuantLib.org.
Thanks!