no greeks for vanilla binomial pricing engine?

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

no greeks for vanilla binomial pricing engine?

Wry Boy
../PricingEngines/binomialvanillaengine.cpp

any plans to add greeks to this pricing engine?  why
does such a rich library omit the relatively basic
feature of being able to provide greeks for american
options using e.g. CRR binomial model..... net present
value is great but i gotta have those partials too....

phil

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com


Reply | Threaded
Open this post in threaded view
|

Re: no greeks for vanilla binomial pricing engine?

Luigi Ballabio-2
On 2004.03.06 05:42, Wry Boy wrote:
> ../PricingEngines/binomialvanillaengine.cpp
>
> any plans to add greeks to this pricing engine?  why
> does such a rich library omit the relatively basic
> feature of being able to provide greeks for american
> options using e.g. CRR binomial model.....

Phil,
        greeks are not omitted by design. The simple reason is that  
being QuantLib a volunteer project, one can only add features when more  
mundane cares (such as one's real job and family) allow one to do so.

Oh, and I hope I don't sound too harsch in writing this---I'm not  
rebuking you, just stating a fact. Had I wanted to rebuke you, I would  
have said "it's an open source project---you can implement them" :)

> net present value is great but i gotta have those partials too....

For the time being, you can obtain them numerically---get the NPV for  
your current underlying value, perturb it, get the NPV again, there's  
your delta.  This said, you're welcome to add greeks to the feature  
request tracker at

    http://sourceforge.net/tracker/?group_id=12740&atid=362740

so that we remember to consider them when we have some time on our  
hands. And of course, were you to give it a try, the bit about  
contributing them would apply too...

Regards,
                Luigi


Reply | Threaded
Open this post in threaded view
|

Re: no greeks for vanilla binomial pricing engine?

Wry Boy
Thanks for answering.  I added the feature request and
will consider the effort myself.  Regards.  Phil.

--- Luigi Ballabio <[hidden email]>
wrote:

> On 2004.03.06 05:42, Wry Boy wrote:
> > ../PricingEngines/binomialvanillaengine.cpp
> >
> > any plans to add greeks to this pricing engine?
> why
> > does such a rich library omit the relatively basic
> > feature of being able to provide greeks for
> american
> > options using e.g. CRR binomial model.....
>
> Phil,
> greeks are not omitted by design. The simple reason
> is that  
> being QuantLib a volunteer project, one can only add
> features when more  
> mundane cares (such as one's real job and family)
> allow one to do so.
>
> Oh, and I hope I don't sound too harsch in writing
> this---I'm not  
> rebuking you, just stating a fact. Had I wanted to
> rebuke you, I would  
> have said "it's an open source project---you can
> implement them" :)
>
> > net present value is great but i gotta have those
> partials too....
>
> For the time being, you can obtain them
> numerically---get the NPV for  
> your current underlying value, perturb it, get the
> NPV again, there's  
> your delta.  This said, you're welcome to add greeks
> to the feature  
> request tracker at
>
>    
>
http://sourceforge.net/tracker/?group_id=12740&atid=362740
>
> so that we remember to consider them when we have
> some time on our  
> hands. And of course, were you to give it a try, the
> bit about  
> contributing them would apply too...
>
> Regards,
> Luigi


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you’re looking for faster
http://search.yahoo.com