Adding Missing Exchanges and Markets
This commit is contained in:
1 parent
f724d4f260
commit
d26d54466b
1926 files changed
+241463
-163648
No files matched your search
+65
@@ -0,0 +1,65 @@
|
||||
'use strict';
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
const okcoinusd = require ('./okcoinusd.js');
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
module.exports = class okex extends okcoinusd {
|
||||
describe () {
|
||||
return this.deepExtend (super.describe (), {
|
||||
'id': 'okex',
|
||||
'name': 'OKEX',
|
||||
'countries': [ 'CN', 'US' ],
|
||||
'has': {
|
||||
'CORS': false,
|
||||
'futures': true,
|
||||
'fetchTickers': true,
|
||||
},
|
||||
'urls': {
|
||||
'logo': 'https://user-images.githubusercontent.com/1294454/32552768-0d6dd3c6-c4a6-11e7-90f8-c043b64756a7.jpg',
|
||||
'api': {
|
||||
'v3': 'https://www.okex.com/v3',
|
||||
'web': 'https://www.okex.com/v2',
|
||||
'public': 'https://www.okex.com/api',
|
||||
'private': 'https://www.okex.com/api',
|
||||
},
|
||||
'www': 'https://www.okex.com',
|
||||
'doc': [
|
||||
'https://github.com/okcoin-okex/API-docs-OKEx.com',
|
||||
'https://www.okex.com/docs/en/',
|
||||
],
|
||||
'fees': 'https://www.okex.com/pages/products/fees.html',
|
||||
'referral': 'https://www.okex.com',
|
||||
},
|
||||
'fees': {
|
||||
'trading': {
|
||||
'taker': 0.0015,
|
||||
'maker': 0.0010,
|
||||
},
|
||||
'spot': {
|
||||
'taker': 0.0015,
|
||||
'maker': 0.0010,
|
||||
},
|
||||
'future': {
|
||||
'taker': 0.0005,
|
||||
'maker': 0.0002,
|
||||
},
|
||||
'swap': {
|
||||
'taker': 0.00075,
|
||||
'maker': 0.0002,
|
||||
},
|
||||
},
|
||||
'commonCurrencies': {
|
||||
// OKEX refers to ERC20 version of Aeternity (AEToken)
|
||||
'AE': 'AET', // https://github.com/ccxt/ccxt/issues/4981
|
||||
'HOT': 'Hydro Protocol',
|
||||
'HSR': 'HC',
|
||||
'MAG': 'Maggie',
|
||||
'YOYO': 'YOYOW',
|
||||
'WIN': 'WinToken', // https://github.com/ccxt/ccxt/issues/5701
|
||||
},
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user