Login  Register

RE: how is QL tested

Posted by Vadim Ogranovich-3 on Apr 24, 2002; 11:55am
URL: http://quantlib.414.s1.nabble.com/how-is-QL-tested-tp1999p2000.html

What about Bloomberg? I bet they have option analytics somewhere in the maze
of their windows.

Also in "Option Pricing" by Wilmott, et. al there is an example in C.2.3
"Options paying dividends".

-----Original Message-----
From: Ferdinando Ametrano [mailto:[hidden email]]
Sent: Tuesday, April 23, 2002 1:44 PM
To: Vadim Ogranovich
Cc: [hidden email]
Subject: Re: [Quantlib-users] how is QL tested


Hi Vadim

sorry for the late reply, but I got stretched pretty thin in the last weeks

>I am wondering what serves as a benchmark for testing algorithms for option
>pricing, implied vols., etc
Usually numerical examples provided by books ("Implementing Derivatives
Models", Haug, etc) and articles. Greeks are recalculated outside QuantLib
with a finite difference approach and checked with the results provided by
QuantLib. Parities and general relationship (as in Straddle = Call+Put) are
also checked.
These tests are implemented in QuantLib-Python test suite.
There is still much work that need to be done anyway

>Specifically I am interested in American options with continuous /
>descrete dividends.
Ouch! I checked what kind of test we have for american options, and I found
only something about greeks. We badly need something here. I wrote to Marco
(the original author of american options) and we will try to work on that.
I looked around for numerical examples but I couldn't find none. There must
be some numerical results for american option with discrete dividends
somewhere; suggestions anyone?

>To make sure, I am not reporting a problem. I am just trying to get
>confidence in QL.
I completely understand your concern. Of course anyone who wants to use
QuantLib for a serious task should test the library before, and I would
suggest to produce a test that could be run frequently to check that
further development doesn't broke the features you're interested in. Such a
test could be added to the Python test suite, or to the C++ examples

>I have been searching for ways of representing and fitting volatility
smiles
>of options in QL. The closest things that I found are all sorts of
>*VolatilityStructure classes. They seem to be coming from the area of fixed
>income
>[...]
>  Interestingly the *VolatilityStructure classes
>appear in .hpp but not in any of .cpp files.
you're right. Luigi is working on that.

>Is there any support for volatility smiles of options?
Not yet

>  This by itself is a two-level question: a) whether there is a class that
> represents a smile
>and b) whether there are methods that fit the smile to the current set of
>option prices.
The first level shouldn't be that hard ... is there anyone who wants to
propose an interface for equity's vol, taking into account time and stike
dependencies?

>2. Are there means to incorporate time-dependent (but not stochastic)
>volatility in pricing of FdDividendAmericanOption. Here the answer is
>probably "yes, in principal you can" given what I have read in "The finite
>difference framework" of the user manual, but I am wondering is there an
>already canned solution.
Not yet, and while in principal you can, my opinion is that we need to
define the volatility interface before

ciao -- Nando


_______________________________________________
Quantlib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users

--------------------------------------------------
DISCLAIMER
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information.  If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is strictly prohibited.
If you have received this e-mail in error, please immediately notify me and
permanently delete the original and any copy of any e-mail and any printout
thereof.

E-mail transmission cannot be guaranteed to be secure or error-free.  The
sender therefore does not accept liability for any errors or omissions in
the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY

Knight Trading Group may, at its discretion, monitor and review the content
of all e-mail communications.