Skip to content

Commit

Permalink
1.10.93
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Nov 14, 2017
1 parent e2a247d commit 62cc10d
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 21 deletions.
14 changes: 9 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 errors = require ('./js/base/errors')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.10.92'
const version = '1.10.93'

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.92';
$version = '1.10.93';

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.92",
"version": "1.10.93",
"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: 6 additions & 3 deletions php/gatecoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ public function parse_ticker ($ticker, $market = null) {
$symbol = null;
if ($market)
$symbol = $market['symbol'];
$baseVolume = floatval ($ticker['volume']);
$vwap = floatval ($ticker['vwap']);
$quoteVolume = $baseVolume * $vwap;
return array (
'symbol' => $symbol,
'timestamp' => $timestamp,
Expand All @@ -240,16 +243,16 @@ public function parse_ticker ($ticker, $market = null) {
'low' => floatval ($ticker['low']),
'bid' => floatval ($ticker['bid']),
'ask' => floatval ($ticker['ask']),
'vwap' => floatval ($ticker['vwap']),
'vwap' => $vwap,
'open' => floatval ($ticker['open']),
'close' => null,
'first' => null,
'last' => floatval ($ticker['last']),
'change' => null,
'percentage' => null,
'average' => null,
'baseVolume' => null,
'quoteVolume' => floatval ($ticker['volume']),
'baseVolume' => $baseVolume,
'quoteVolume' => $quoteVolume,
'info' => $ticker,
);
}
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.92'
__version__ = '1.10.93'

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

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.92'
__version__ = '1.10.93'

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

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.92'
__version__ = '1.10.93'

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

Expand Down
9 changes: 6 additions & 3 deletions python/ccxt/async/gatecoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ def parse_ticker(self, ticker, market=None):
symbol = None
if market:
symbol = market['symbol']
baseVolume = float(ticker['volume'])
vwap = float(ticker['vwap'])
quoteVolume = baseVolume * vwap
return {
'symbol': symbol,
'timestamp': timestamp,
Expand All @@ -236,16 +239,16 @@ def parse_ticker(self, ticker, market=None):
'low': float(ticker['low']),
'bid': float(ticker['bid']),
'ask': float(ticker['ask']),
'vwap': float(ticker['vwap']),
'vwap': vwap,
'open': float(ticker['open']),
'close': None,
'first': None,
'last': float(ticker['last']),
'change': None,
'percentage': None,
'average': None,
'baseVolume': None,
'quoteVolume': float(ticker['volume']),
'baseVolume': baseVolume,
'quoteVolume': quoteVolume,
'info': ticker,
}

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.92'
__version__ = '1.10.93'

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

Expand Down
9 changes: 6 additions & 3 deletions python/ccxt/gatecoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ def parse_ticker(self, ticker, market=None):
symbol = None
if market:
symbol = market['symbol']
baseVolume = float(ticker['volume'])
vwap = float(ticker['vwap'])
quoteVolume = baseVolume * vwap
return {
'symbol': symbol,
'timestamp': timestamp,
Expand All @@ -236,16 +239,16 @@ def parse_ticker(self, ticker, market=None):
'low': float(ticker['low']),
'bid': float(ticker['bid']),
'ask': float(ticker['ask']),
'vwap': float(ticker['vwap']),
'vwap': vwap,
'open': float(ticker['open']),
'close': None,
'first': None,
'last': float(ticker['last']),
'change': None,
'percentage': None,
'average': None,
'baseVolume': None,
'quoteVolume': float(ticker['volume']),
'baseVolume': baseVolume,
'quoteVolume': quoteVolume,
'info': ticker,
}

Expand Down

0 comments on commit 62cc10d

Please sign in to comment.