TreeSwaptionEngine Class Reference
[Swaption engines]

#include <ql/PricingEngines/Swaption/treeswaptionengine.hpp>

Inheritance diagram for TreeSwaptionEngine:

Inheritance graph
[legend]
List of all members.

Detailed Description

Numerical lattice engine for swaptions.

Warning:
This engine is not guaranteed to work if the underlying swap has a start date in the past. When using this engine, prune the initial part of the swap so that it starts at $ t \geq 0 $ .
Tests:
calculations are checked against cached results
Examples:

BermudanSwaption.cpp.


Public Member Functions

 TreeSwaptionEngine (const boost::shared_ptr< ShortRateModel > &model, Size timeSteps)
 TreeSwaptionEngine (const boost::shared_ptr< ShortRateModel > &model, const TimeGrid &timeGrid)
void calculate () const


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen