|
1 | 1 | /* |
2 | 2 | Copyright (C) 2016 Quaternion Risk Management Ltd |
| 3 | + Copyright (C) 2021 Skandinaviska Enskilda Banken AB (publ) |
3 | 4 | All rights reserved. |
4 | 5 |
|
5 | 6 | This file is part of ORE, a free-software/open-source library |
|
50 | 51 | #include <qle/indexes/ibor/czkpribor.hpp> |
51 | 52 | #include <qle/indexes/ibor/demlibor.hpp> |
52 | 53 | #include <qle/indexes/ibor/dkkcibor.hpp> |
| 54 | +#include <qle/indexes/ibor/dkkcita.hpp> |
53 | 55 | #include <qle/indexes/ibor/dkkois.hpp> |
54 | 56 | #include <qle/indexes/ibor/dkkcita.hpp> |
55 | 57 | #include <qle/indexes/ibor/ester.hpp> |
|
76 | 78 | #include <qle/indexes/ibor/seksior.hpp> |
77 | 79 | #include <qle/indexes/ibor/sekstina.hpp> |
78 | 80 | #include <qle/indexes/ibor/sekstibor.hpp> |
| 81 | +#include <qle/indexes/ibor/sekstina.hpp> |
79 | 82 | #include <qle/indexes/ibor/sgdsibor.hpp> |
80 | 83 | #include <qle/indexes/ibor/sgdsor.hpp> |
81 | 84 | #include <qle/indexes/ibor/skkbribor.hpp> |
@@ -241,29 +244,17 @@ boost::shared_ptr<IborIndex> parseIborIndex(const string& s, string& tenor, cons |
241 | 244 |
|
242 | 245 | // Map from our _unique internal name_ to an overnight index |
243 | 246 | static map<string, boost::shared_ptr<OvernightIndex>> onIndices = { |
244 | | - {"EUR-EONIA", boost::make_shared<Eonia>()}, |
245 | | - {"EUR-ESTER", boost::make_shared<Ester>()}, |
246 | | - {"GBP-SONIA", boost::make_shared<Sonia>()}, |
247 | | - {"JPY-TONAR", boost::make_shared<Tonar>()}, |
248 | | - {"CHF-TOIS", boost::make_shared<CHFTois>()}, |
249 | | - {"CHF-SARON", boost::make_shared<CHFSaron>()}, |
250 | | - {"USD-FedFunds", boost::make_shared<FedFunds>()}, |
251 | | - {"USD-SOFR", boost::make_shared<Sofr>()}, |
252 | | - {"USD-Prime", boost::make_shared<PrimeIndex>()}, |
253 | | - {"AUD-AONIA", boost::make_shared<Aonia>()}, |
254 | | - {"CAD-CORRA", boost::make_shared<CORRA>()}, |
255 | | - {"DKK-DKKOIS", boost::make_shared<DKKOis>()}, |
256 | | - {"SEK-SIOR", boost::make_shared<SEKSior>()}, |
257 | | - {"COP-IBR", boost::make_shared<COPIbr>()}, |
258 | | - {"BRL-CDI", boost::make_shared<BRLCdi>()}, |
259 | | - {"NOK-NOWA", boost::make_shared<Nowa>()}, |
260 | | - {"CLP-CAMARA", boost::make_shared<CLPCamara>()}, |
261 | | - {"NZD-OCR", boost::make_shared<Nzocr>()}, |
262 | | - {"PLN-POLONIA", boost::make_shared<PLNPolonia>()}, |
263 | | - {"INR-MIBOROIS", boost::make_shared<INRMiborOis>()}, |
264 | | - {"SEK-STINA", boost::make_shared<SEKStina>()}, |
265 | | - {"DKK-CITA", boost::make_shared<DKKCita>()} |
266 | | - }; |
| 247 | + {"EUR-EONIA", boost::make_shared<Eonia>()}, {"EUR-ESTER", boost::make_shared<Ester>()}, |
| 248 | + {"GBP-SONIA", boost::make_shared<Sonia>()}, {"JPY-TONAR", boost::make_shared<Tonar>()}, |
| 249 | + {"CHF-TOIS", boost::make_shared<CHFTois>()}, {"CHF-SARON", boost::make_shared<CHFSaron>()}, |
| 250 | + {"USD-FedFunds", boost::make_shared<FedFunds>()}, {"USD-SOFR", boost::make_shared<Sofr>()}, |
| 251 | + {"USD-Prime", boost::make_shared<PrimeIndex>()}, {"AUD-AONIA", boost::make_shared<Aonia>()}, |
| 252 | + {"CAD-CORRA", boost::make_shared<CORRA>()}, {"DKK-DKKOIS", boost::make_shared<DKKOis>()}, |
| 253 | + {"SEK-SIOR", boost::make_shared<SEKSior>()}, {"COP-IBR", boost::make_shared<COPIbr>()}, |
| 254 | + {"BRL-CDI", boost::make_shared<BRLCdi>()}, {"NOK-NOWA", boost::make_shared<Nowa>()}, |
| 255 | + {"CLP-CAMARA", boost::make_shared<CLPCamara>()}, {"NZD-OCR", boost::make_shared<Nzocr>()}, |
| 256 | + {"PLN-POLONIA", boost::make_shared<PLNPolonia>()}, {"INR-MIBOROIS", boost::make_shared<INRMiborOis>()}, |
| 257 | + {"SEK-STINA", boost::make_shared<SEKStina>()}, {"DKK-CITA", boost::make_shared<DKKCita>()}}; |
267 | 258 |
|
268 | 259 | // Map from our _unique internal name_ to an ibor index (the period does not matter here) |
269 | 260 | static map<string, boost::shared_ptr<IborIndexParser>> iborIndices = { |
|
0 commit comments