Re: Asian arithmetic average strike option

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Asian-arithmetic-average-strike-option-tp7965p7970.html

It might be done, but it's not easy.  How about inheriting from
BlackScholesProcess instead and overriding the drift() method so that
it doesn't take volatility into account?  That would be easy enough to
implement.

Luigi

On Sun, Jun 3, 2012 at 10:40 PM, Paul Carter <[hidden email]> wrote:
> However, as BlackScholesMertonProcess (and indeed any other Black-Scholes
> type process defined by QuantLib) picks up the volatility in its drift term,
> I am now trying to cancel out the volatility as I would like to have no
> drift at all. This requires me to define a yield term structure, which seems
> rather less straightforward. Do you maybe know of a good, hands-on example
> showing how I can define myself a suitable (dividend) yield term structure
> (eg some code in the testsuite)?

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users