Skip to content

Commit

Permalink
1.10.527
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Dec 30, 2017
1 parent b2e7846 commit 6d076d0
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 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.526'
const version = '1.10.527'

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

abstract class Exchange {

Expand Down
4 changes: 2 additions & 2 deletions php/kucoin.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ public function fetch_balance ($params = array ()) {
$currency = $this->common_currency_code($id);
$account = $this->account ();
$balance = $indexed[$id];
$total = floatval ($balance['balance']);
$used = floatval ($balance['freezeBalance']);
$free = $total - $used;
$free = floatval ($balance['balance']);
$total = $this->sum ($free, $used);
$account['free'] = $free;
$account['used'] = $used;
$account['total'] = $total;
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.526'
__version__ = '1.10.527'

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

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.526'
__version__ = '1.10.527'

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

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.526'
__version__ = '1.10.527'

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

Expand Down
4 changes: 2 additions & 2 deletions python/ccxt/async/kucoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ async def fetch_balance(self, params={}):
currency = self.common_currency_code(id)
account = self.account()
balance = indexed[id]
total = float(balance['balance'])
used = float(balance['freezeBalance'])
free = total - used
free = float(balance['balance'])
total = self.sum(free, used)
account['free'] = free
account['used'] = used
account['total'] = total
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.526'
__version__ = '1.10.527'

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

Expand Down
4 changes: 2 additions & 2 deletions python/ccxt/kucoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ def fetch_balance(self, params={}):
currency = self.common_currency_code(id)
account = self.account()
balance = indexed[id]
total = float(balance['balance'])
used = float(balance['freezeBalance'])
free = total - used
free = float(balance['balance'])
total = self.sum(free, used)
account['free'] = free
account['used'] = used
account['total'] = total
Expand Down

0 comments on commit 6d076d0

Please sign in to comment.