Last active
January 6, 2021 19:30
-
-
Save brulint/5040c9af10645adf02c4b822dc8824ef to your computer and use it in GitHub Desktop.
Access Kraken API with Common Lisp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ql:quickload :cl-kraken) | |
(setq cl-kraken/src/globals::*api-key* "my api key") | |
(setq cl-kraken/src/globals::*api-secret* "my api secret") | |
; public market data | |
(cl-kraken::request "Time") | |
(cl-kraken::request "Ticker" :params '(("pair" . "XXBTZEUR"))) | |
; private user data | |
(cl-kraken::request "Balance" :post t) | |
(cl-kraken::request "TradeBalance" :params '(("asset" . "ZEUR")) :post t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment