@ango-ya/ccxt
Version:
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges
35 lines (31 loc) • 1.17 kB
JavaScript
;
var hitbtc = require('./hitbtc.js');
var bequant = require('../bequant.js');
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
class bitcoincom extends hitbtc {
describe() {
// eslint-disable-next-line new-cap
const restInstance = new bequant();
const restDescribe = restInstance.describe();
const extended = this.deepExtend(super.describe(), restDescribe);
return this.deepExtend(extended, {
'id': 'bitcoincom',
'name': 'bitcoin.com',
'countries': ['KN'],
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/97296144-514fa300-1861-11eb-952b-3d55d492200b.jpg',
'api': {
'ws': 'wss://api.fmfw.io/api/2/ws',
},
},
'fees': {
'trading': {
'maker': this.parseNumber('0.0015'),
'taker': this.parseNumber('0.002'),
},
},
});
}
}
module.exports = bitcoincom;