Skip to content

Commit

Permalink
1.14.124
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Jun 4, 2018
1 parent f3be975 commit 1b0c986
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 21 deletions.
12 changes: 7 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.123'
const version = '1.14.124'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.14.123",
"version": "1.14.124",
"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.123';
$version = '1.14.124';

// rounding mode
const TRUNCATE = 0;
Expand Down
8 changes: 5 additions & 3 deletions php/lbank.php
Expand Up @@ -191,9 +191,11 @@ public function fetch_tickers ($symbols = null, $params = array ()) {
for ($i = 0; $i < count ($tickers); $i++) {
$ticker = $tickers[$i];
$id = $ticker['symbol'];
$market = $this->marketsById[$id];
$symbol = $market['symbol'];
$result[$symbol] = $this->parse_ticker($ticker, $market);
if (is_array ($this->marketsById) && array_key_exists ($id, $this->marketsById)) {
$market = $this->marketsById[$id];
$symbol = $market['symbol'];
$result[$symbol] = $this->parse_ticker($ticker, $market);
}
}
return $result;
}
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Expand Up @@ -22,7 +22,7 @@

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

__version__ = '1.14.123'
__version__ = '1.14.124'

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

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

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

__version__ = '1.14.123'
__version__ = '1.14.124'

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

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

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

__version__ = '1.14.123'
__version__ = '1.14.124'

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

Expand Down
7 changes: 4 additions & 3 deletions python/ccxt/async/lbank.py
Expand Up @@ -190,9 +190,10 @@ async def fetch_tickers(self, symbols=None, params={}):
for i in range(0, len(tickers)):
ticker = tickers[i]
id = ticker['symbol']
market = self.marketsById[id]
symbol = market['symbol']
result[symbol] = self.parse_ticker(ticker, market)
if id in self.marketsById:
market = self.marketsById[id]
symbol = market['symbol']
result[symbol] = self.parse_ticker(ticker, market)
return result

async def fetch_order_book(self, symbol, limit=60, params={}):
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.14.123'
__version__ = '1.14.124'

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

Expand Down
7 changes: 4 additions & 3 deletions python/ccxt/lbank.py
Expand Up @@ -190,9 +190,10 @@ def fetch_tickers(self, symbols=None, params={}):
for i in range(0, len(tickers)):
ticker = tickers[i]
id = ticker['symbol']
market = self.marketsById[id]
symbol = market['symbol']
result[symbol] = self.parse_ticker(ticker, market)
if id in self.marketsById:
market = self.marketsById[id]
symbol = market['symbol']
result[symbol] = self.parse_ticker(ticker, market)
return result

def fetch_order_book(self, symbol, limit=60, params={}):
Expand Down

0 comments on commit 1b0c986

Please sign in to comment.