QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
europe.hpp
Go to the documentation of this file.
1/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3/*
4 Copyright (C) 2004, 2005, 2006 StatPro Italia srl
5 Copyright (C) 2016 Quaternion Risk Management Ltd
6
7 This file is part of QuantLib, a free-software/open-source library
8 for financial quantitative analysts and developers - http://quantlib.org/
9
10 QuantLib is free software: you can redistribute it and/or modify it
11 under the terms of the QuantLib license. You should have received a
12 copy of the license along with this program; if not, please email
13 <quantlib-dev@lists.sf.net>. The license is also available online at
14 <http://quantlib.org/license.shtml>.
15
16 This program is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18 FOR A PARTICULAR PURPOSE. See the license for more details.
19*/
20
21/*! \file europe.hpp
22 \brief European currencies
23
24 Data from http://fx.sauder.ubc.ca/currency_table.html
25 and http://www.thefinancials.com/vortex/CurrencyFormats.html
26*/
27
28#ifndef quantlib_european_currencies_hpp
29#define quantlib_european_currencies_hpp
30
31#include <ql/currency.hpp>
32
33#if defined(QL_PATCH_MSVC)
34#pragma warning(push)
35#pragma warning(disable:4819)
36#endif
37
38namespace QuantLib {
39
40 //! Bulgarian lev
41 /*! The ISO three-letter code is BGL; the numeric code is 100.
42 It is divided in 100 stotinki.
43
44 \ingroup currencies
45 */
46 class BGLCurrency : public Currency {
47 public:
49 };
50
51 //! Bulgarian lev
52 /*! The ISO three-letter code is BGN; the numeric code is 975.
53 It is divided into 100 stotinki.
54
55 \ingroup currencies
56 */
57 class BGNCurrency : public Currency {
58 public:
60 };
61
62 //! Belarussian ruble
63 /*! The ISO three-letter code is BYR; the numeric code is 974.
64 It has no subdivisions.
65
66 \ingroup currencies
67 */
68 class BYRCurrency : public Currency {
69 public:
71 };
72
73 //! Swiss franc
74 /*! The ISO three-letter code is CHF; the numeric code is 756.
75 It is divided into 100 cents.
76
77 \ingroup currencies
78 */
79 class CHFCurrency : public Currency {
80 public:
82 };
83
84 //! Czech koruna
85 /*! The ISO three-letter code is CZK; the numeric code is 203.
86 It is divided in 100 haleru.
87
88 \ingroup currencies
89 */
90 class CZKCurrency : public Currency {
91 public:
93 };
94
95 //! Danish krone
96 /*! The ISO three-letter code is DKK; the numeric code is 208.
97 It is divided in 100 øre.
98
99 \ingroup currencies
100 */
101 class DKKCurrency : public Currency {
102 public:
103 DKKCurrency();
104 };
105
106 //! Estonian kroon
107 /*! The ISO three-letter code is EEK; the numeric code is 233.
108 It is divided in 100 senti.
109
110 \ingroup currencies
111 */
112 class EEKCurrency : public Currency {
113 public:
114 EEKCurrency();
115 };
116
117 //! European Euro
118 /*! The ISO three-letter code is EUR; the numeric code is 978.
119 It is divided into 100 cents.
120
121 \ingroup currencies
122 */
123 class EURCurrency : public Currency {
124 public:
125 EURCurrency();
126 };
127
128 //! British pound sterling
129 /*! The ISO three-letter code is GBP; the numeric code is 826.
130 It is divided into 100 pence.
131
132 \ingroup currencies
133 */
134 class GBPCurrency : public Currency {
135 public:
136 GBPCurrency();
137 };
138
139 //! Georgian lari
140 /*! The ISO three-letter code is GEL; the numeric code is 981.
141 It is divided into 100 tetri.
142
143 \ingroup currencies
144 */
145 class GELCurrency : public Currency {
146 public:
147 GELCurrency();
148 };
149
150 //! Hungarian forint
151 /*! The ISO three-letter code is HUF; the numeric code is 348.
152 It has no subdivisions.
153
154 \ingroup currencies
155 */
156 class HUFCurrency : public Currency {
157 public:
158 HUFCurrency();
159 };
160
161 //! Icelandic krona
162 /*! The ISO three-letter code is ISK; the numeric code is 352.
163 It is divided in 100 aurar.
164
165 \ingroup currencies
166 */
167 class ISKCurrency : public Currency {
168 public:
169 ISKCurrency();
170 };
171
172 //! Lithuanian litas
173 /*! The ISO three-letter code is LTL; the numeric code is 440.
174 It is divided in 100 centu.
175
176 \ingroup currencies
177 */
178 class LTLCurrency : public Currency {
179 public:
180 LTLCurrency();
181 };
182
183 //! Latvian lat
184 /*! The ISO three-letter code is LVL; the numeric code is 428.
185 It is divided in 100 santims.
186
187 \ingroup currencies
188 */
189 class LVLCurrency : public Currency {
190 public:
191 LVLCurrency();
192 };
193
194 //! Norwegian krone
195 /*! The ISO three-letter code is NOK; the numeric code is 578.
196 It is divided in 100 øre.
197
198 \ingroup currencies
199 */
200 class NOKCurrency : public Currency {
201 public:
202 NOKCurrency();
203 };
204
205 //! Polish zloty
206 /*! The ISO three-letter code is PLN; the numeric code is 985.
207 It is divided in 100 groszy.
208
209 \ingroup currencies
210 */
211 class PLNCurrency : public Currency {
212 public:
213 PLNCurrency();
214 };
215
216 //! Romanian leu
217 /*! The ISO three-letter code was ROL; the numeric code was 642.
218 It was divided in 100 bani.
219
220 Obsoleted by the new leu since July 2005.
221
222 \ingroup currencies
223 */
224 class ROLCurrency : public Currency {
225 public:
226 ROLCurrency();
227 };
228
229 //! Romanian new leu
230 /*! The ISO three-letter code is RON; the numeric code is 946.
231 It is divided in 100 bani.
232
233 \ingroup currencies
234 */
235 class RONCurrency : public Currency {
236 public:
237 RONCurrency();
238 };
239
240 //! Serbian dinar
241 /*! The ISO three-letter code is RSD; the numeric code is 941.
242 It is divided into 100 para/napa.
243
244 \ingroup currencies
245 */
246 class RSDCurrency : public Currency {
247 public:
248 RSDCurrency();
249 };
250
251 //! Russian ruble
252 /*! The ISO three-letter code is RUB; the numeric code is 643.
253 It is divided in 100 kopeyki.
254
255 \ingroup currencies
256 */
257 class RUBCurrency : public Currency {
258 public:
259 RUBCurrency();
260 };
261
262 //! Swedish krona
263 /*! The ISO three-letter code is SEK; the numeric code is 752.
264 It is divided in 100 öre.
265
266 \ingroup currencies
267 */
268 class SEKCurrency : public Currency {
269 public:
270 SEKCurrency();
271 };
272
273 //! Slovenian tolar
274 /*! The ISO three-letter code is SIT; the numeric code is 705.
275 It is divided in 100 stotinov.
276
277 \ingroup currencies
278 */
279 class SITCurrency : public Currency {
280 public:
281 SITCurrency();
282 };
283
284 //! Turkish lira
285 /*! The ISO three-letter code was TRL; the numeric code was 792.
286 It was divided in 100 kurus.
287
288 Obsoleted by the new Turkish lira since 2005.
289
290 \ingroup currencies
291 */
292 class TRLCurrency : public Currency {
293 public:
294 TRLCurrency();
295 };
296
297 //! New Turkish lira
298 /*! The ISO three-letter code is TRY; the numeric code is 949.
299 It is divided in 100 new kurus.
300
301 \ingroup currencies
302 */
303 class TRYCurrency : public Currency {
304 public:
305 TRYCurrency();
306 };
307
308 //! Ukrainian hryvnia
309 /*! The ISO three-letter code is UAH; the numeric code is 980.
310 It is divided in 100 kopiykas.
311
312 \ingroup currencies
313 */
314 class UAHCurrency : public Currency {
315 public:
316 UAHCurrency();
317 };
318
319
320 // currencies obsoleted by Euro
321
322 //! Austrian shilling
323 /*! The ISO three-letter code was ATS; the numeric code was 40.
324 It was divided in 100 groschen.
325
326 Obsoleted by the Euro since 1999.
327
328 \ingroup currencies
329 */
330 class ATSCurrency : public Currency {
331 public:
332 ATSCurrency();
333 };
334
335 //! Belgian franc
336 /*! The ISO three-letter code was BEF; the numeric code was 56.
337 It had no subdivisions.
338
339 Obsoleted by the Euro since 1999.
340
341 \ingroup currencies
342 */
343 class BEFCurrency : public Currency {
344 public:
345 BEFCurrency();
346 };
347
348 //! Cyprus pound
349 /*! The ISO three-letter code is CYP; the numeric code is 196.
350 It is divided in 100 cents.
351
352 Obsoleted by the Euro since 2008.
353
354 \ingroup currencies
355 */
356 class CYPCurrency : public Currency {
357 public:
358 CYPCurrency();
359 };
360
361 //! Deutsche mark
362 /*! The ISO three-letter code was DEM; the numeric code was 276.
363 It was divided into 100 pfennig.
364
365 Obsoleted by the Euro since 1999.
366
367 \ingroup currencies
368 */
369 class DEMCurrency : public Currency {
370 public:
371 DEMCurrency();
372 };
373
374 //! Spanish peseta
375 /*! The ISO three-letter code was ESP; the numeric code was 724.
376 It was divided in 100 centimos.
377
378 Obsoleted by the Euro since 1999.
379
380 \ingroup currencies
381 */
382 class ESPCurrency : public Currency {
383 public:
384 ESPCurrency();
385 };
386
387 //! Finnish markka
388 /*! The ISO three-letter code was FIM; the numeric code was 246.
389 It was divided in 100 penniä.
390
391 Obsoleted by the Euro since 1999.
392
393 \ingroup currencies
394 */
395 class FIMCurrency : public Currency {
396 public:
397 FIMCurrency();
398 };
399
400 //! French franc
401 /*! The ISO three-letter code was FRF; the numeric code was 250.
402 It was divided in 100 centimes.
403
404 Obsoleted by the Euro since 1999.
405
406 \ingroup currencies
407 */
408 class FRFCurrency : public Currency {
409 public:
410 FRFCurrency();
411 };
412
413 //! Greek drachma
414 /*! The ISO three-letter code was GRD; the numeric code was 300.
415 It was divided in 100 lepta.
416
417 Obsoleted by the Euro since 2001.
418
419 \ingroup currencies
420 */
421 class GRDCurrency : public Currency {
422 public:
423 GRDCurrency();
424 };
425
426 //! Croatian kuna
427 /*! The ISO three-letter code was HRK; the numeric code was 191.
428 It was divided into 100 lipa.
429
430 Obsoleted by the Euro since 2023.
431
432 \ingroup currencies
433 */
434 class HRKCurrency : public Currency {
435 public:
436 HRKCurrency();
437 };
438
439 //! Irish punt
440 /*! The ISO three-letter code was IEP; the numeric code was 372.
441 It was divided in 100 pence.
442
443 Obsoleted by the Euro since 1999.
444
445 \ingroup currencies
446 */
447 class IEPCurrency : public Currency {
448 public:
449 IEPCurrency();
450 };
451
452 //! Italian lira
453 /*! The ISO three-letter code was ITL; the numeric code was 380.
454 It had no subdivisions.
455
456 Obsoleted by the Euro since 1999.
457
458 \ingroup currencies
459 */
460 class ITLCurrency : public Currency {
461 public:
462 ITLCurrency();
463 };
464
465 //! Luxembourg franc
466 /*! The ISO three-letter code was LUF; the numeric code was 442.
467 It was divided in 100 centimes.
468
469 Obsoleted by the Euro since 1999.
470
471 \ingroup currencies
472 */
473 class LUFCurrency : public Currency {
474 public:
475 LUFCurrency();
476 };
477
478 //! Maltese lira
479 /*! The ISO three-letter code is MTL; the numeric code is 470.
480 It was divided in 100 cents.
481
482 Obsoleted by the Euro since 2008.
483
484 \ingroup currencies
485 */
486 class MTLCurrency : public Currency {
487 public:
488 MTLCurrency();
489 };
490
491 //! Dutch guilder
492 /*! The ISO three-letter code was NLG; the numeric code was 528.
493 It was divided in 100 cents.
494
495 Obsoleted by the Euro since 1999.
496
497 \ingroup currencies
498 */
499 class NLGCurrency : public Currency {
500 public:
501 NLGCurrency();
502 };
503
504 //! Portuguese escudo
505 /*! The ISO three-letter code was PTE; the numeric code was 620.
506 It was divided in 100 centavos.
507
508 Obsoleted by the Euro since 1999.
509
510 \ingroup currencies
511 */
512 class PTECurrency : public Currency {
513 public:
514 PTECurrency();
515 };
516
517 //! Slovak koruna
518 /*! The ISO three-letter code is SKK; the numeric code is 703.
519 It was divided in 100 halierov.
520
521 Obsoleted by the Euro since 2009.
522
523 \ingroup currencies
524 */
525 class SKKCurrency : public Currency {
526 public:
527 SKKCurrency();
528 };
529
530}
531
532#if defined(QL_PATCH_MSVC)
533#pragma warning(pop)
534#endif
535
536#endif
Austrian shilling.
Definition: europe.hpp:330
Belgian franc.
Definition: europe.hpp:343
Bulgarian lev.
Definition: europe.hpp:46
Bulgarian lev.
Definition: europe.hpp:57
Belarussian ruble.
Definition: europe.hpp:68
Swiss franc.
Definition: europe.hpp:79
Cyprus pound.
Definition: europe.hpp:356
Czech koruna.
Definition: europe.hpp:90
Currency specification
Definition: currency.hpp:36
Deutsche mark.
Definition: europe.hpp:369
Danish krone.
Definition: europe.hpp:101
Estonian kroon.
Definition: europe.hpp:112
Spanish peseta.
Definition: europe.hpp:382
European Euro.
Definition: europe.hpp:123
Finnish markka.
Definition: europe.hpp:395
French franc.
Definition: europe.hpp:408
British pound sterling.
Definition: europe.hpp:134
Georgian lari.
Definition: europe.hpp:145
Greek drachma.
Definition: europe.hpp:421
Croatian kuna.
Definition: europe.hpp:434
Hungarian forint.
Definition: europe.hpp:156
Icelandic krona.
Definition: europe.hpp:167
Italian lira.
Definition: europe.hpp:460
Lithuanian litas.
Definition: europe.hpp:178
Luxembourg franc.
Definition: europe.hpp:473
Latvian lat.
Definition: europe.hpp:189
Maltese lira.
Definition: europe.hpp:486
Dutch guilder.
Definition: europe.hpp:499
Norwegian krone.
Definition: europe.hpp:200
Polish zloty.
Definition: europe.hpp:211
Portuguese escudo.
Definition: europe.hpp:512
Romanian leu.
Definition: europe.hpp:224
Romanian new leu.
Definition: europe.hpp:235
Serbian dinar.
Definition: europe.hpp:246
Russian ruble.
Definition: europe.hpp:257
Swedish krona.
Definition: europe.hpp:268
Slovenian tolar.
Definition: europe.hpp:279
Slovak koruna.
Definition: europe.hpp:525
Turkish lira.
Definition: europe.hpp:292
New Turkish lira.
Definition: europe.hpp:303
Ukrainian hryvnia.
Definition: europe.hpp:314
Currency specification.
Definition: any.hpp:35