Skip to content

Commit

Permalink
1.48.85
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Apr 26, 2021
1 parent 3aac23c commit f8729cf
Show file tree
Hide file tree
Showing 18 changed files with 82 additions and 27 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].84/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].84/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].85/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].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
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].84/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].85/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2 changes: 1 addition & 1 deletion ccxt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
15 changes: 13 additions & 2 deletions dist/ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.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",
Expand Down
4 changes: 2 additions & 2 deletions php/Exchange.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions php/async/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
13 changes: 12 additions & 1 deletion php/async/poloniex.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
13 changes: 12 additions & 1 deletion php/poloniex.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].84/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].84/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].85/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].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
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].84/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].85/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

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

__version__ = '1.48.84'
__version__ = '1.48.85'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '1.48.84'
__version__ = '1.48.85'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '1.48.84'
__version__ = '1.48.85'

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

Expand Down
13 changes: 12 additions & 1 deletion python/ccxt/async_support/poloniex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
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.48.84'
__version__ = '1.48.85'

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

Expand Down
13 changes: 12 additions & 1 deletion python/ccxt/poloniex.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions wiki/Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected].84/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].84/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].85/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].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
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].84/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].85/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down

0 comments on commit f8729cf

Please sign in to comment.