ccxt
Version:
73 lines (68 loc) • 3.01 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var binance = require('./binance.js');
var binanceus$1 = require('../binanceus.js');
// ----------------------------------------------------------------------------
// ---------------------------------------------------------------------------
class binanceus extends binance["default"] {
describe() {
// eslint-disable-next-line new-cap
const restInstance = new binanceus$1["default"]();
const restDescribe = restInstance.describe();
const parentWsDescribe = super.describeData();
const extended = this.deepExtend(restDescribe, parentWsDescribe);
return this.deepExtend(extended, {
'id': 'binanceus',
'name': 'Binance US',
'countries': ['US'],
'certified': false,
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/65177307-217b7c80-da5f-11e9-876e-0b748ba0a358.jpg',
'api': {
'ws': {
'spot': 'wss://stream.binance.us:9443/ws',
},
'web': 'https://www.binance.us',
'sapi': 'https://api.binance.us/sapi/v1',
'wapi': 'https://api.binance.us/wapi/v3',
'public': 'https://api.binance.us/api/v3',
'private': 'https://api.binance.us/api/v3',
'v3': 'https://api.binance.us/api/v3',
'v1': 'https://api.binance.us/api/v1',
},
'www': 'https://www.binance.us',
'referral': 'https://www.binance.us/?ref=35005074',
'doc': 'https://github.com/binance-us/binance-official-api-docs',
'fees': 'https://www.binance.us/en/fee/schedule',
},
'has': {
'createOrderWithTakeProfitAndStopLossWs': false,
'createReduceOnlyOrderWs': false,
'createStopLossOrderWs': false,
'createTakeProfitOrderWs': false,
'fetchPositionForSymbolWs': false,
'fetchPositionsForSymbolWs': false,
'fetchPositionsWs': false,
'fetchPositionWs': false,
'unWatchPositions': false,
'watchLiquidations': false,
'watchLiquidationsForSymbols': false,
'watchMarkPrice': false,
'watchMarkPrices': false,
'watchMyLiquidations': false,
'watchMyLiquidationsForSymbols': false,
'watchPosition': false,
'watchPositions': false,
},
'options': {
'fetchCurrencies': false,
'quoteOrderQty': false,
'defaultType': 'spot',
'fetchMarkets': {
'types': ['spot'],
},
},
});
}
}
exports["default"] = binanceus;