localVolatility uses Constant Vol

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

localVolatility uses Constant Vol

BL BL
Hi,

i would like to use a smiled Black Variance Surface with a GeneralizedBlackscholesProcess.

I passed a BlackVarianceSurface to the process.

Debugging my little perl application shows: The localVolatility Member of the process detects (wrongly) a constant local vol.

How can i force the use of a smiled surface in localVolatility?


Any Help appriciated.

Best Regards,

Bernd

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

_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: localVolatility uses Constant Vol

Peter Caspers-4
Hi Bernd,

do you first pass a constant volatility input and then relink it to a
full surface (then the update mechanism could be the problem) ?
Otherwise the class uses a cast to detect a constant volatility input,
hard to believe that anything can go wrong here. Can you produce a
pure C++ example that triggers the error or is the interplay with Perl
essential ?

Best regards
Peter

On 21 September 2015 at 14:30, BL BL <[hidden email]> wrote:

> Hi,
>
> i would like to use a smiled Black Variance Surface with a
> GeneralizedBlackscholesProcess.
>
> I passed a BlackVarianceSurface to the process.
>
> Debugging my little perl application shows: The localVolatility Member of
> the process detects (wrongly) a constant local vol.
>
> How can i force the use of a smiled surface in localVolatility?
>
>
> Any Help appriciated.
>
> Best Regards,
>
> Bernd
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> QuantLib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>

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