Skip to content

Commit

Permalink
1.10.1064
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Feb 9, 2018
1 parent c822c4c commit e519ed0
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 21 deletions.
9 changes: 4 additions & 5 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 Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.10.1063'
const version = '1.10.1064'

Exchange.ccxtVersion = version

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.1063",
"version": "1.10.1064",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion php/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.10.1063';
$version = '1.10.1064';

abstract class Exchange {

Expand Down
5 changes: 2 additions & 3 deletions php/kraken.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,9 @@ public function fetch_trading_fees ($params = array ()) {

public function fetch_order_book ($symbol, $limit = null, $params = array ()) {
$this->load_markets();
$darkpool = mb_strpos ($symbol, '.d') !== false;
if ($darkpool)
throw new ExchangeError ($this->id . ' does not provide an order book for $darkpool $symbol ' . $symbol);
$market = $this->market ($symbol);
if ($market['darkpool'])
throw new ExchangeError ($this->id . ' does not provide an order book for darkpool $symbol ' . $symbol);
$request = array (
'pair' => $market['id'],
);
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.1063'
__version__ = '1.10.1064'

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

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.1063'
__version__ = '1.10.1064'

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

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.1063'
__version__ = '1.10.1064'

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

Expand Down
5 changes: 2 additions & 3 deletions python/ccxt/async/kraken.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,9 @@ async def fetch_trading_fees(self, params={}):

async def fetch_order_book(self, symbol, limit=None, params={}):
await self.load_markets()
darkpool = symbol.find('.d') >= 0
if darkpool:
raise ExchangeError(self.id + ' does not provide an order book for darkpool symbol ' + symbol)
market = self.market(symbol)
if market['darkpool']:
raise ExchangeError(self.id + ' does not provide an order book for darkpool symbol ' + symbol)
request = {
'pair': market['id'],
}
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.1063'
__version__ = '1.10.1064'

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

Expand Down
5 changes: 2 additions & 3 deletions python/ccxt/kraken.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,9 @@ def fetch_trading_fees(self, params={}):

def fetch_order_book(self, symbol, limit=None, params={}):
self.load_markets()
darkpool = symbol.find('.d') >= 0
if darkpool:
raise ExchangeError(self.id + ' does not provide an order book for darkpool symbol ' + symbol)
market = self.market(symbol)
if market['darkpool']:
raise ExchangeError(self.id + ' does not provide an order book for darkpool symbol ' + symbol)
request = {
'pair': market['id'],
}
Expand Down

0 comments on commit e519ed0

Please sign in to comment.