set the option strike to another value
Posted by
Xavier.Abulker on
URL: http://quantlib.414.s1.nabble.com/set-the-option-strike-to-another-value-tp4443.html
Hello,
This is a very simple question.
I define one European option with
boost::shared_ptr<StrikedTypePayoff>
payoff(new
PlainVanillaPayoff(type, strike));
EuropeanOption option(stochasticProcess,
payoff, exercise);
and I'd like to change the strike of
my option "option".
Do you you know if there is something
like "option.setStrikedTypePayoff"
or any other way to do that?
Thank you
Xavier
*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La FIMAT et ses filiales declinent toute responsabilite
au titre de ce message s'il a ete altere, deforme ou falsifie.
********
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither FIMAT nor any of its subsidiaries or affiliates
shall be liable for the message if altered,
changed or falsified.
|