QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
crypto.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 StatPro Italia srl
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 crypto.hpp
21 \brief crypto currencies
22
23 Data from https://coinmarketcap.com
24*/
25
26#ifndef quantlib_crypto_currencies_hpp
27#define quantlib_crypto_currencies_hpp
28
29#include <ql/currency.hpp>
30
31#if defined(QL_PATCH_MSVC)
32#pragma warning(push)
33#pragma warning(disable:4819)
34#endif
35
36namespace QuantLib {
37
38 //! Bitcoin
39 /*! https://bitcoin.org/
40
41 \ingroup currencies
42 */
43 class BTCCurrency : public Currency {
44 public:
46 };
47
48 //! Ethereum
49 /*! https://www.ethereum.org/
50
51 \ingroup currencies
52 */
53 class ETHCurrency : public Currency {
54 public:
56 };
57
58 //! Ethereum Classic
59 /*! https://ethereumclassic.github.io/
60
61 \ingroup currencies
62 */
63 class ETCCurrency : public Currency {
64 public:
66 };
67
68 //! Bitcoin Cash
69 /*! https://www.bitcoincash.org/
70
71 \ingroup currencies
72 */
73 class BCHCurrency : public Currency {
74 public:
76 };
77
78 //! Ripple
79 /*! https://ripple.com/
80
81 \ingroup currencies
82 */
83 class XRPCurrency : public Currency {
84 public:
86 };
87
88 //! Litecoin
89 /*! https://litecoin.com/
90
91 \ingroup currencies
92 */
93 class LTCCurrency : public Currency {
94 public:
96 };
97
98 //! Dash coin
99 /*! https://www.dash.org/
100
101 \ingroup currencies
102 */
103 class DASHCurrency : public Currency {
104 public:
105 DASHCurrency();
106 };
107
108 //! Zcash
109 /*! https://z.cash/
110
111 \ingroup currencies
112 */
113 class ZECCurrency : public Currency {
114 public:
115 ZECCurrency();
116 };
117}
118
119#if defined(QL_PATCH_MSVC)
120#pragma warning(pop)
121#endif
122
123#endif
Bitcoin Cash.
Definition: crypto.hpp:73
BCHCurrency()
Bitcoin Cash.
Definition: crypto.cpp:68
Currency specification
Definition: currency.hpp:36
DASHCurrency()
Dash coin.
Definition: crypto.cpp:104
Ethereum Classic.
Definition: crypto.hpp:63
ETCCurrency()
Ethereum Classic.
Definition: crypto.cpp:56
ETHCurrency()
Ethereum.
Definition: crypto.cpp:44
LTCCurrency()
Litecoin.
Definition: crypto.cpp:92
XRPCurrency()
Ripple.
Definition: crypto.cpp:80
Currency specification.
Definition: any.hpp:35