#include <boost/make_shared.hpp>#include <boost/test/unit_test.hpp>#include <ored/marketdata/marketimpl.hpp>#include <ored/portfolio/builders/fxbarrieroption.hpp>#include <ored/portfolio/builders/fxdigitalbarrieroption.hpp>#include <ored/portfolio/builders/fxdigitaloption.hpp>#include <ored/portfolio/builders/fxdoublebarrieroption.hpp>#include <ored/portfolio/builders/fxdoubletouchoption.hpp>#include <ored/portfolio/builders/fxforward.hpp>#include <ored/portfolio/builders/fxoption.hpp>#include <ored/portfolio/builders/fxtouchoption.hpp>#include <ored/portfolio/builders/swap.hpp>#include <ored/portfolio/enginedata.hpp>#include <ored/portfolio/fxbarrieroption.hpp>#include <ored/portfolio/fxdigitalbarrieroption.hpp>#include <ored/portfolio/fxdigitaloption.hpp>#include <ored/portfolio/fxdoublebarrieroption.hpp>#include <ored/portfolio/fxdoubletouchoption.hpp>#include <ored/portfolio/fxeuropeanbarrieroption.hpp>#include <ored/portfolio/fxforward.hpp>#include <ored/portfolio/fxkikobarrieroption.hpp>#include <ored/portfolio/fxtouchoption.hpp>#include <ored/portfolio/fxoption.hpp>#include <ored/portfolio/swap.hpp>#include <oret/toplevelfixture.hpp>#include <ql/cashflows/simplecashflow.hpp>#include <ql/currencies/all.hpp>#include <ql/indexes/indexmanager.hpp>#include <ql/termstructures/volatility/equityfx/blackconstantvol.hpp>#include <ql/termstructures/yield/flatforward.hpp>#include <ql/time/calendars/target.hpp>#include <ql/time/calendars/unitedstates.hpp>#include <ql/time/daycounters/actual360.hpp>#include <qle/indexes/fxindex.hpp>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (testFXDigitalOptionPrice) | |
| BOOST_AUTO_TEST_CASE (testFXBarrierOptionPrice) | |
| BOOST_AUTO_TEST_CASE (testFXBarrierOptionSymmetry) | |
| BOOST_AUTO_TEST_CASE (testFXBarrierOptionParity) | |
| BOOST_AUTO_TEST_CASE (testFXBarrierOptionTouched) | |
| BOOST_AUTO_TEST_CASE (testFXDigitalBarrierOptionPrice) | |
| BOOST_AUTO_TEST_CASE (testFXDigitalBarrierOptionParity) | |
| BOOST_AUTO_TEST_CASE (testFXDigitalBarrierOptionTouched) | |
| BOOST_AUTO_TEST_CASE (testFXTouchOptionPrice) | |
| BOOST_AUTO_TEST_CASE (testFXTouchOptionParity) | |
| BOOST_AUTO_TEST_CASE (testFXTouchOptionTouched) | |
| BOOST_AUTO_TEST_CASE (testFXDoubleBarrierOptionPrice) | |
| BOOST_AUTO_TEST_CASE (testFXDoubleBarrierOptionParity) | |
| BOOST_AUTO_TEST_CASE (testFXDoubleBarrierOptionTouched) | |
| BOOST_AUTO_TEST_CASE (testFXDoubleTouchOptionPrice) | |
| BOOST_AUTO_TEST_CASE (testFXDoubleTouchOptionParity) | |
| BOOST_AUTO_TEST_CASE (testFXDoubleTouchOptionTouched) | |
| BOOST_AUTO_TEST_CASE (testFXEuropeanBarrierOptionSymmetry) | |
| BOOST_AUTO_TEST_CASE (testFXEuropeanBarrierOptionParity) | |
| BOOST_AUTO_TEST_CASE (testFXKIKOBarrierOption) | |
| BOOST_AUTO_TEST_CASE | ( | testFXDigitalOptionPrice | ) |
Definition at line 136 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXBarrierOptionPrice | ) |
Definition at line 192 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXBarrierOptionSymmetry | ) |
Definition at line 365 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXBarrierOptionParity | ) |
Definition at line 437 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXBarrierOptionTouched | ) |
Definition at line 515 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDigitalBarrierOptionPrice | ) |
Definition at line 627 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDigitalBarrierOptionParity | ) |
Definition at line 698 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDigitalBarrierOptionTouched | ) |
Definition at line 790 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXTouchOptionPrice | ) |
Definition at line 897 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXTouchOptionParity | ) |
Definition at line 967 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXTouchOptionTouched | ) |
Definition at line 1042 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDoubleBarrierOptionPrice | ) |
Definition at line 1246 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDoubleBarrierOptionParity | ) |
Definition at line 1302 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDoubleBarrierOptionTouched | ) |
Definition at line 1365 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDoubleTouchOptionPrice | ) |
Definition at line 1505 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDoubleTouchOptionParity | ) |
Definition at line 1551 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXDoubleTouchOptionTouched | ) |
Definition at line 1606 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXEuropeanBarrierOptionSymmetry | ) |
Definition at line 1714 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXEuropeanBarrierOptionParity | ) |
Definition at line 1788 of file fxexotics.cpp.
Here is the call graph for this function:| BOOST_AUTO_TEST_CASE | ( | testFXKIKOBarrierOption | ) |
Definition at line 1881 of file fxexotics.cpp.
Here is the call graph for this function: