#include <boost/test/unit_test.hpp>#include <orea/scenario/crossassetmodelscenariogenerator.hpp>#include <orea/scenario/lgmscenariogenerator.hpp>#include <orea/scenario/scenariogeneratorbuilder.hpp>#include <orea/scenario/scenariosimmarket.hpp>#include <orea/scenario/simplescenario.hpp>#include <orea/scenario/simplescenariofactory.hpp>#include <ored/marketdata/market.hpp>#include <ored/marketdata/marketimpl.hpp>#include <ored/model/calibrationinstruments/cpicapfloor.hpp>#include <ored/model/crossassetmodelbuilder.hpp>#include <ored/model/irlgmdata.hpp>#include <ored/portfolio/builders/swap.hpp>#include <ored/portfolio/swap.hpp>#include <ored/utilities/log.hpp>#include <ored/utilities/to_string.hpp>#include <oret/toplevelfixture.hpp>#include <test/oreatoplevelfixture.hpp>#include <qle/instruments/fxforward.hpp>#include <qle/models/crossassetmodel.hpp>#include <qle/models/fxbspiecewiseconstantparametrization.hpp>#include <qle/models/irlgm1fpiecewiseconstantparametrization.hpp>#include <qle/models/lgm.hpp>#include <qle/pricingengines/analyticcclgmfxoptionengine.hpp>#include <qle/pricingengines/analyticdkcpicapfloorengine.hpp>#include <qle/pricingengines/analyticlgmswaptionengine.hpp>#include <qle/pricingengines/discountingfxforwardengine.hpp>#include <qle/pricingengines/discountingswapenginemulticurve.hpp>#include <ql/cashflows/simplecashflow.hpp>#include <ql/currencies/america.hpp>#include <ql/currencies/europe.hpp>#include <ql/indexes/ibor/all.hpp>#include <ql/indexes/swap/euriborswap.hpp>#include <ql/indexes/swap/usdliborswap.hpp>#include <ql/instruments/cpicapfloor.hpp>#include <ql/instruments/makeswaption.hpp>#include <ql/instruments/makevanillaswap.hpp>#include <ql/math/statistics/incrementalstatistics.hpp>#include <ql/pricingengines/vanilla/analyticeuropeanengine.hpp>#include <ql/quotes/simplequote.hpp>#include <ql/termstructures/volatility/equityfx/blackconstantvol.hpp>#include <ql/termstructures/volatility/swaption/swaptionconstantvol.hpp>#include <ql/termstructures/yield/flatforward.hpp>#include <ql/time/calendars/target.hpp>#include <ql/time/daycounters/actual360.hpp>#include <ql/time/daycounters/thirty360.hpp>#include "testmarket.hpp"#include <boost/timer/timer.hpp>Go to the source code of this file.
Functions | |
| void | test_lgm (bool sobol, bool antithetic, bool brownianBridge) |
| BOOST_AUTO_TEST_CASE (testLgmMersenneTwister) | |
| BOOST_AUTO_TEST_CASE (testLgmMersenneTwisterAntithetic) | |
| BOOST_AUTO_TEST_CASE (testLgmLowDiscrepancy) | |
| BOOST_AUTO_TEST_CASE (testLgmLowDiscrepancyBrownianBridge) | |
| void | test_crossasset (bool sobol, bool antithetic, bool brownianBridge) |
| BOOST_AUTO_TEST_CASE (testCrossAssetMersenneTwister) | |
| BOOST_AUTO_TEST_CASE (testCrossAssetMersenneTwisterAntithetic) | |
| BOOST_AUTO_TEST_CASE (testCrossAssetLowDiscrepancy) | |
| BOOST_AUTO_TEST_CASE (testCrossAssetLowDiscrepancyBrownianBridge) | |
| BOOST_AUTO_TEST_CASE (testCrossAssetSimMarket) | |
| BOOST_AUTO_TEST_CASE (testCrossAssetSimMarket2) | |
| BOOST_AUTO_TEST_CASE (testVanillaSwapExposure) | |
| BOOST_AUTO_TEST_CASE (testFxForwardExposure) | |
| BOOST_AUTO_TEST_CASE (testFxForwardExposureZeroIrVol) | |
| BOOST_AUTO_TEST_CASE (testCpiSwapExposure) | |
Definition at line 214 of file scenariogenerator.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| BOOST_AUTO_TEST_CASE | ( | testLgmMersenneTwister | ) |
Definition at line 299 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testLgmMersenneTwisterAntithetic | ) |
Definition at line 305 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testLgmLowDiscrepancy | ) |
Definition at line 311 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testLgmLowDiscrepancyBrownianBridge | ) |
Definition at line 317 of file scenariogenerator.cpp.
Here is the call graph for this function:Definition at line 323 of file scenariogenerator.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| BOOST_AUTO_TEST_CASE | ( | testCrossAssetMersenneTwister | ) |
Definition at line 460 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testCrossAssetMersenneTwisterAntithetic | ) |
Definition at line 466 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testCrossAssetLowDiscrepancy | ) |
Definition at line 472 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testCrossAssetLowDiscrepancyBrownianBridge | ) |
Definition at line 478 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testCrossAssetSimMarket | ) |
Definition at line 484 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testCrossAssetSimMarket2 | ) |
Definition at line 627 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testVanillaSwapExposure | ) |
Definition at line 768 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFxForwardExposure | ) |
Definition at line 909 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFxForwardExposureZeroIrVol | ) |
Definition at line 1025 of file scenariogenerator.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testCpiSwapExposure | ) |
Definition at line 1142 of file scenariogenerator.cpp.
Here is the call graph for this function: