Skip to content

Commit

Permalink
1.17.560
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Nov 30, 2018
1 parent 3a149e8 commit 329e955
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ The ccxt library currently supports the following 132 cryptocurrency exchange ma
|![tidebit](https://user-images.githubusercontent.com/1294454/39034921-e3acf016-4480-11e8-9945-a6086a1082fe.jpg) | tidebit | [TideBit](https://www.tidebit.com) | | 2 | [API](https://www.tidebit.com/documents/api/guide) | Hong Kong |
|![tidex](https://user-images.githubusercontent.com/1294454/30781780-03149dc4-a12e-11e7-82bb-313b269d24d4.jpg) | tidex | [Tidex](https://tidex.com) | | 3 | [API](https://tidex.com/exchange/public-api) | UK |
|![uex](https://user-images.githubusercontent.com/1294454/43999923-051d9884-9e1f-11e8-965a-76948cb17678.jpg) | uex | [UEX](https://www.uex.com/signup.html?code=VAGQLL) | | 1.0.3 | [API](https://download.uex.com/doc/UEX-API-English-1.0.3.pdf) | Singapore, US |
|![upbit](https://user-images.githubusercontent.com/1294454/49245610-eeaabe00-f423-11e8-9cba-4b0aed794799.jpg) | upbit | [UPbit](https://upbit.com) | [![CCXT Certified](https://img.shields.io/badge/CCXT-certified-green.svg)](https://github.com/ccxt/ccxt/wiki/Certification) | 1 | [API](https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C) | South Korea |
|![upbit](https://user-images.githubusercontent.com/1294454/49245610-eeaabe00-f423-11e8-9cba-4b0aed794799.jpg) | upbit | [Upbit](https://upbit.com) | [![CCXT Certified](https://img.shields.io/badge/CCXT-certified-green.svg)](https://github.com/ccxt/ccxt/wiki/Certification) | 1 | [API](https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C) | South Korea |
|![urdubit](https://user-images.githubusercontent.com/1294454/27991453-156bf3ae-6480-11e7-82eb-7295fe1b5bb4.jpg) | urdubit | [UrduBit](https://urdubit.com) | | 1 | [API](https://blinktrade.com/docs) | Pakistan |
|![vaultoro](https://user-images.githubusercontent.com/1294454/27766880-f205e870-5ee9-11e7-8fe2-0d5b15880752.jpg) | vaultoro | [Vaultoro](https://www.vaultoro.com) | | 1 | [API](https://api.vaultoro.com) | Switzerland |
|![vbtc](https://user-images.githubusercontent.com/1294454/27991481-1f53d1d8-6481-11e7-884e-21d17e7939db.jpg) | vbtc | [VBTC](https://vbtc.exchange) | | 1 | [API](https://blinktrade.com/docs) | Vietnam |
Expand Down
7 changes: 4 additions & 3 deletions build/ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.17.559'
const version = '1.17.560'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -59643,7 +59643,7 @@ module.exports = class upbit extends Exchange {
describe () {
return this.deepExtend (super.describe (), {
'id': 'upbit',
'name': 'UPbit',
'name': 'Upbit',
'countries': [ 'KR' ],
'version': 'v1',
'rateLimit': 1000,
Expand Down Expand Up @@ -59764,6 +59764,7 @@ module.exports = class upbit extends Exchange {
'options': {
'fetchTickersMaxLength': 4096, // 2048,
'fetchOrderBooksMaxLength': 4096, // 2048,
'symbolSeparator': '-',
'tradingFeesByQuoteCurrency': {
'KRW': 0.0005,
},
Expand Down Expand Up @@ -60066,7 +60067,7 @@ module.exports = class upbit extends Exchange {
if (market !== undefined) {
return market['symbol'];
}
const [ baseId, quoteId ] = marketId.split ('-');
const [ baseId, quoteId ] = marketId.split (this.options['symbolSeparator']);
const base = this.commonCurrencyCode (baseId);
const quote = this.commonCurrencyCode (quoteId);
return base + '/' + quote;
Expand Down
2 changes: 1 addition & 1 deletion ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.17.559'
const version = '1.17.560'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion doc/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ The ccxt library currently supports the following 132 cryptocurrency exchange ma
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |uex| | uex | `UEX <https://www.uex.com/signup.html?code=VAGQLL>`__ | | 1.0.3 | `API <https://download.uex.com/doc/UEX-API-English-1.0.3.pdf>`__ | Singapore, US |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |upbit| | upbit | `UPbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ | South Korea |
| |upbit| | upbit | `Upbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ | South Korea |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |urdubit| | urdubit | `UrduBit <https://urdubit.com>`__ | | 1 | `API <https://blinktrade.com/docs>`__ | Pakistan |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion doc/exchanges-by-country.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ The ccxt library currently supports the following cryptocurrency exchange market
+--------------------------+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+
| South Korea | |coinone| | coinone | `CoinOne <https://coinone.co.kr>`__ | | 2 | `API <https://doc.coinone.co.kr>`__ |
+--------------------------+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+
| South Korea | |upbit| | upbit | `UPbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ |
| South Korea | |upbit| | upbit | `Upbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ |
+--------------------------+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+
| Spain | |exmo| | exmo | `EXMO <https://exmo.me/?ref=131685>`__ | | 1 | `API <https://exmo.me/en/api_doc?ref=131685>`__ |
+--------------------------+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion doc/exchanges.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ The ccxt library currently supports the following 132 cryptocurrency exchange ma
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |uex| | uex | `UEX <https://www.uex.com/signup.html?code=VAGQLL>`__ | | 1.0.3 | `API <https://download.uex.com/doc/UEX-API-English-1.0.3.pdf>`__ | Singapore, US |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |upbit| | upbit | `UPbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ | South Korea |
| |upbit| | upbit | `Upbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ | South Korea |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |urdubit| | urdubit | `UrduBit <https://urdubit.com>`__ | | 1 | `API <https://blinktrade.com/docs>`__ | Pakistan |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion doc/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ The ccxt library currently supports the following 132 cryptocurrency exchange ma
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |uex| | uex | `UEX <https://www.uex.com/signup.html?code=VAGQLL>`__ | | 1.0.3 | `API <https://download.uex.com/doc/UEX-API-English-1.0.3.pdf>`__ | Singapore, US |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |upbit| | upbit | `UPbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ | South Korea |
| |upbit| | upbit | `Upbit <https://upbit.com>`__ | `CCXT Certified <https://github.com/ccxt/ccxt/wiki/Certification>`__ | 1 | `API <https://docs.upbit.com/docs/%EC%9A%94%EC%B2%AD-%EC%88%98-%EC%A0%9C%ED%95%9C>`__ | South Korea |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
| |urdubit| | urdubit | `UrduBit <https://urdubit.com>`__ | | 1 | `API <https://blinktrade.com/docs>`__ | Pakistan |
+----------------------+--------------------+-----------------------------------------------------------------------------------------+----------------------------------------------------------------------+-------+-----------------------------------------------------------------------------------------------------+------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.17.559",
"version": "1.17.560",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
4 changes: 2 additions & 2 deletions php/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
use kornrunner\Secp256k1;
use kornrunner\Solidity;

$version = '1.17.559';
$version = '1.17.560';

// rounding mode
const TRUNCATE = 0;
Expand All @@ -50,7 +50,7 @@

class Exchange {

const VERSION = '1.17.559';
const VERSION = '1.17.560';

public static $eth_units = array (
'wei' => '1',
Expand Down
5 changes: 3 additions & 2 deletions php/upbit.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class upbit extends Exchange {
public function describe () {
return array_replace_recursive (parent::describe (), array (
'id' => 'upbit',
'name' => 'UPbit',
'name' => 'Upbit',
'countries' => array ( 'KR' ),
'version' => 'v1',
'rateLimit' => 1000,
Expand Down Expand Up @@ -133,6 +133,7 @@ public function describe () {
'options' => array (
'fetchTickersMaxLength' => 4096, // 2048,
'fetchOrderBooksMaxLength' => 4096, // 2048,
'symbolSeparator' => '-',
'tradingFeesByQuoteCurrency' => array (
'KRW' => 0.0005,
),
Expand Down Expand Up @@ -435,7 +436,7 @@ public function get_symbol_from_market_id ($marketId, $market = null) {
if ($market !== null) {
return $market['symbol'];
}
list ($baseId, $quoteId) = explode ('-', $marketId);
list ($baseId, $quoteId) = explode ($this->options['symbolSeparator'], $marketId);
$base = $this->common_currency_code($baseId);
$quote = $this->common_currency_code($quoteId);
return $base . '/' . $quote;
Expand Down
Loading

0 comments on commit 329e955

Please sign in to comment.