forked from ccxt/ccxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathokcoincny.js
36 lines (31 loc) · 1.72 KB
/
okcoincny.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
"use strict";
// ---------------------------------------------------------------------------
const okcoinusd = require ('./okcoinusd.js')
// ---------------------------------------------------------------------------
module.exports = class okcoincny extends okcoinusd {
describe () {
return this.deepExtend (super.describe (), {
'id': 'okcoincny',
'name': 'OKCoin CNY',
'countries': 'CN',
'hasCORS': false,
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/27766792-8be9157a-5ee5-11e7-926c-6d69b8d3378d.jpg',
'api': {
'web': 'https://www.okcoin.cn',
'public': 'https://www.okcoin.cn/pai',
'private': 'https://www.okcoin.cn/api',
},
'www': 'https://www.okcoin.cn',
'doc': 'https://www.okcoin.cn/rest_getStarted.html',
},
'markets': {
'BTC/CNY': { 'id': 'btc_cny', 'symbol': 'BTC/CNY', 'base': 'BTC', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false },
'LTC/CNY': { 'id': 'ltc_cny', 'symbol': 'LTC/CNY', 'base': 'LTC', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false },
'ETH/CNY': { 'id': 'eth_cny', 'symbol': 'ETH/CNY', 'base': 'ETH', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false },
'ETC/CNY': { 'id': 'etc_cny', 'symbol': 'ETC/CNY', 'base': 'ETC', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false },
'BCH/CNY': { 'id': 'bcc_cny', 'symbol': 'BCH/CNY', 'base': 'BCH', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false },
},
});
}
}