forked from ccxt/ccxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
huobijp.js
39 lines (34 loc) · 1.39 KB
/
huobijp.js
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
'use strict';
// ---------------------------------------------------------------------------
const huobipro = require ('./huobipro.js');
const { NotSupported } = require ('./base/errors');
// ---------------------------------------------------------------------------
module.exports = class huobijp extends huobipro {
describe () {
return this.deepExtend (super.describe (), {
'id': 'huobijp',
'name': 'Huobi Japan',
'countries': [ 'JP' ],
'hostname': 'api-cloud.huobi.co.jp',
'pro': true,
'has': {
'fetchDepositAddress': false,
},
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/85734211-85755480-b705-11ea-8b35-0b7f1db33a2f.jpg',
'api': {
'market': 'https://{hostname}',
'public': 'https://{hostname}',
'private': 'https://{hostname}',
},
'www': 'https://www.huobi.co.jp',
'referral': 'https://www.huobi.co.jp/register/?invite_code=znnq3',
'doc': 'https://api-doc.huobi.co.jp',
'fees': 'https://www.huobi.co.jp/support/fee',
},
});
}
async fetchDepositAddress (code, params = {}) {
throw new NotSupported (this.id + ' fetchDepositAddress not supported yet');
}
};