#include "toplevelfixture.hpp"
#include <boost/test/unit_test.hpp>
#include <ql/currencies/america.hpp>
#include <ql/math/interpolations/linearinterpolation.hpp>
#include <ql/math/matrix.hpp>
#include <ql/pricingengines/blackformula.hpp>
#include <ql/settings.hpp>
#include <ql/termstructures/volatility/equityfx/blackconstantvol.hpp>
#include <ql/termstructures/yield/flatforward.hpp>
#include <ql/time/calendars/nullcalendar.hpp>
#include <qle/cashflows/commodityindexedcashflow.hpp>
#include <qle/instruments/commodityspreadoption.hpp>
#include <qle/pricingengines/commodityspreadoptionengine.hpp>
#include <qle/termstructures/pricecurve.hpp>
#include <qle/time/futureexpirycalculator.hpp>
#include <qle/termstructures/flatcorrelation.hpp>
Go to the source code of this file.
Functions | |
BOOST_AUTO_TEST_CASE (testCrossAssetFutureSpread) | |
BOOST_AUTO_TEST_CASE (testCalendarSpread) | |
BOOST_AUTO_TEST_CASE (testCalendarSpread2) | |
BOOST_AUTO_TEST_CASE (testCalendarSpreadEdgeCase) | |
BOOST_AUTO_TEST_CASE (testSpotAveragingSpreadOption) | |
BOOST_AUTO_TEST_CASE (testSeasonedSpotAveragingSpreadOption) | |
BOOST_AUTO_TEST_CASE (testFutureAveragingSpreadOption) | |
BOOST_AUTO_TEST_CASE | ( | testCrossAssetFutureSpread | ) |
Definition at line 276 of file commodityspreadoption.cpp.
BOOST_AUTO_TEST_CASE | ( | testCalendarSpread | ) |
Definition at line 337 of file commodityspreadoption.cpp.
BOOST_AUTO_TEST_CASE | ( | testCalendarSpread2 | ) |
Definition at line 394 of file commodityspreadoption.cpp.
BOOST_AUTO_TEST_CASE | ( | testCalendarSpreadEdgeCase | ) |
Definition at line 453 of file commodityspreadoption.cpp.
BOOST_AUTO_TEST_CASE | ( | testSpotAveragingSpreadOption | ) |
Definition at line 512 of file commodityspreadoption.cpp.
BOOST_AUTO_TEST_CASE | ( | testSeasonedSpotAveragingSpreadOption | ) |
Definition at line 577 of file commodityspreadoption.cpp.
BOOST_AUTO_TEST_CASE | ( | testFutureAveragingSpreadOption | ) |
Definition at line 671 of file commodityspreadoption.cpp.