#include <boost/test/unit_test.hpp>
#include <oret/toplevelfixture.hpp>
#include <ored/scripting/engines/analyticblackriskparticipationagreementengine.hpp>
#include <ored/scripting/engines/numericlgmriskparticipationagreementengine.hpp>
#include <qle/methods/multipathgeneratorbase.hpp>
#include <qle/models/irlgm1fconstantparametrization.hpp>
#include <qle/models/lgm.hpp>
#include <qle/models/lgmimpliedyieldtermstructure.hpp>
#include <qle/pricingengines/analyticlgmswaptionengine.hpp>
#include <ql/cashflows/couponpricer.hpp>
#include <ql/cashflows/iborcoupon.hpp>
#include <ql/currencies/europe.hpp>
#include <ql/exercise.hpp>
#include <ql/experimental/coupons/strippedcapflooredcoupon.hpp>
#include <ql/indexes/ibor/euribor.hpp>
#include <ql/indexes/iborindex.hpp>
#include <ql/indexes/swap/euriborswap.hpp>
#include <ql/instruments/makevanillaswap.hpp>
#include <ql/instruments/nonstandardswap.hpp>
#include <ql/math/optimization/levenbergmarquardt.hpp>
#include <ql/models/shortrate/calibrationhelpers/swaptionhelper.hpp>
#include <ql/pricingengines/swaption/blackswaptionengine.hpp>
#include <ql/termstructures/credit/flathazardrate.hpp>
#include <ql/termstructures/volatility/swaption/swaptionconstantvol.hpp>
#include <ql/termstructures/yield/flatforward.hpp>
#include <ql/time/calendars/target.hpp>
#include <ql/time/daycounters/actualactual.hpp>
#include <ql/timegrid.hpp>
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics/mean.hpp>
#include <boost/accumulators/statistics/stats.hpp>
#include <boost/timer/timer.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (testStandardPayerSwap) | |
BOOST_AUTO_TEST_CASE (testStandardReceiverSwap) | |
BOOST_AUTO_TEST_CASE (testAmortisingPayerSwap) | |
BOOST_AUTO_TEST_CASE (testAmortisingReceiverSwap) | |
BOOST_AUTO_TEST_CASE (testAccretingPayerSwap) | |
BOOST_AUTO_TEST_CASE (testAccretingReceiverSwap) | |
BOOST_AUTO_TEST_CASE (testCapFloors) | |
BOOST_AUTO_TEST_CASE | ( | testStandardPayerSwap | ) |
Definition at line 321 of file riskparticipationagreement.cpp.
BOOST_AUTO_TEST_CASE | ( | testStandardReceiverSwap | ) |
Definition at line 329 of file riskparticipationagreement.cpp.
BOOST_AUTO_TEST_CASE | ( | testAmortisingPayerSwap | ) |
Definition at line 337 of file riskparticipationagreement.cpp.
BOOST_AUTO_TEST_CASE | ( | testAmortisingReceiverSwap | ) |
Definition at line 346 of file riskparticipationagreement.cpp.
BOOST_AUTO_TEST_CASE | ( | testAccretingPayerSwap | ) |
Definition at line 355 of file riskparticipationagreement.cpp.
BOOST_AUTO_TEST_CASE | ( | testAccretingReceiverSwap | ) |
Definition at line 364 of file riskparticipationagreement.cpp.
BOOST_AUTO_TEST_CASE | ( | testCapFloors | ) |
Definition at line 423 of file riskparticipationagreement.cpp.