UNPKG

ccxt

Version:

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

27 lines (26 loc) 1.08 kB
// --------------------------------------------------------------------------- import binance from './binance.js'; import binancecoinmRest from '../binancecoinm.js'; // --------------------------------------------------------------------------- export default class binancecoinm extends binance { describe() { // eslint-disable-next-line new-cap const restInstance = new binancecoinmRest(); const restDescribe = restInstance.describe(); const extended = this.deepExtend(super.describe(), restDescribe); return this.deepExtend(extended, { 'id': 'binancecoinm', 'name': 'Binance COIN-M', 'urls': { 'logo': 'https://user-images.githubusercontent.com/1294454/117738721-668c8d80-b205-11eb-8c49-3fad84c4a07f.jpg', 'doc': 'https://developers.binance.com/en', }, 'options': { 'fetchMarkets': { 'types': ['inverse'], }, 'defaultSubType': 'inverse', }, }); } }