Skip to content

Commit

Permalink
1.14.92
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed May 30, 2018
1 parent 0a8d26c commit 62f6322
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 21 deletions.
13 changes: 8 additions & 5 deletions build/ccxt.browser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ccxt.js
Expand Up @@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.14.91'
const version = '1.14.92'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.14.91",
"version": "1.14.92",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion php/Exchange.php
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.14.91';
$version = '1.14.92';

// rounding mode
const TRUNCATE = 0;
Expand Down
9 changes: 6 additions & 3 deletions php/kucoin.php
Expand Up @@ -327,10 +327,13 @@ public function fetch_balance ($params = array ()) {
public function fetch_order_book ($symbol, $limit = null, $params = array ()) {
$this->load_markets();
$market = $this->market ($symbol);
$response = $this->publicGetOpenOrders (array_merge (array (
$request = array (
'symbol' => $market['id'],
'limit' => $limit,
), $params));
);
if ($limit !== null) {
$request['limit'] = $limit;
}
$response = $this->publicGetOpenOrders (array_merge ($request, $params));
$dataInResponse = (is_array ($response) && array_key_exists ('data', $response));
$orderbook = null;
$timestamp = null;
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Expand Up @@ -22,7 +22,7 @@

# ----------------------------------------------------------------------------

__version__ = '1.14.91'
__version__ = '1.14.92'

# ----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/__init__.py
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.14.91'
__version__ = '1.14.92'

# -----------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/base/exchange.py
Expand Up @@ -2,7 +2,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.14.91'
__version__ = '1.14.92'

# -----------------------------------------------------------------------------

Expand Down
8 changes: 5 additions & 3 deletions python/ccxt/async/kucoin.py
Expand Up @@ -326,10 +326,12 @@ async def fetch_balance(self, params={}):
async def fetch_order_book(self, symbol, limit=None, params={}):
await self.load_markets()
market = self.market(symbol)
response = await self.publicGetOpenOrders(self.extend({
request = {
'symbol': market['id'],
'limit': limit,
}, params))
}
if limit is not None:
request['limit'] = limit
response = await self.publicGetOpenOrders(self.extend(request, params))
dataInResponse = ('data' in list(response.keys()))
orderbook = None
timestamp = None
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Expand Up @@ -4,7 +4,7 @@

# -----------------------------------------------------------------------------

__version__ = '1.14.91'
__version__ = '1.14.92'

# -----------------------------------------------------------------------------

Expand Down
8 changes: 5 additions & 3 deletions python/ccxt/kucoin.py
Expand Up @@ -326,10 +326,12 @@ def fetch_balance(self, params={}):
def fetch_order_book(self, symbol, limit=None, params={}):
self.load_markets()
market = self.market(symbol)
response = self.publicGetOpenOrders(self.extend({
request = {
'symbol': market['id'],
'limit': limit,
}, params))
}
if limit is not None:
request['limit'] = limit
response = self.publicGetOpenOrders(self.extend(request, params))
dataInResponse = ('data' in list(response.keys()))
orderbook = None
timestamp = None
Expand Down

0 comments on commit 62f6322

Please sign in to comment.