Re: Correct classes for options on commodity futures?

Posted by Ken Anderson-2 on
URL: http://quantlib.414.s1.nabble.com/Correct-classes-for-options-on-commodity-futures-tp4612p4614.html

Right now I'm doing this:

FlatForward flatDividentTS = new FlatForward(todaysDate, 0.0, fixed365);

Should I make it the same as the risk free rate?  So like 4.5% right now?

Thanks again,
Ken

On Mar 17, 2006, at 9:53 AM, Luigi Ballabio wrote:


On 03/15/2006 08:23:11 PM, Ken Anderson wrote:
I need to generate greeks and implied volatilities for options on commodity futures.  Right now, I'm using BlackScholesProcess and VanillaOption.  Is that correct?  I would like to use Black-76, but I'm not sure if I'm getting that this way or not...

If I'm not mistaken, you'll get the Black-76 formula if you set the cost of carry to 0, i.e., if you pass to the constructor of the process a dividend yield equal to the risk-free rate.

Later,
Luigi


----------------------------------------

There is no likelihood man can ever tap the power of the atom.
-- Robert Millikan, Nobel Prize in Physics, 1923


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
<A href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Quantlib-users mailing list