-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.lisp
42 lines (41 loc) · 1.21 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
(defpackage #:carola
(:use #:cl
#:drakma)
(:export :set-api-key
:set-secret
:make-currency
:make-currency-pair
:get-all-order-books
:get-balances
:get-complete-balances
:get-deposit-addresses
:get-deposit-and-withdrawals
:get-all-open-orders
:get-all-trade-histories
:cancel-order
:move-order
:get-available-account-balances
:get-tradable-balances
:get-margin-account-summary
:get-margin-positions
:cancel-loan-order
:get-open-loan-orders
:get-active-loans
:toggle-auto-renew
:get-loan-orders
:withdraw
:transfer
:create-loan-offer
:generate-new-address
:get-latest-ticker
:get-order-book
:get-trade-history
:get-open-orders
:buy
:sell
:margin-buy
:margin-sell
:get-margin-position
:close-margin-position))
;; Use the unexported symbol, used for signing the request.
(export (find-symbol "ALIST-TO-URL-ENCODED-STRING" 'drakma) 'drakma)