Skip to content

Commit

Permalink
1.47.98
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Apr 17, 2021
1 parent b4deca3 commit 4ba95e7
Show file tree
Hide file tree
Showing 22 changed files with 72 additions and 62 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,13 +225,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].97/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].97/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].98/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].98/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].97/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].98/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.47.97'
const version = '1.47.98'

Exchange.ccxtVersion = version

Expand Down
20 changes: 11 additions & 9 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.47.97'
const version = '1.47.98'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -14848,15 +14848,16 @@ module.exports = class bitbay extends Exchange {
'3d': '259200',
'1w': '604800',
},
'hostname': 'bitbay.net',
'urls': {
'referral': 'https://auth.bitbay.net/ref/jHlbB4mIkdS1',
'logo': 'https://user-images.githubusercontent.com/1294454/27766132-978a7bd8-5ece-11e7-9540-bc96d1e9bbb8.jpg',
'www': 'https://bitbay.net',
'api': {
'public': 'https://bitbay.net/API/Public',
'private': 'https://bitbay.net/API/Trading/tradingApi.php',
'v1_01Public': 'https://api.bitbay.net/rest',
'v1_01Private': 'https://api.bitbay.net/rest',
'public': 'https://{hostname}/API/Public',
'private': 'https://{hostname}/API/Trading/tradingApi.php',
'v1_01Public': 'https://api.{hostname}/rest',
'v1_01Private': 'https://api.{hostname}/rest',
},
'doc': [
'https://bitbay.net/public-api',
Expand Down Expand Up @@ -15966,7 +15967,7 @@ module.exports = class bitbay extends Exchange {
}

sign (path, api = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
let url = this.urls['api'][api];
let url = this.implodeParams (this.urls['api'][api], { 'hostname': this.hostname });
if (api === 'public') {
const query = this.omit (params, this.extractParams (path));
url += '/' + this.implodeParams (path, params) + '.json';
Expand Down Expand Up @@ -23202,11 +23203,12 @@ module.exports = class bithumb extends Exchange {
'fetchTrades': true,
'withdraw': true,
},
'hostname': 'bithumb.com',
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/30597177-ea800172-9d5e-11e7-804c-b9d4fa9b56b0.jpg',
'api': {
'public': 'https://api.bithumb.com/public',
'private': 'https://api.bithumb.com',
'public': 'https://api.{hostname}/public',
'private': 'https://api.{hostname}',
},
'www': 'https://www.bithumb.com',
'doc': 'https://apidocs.bithumb.com',
Expand Down Expand Up @@ -24026,7 +24028,7 @@ module.exports = class bithumb extends Exchange {

sign (path, api = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
const endpoint = '/' + this.implodeParams (path, params);
let url = this.urls['api'][api] + endpoint;
let url = this.implodeParams (this.urls['api'][api], { 'hostname': this.hostname }) + endpoint;
const query = this.omit (params, this.extractParams (path));
if (api === 'public') {
if (Object.keys (query).length) {
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.47.97",
"version": "1.47.98",
"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.47.97';
$version = '1.47.98';

class Exchange extends \ccxt\Exchange {

const VERSION = '1.47.97';
const VERSION = '1.47.98';

public static $loop;
public static $kernel;
Expand Down
11 changes: 6 additions & 5 deletions php/async/bitbay.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,16 @@ public function describe() {
'3d' => '259200',
'1w' => '604800',
),
'hostname' => 'bitbay.net',
'urls' => array(
'referral' => 'https://auth.bitbay.net/ref/jHlbB4mIkdS1',
'logo' => 'https://user-images.githubusercontent.com/1294454/27766132-978a7bd8-5ece-11e7-9540-bc96d1e9bbb8.jpg',
'www' => 'https://bitbay.net',
'api' => array(
'public' => 'https://bitbay.net/API/Public',
'private' => 'https://bitbay.net/API/Trading/tradingApi.php',
'v1_01Public' => 'https://api.bitbay.net/rest',
'v1_01Private' => 'https://api.bitbay.net/rest',
'public' => 'https://{hostname}/API/Public',
'private' => 'https://{hostname}/API/Trading/tradingApi.php',
'v1_01Public' => 'https://api.{hostname}/rest',
'v1_01Private' => 'https://api.{hostname}/rest',
),
'doc' => array(
'https://bitbay.net/public-api',
Expand Down Expand Up @@ -1165,7 +1166,7 @@ public function withdraw($code, $amount, $address, $tag = null, $params = array
}

public function sign($path, $api = 'public', $method = 'GET', $params = array (), $headers = null, $body = null) {
$url = $this->urls['api'][$api];
$url = $this->implode_params($this->urls['api'][$api], array( 'hostname' => $this->hostname ));
if ($api === 'public') {
$query = $this->omit($params, $this->extract_params($path));
$url .= '/' . $this->implode_params($path, $params) . '.json';
Expand Down
7 changes: 4 additions & 3 deletions php/async/bithumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ public function describe() {
'fetchTrades' => true,
'withdraw' => true,
),
'hostname' => 'bithumb.com',
'urls' => array(
'logo' => 'https://user-images.githubusercontent.com/1294454/30597177-ea800172-9d5e-11e7-804c-b9d4fa9b56b0.jpg',
'api' => array(
'public' => 'https://api.bithumb.com/public',
'private' => 'https://api.bithumb.com',
'public' => 'https://api.{hostname}/public',
'private' => 'https://api.{hostname}',
),
'www' => 'https://www.bithumb.com',
'doc' => 'https://apidocs.bithumb.com',
Expand Down Expand Up @@ -859,7 +860,7 @@ public function nonce() {

public function sign($path, $api = 'public', $method = 'GET', $params = array (), $headers = null, $body = null) {
$endpoint = '/' . $this->implode_params($path, $params);
$url = $this->urls['api'][$api] . $endpoint;
$url = $this->implode_params($this->urls['api'][$api], array( 'hostname' => $this->hostname )) . $endpoint;
$query = $this->omit($params, $this->extract_params($path));
if ($api === 'public') {
if ($query) {
Expand Down
11 changes: 6 additions & 5 deletions php/bitbay.php

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

7 changes: 4 additions & 3 deletions php/bithumb.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 @@ -225,13 +225,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].97/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].97/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].98/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].98/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].97/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].98/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.47.97'
__version__ = '1.47.98'

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

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.47.97'
__version__ = '1.47.98'

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

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.47.97'
__version__ = '1.47.98'

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

Expand Down
11 changes: 6 additions & 5 deletions python/ccxt/async_support/bitbay.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,16 @@ def describe(self):
'3d': '259200',
'1w': '604800',
},
'hostname': 'bitbay.net',
'urls': {
'referral': 'https://auth.bitbay.net/ref/jHlbB4mIkdS1',
'logo': 'https://user-images.githubusercontent.com/1294454/27766132-978a7bd8-5ece-11e7-9540-bc96d1e9bbb8.jpg',
'www': 'https://bitbay.net',
'api': {
'public': 'https://bitbay.net/API/Public',
'private': 'https://bitbay.net/API/Trading/tradingApi.php',
'v1_01Public': 'https://api.bitbay.net/rest',
'v1_01Private': 'https://api.bitbay.net/rest',
'public': 'https://{hostname}/API/Public',
'private': 'https://{hostname}/API/Trading/tradingApi.php',
'v1_01Public': 'https://api.{hostname}/rest',
'v1_01Private': 'https://api.{hostname}/rest',
},
'doc': [
'https://bitbay.net/public-api',
Expand Down Expand Up @@ -1132,7 +1133,7 @@ async def withdraw(self, code, amount, address, tag=None, params={}):
}

def sign(self, path, api='public', method='GET', params={}, headers=None, body=None):
url = self.urls['api'][api]
url = self.implode_params(self.urls['api'][api], {'hostname': self.hostname})
if api == 'public':
query = self.omit(params, self.extract_params(path))
url += '/' + self.implode_params(path, params) + '.json'
Expand Down
7 changes: 4 additions & 3 deletions python/ccxt/async_support/bithumb.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ def describe(self):
'fetchTrades': True,
'withdraw': True,
},
'hostname': 'bithumb.com',
'urls': {
'logo': 'https://user-images.githubusercontent.com/1294454/30597177-ea800172-9d5e-11e7-804c-b9d4fa9b56b0.jpg',
'api': {
'public': 'https://api.bithumb.com/public',
'private': 'https://api.bithumb.com',
'public': 'https://api.{hostname}/public',
'private': 'https://api.{hostname}',
},
'www': 'https://www.bithumb.com',
'doc': 'https://apidocs.bithumb.com',
Expand Down Expand Up @@ -810,7 +811,7 @@ def nonce(self):

def sign(self, path, api='public', method='GET', params={}, headers=None, body=None):
endpoint = '/' + self.implode_params(path, params)
url = self.urls['api'][api] + endpoint
url = self.implode_params(self.urls['api'][api], {'hostname': self.hostname}) + endpoint
query = self.omit(params, self.extract_params(path))
if api == 'public':
if query:
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.47.97'
__version__ = '1.47.98'

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

Expand Down
11 changes: 6 additions & 5 deletions python/ccxt/bitbay.py

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

Loading

0 comments on commit 4ba95e7

Please sign in to comment.