Skip to content

Commit

Permalink
1.10.202
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Nov 24, 2017
1 parent 01c7ce2 commit 030f46e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 9 deletions.
7 changes: 5 additions & 2 deletions build/ccxt.browser.js

Large diffs are not rendered by default.

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 errors = require ('./js/base/errors')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.10.201'
const version = '1.10.202'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion ccxt.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.10.201';
$version = '1.10.202';

include_once ('php/base/errors.php');
include_once ('php/base/Exchange.php');
Expand Down
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.10.201",
"version": "1.10.202",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
3 changes: 3 additions & 0 deletions php/cryptopia.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ public function fetch_tickers ($symbols = null, $params = array ()) {
for ($i = 0; $i < count ($tickers); $i++) {
$ticker = $tickers[$i];
$id = $ticker['TradePairId'];
$recognized = (array_key_exists ($id, $this->markets_by_id));
if (!$recognized)
throw new ExchangeError ($this->id . ' fetchTickers() returned unrecognized pair $id ' . $id);
$market = $this->markets_by_id[$id];
$symbol = $market['symbol'];
$result[$symbol] = $this->parse_ticker($ticker, $market);
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

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

__version__ = '1.10.201'
__version__ = '1.10.202'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.10.201'
__version__ = '1.10.202'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '1.10.201'
__version__ = '1.10.202'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/async/cryptopia.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ async def fetch_tickers(self, symbols=None, params={}):
for i in range(0, len(tickers)):
ticker = tickers[i]
id = ticker['TradePairId']
recognized = (id in list(self.markets_by_id.keys()))
if not recognized:
raise ExchangeError(self.id + ' fetchTickers() returned unrecognized pair id ' + id)
market = self.markets_by_id[id]
symbol = market['symbol']
result[symbol] = self.parse_ticker(ticker, market)
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.10.201'
__version__ = '1.10.202'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/cryptopia.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ def fetch_tickers(self, symbols=None, params={}):
for i in range(0, len(tickers)):
ticker = tickers[i]
id = ticker['TradePairId']
recognized = (id in list(self.markets_by_id.keys()))
if not recognized:
raise ExchangeError(self.id + ' fetchTickers() returned unrecognized pair id ' + id)
market = self.markets_by_id[id]
symbol = market['symbol']
result[symbol] = self.parse_ticker(ticker, market)
Expand Down

0 comments on commit 030f46e

Please sign in to comment.