QuantLib
: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
ql
currencies
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
36
namespace
QuantLib
{
37
38
//! Bitcoin
39
/*! https://bitcoin.org/
40
41
\ingroup currencies
42
*/
43
class
BTCCurrency
:
public
Currency
{
44
public
:
45
BTCCurrency
();
46
};
47
48
//! Ethereum
49
/*! https://www.ethereum.org/
50
51
\ingroup currencies
52
*/
53
class
ETHCurrency
:
public
Currency
{
54
public
:
55
ETHCurrency
();
56
};
57
58
//! Ethereum Classic
59
/*! https://ethereumclassic.github.io/
60
61
\ingroup currencies
62
*/
63
class
ETCCurrency
:
public
Currency
{
64
public
:
65
ETCCurrency
();
66
};
67
68
//! Bitcoin Cash
69
/*! https://www.bitcoincash.org/
70
71
\ingroup currencies
72
*/
73
class
BCHCurrency
:
public
Currency
{
74
public
:
75
BCHCurrency
();
76
};
77
78
//! Ripple
79
/*! https://ripple.com/
80
81
\ingroup currencies
82
*/
83
class
XRPCurrency
:
public
Currency
{
84
public
:
85
XRPCurrency
();
86
};
87
88
//! Litecoin
89
/*! https://litecoin.com/
90
91
\ingroup currencies
92
*/
93
class
LTCCurrency
:
public
Currency
{
94
public
:
95
LTCCurrency
();
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
QuantLib::BCHCurrency
Bitcoin Cash.
Definition:
crypto.hpp:73
QuantLib::BCHCurrency::BCHCurrency
BCHCurrency()
Bitcoin Cash.
Definition:
crypto.cpp:68
QuantLib::BTCCurrency
Bitcoin.
Definition:
crypto.hpp:43
QuantLib::BTCCurrency::BTCCurrency
BTCCurrency()
Definition:
crypto.cpp:32
QuantLib::Currency
Currency specification
Definition:
currency.hpp:36
QuantLib::DASHCurrency
Dash coin.
Definition:
crypto.hpp:103
QuantLib::DASHCurrency::DASHCurrency
DASHCurrency()
Dash coin.
Definition:
crypto.cpp:104
QuantLib::ETCCurrency
Ethereum Classic.
Definition:
crypto.hpp:63
QuantLib::ETCCurrency::ETCCurrency
ETCCurrency()
Ethereum Classic.
Definition:
crypto.cpp:56
QuantLib::ETHCurrency
Ethereum.
Definition:
crypto.hpp:53
QuantLib::ETHCurrency::ETHCurrency
ETHCurrency()
Ethereum.
Definition:
crypto.cpp:44
QuantLib::LTCCurrency
Litecoin.
Definition:
crypto.hpp:93
QuantLib::LTCCurrency::LTCCurrency
LTCCurrency()
Litecoin.
Definition:
crypto.cpp:92
QuantLib::XRPCurrency
Ripple.
Definition:
crypto.hpp:83
QuantLib::XRPCurrency::XRPCurrency
XRPCurrency()
Ripple.
Definition:
crypto.cpp:80
QuantLib::ZECCurrency
Zcash.
Definition:
crypto.hpp:113
QuantLib::ZECCurrency::ZECCurrency
ZECCurrency()
Zcash.
Definition:
crypto.cpp:116
currency.hpp
Currency specification.
QuantLib
Definition:
any.hpp:35
Generated by
Doxygen
1.9.5