ccxt
Version:
36 lines (33 loc) • 1.57 kB
JavaScript
// ----------------------------------------------------------------------------
// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code
// EDIT THE CORRESPONDENT .ts FILE INSTEAD
// ---------------------------------------------------------------------------
import binance from './binance.js';
import { InvalidOrder } from '../base/errors.js';
// ---------------------------------------------------------------------------
export default class binanceusdm extends binance {
describe() {
return this.deepExtend(super.describe(), {
'id': 'binanceusdm',
'name': 'Binance USDⓈ-M',
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/117738721-668c8d80-b205-11eb-8c49-3fad84c4a07f.jpg',
'doc': 'https://developers.binance.com/en',
},
'options': {
'fetchMarkets': ['linear'],
'defaultSubType': 'linear',
},
// https://binance-docs.github.io/apidocs/futures/en/#error-codes
// https://developers.binance.com/docs/derivatives/usds-margined-futures/error-code
'exceptions': {
'exact': {
'-5021': InvalidOrder,
'-5022': InvalidOrder,
'-5028': InvalidOrder, // {"code":-5028,"msg":"Timestamp for this request is outside of the ME recvWindow."}
},
},
});
}
}