Skip to content

Commit

Permalink
2.4.78
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
Travis CI committed Dec 29, 2022
1 parent eb70d0d commit 934d8e5
Show file tree
Hide file tree
Showing 23 changed files with 71 additions and 53 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -207,13 +207,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@2.4.77/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@2.4.77/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@2.4.78/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@2.4.78/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/ccxt@2.4.77/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@2.4.78/dist/ccxt.browser.js"></script>
```

Creates a global `ccxt` object:
Expand Down
2 changes: 1 addition & 1 deletion ccxt.js
Expand Up @@ -37,7 +37,7 @@ const Exchange = require ('./js/base/Exchange')
//-----------------------------------------------------------------------------
// this is updated by vss.js when building

const version = '2.4.77'
const version = '2.4.78'

Exchange.ccxtVersion = version

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

const version = '2.4.77'
const version = '2.4.78'

Exchange.ccxtVersion = version

Expand Down Expand Up @@ -63685,7 +63685,7 @@ module.exports = class bybit extends Exchange {
// "nextPageCursor": ""
// },
// "retExtInfo": {},
// "time": 1667533491917
// "time": 1667533491916
// }
//
// option response
Expand Down Expand Up @@ -191979,9 +191979,12 @@ module.exports = class gate extends gateRest {
// }
//
const channel = this.safeString (message, 'channel');
const channelParts = channel.split ('.');
const rawMarketType = this.safeString (channelParts, 0);
const marketType = (rawMarketType === 'spot') ? 'spot' : 'contract';
const result = this.safeValue (message, 'result');
const marketId = this.safeString (result, 's');
const symbol = this.safeSymbol (marketId);
const symbol = this.safeSymbol (marketId, undefined, '_', marketType);
let orderbook = this.safeValue (this.orderbooks, symbol);
if (orderbook === undefined) {
orderbook = this.orderBook ({});
Expand Down Expand Up @@ -192339,6 +192342,9 @@ module.exports = class gate extends gateRest {
// }
//
const channel = this.safeString (message, 'channel');
const channelParts = channel.split ('.');
const rawMarketType = this.safeString (channelParts, 0);
const marketType = (rawMarketType === 'spot') ? 'spot' : 'contract';
let result = this.safeValue (message, 'result');
const isArray = Array.isArray (result);
if (!isArray) {
Expand All @@ -192352,7 +192358,7 @@ module.exports = class gate extends gateRest {
const timeframe = this.safeString (parts, 0);
const prefix = timeframe + '_';
const marketId = subscription.replace (prefix, '');
const symbol = this.safeSymbol (marketId, undefined, '_');
const symbol = this.safeSymbol (marketId, undefined, '_', marketType);
const parsed = this.parseOHLCV (ohlcv);
let stored = this.safeValue (this.ohlcvs, symbol);
if (stored === undefined) {
Expand Down
6 changes: 3 additions & 3 deletions doc/readme.rst
Expand Up @@ -1852,14 +1852,14 @@ JavaScript (for use with the ``<script>`` tag):
All-in-one browser bundle (dependencies included), served from a CDN of your choice:


* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@2.4.77/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@2.4.77/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@2.4.78/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@2.4.78/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.

.. code-block:: HTML

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@2.4.77/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@2.4.78/dist/ccxt.browser.js"></script>

Creates a global ``ccxt`` object:

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.

16 changes: 8 additions & 8 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "ccxt",
"version": "2.4.77",
"version": "2.4.78",
"description": "A JavaScript / Python / PHP cryptocurrency trading library with support for 130+ exchanges",
"main": "./ccxt.js",
"unpkg": "dist/ccxt.browser.js",
Expand Down Expand Up @@ -244,7 +244,7 @@
"ccex",
"C-CEX",
"cex",
"cex.io",
"CEX.IO",
"CHBTC",
"ChileBit",
"chilebit.net",
Expand Down Expand Up @@ -414,7 +414,7 @@
"fybse.se",
"fybsg.com",
"gatecoin.com",
"Gate.io",
"gate.io",
"gdax.com",
"gemini.com",
"getbtc.org",
Expand Down Expand Up @@ -531,8 +531,8 @@
"dsxglobal.com",
"bitvavo.com",
"Bitvavo",
"Currency.com",
"Waves.Exchange",
"currency.com",
"waves.exchange",
"phemex.com",
"Phemex",
"huobi.co.jp",
Expand Down Expand Up @@ -581,7 +581,7 @@
"Binance USDⓈ-M",
"eqonex.com",
"EQONEX",
"FMFW.io",
"fmfw.io",
"mexc.com",
"MEXC Global",
"bitrue.com",
Expand All @@ -595,8 +595,8 @@
"Zonda",
"futures.kucoin.com",
"KuCoin Futures",
"Blockchain.com",
"Crypto.com",
"blockchain.com",
"crypto.com",
"wazirx.com",
"WazirX",
"woo.org",
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
Expand Up @@ -34,11 +34,11 @@

include 'Throttle.php';

$version = '2.4.77';
$version = '2.4.78';

class Exchange extends \ccxt\Exchange {

const VERSION = '2.4.77';
const VERSION = '2.4.78';

public $browser;
public $marketsLoading = null;
Expand Down
2 changes: 1 addition & 1 deletion php/async/bybit.php
Expand Up @@ -1230,7 +1230,7 @@ public function fetch_derivatives_markets($params) {
// "nextPageCursor" => ""
// ),
// "retExtInfo" => array(),
// "time" => 1667533491917
// "time" => 1667533491916
// }
//
// $option $response
Expand Down
2 changes: 1 addition & 1 deletion php/bybit.php

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

10 changes: 8 additions & 2 deletions php/pro/gate.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
Expand Up @@ -207,13 +207,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@2.4.77/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@2.4.77/dist/ccxt.browser.js
* jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@2.4.78/dist/ccxt.browser.js
* unpkg: https://unpkg.com/ccxt@2.4.78/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/ccxt@2.4.77/dist/ccxt.browser.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@2.4.78/dist/ccxt.browser.js"></script>
```

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

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

__version__ = '2.4.77'
__version__ = '2.4.78'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/__init__.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '2.4.77'
__version__ = '2.4.78'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/base/exchange.py
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '2.4.77'
__version__ = '2.4.78'

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

Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/async_support/bybit.py
Expand Up @@ -1205,7 +1205,7 @@ async def fetch_derivatives_markets(self, params):
# "nextPageCursor": ""
# },
# "retExtInfo": {},
# "time": 1667533491917
# "time": 1667533491916
# }
#
# option response
Expand Down
2 changes: 1 addition & 1 deletion python/ccxt/base/exchange.py
Expand Up @@ -4,7 +4,7 @@

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

__version__ = '2.4.77'
__version__ = '2.4.78'

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

Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Up @@ -2,7 +2,7 @@

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

__version__ = '2.4.77'
__version__ = '2.4.78'

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

Expand Down
10 changes: 8 additions & 2 deletions python/ccxt/pro/gate.py

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

0 comments on commit 934d8e5

Please sign in to comment.