forked from ccxt/ccxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanybits.php
More file actions
67 lines (62 loc) · 2.27 KB
/
anybits.php
File metadata and controls
67 lines (62 loc) · 2.27 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?php
namespace ccxt;
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
use Exception as Exception; // a common import
class anybits extends bitsane {
public function describe () {
return array_replace_recursive (parent::describe (), array (
'id' => 'anybits',
'name' => 'Anybits',
'countries' => array ( 'IE' ), // Ireland
'has' => array (
'fetchCurrencies' => true,
'fetchTickers' => true,
'fetchOpenOrders' => true,
'fetchDepositAddress' => true,
'withdraw' => true,
),
'urls' => array (
'logo' => 'https://user-images.githubusercontent.com/1294454/41388454-ae227544-6f94-11e8-82a4-127d51d34903.jpg',
'api' => 'https://anybits.com/api',
'www' => 'https://anybits.com',
'doc' => 'https://anybits.com/help/api',
'fees' => 'https://anybits.com/help/fees',
),
'api' => array (
'public' => array (
'get' => array (
'assets/currencies',
'assets/pairs',
'ticker',
'orderbook',
'trades',
),
),
'private' => array (
'post' => array (
'balances',
'order/cancel',
'order/new',
'order/status',
'orders',
'orders/history',
'deposit/address',
'withdraw',
'withdrawal/status',
'transactions/history',
'vouchers',
'vouchers/create',
'vouchers/redeem',
),
),
),
'fees' => array (
'trading' => array (
'maker' => 0.15 / 100,
'taker' => 0.25 / 100,
),
),
));
}
}