Skip to content

Commit

Permalink
1.14.122
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Jun 3, 2018
1 parent d6861f9 commit 8b13bc1
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 9 deletions.
8 changes: 6 additions & 2 deletions build/ccxt.browser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ccxt.js
Expand Up @@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '1.14.121'
const version = '1.14.122'

Exchange.ccxtVersion = version

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "1.14.121",
"version": "1.14.122",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 100+ exchanges",
"main": "./ccxt.js",
"unpkg": "build/ccxt.browser.js",
Expand Down
2 changes: 1 addition & 1 deletion php/Exchange.php
Expand Up @@ -30,7 +30,7 @@

namespace ccxt;

$version = '1.14.121';
$version = '1.14.122';

// rounding mode
const TRUNCATE = 0;
Expand Down
4 changes: 4 additions & 0 deletions php/gateio.php
Expand Up @@ -366,6 +366,10 @@ public function parse_order ($order, $market = null) {
$amount = $this->safe_float($order, 'initialAmount');
$filled = $this->safe_float($order, 'filledAmount');
$remaining = $this->safe_float($order, 'leftAmount');
if ($remaining === null) {
// In the $order $status response, this field has a different name.
$remaining = $this->safe_float($order, 'left');
}
$feeCost = $this->safe_float($order, 'feeValue');
$feeCurrency = $this->safe_string($order, 'feeCurrency');
if ($feeCurrency !== null) {
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Expand Up @@ -22,7 +22,7 @@

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

__version__ = '1.14.121'
__version__ = '1.14.122'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/__init__.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.14.121'
__version__ = '1.14.122'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async/base/exchange.py
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '1.14.121'
__version__ = '1.14.122'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/async/gateio.py
Expand Up @@ -353,6 +353,9 @@ def parse_order(self, order, market=None):
amount = self.safe_float(order, 'initialAmount')
filled = self.safe_float(order, 'filledAmount')
remaining = self.safe_float(order, 'leftAmount')
if remaining is None:
# In the order status response, self field has a different name.
remaining = self.safe_float(order, 'left')
feeCost = self.safe_float(order, 'feeValue')
feeCurrency = self.safe_string(order, 'feeCurrency')
if feeCurrency is not None:
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.14.121'
__version__ = '1.14.122'

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

Expand Down
3 changes: 3 additions & 0 deletions python/ccxt/gateio.py
Expand Up @@ -353,6 +353,9 @@ def parse_order(self, order, market=None):
amount = self.safe_float(order, 'initialAmount')
filled = self.safe_float(order, 'filledAmount')
remaining = self.safe_float(order, 'leftAmount')
if remaining is None:
# In the order status response, self field has a different name.
remaining = self.safe_float(order, 'left')
feeCost = self.safe_float(order, 'feeValue')
feeCurrency = self.safe_string(order, 'feeCurrency')
if feeCurrency is not None:
Expand Down

0 comments on commit 8b13bc1

Please sign in to comment.