Correct classes for options on commodity futures?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Correct classes for options on commodity futures?

Ken Anderson-2
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...

Thanks,
Ken



Reply | Threaded
Open this post in threaded view
|

Re: Correct classes for options on commodity futures?

Luigi Ballabio
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


Reply | Threaded
Open this post in threaded view
|

Re: Correct classes for options on commodity futures?

Ken Anderson-2
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

Reply | Threaded
Open this post in threaded view
|

Re: Correct classes for options on commodity futures?

Luigi Ballabio
On 03/17/2006 05:21:36 PM, Ken Anderson wrote:
> 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?

Based on Haug, p. 7, I would think so.

Luigi


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

Brady's First Law of Problem Solving:
        When confronted by a difficult problem, you can solve it more
        easily by reducing it to the question, "How would the Lone
        Ranger have handled this?"