Skip to content

Commit

Permalink
2.9.10
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Mar 9, 2023
1 parent b963e82 commit 38b5550
Show file tree
Hide file tree
Showing 21 changed files with 55 additions and 35 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### 2.9.10 (2023-03-09)

### 2.9.9 (2023-03-09)

### 2.9.8 (2023-03-08)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,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].9/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].9/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].10/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].10/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].9/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].10/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 @@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '2.9.9'
const version = '2.9.10'

Exchange.ccxtVersion = version

Expand Down
10 changes: 7 additions & 3 deletions dist/ccxt.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '2.9.9'
const version = '2.9.10'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -69275,10 +69275,14 @@ module.exports = class bybit extends Exchange {
// use this endpoint only we have no other choice
// because it requires transfer permission
method = 'privateGetAssetV3PrivateTransferAccountCoinsBalanceQuery';
request['accountType'] = unifiedType;
} else {
method = 'privateGetContractV3PrivateAccountWalletBalance';
if (enableUnifiedAccount) {
method = 'privateGetV5AccountWalletBalance';
} else {
method = 'privateGetContractV3PrivateAccountWalletBalance';
}
}
request['accountType'] = unifiedType;
}
const response = await this[method] (this.extend (request, params));
//
Expand Down
4 changes: 2 additions & 2 deletions 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": "2.9.9",
"version": "2.9.10",
"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 @@ -34,11 +34,11 @@

include 'Throttle.php';

$version = '2.9.9';
$version = '2.9.10';

class Exchange extends \ccxt\Exchange {

const VERSION = '2.9.9';
const VERSION = '2.9.10';

public $browser;
public $marketsLoading = null;
Expand Down
8 changes: 6 additions & 2 deletions php/async/bybit.php
Original file line number Diff line number Diff line change
Expand Up @@ -2983,10 +2983,14 @@ public function fetch_balance($params = array ()) {
// use this endpoint only we have no other choice
// because it requires transfer permission
$method = 'privateGetAssetV3PrivateTransferAccountCoinsBalanceQuery';
$request['accountType'] = $unifiedType;
} else {
$method = 'privateGetContractV3PrivateAccountWalletBalance';
if ($enableUnifiedAccount) {
$method = 'privateGetV5AccountWalletBalance';
} else {
$method = 'privateGetContractV3PrivateAccountWalletBalance';
}
}
$request['accountType'] = $unifiedType;
}
$response = Async\await($this->$method (array_merge($request, $params)));
//
Expand Down
8 changes: 6 additions & 2 deletions php/bybit.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 @@ -209,13 +209,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].9/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].9/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].10/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].10/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].9/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].10/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__ = '2.9.9'
__version__ = '2.9.10'

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

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__ = '2.9.9'
__version__ = '2.9.10'

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

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__ = '2.9.9'
__version__ = '2.9.10'

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

Expand Down
7 changes: 5 additions & 2 deletions python/ccxt/async_support/bybit.py
Original file line number Diff line number Diff line change
Expand Up @@ -2868,9 +2868,12 @@ async def fetch_balance(self, params={}):
# use self endpoint only we have no other choice
# because it requires transfer permission
method = 'privateGetAssetV3PrivateTransferAccountCoinsBalanceQuery'
request['accountType'] = unifiedType
else:
method = 'privateGetContractV3PrivateAccountWalletBalance'
if enableUnifiedAccount:
method = 'privateGetV5AccountWalletBalance'
else:
method = 'privateGetContractV3PrivateAccountWalletBalance'
request['accountType'] = unifiedType
response = await getattr(self, method)(self.extend(request, params))
#
# spot wallet
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__ = '2.9.9'
__version__ = '2.9.10'

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

Expand Down
7 changes: 5 additions & 2 deletions python/ccxt/bybit.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/ccxt/pro/__init__.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/ccxt/pro/base/exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '2.9.9'
__version__ = '2.9.10'

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

Expand Down
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": "2.9.9",
"version": "2.9.10",
"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 @@ -40,13 +40,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].9/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].9/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/[email protected].10/dist/ccxt.browser.js
* unpkg: https://unpkg.com/[email protected].10/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].9/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected].10/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down

0 comments on commit 38b5550

Please sign in to comment.