diff --git a/README.md b/README.md
index 854803716758..59c3a89d5633 100644
--- a/README.md
+++ b/README.md
@@ -223,13 +223,13 @@ console.log (ccxt.exchanges) // print all available exchanges
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
-* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.48.84/dist/ccxt.browser.js
-* unpkg: https://unpkg.com/ccxt@1.48.84/dist/ccxt.browser.js
+* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.48.85/dist/ccxt.browser.js
+* unpkg: https://unpkg.com/ccxt@1.48.85/dist/ccxt.browser.js
CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.
```HTML
-
+
```
Creates a global `ccxt` object:
diff --git a/ccxt.js b/ccxt.js
index 9cb25870a130..88070201b678 100644
--- a/ccxt.js
+++ b/ccxt.js
@@ -35,7 +35,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building
-const version = '1.48.84'
+const version = '1.48.85'
Exchange.ccxtVersion = version
diff --git a/dist/ccxt.browser.js b/dist/ccxt.browser.js
index 26bd3491e055..2a150b693087 100644
--- a/dist/ccxt.browser.js
+++ b/dist/ccxt.browser.js
@@ -43,7 +43,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building
-const version = '1.48.84'
+const version = '1.48.85'
Exchange.ccxtVersion = version
@@ -103221,7 +103221,18 @@ module.exports = class poloniex extends Exchange {
'account': 'all',
};
const response = await this.privatePostReturnCompleteBalances (this.extend (request, params));
- const result = { 'info': response };
+ //
+ // {
+ // "1CR":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ // "ABY":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ // "AC":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ // }
+ //
+ const result = {
+ 'info': response,
+ 'timestamp': undefined,
+ 'datetime': undefined,
+ };
const currencyIds = Object.keys (response);
for (let i = 0; i < currencyIds.length; i++) {
const currencyId = currencyIds[i];
diff --git a/package-lock.json b/package-lock.json
index c96f33dfd106..cf67bd63f2aa 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
- "version": "1.48.84",
+ "version": "1.48.85",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index d8bf71a3a30d..1986672157bf 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
- "version": "1.48.84",
+ "version": "1.48.85",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
diff --git a/php/Exchange.php b/php/Exchange.php
index a751b87b9ab5..3ee49dc0c38a 100644
--- a/php/Exchange.php
+++ b/php/Exchange.php
@@ -37,7 +37,7 @@
use BN\BN;
use Exception;
-$version = '1.48.84';
+$version = '1.48.85';
// rounding mode
const TRUNCATE = 0;
@@ -56,7 +56,7 @@
class Exchange {
- const VERSION = '1.48.84';
+ const VERSION = '1.48.85';
private static $base58_alphabet = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
private static $base58_encoder = null;
diff --git a/php/async/Exchange.php b/php/async/Exchange.php
index b0c045391b59..6300c45de144 100644
--- a/php/async/Exchange.php
+++ b/php/async/Exchange.php
@@ -28,11 +28,11 @@
include 'throttle.php';
-$version = '1.48.84';
+$version = '1.48.85';
class Exchange extends \ccxt\Exchange {
- const VERSION = '1.48.84';
+ const VERSION = '1.48.85';
public static $loop;
public static $kernel;
diff --git a/php/async/poloniex.php b/php/async/poloniex.php
index 6e6bc425fe31..5d8b255ec83a 100644
--- a/php/async/poloniex.php
+++ b/php/async/poloniex.php
@@ -317,7 +317,18 @@ public function fetch_balance($params = array ()) {
'account' => 'all',
);
$response = yield $this->privatePostReturnCompleteBalances (array_merge($request, $params));
- $result = array( 'info' => $response );
+ //
+ // {
+ // "1CR":array("available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"),
+ // "ABY":array("available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"),
+ // "AC":array("available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"),
+ // }
+ //
+ $result = array(
+ 'info' => $response,
+ 'timestamp' => null,
+ 'datetime' => null,
+ );
$currencyIds = is_array($response) ? array_keys($response) : array();
for ($i = 0; $i < count($currencyIds); $i++) {
$currencyId = $currencyIds[$i];
diff --git a/php/poloniex.php b/php/poloniex.php
index 110c043dc2f0..1bdf2514c8a7 100644
--- a/php/poloniex.php
+++ b/php/poloniex.php
@@ -316,7 +316,18 @@ public function fetch_balance($params = array ()) {
'account' => 'all',
);
$response = $this->privatePostReturnCompleteBalances (array_merge($request, $params));
- $result = array( 'info' => $response );
+ //
+ // {
+ // "1CR":array("available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"),
+ // "ABY":array("available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"),
+ // "AC":array("available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"),
+ // }
+ //
+ $result = array(
+ 'info' => $response,
+ 'timestamp' => null,
+ 'datetime' => null,
+ );
$currencyIds = is_array($response) ? array_keys($response) : array();
for ($i = 0; $i < count($currencyIds); $i++) {
$currencyId = $currencyIds[$i];
diff --git a/python/README.md b/python/README.md
index 854803716758..59c3a89d5633 100644
--- a/python/README.md
+++ b/python/README.md
@@ -223,13 +223,13 @@ console.log (ccxt.exchanges) // print all available exchanges
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
-* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.48.84/dist/ccxt.browser.js
-* unpkg: https://unpkg.com/ccxt@1.48.84/dist/ccxt.browser.js
+* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.48.85/dist/ccxt.browser.js
+* unpkg: https://unpkg.com/ccxt@1.48.85/dist/ccxt.browser.js
CDNs are not updated in real-time and may have delays. Defaulting to the most recent version without specifying the version number is not recommended. Please, keep in mind that we are not responsible for the correct operation of those CDN servers.
```HTML
-
+
```
Creates a global `ccxt` object:
diff --git a/python/ccxt/__init__.py b/python/ccxt/__init__.py
index c35e268ae680..07b237b00ca3 100644
--- a/python/ccxt/__init__.py
+++ b/python/ccxt/__init__.py
@@ -22,7 +22,7 @@
# ----------------------------------------------------------------------------
-__version__ = '1.48.84'
+__version__ = '1.48.85'
# ----------------------------------------------------------------------------
diff --git a/python/ccxt/async_support/__init__.py b/python/ccxt/async_support/__init__.py
index d4b79b26224b..b4edd79a2e63 100644
--- a/python/ccxt/async_support/__init__.py
+++ b/python/ccxt/async_support/__init__.py
@@ -4,7 +4,7 @@
# -----------------------------------------------------------------------------
-__version__ = '1.48.84'
+__version__ = '1.48.85'
# -----------------------------------------------------------------------------
diff --git a/python/ccxt/async_support/base/exchange.py b/python/ccxt/async_support/base/exchange.py
index 838c94322ca7..d749acb02f9c 100644
--- a/python/ccxt/async_support/base/exchange.py
+++ b/python/ccxt/async_support/base/exchange.py
@@ -2,7 +2,7 @@
# -----------------------------------------------------------------------------
-__version__ = '1.48.84'
+__version__ = '1.48.85'
# -----------------------------------------------------------------------------
diff --git a/python/ccxt/async_support/poloniex.py b/python/ccxt/async_support/poloniex.py
index 51e172be39b4..8bd5b67f8b0a 100644
--- a/python/ccxt/async_support/poloniex.py
+++ b/python/ccxt/async_support/poloniex.py
@@ -319,7 +319,18 @@ async def fetch_balance(self, params={}):
'account': 'all',
}
response = await self.privatePostReturnCompleteBalances(self.extend(request, params))
- result = {'info': response}
+ #
+ # {
+ # "1CR":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ # "ABY":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ # "AC":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ # }
+ #
+ result = {
+ 'info': response,
+ 'timestamp': None,
+ 'datetime': None,
+ }
currencyIds = list(response.keys())
for i in range(0, len(currencyIds)):
currencyId = currencyIds[i]
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py
index f2a55257b46a..f84fa5e814ff 100644
--- a/python/ccxt/base/exchange.py
+++ b/python/ccxt/base/exchange.py
@@ -4,7 +4,7 @@
# -----------------------------------------------------------------------------
-__version__ = '1.48.84'
+__version__ = '1.48.85'
# -----------------------------------------------------------------------------
diff --git a/python/ccxt/poloniex.py b/python/ccxt/poloniex.py
index db07e03cd185..b3c0630ea331 100644
--- a/python/ccxt/poloniex.py
+++ b/python/ccxt/poloniex.py
@@ -319,7 +319,18 @@ def fetch_balance(self, params={}):
'account': 'all',
}
response = self.privatePostReturnCompleteBalances(self.extend(request, params))
- result = {'info': response}
+ #
+ # {
+ # "1CR":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ # "ABY":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ # "AC":{"available":"0.00000000","onOrders":"0.00000000","btcValue":"0.00000000"},
+ # }
+ #
+ result = {
+ 'info': response,
+ 'timestamp': None,
+ 'datetime': None,
+ }
currencyIds = list(response.keys())
for i in range(0, len(currencyIds)):
currencyId = currencyIds[i]
diff --git a/python/package.json b/python/package.json
index d8bf71a3a30d..1986672157bf 100644
--- a/python/package.json
+++ b/python/package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
- "version": "1.48.84",
+ "version": "1.48.85",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
diff --git a/wiki/Install.md b/wiki/Install.md
index 0eccc7b5a552..cd6c9db999cd 100644
--- a/wiki/Install.md
+++ b/wiki/Install.md
@@ -58,13 +58,13 @@ If that does not help, please, follow here: https://github.com/nodejs/node-gyp#o
All-in-one browser bundle (dependencies included), served from a CDN of your choice:
-* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.48.84/dist/ccxt.browser.js
-* unpkg: https://unpkg.com/ccxt@1.48.84/dist/ccxt.browser.js
+* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@1.48.85/dist/ccxt.browser.js
+* unpkg: https://unpkg.com/ccxt@1.48.85/dist/ccxt.browser.js
You can obtain a live-updated version of the bundle by removing the version number from the URL (the `@a.b.c` thing) — however, we do not recommend to do that, as it may break your app eventually. Also, please keep in mind that we are not responsible for the correct operation of those CDN servers.
```HTML
-
+
```
Creates a global `ccxt` object: