Skip to content

Commit

Permalink
1.10.341
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Dec 10, 2017
1 parent c01faf0 commit 011fc16
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 29 deletions.
13 changes: 6 additions & 7 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.340'
const version = '1.10.341'

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.340';
$version = '1.10.341';

const CLASSES_DIR = __DIR__ . DIRECTORY_SEPARATOR . 'php' . DIRECTORY_SEPARATOR;

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.340",
"version": "1.10.341",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 90+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
9 changes: 4 additions & 5 deletions php/gdax.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ public function fetch_ticker ($symbol, $params = array ()) {
'id' => $market['id'],
), $params);
$ticker = $this->publicGetProductsIdTicker ($request);
$quote = $this->publicGetProductsIdStats ($request);
$timestamp = $this->parse8601 ($ticker['time']);
$bid = null;
$ask = null;
Expand All @@ -195,15 +194,15 @@ public function fetch_ticker ($symbol, $params = array ()) {
'symbol' => $symbol,
'timestamp' => $timestamp,
'datetime' => $this->iso8601 ($timestamp),
'high' => floatval ($quote['high']),
'low' => floatval ($quote['low']),
'high' => null,
'low' => null,
'bid' => $bid,
'ask' => $ask,
'vwap' => null,
'open' => floatval ($quote['open']),
'open' => null,
'close' => null,
'first' => null,
'last' => floatval ($quote['last']),
'last' => null,
'change' => null,
'percentage' => null,
'average' => null,
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.340'
__version__ = '1.10.341'

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

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.340'
__version__ = '1.10.341'

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

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.340'
__version__ = '1.10.341'

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

Expand Down
9 changes: 4 additions & 5 deletions python/ccxt/async/gdax.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ async def fetch_ticker(self, symbol, params={}):
'id': market['id'],
}, params)
ticker = await self.publicGetProductsIdTicker(request)
quote = await self.publicGetProductsIdStats(request)
timestamp = self.parse8601(ticker['time'])
bid = None
ask = None
Expand All @@ -195,15 +194,15 @@ async def fetch_ticker(self, symbol, params={}):
'symbol': symbol,
'timestamp': timestamp,
'datetime': self.iso8601(timestamp),
'high': float(quote['high']),
'low': float(quote['low']),
'high': None,
'low': None,
'bid': bid,
'ask': ask,
'vwap': None,
'open': float(quote['open']),
'open': None,
'close': None,
'first': None,
'last': float(quote['last']),
'last': None,
'change': None,
'percentage': None,
'average': None,
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.340'
__version__ = '1.10.341'

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

Expand Down
9 changes: 4 additions & 5 deletions python/ccxt/gdax.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ def fetch_ticker(self, symbol, params={}):
'id': market['id'],
}, params)
ticker = self.publicGetProductsIdTicker(request)
quote = self.publicGetProductsIdStats(request)
timestamp = self.parse8601(ticker['time'])
bid = None
ask = None
Expand All @@ -195,15 +194,15 @@ def fetch_ticker(self, symbol, params={}):
'symbol': symbol,
'timestamp': timestamp,
'datetime': self.iso8601(timestamp),
'high': float(quote['high']),
'low': float(quote['low']),
'high': None,
'low': None,
'bid': bid,
'ask': ask,
'vwap': None,
'open': float(quote['open']),
'open': None,
'close': None,
'first': None,
'last': float(quote['last']),
'last': None,
'change': None,
'percentage': None,
'average': None,
Expand Down

0 comments on commit 011fc16

Please sign in to comment.