Skip to content

Commit

Permalink
1.11.129
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Mar 18, 2018
1 parent 5fbcfd1 commit d5df4c2
Show file tree
Hide file tree
Showing 11 changed files with 33 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
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.11.128'
const version = '1.11.129'

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.11.128",
"version": "1.11.129",
"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.11.128';
$version = '1.11.129';

abstract class Exchange {

Expand Down
9 changes: 6 additions & 3 deletions php/anxpro.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,22 @@ public function fetch_ticker ($symbol, $params = array ()) {
$bid = $this->safe_float($ticker['buy'], 'value');
$ask = $this->safe_float($ticker['sell'], 'value');
$baseVolume = floatval ($ticker['vol']['value']);
$last = floatval ($ticker['last']['value']);
return array (
'symbol' => $symbol,
'timestamp' => $timestamp,
'datetime' => $this->iso8601 ($timestamp),
'high' => floatval ($ticker['high']['value']),
'low' => floatval ($ticker['low']['value']),
'bid' => $bid,
'bidVolume' => null,
'ask' => $ask,
'askVolume' => null,
'vwap' => null,
'open' => null,
'close' => null,
'first' => null,
'last' => floatval ($ticker['last']['value']),
'close' => $last,
'last' => $last,
'previousClose' => null,
'change' => null,
'percentage' => null,
'average' => floatval ($ticker['avg']['value']),
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.11.128'
__version__ = '1.11.129'

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

Expand Down
9 changes: 6 additions & 3 deletions python/ccxt/anxpro.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,22 @@ def fetch_ticker(self, symbol, params={}):
bid = self.safe_float(ticker['buy'], 'value')
ask = self.safe_float(ticker['sell'], 'value')
baseVolume = float(ticker['vol']['value'])
last = float(ticker['last']['value'])
return {
'symbol': symbol,
'timestamp': timestamp,
'datetime': self.iso8601(timestamp),
'high': float(ticker['high']['value']),
'low': float(ticker['low']['value']),
'bid': bid,
'bidVolume': None,
'ask': ask,
'askVolume': None,
'vwap': None,
'open': None,
'close': None,
'first': None,
'last': float(ticker['last']['value']),
'close': last,
'last': last,
'previousClose': None,
'change': None,
'percentage': None,
'average': float(ticker['avg']['value']),
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.11.128'
__version__ = '1.11.129'

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

Expand Down
9 changes: 6 additions & 3 deletions python/ccxt/async/anxpro.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,22 @@ async def fetch_ticker(self, symbol, params={}):
bid = self.safe_float(ticker['buy'], 'value')
ask = self.safe_float(ticker['sell'], 'value')
baseVolume = float(ticker['vol']['value'])
last = float(ticker['last']['value'])
return {
'symbol': symbol,
'timestamp': timestamp,
'datetime': self.iso8601(timestamp),
'high': float(ticker['high']['value']),
'low': float(ticker['low']['value']),
'bid': bid,
'bidVolume': None,
'ask': ask,
'askVolume': None,
'vwap': None,
'open': None,
'close': None,
'first': None,
'last': float(ticker['last']['value']),
'close': last,
'last': last,
'previousClose': None,
'change': None,
'percentage': None,
'average': float(ticker['avg']['value']),
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.11.128'
__version__ = '1.11.129'

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

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.11.128'
__version__ = '1.11.129'

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

Expand Down

0 comments on commit d5df4c2

Please sign in to comment.