UNPKG

ccxt-compiled

Version:

A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges

52 lines (47 loc) 1.92 kB
"use strict"; // --------------------------------------------------------------------------- const acx = require('./acx.js'); // --------------------------------------------------------------------------- module.exports = class yunbi extends acx { describe() { return this.deepExtend(super.describe(), { 'id': 'yunbi', 'name': 'YUNBI', 'countries': 'CN', 'rateLimit': 1000, 'version': 'v2', 'hasCORS': false, 'hasFetchTickers': true, 'hasFetchOHLCV': true, 'timeframes': { '1m': '1', '5m': '5', '15m': '15', '30m': '30', '1h': '60', '2h': '120', '4h': '240', '12h': '720', '1d': '1440', '3d': '4320', '1w': '10080' }, 'urls': { 'logo': 'https://user-images.githubusercontent.com/1294454/28570548-4d646c40-7147-11e7-9cf6-839b93e6d622.jpg', 'extension': '.json', // default extension appended to endpoint URLs 'api': 'https://yunbi.com', 'www': 'https://yunbi.com', 'doc': ['https://yunbi.com/documents/api/guide', 'https://yunbi.com/swagger/'] }, 'api': { 'public': { 'get': ['tickers', 'tickers/{market}', 'markets', 'order_book', 'k', 'depth', 'trades', 'k_with_pending_trades', 'timestamp', 'addresses/{address}', 'partners/orders/{id}/trades'] }, 'private': { 'get': ['deposits', 'members/me', 'deposit', 'deposit_address', 'order', 'orders', 'trades/my'], 'post': ['order/delete', 'orders', 'orders/multi', 'orders/clear'] } } }); } };