On Mon, 2010-07-05 at 11:54 +0800, P Nelnik wrote:
> Has anyone got a recommendation for what to use to price a trade with
> semi-annual coupons which are call-spreads ( on an FX underlying )
> Coupon = max ( floor , min ( cap, factor * underlying_spot -
> strike ))
> The issuer has the option to call the trade on all coupon dates.
>
> Is there a bermudan monte-carlo implementation in quantlib that can
> handle this?
>
> How about using an FD scheme or even a tree?
I would start from the binomial-tree engine for the equity options.
You'll have to clone and modify
<ql/pricingengines/vanilla/binomialengine.hpp> e
<ql/pricingengines/vanilla/discretizedvanillaoption.hpp>.
You could try FD too, but trees are simpler to begin with.
Luigi
--
So little done, so much to do.
-- Cecil Rhodes
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first --
http://p.sf.net/sfu/sprint-com-first_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users