UNPKG

ccxt-compiled

Version:

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

36 lines (31 loc) 1.76 kB
"use strict"; // --------------------------------------------------------------------------- const okcoinusd = require('./okcoinusd.js'); // --------------------------------------------------------------------------- module.exports = class okcoincny extends okcoinusd { describe() { return this.deepExtend(super.describe(), { 'id': 'okcoincny', 'name': 'OKCoin CNY', 'countries': 'CN', 'hasCORS': false, 'urls': { 'logo': 'https://user-images.githubusercontent.com/1294454/27766792-8be9157a-5ee5-11e7-926c-6d69b8d3378d.jpg', 'api': { 'web': 'https://www.okcoin.cn', 'public': 'https://www.okcoin.cn/pai', 'private': 'https://www.okcoin.cn/api' }, 'www': 'https://www.okcoin.cn', 'doc': 'https://www.okcoin.cn/rest_getStarted.html' }, 'markets': { 'BTC/CNY': { 'id': 'btc_cny', 'symbol': 'BTC/CNY', 'base': 'BTC', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false }, 'LTC/CNY': { 'id': 'ltc_cny', 'symbol': 'LTC/CNY', 'base': 'LTC', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false }, 'ETH/CNY': { 'id': 'eth_cny', 'symbol': 'ETH/CNY', 'base': 'ETH', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false }, 'ETC/CNY': { 'id': 'etc_cny', 'symbol': 'ETC/CNY', 'base': 'ETC', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false }, 'BCH/CNY': { 'id': 'bcc_cny', 'symbol': 'BCH/CNY', 'base': 'BCH', 'quote': 'CNY', 'type': 'spot', 'spot': true, 'future': false } } }); } };