Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hansic99/kraken_c_api
https://github.com/hansic99/kraken_c_api
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hansic99/kraken_c_api
- Owner: hANSIc99
- License: bsd-3-clause
- Created: 2016-11-20T15:12:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-05T20:29:53.000Z (about 4 years ago)
- Last Synced: 2024-04-24T03:20:37.049Z (8 months ago)
- Language: C
- Size: 168 KB
- Stars: 18
- Watchers: 4
- Forks: 18
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kraken C API
This API is intended for use on Linux/Unix-like systems.
The API depends on *Curl*.On the most distributions curl is installed by default,
if not, you can get it from here:https://curl.haxx.se/
## Infos
Compile with *make*.
Set/unset *DEBUG* or *TRACE* in the makefile to get trace/debug information
printed to stdout.## Usage
Just include *kraken_api.h* in the sources of your own project.
Get Doxygen and create the documentation.
If Doxygen is not installed you can get it from here:http://www.doxygen.org
Once you have run *doxygen Doxyfile*, look in the documentation of *main.c*,
there you can find many examples.If you dont want to use doxygen, simply look into *main.c*
to see how to execute a trade.## Build
**Prerequisites**
To be able to build the API, you need the SSL-devel files on your system.
On Debian, Ubuntu or similar distributions type:
`sudo apt install libssl-dev`On Fedora, RHEL or similar distributions type:
`sudo dnf install openssl-devel`To build the examples inside main.c, simply
call `make` from within the source folder.**Build with libssl < 1.10**
`make CFLAGS=-DOPENSSL_1_0`
**Build static library**
`make LIBRARY`