| 1 | /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
| 2 | |
| 3 | /* |
| 4 | Copyright (C) 2008, 2009 Ferdinando Ametrano |
| 5 | |
| 6 | This file is part of QuantLib, a free-software/open-source library |
| 7 | for financial quantitative analysts and developers - http://quantlib.org/ |
| 8 | |
| 9 | QuantLib is free software: you can redistribute it and/or modify it |
| 10 | under the terms of the QuantLib license. You should have received a |
| 11 | copy of the license along with this program; if not, please email |
| 12 | <quantlib-dev@lists.sf.net>. The license is also available online at |
| 13 | <http://quantlib.org/license.shtml>. |
| 14 | |
| 15 | This program is distributed in the hope that it will be useful, but WITHOUT |
| 16 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 17 | FOR A PARTICULAR PURPOSE. See the license for more details. |
| 18 | */ |
| 19 | |
| 20 | /*! \file euriborswap.hpp |
| 21 | \brief Euribor %Swap indexes |
| 22 | */ |
| 23 | |
| 24 | #ifndef quantlib_euriborswap_hpp |
| 25 | #define quantlib_euriborswap_hpp |
| 26 | |
| 27 | #include <ql/indexes/swapindex.hpp> |
| 28 | |
| 29 | namespace QuantLib { |
| 30 | |
| 31 | //! %EuriborSwapIsdaFixA index base class |
| 32 | /*! %Euribor %Swap indexes fixed by ISDA in cooperation with |
| 33 | Reuters and Intercapital Brokers at 11am Frankfurt. |
| 34 | Annual 30/360 vs 6M Euribor, 1Y vs 3M Euribor. |
| 35 | Reuters page ISDAFIX2 or EURSFIXA=. |
| 36 | |
| 37 | Further info can be found at <http://www.isda.org/fix/isdafix.html> or |
| 38 | Reuters page ISDAFIX. |
| 39 | |
| 40 | */ |
| 41 | class EuriborSwapIsdaFixA : public SwapIndex { |
| 42 | public: |
| 43 | EuriborSwapIsdaFixA(const Period& tenor, |
| 44 | const Handle<YieldTermStructure>& h = {}); |
| 45 | EuriborSwapIsdaFixA(const Period& tenor, |
| 46 | const Handle<YieldTermStructure>& forwarding, |
| 47 | const Handle<YieldTermStructure>& discounting); |
| 48 | }; |
| 49 | |
| 50 | //! %EuriborSwapIsdaFixB index base class |
| 51 | /*! %Euribor %Swap indexes fixed by ISDA in cooperation with |
| 52 | Reuters and Intercapital Brokers at 12am Frankfurt. |
| 53 | Annual 30/360 vs 6M Euribor, 1Y vs 3M Euribor. |
| 54 | Reuters page ISDAFIX2 or EURSFIXB=. |
| 55 | |
| 56 | Further info can be found at <http://www.isda.org/fix/isdafix.html> or |
| 57 | Reuters page ISDAFIX. |
| 58 | |
| 59 | */ |
| 60 | class EuriborSwapIsdaFixB : public SwapIndex { |
| 61 | public: |
| 62 | EuriborSwapIsdaFixB(const Period& tenor, |
| 63 | const Handle<YieldTermStructure>& h = {}); |
| 64 | EuriborSwapIsdaFixB(const Period& tenor, |
| 65 | const Handle<YieldTermStructure>& forwarding, |
| 66 | const Handle<YieldTermStructure>& discounting); |
| 67 | }; |
| 68 | |
| 69 | //! %EuriborSwapIfrFix index base class |
| 70 | /*! %Euribor %Swap indexes published by IFR Markets and |
| 71 | distributed by Reuters page TGM42281 and by Telerate. |
| 72 | Annual 30/360 vs 6M Euribor, 1Y vs 3M Euribor. |
| 73 | For more info see <http://www.ifrmarkets.com>. |
| 74 | |
| 75 | */ |
| 76 | class EuriborSwapIfrFix : public SwapIndex { |
| 77 | public: |
| 78 | EuriborSwapIfrFix(const Period& tenor, |
| 79 | const Handle<YieldTermStructure>& h = {}); |
| 80 | EuriborSwapIfrFix(const Period& tenor, |
| 81 | const Handle<YieldTermStructure>& forwarding, |
| 82 | const Handle<YieldTermStructure>& discounting); |
| 83 | }; |
| 84 | |
| 85 | } |
| 86 | |
| 87 | #endif |
| 88 | |