You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
evilny0
a41b13f3b2
|
3 years ago | |
---|---|---|
cmake/Modules | 3 years ago | |
sql | 3 years ago | |
src | 3 years ago | |
.gitignore | 6 years ago | |
CMakeLists.txt | 3 years ago | |
COPYING | 6 years ago | |
README.md | 3 years ago |
README.md
cpfm
Cryptocurrencies portfolio manager.
Requirements
- MySQL
- C++ REST SDK : https://github.com/Microsoft/cpprestsdk
- OpenSSL (1.1.0+)
- GMP
- Boost
- sqlpp11 (modified to handle decimal type) : https://github.com/evilny0/sqlpp11/tree/decimal
- sqlpp11-connector-mysql (modified to handle decimal type) : https://github.com/evilny0/sqlpp11-connector-mysql/tree/decimal
- Howard Hinnant date lib (needed by sqlpp11) : https://github.com/HowardHinnant/date
Build
Inside the directory run the following commands:
mkdir build
cd build
cmake ..
make
You should pass the following variables to cmake :
- SQLPP11_ROOT_DIR : where sqlpp11 is installed.
- SQLPP11_MYSQL_INCLUDE_DIR : where sqlpp11-connector-mysql include folder is.
- SQLPP11_MYSQL_LIB_DIR : where sqlpp11-connector-mysql compiled library is.
- HinnantDate_ROOT_DIR : where Howard Hinnant Date is installed.
Database
You should create a database with the SQL file provided.
License
-
cpfm is distributed under the GNU GPL v3.
-
The Kraken signature code is copied from Marco Esposito krakenapi https://github.com/voidloop/krakenapi, which is licensed under the MIT license.