ccxt 4.4.69__py2.py3-none-any.whl → 4.4.70__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ccxt/hyperliquid.py CHANGED
@@ -1756,11 +1756,12 @@ class hyperliquid(Exchange, ImplicitAPI):
1756
1756
  isTrigger = (stopLossPrice or takeProfitPrice)
1757
1757
  reduceOnly = self.safe_bool(orderParams, 'reduceOnly', False)
1758
1758
  orderParams = self.omit(orderParams, ['slippage', 'timeInForce', 'triggerPrice', 'stopLossPrice', 'takeProfitPrice', 'clientOrderId', 'client_id', 'postOnly', 'reduceOnly'])
1759
- px = str(price)
1759
+ px = self.number_to_string(price)
1760
1760
  if isMarket:
1761
- px = str(Precise.string_mul(price), Precise.string_add('1', slippage)) if (isBuy) else str(Precise.string_mul(price), Precise.string_sub('1', slippage))
1761
+ px = Precise.string_mul(px, Precise.string_add('1', slippage)) if (isBuy) else Precise.string_mul(px, Precise.string_sub('1', slippage))
1762
+ px = self.price_to_precision(symbol, px)
1762
1763
  else:
1763
- px = self.price_to_precision(symbol, str(price))
1764
+ px = self.price_to_precision(symbol, px)
1764
1765
  sz = self.amount_to_precision(symbol, amount)
1765
1766
  orderType: dict = {}
1766
1767
  if isTrigger:
@@ -2242,6 +2243,10 @@ class hyperliquid(Exchange, ImplicitAPI):
2242
2243
  side = 'sell' if (side == 'A') else 'buy'
2243
2244
  totalAmount = self.safe_string_2(entry, 'origSz', 'totalSz')
2244
2245
  remaining = self.safe_string(entry, 'sz')
2246
+ tif = self.safe_string_upper(entry, 'tif')
2247
+ postOnly = None
2248
+ if tif is not None:
2249
+ postOnly = (tif == 'ALO')
2245
2250
  return self.safe_order({
2246
2251
  'info': order,
2247
2252
  'id': self.safe_string(entry, 'oid'),
@@ -2252,8 +2257,8 @@ class hyperliquid(Exchange, ImplicitAPI):
2252
2257
  'lastUpdateTimestamp': self.safe_integer(order, 'statusTimestamp'),
2253
2258
  'symbol': symbol,
2254
2259
  'type': self.parse_order_type(self.safe_string_lower(entry, 'orderType')),
2255
- 'timeInForce': self.safe_string_upper(entry, 'tif'),
2256
- 'postOnly': None,
2260
+ 'timeInForce': tif,
2261
+ 'postOnly': postOnly,
2257
2262
  'reduceOnly': self.safe_bool(entry, 'reduceOnly'),
2258
2263
  'side': side,
2259
2264
  'price': self.safe_string(entry, 'limitPx'),
@@ -2371,6 +2376,10 @@ class hyperliquid(Exchange, ImplicitAPI):
2371
2376
  if side is not None:
2372
2377
  side = 'sell' if (side == 'A') else 'buy'
2373
2378
  fee = self.safe_string(trade, 'fee')
2379
+ takerOrMaker = None
2380
+ crossed = self.safe_bool(trade, 'crossed')
2381
+ if crossed is not None:
2382
+ takerOrMaker = 'taker' if crossed else 'maker'
2374
2383
  return self.safe_trade({
2375
2384
  'info': trade,
2376
2385
  'timestamp': timestamp,
@@ -2380,7 +2389,7 @@ class hyperliquid(Exchange, ImplicitAPI):
2380
2389
  'order': self.safe_string(trade, 'oid'),
2381
2390
  'type': None,
2382
2391
  'side': side,
2383
- 'takerOrMaker': None,
2392
+ 'takerOrMaker': takerOrMaker,
2384
2393
  'price': price,
2385
2394
  'amount': amount,
2386
2395
  'cost': None,
@@ -2927,7 +2936,7 @@ class hyperliquid(Exchange, ImplicitAPI):
2927
2936
  'tagTo': None,
2928
2937
  'tagFrom': None,
2929
2938
  'type': None,
2930
- 'amount': self.safe_integer(delta, 'usdc'),
2939
+ 'amount': self.safe_number(delta, 'usdc'),
2931
2940
  'currency': None,
2932
2941
  'status': self.safe_string(transaction, 'status'),
2933
2942
  'updated': None,
ccxt/okx.py CHANGED
@@ -332,7 +332,9 @@ class okx(Exchange, ImplicitAPI):
332
332
  'trade/easy-convert-currency-list': 20,
333
333
  'trade/easy-convert-history': 20,
334
334
  'trade/one-click-repay-currency-list': 20,
335
+ 'trade/one-click-repay-currency-list-v2': 20,
335
336
  'trade/one-click-repay-history': 20,
337
+ 'trade/one-click-repay-history-v2': 20,
336
338
  'trade/account-rate-limit': 1,
337
339
  # asset
338
340
  'asset/currencies': 5 / 3,
@@ -489,6 +491,7 @@ class okx(Exchange, ImplicitAPI):
489
491
  'trade/cancel-advance-algos': 1,
490
492
  'trade/easy-convert': 20,
491
493
  'trade/one-click-repay': 20,
494
+ 'trade/one-click-repay-v2': 20,
492
495
  'trade/mass-cancel': 4,
493
496
  'trade/cancel-all-after': 10,
494
497
  # asset
@@ -3043,6 +3046,7 @@ class okx(Exchange, ImplicitAPI):
3043
3046
  :param str [params.trailingPercent]: the percent to trail away from the current market price
3044
3047
  :param str [params.tpOrdKind]: 'condition' or 'limit', the default is 'condition'
3045
3048
  :param bool [params.hedged]: *swap and future only* True for hedged mode, False for one way mode
3049
+ :param str [params.marginMode]: 'cross' or 'isolated', the default is 'cross'
3046
3050
  :returns dict: an `order structure <https://docs.ccxt.com/#/?id=order-structure>`
3047
3051
  """
3048
3052
  self.load_markets()
ccxt/pro/__init__.py CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  # ----------------------------------------------------------------------------
6
6
 
7
- __version__ = '4.4.69'
7
+ __version__ = '4.4.70'
8
8
 
9
9
  # ----------------------------------------------------------------------------
10
10
 
ccxt/pro/bitget.py CHANGED
@@ -52,6 +52,10 @@ class bitget(ccxt.async_support.bitget):
52
52
  'public': 'wss://ws.bitget.com/v2/ws/public',
53
53
  'private': 'wss://ws.bitget.com/v2/ws/private',
54
54
  },
55
+ 'demo': {
56
+ 'public': 'wss://wspap.bitget.com/v2/ws/public',
57
+ 'private': 'wss://wspap.bitget.com/v2/ws/private',
58
+ },
55
59
  },
56
60
  },
57
61
  'options': {
@@ -1125,7 +1129,7 @@ class bitget(ccxt.async_support.bitget):
1125
1129
  instType = 'SPOT'
1126
1130
  else:
1127
1131
  instType, params = self.get_inst_type(market, params)
1128
- if type == 'spot':
1132
+ if type == 'spot' and (symbol is not None):
1129
1133
  subscriptionHash = subscriptionHash + ':' + symbol
1130
1134
  if isTrigger:
1131
1135
  subscriptionHash = subscriptionHash + ':stop' # we don't want to re-use the same subscription hash for stop orders
@@ -1697,6 +1701,11 @@ class bitget(ccxt.async_support.bitget):
1697
1701
 
1698
1702
  async def watch_public(self, messageHash, args, params={}):
1699
1703
  url = self.urls['api']['ws']['public']
1704
+ sandboxMode = self.safe_bool_2(self.options, 'sandboxMode', 'sandbox', False)
1705
+ if sandboxMode:
1706
+ instType = self.safe_string(args, 'instType')
1707
+ if (instType != 'SCOIN-FUTURES') and (instType != 'SUSDT-FUTURES') and (instType != 'SUSDC-FUTURES'):
1708
+ url = self.urls['api']['demo']['public']
1700
1709
  request: dict = {
1701
1710
  'op': 'subscribe',
1702
1711
  'args': [args],
@@ -1706,6 +1715,11 @@ class bitget(ccxt.async_support.bitget):
1706
1715
 
1707
1716
  async def un_watch_public(self, messageHash, args, params={}):
1708
1717
  url = self.urls['api']['ws']['public']
1718
+ sandboxMode = self.safe_bool_2(self.options, 'sandboxMode', 'sandbox', False)
1719
+ if sandboxMode:
1720
+ instType = self.safe_string(args, 'instType')
1721
+ if (instType != 'SCOIN-FUTURES') and (instType != 'SUSDT-FUTURES') and (instType != 'SUSDC-FUTURES'):
1722
+ url = self.urls['api']['demo']['public']
1709
1723
  request: dict = {
1710
1724
  'op': 'unsubscribe',
1711
1725
  'args': [args],
@@ -1715,6 +1729,12 @@ class bitget(ccxt.async_support.bitget):
1715
1729
 
1716
1730
  async def watch_public_multiple(self, messageHashes, argsArray, params={}):
1717
1731
  url = self.urls['api']['ws']['public']
1732
+ sandboxMode = self.safe_bool_2(self.options, 'sandboxMode', 'sandbox', False)
1733
+ if sandboxMode:
1734
+ argsArrayFirst = self.safe_dict(argsArray, 0, {})
1735
+ instType = self.safe_string(argsArrayFirst, 'instType')
1736
+ if (instType != 'SCOIN-FUTURES') and (instType != 'SUSDT-FUTURES') and (instType != 'SUSDC-FUTURES'):
1737
+ url = self.urls['api']['demo']['public']
1718
1738
  request: dict = {
1719
1739
  'op': 'subscribe',
1720
1740
  'args': argsArray,
@@ -1724,7 +1744,7 @@ class bitget(ccxt.async_support.bitget):
1724
1744
 
1725
1745
  async def authenticate(self, params={}):
1726
1746
  self.check_required_credentials()
1727
- url = self.urls['api']['ws']['private']
1747
+ url = self.safe_string(params, 'url')
1728
1748
  client = self.client(url)
1729
1749
  messageHash = 'authenticated'
1730
1750
  future = client.future(messageHash)
@@ -1750,8 +1770,13 @@ class bitget(ccxt.async_support.bitget):
1750
1770
  return await future
1751
1771
 
1752
1772
  async def watch_private(self, messageHash, subscriptionHash, args, params={}):
1753
- await self.authenticate()
1754
1773
  url = self.urls['api']['ws']['private']
1774
+ sandboxMode = self.safe_bool_2(self.options, 'sandboxMode', 'sandbox', False)
1775
+ if sandboxMode:
1776
+ instType = self.safe_string(args, 'instType')
1777
+ if (instType != 'SCOIN-FUTURES') and (instType != 'SUSDT-FUTURES') and (instType != 'SUSDC-FUTURES'):
1778
+ url = self.urls['api']['demo']['private']
1779
+ await self.authenticate({'url': url})
1755
1780
  request: dict = {
1756
1781
  'op': 'subscribe',
1757
1782
  'args': [args],
ccxt/pro/bybit.py CHANGED
@@ -1494,6 +1494,7 @@ class bybit(ccxt.async_support.bybit):
1494
1494
  :param int [since]: the earliest time in ms to fetch liquidations for
1495
1495
  :param int [limit]: the maximum number of liquidation structures to retrieve
1496
1496
  :param dict [params]: exchange specific parameters for the bitmex api endpoint
1497
+ :param str [params.method]: exchange specific method, supported: liquidation, allLiquidation
1497
1498
  :returns dict: an array of `liquidation structures <https://github.com/ccxt/ccxt/wiki/Manual#liquidation-structure>`
1498
1499
  """
1499
1500
  await self.load_markets()
@@ -1501,8 +1502,10 @@ class bybit(ccxt.async_support.bybit):
1501
1502
  symbol = market['symbol']
1502
1503
  url = await self.get_url_by_market_type(symbol, False, 'watchLiquidations', params)
1503
1504
  params = self.clean_params(params)
1505
+ method = None
1506
+ method, params = self.handle_option_and_params(params, 'watchLiquidations', 'method', 'liquidation')
1504
1507
  messageHash = 'liquidations::' + symbol
1505
- topic = 'liquidation.' + market['id']
1508
+ topic = method + '.' + market['id']
1506
1509
  newLiquidation = await self.watch_topics(url, [messageHash], [topic], params)
1507
1510
  if self.newUpdates:
1508
1511
  return newLiquidation
@@ -1510,52 +1513,92 @@ class bybit(ccxt.async_support.bybit):
1510
1513
 
1511
1514
  def handle_liquidation(self, client: Client, message):
1512
1515
  #
1513
- # {
1514
- # "data": {
1515
- # "price": "0.03803",
1516
- # "side": "Buy",
1517
- # "size": "1637",
1518
- # "symbol": "GALAUSDT",
1519
- # "updatedTime": 1673251091822
1520
- # },
1521
- # "topic": "liquidation.GALAUSDT",
1522
- # "ts": 1673251091822,
1523
- # "type": "snapshot"
1524
- # }
1516
+ # {
1517
+ # "data": {
1518
+ # "price": "0.03803",
1519
+ # "side": "Buy",
1520
+ # "size": "1637",
1521
+ # "symbol": "GALAUSDT",
1522
+ # "updatedTime": 1673251091822
1523
+ # },
1524
+ # "topic": "liquidation.GALAUSDT",
1525
+ # "ts": 1673251091822,
1526
+ # "type": "snapshot"
1527
+ # }
1525
1528
  #
1526
- rawLiquidation = self.safe_dict(message, 'data', {})
1527
- marketId = self.safe_string(rawLiquidation, 'symbol')
1528
- market = self.safe_market(marketId, None, '', 'contract')
1529
- symbol = market['symbol']
1530
- liquidation = self.parse_ws_liquidation(rawLiquidation, market)
1531
- liquidations = self.safe_value(self.liquidations, symbol)
1532
- if liquidations is None:
1533
- limit = self.safe_integer(self.options, 'liquidationsLimit', 1000)
1534
- liquidations = ArrayCache(limit)
1535
- liquidations.append(liquidation)
1536
- self.liquidations[symbol] = liquidations
1537
- client.resolve([liquidation], 'liquidations')
1538
- client.resolve([liquidation], 'liquidations::' + symbol)
1529
+ # {
1530
+ # "topic": "allLiquidation.ROSEUSDT",
1531
+ # "type": "snapshot",
1532
+ # "ts": 1739502303204,
1533
+ # "data": [
1534
+ # {
1535
+ # "T": 1739502302929,
1536
+ # "s": "ROSEUSDT",
1537
+ # "S": "Sell",
1538
+ # "v": "20000",
1539
+ # "p": "0.04499"
1540
+ # }
1541
+ # ]
1542
+ # }
1543
+ #
1544
+ if isinstance(message['data'], list):
1545
+ rawLiquidations = self.safe_list(message, 'data', [])
1546
+ for i in range(0, len(rawLiquidations)):
1547
+ rawLiquidation = rawLiquidations[i]
1548
+ marketId = self.safe_string(rawLiquidation, 's')
1549
+ market = self.safe_market(marketId, None, '', 'contract')
1550
+ symbol = market['symbol']
1551
+ liquidation = self.parse_ws_liquidation(rawLiquidation, market)
1552
+ liquidations = self.safe_value(self.liquidations, symbol)
1553
+ if liquidations is None:
1554
+ limit = self.safe_integer(self.options, 'liquidationsLimit', 1000)
1555
+ liquidations = ArrayCache(limit)
1556
+ liquidations.append(liquidation)
1557
+ self.liquidations[symbol] = liquidations
1558
+ client.resolve([liquidation], 'liquidations')
1559
+ client.resolve([liquidation], 'liquidations::' + symbol)
1560
+ else:
1561
+ rawLiquidation = self.safe_dict(message, 'data', {})
1562
+ marketId = self.safe_string(rawLiquidation, 'symbol')
1563
+ market = self.safe_market(marketId, None, '', 'contract')
1564
+ symbol = market['symbol']
1565
+ liquidation = self.parse_ws_liquidation(rawLiquidation, market)
1566
+ liquidations = self.safe_value(self.liquidations, symbol)
1567
+ if liquidations is None:
1568
+ limit = self.safe_integer(self.options, 'liquidationsLimit', 1000)
1569
+ liquidations = ArrayCache(limit)
1570
+ liquidations.append(liquidation)
1571
+ self.liquidations[symbol] = liquidations
1572
+ client.resolve([liquidation], 'liquidations')
1573
+ client.resolve([liquidation], 'liquidations::' + symbol)
1539
1574
 
1540
1575
  def parse_ws_liquidation(self, liquidation, market=None):
1541
1576
  #
1542
- # {
1543
- # "price": "0.03803",
1544
- # "side": "Buy",
1545
- # "size": "1637",
1546
- # "symbol": "GALAUSDT",
1547
- # "updatedTime": 1673251091822
1548
- # }
1577
+ # {
1578
+ # "price": "0.03803",
1579
+ # "side": "Buy",
1580
+ # "size": "1637",
1581
+ # "symbol": "GALAUSDT",
1582
+ # "updatedTime": 1673251091822
1583
+ # }
1584
+ #
1585
+ # {
1586
+ # "T": 1739502302929,
1587
+ # "s": "ROSEUSDT",
1588
+ # "S": "Sell",
1589
+ # "v": "20000",
1590
+ # "p": "0.04499"
1591
+ # }
1549
1592
  #
1550
- marketId = self.safe_string(liquidation, 'symbol')
1593
+ marketId = self.safe_string_2(liquidation, 'symbol', 's')
1551
1594
  market = self.safe_market(marketId, market, '', 'contract')
1552
- timestamp = self.safe_integer(liquidation, 'updatedTime')
1595
+ timestamp = self.safe_integer_2(liquidation, 'updatedTime', 'T')
1553
1596
  return self.safe_liquidation({
1554
1597
  'info': liquidation,
1555
1598
  'symbol': market['symbol'],
1556
- 'contracts': self.safe_number(liquidation, 'size'),
1599
+ 'contracts': self.safe_number_2(liquidation, 'size', 'v'),
1557
1600
  'contractSize': self.safe_number(market, 'contractSize'),
1558
- 'price': self.safe_number(liquidation, 'price'),
1601
+ 'price': self.safe_number_2(liquidation, 'price', 'p'),
1559
1602
  'baseValue': None,
1560
1603
  'quoteValue': None,
1561
1604
  'timestamp': timestamp,
@@ -2318,6 +2361,7 @@ class bybit(ccxt.async_support.bybit):
2318
2361
  'user.openapi.perp.trade': self.handle_my_trades,
2319
2362
  'position': self.handle_positions,
2320
2363
  'liquidation': self.handle_liquidation,
2364
+ 'allLiquidation': self.handle_liquidation,
2321
2365
  'pong': self.handle_pong,
2322
2366
  'order.create': self.handle_order_ws,
2323
2367
  'order.amend': self.handle_order_ws,
ccxt/test/tests_async.py CHANGED
@@ -765,8 +765,8 @@ class testMainClass:
765
765
  self.assert_new_and_stored_output(exchange, skip_keys, new_item, stored_item, strict_type_check)
766
766
  else:
767
767
  # built-in types like strings, numbers, booleans
768
- sanitized_new_output = None if (not new_output) else new_output # we store undefined as nulls in the json file so we need to convert it back
769
- sanitized_stored_output = None if (not stored_output) else stored_output
768
+ sanitized_new_output = None if (is_null_value(new_output)) else new_output # we store undefined as nulls in the json file so we need to convert it back
769
+ sanitized_stored_output = None if (is_null_value(stored_output)) else stored_output
770
770
  new_output_string = str(sanitized_new_output) if sanitized_new_output else 'undefined'
771
771
  stored_output_string = str(sanitized_stored_output) if sanitized_stored_output else 'undefined'
772
772
  message_error = 'output value mismatch:' + new_output_string + ' != ' + stored_output_string
@@ -787,7 +787,7 @@ class testMainClass:
787
787
  is_string = is_computed_string or is_stored_string
788
788
  is_undefined = is_computed_undefined or is_stored_undefined # undefined is a perfetly valid value
789
789
  if is_boolean or is_string or is_undefined:
790
- if self.lang == 'C#':
790
+ if (self.lang == 'C#') or (self.lang == 'GO'):
791
791
  # tmp c# number comparsion
792
792
  is_number = False
793
793
  try:
ccxt/test/tests_sync.py CHANGED
@@ -762,8 +762,8 @@ class testMainClass:
762
762
  self.assert_new_and_stored_output(exchange, skip_keys, new_item, stored_item, strict_type_check)
763
763
  else:
764
764
  # built-in types like strings, numbers, booleans
765
- sanitized_new_output = None if (not new_output) else new_output # we store undefined as nulls in the json file so we need to convert it back
766
- sanitized_stored_output = None if (not stored_output) else stored_output
765
+ sanitized_new_output = None if (is_null_value(new_output)) else new_output # we store undefined as nulls in the json file so we need to convert it back
766
+ sanitized_stored_output = None if (is_null_value(stored_output)) else stored_output
767
767
  new_output_string = str(sanitized_new_output) if sanitized_new_output else 'undefined'
768
768
  stored_output_string = str(sanitized_stored_output) if sanitized_stored_output else 'undefined'
769
769
  message_error = 'output value mismatch:' + new_output_string + ' != ' + stored_output_string
@@ -784,7 +784,7 @@ class testMainClass:
784
784
  is_string = is_computed_string or is_stored_string
785
785
  is_undefined = is_computed_undefined or is_stored_undefined # undefined is a perfetly valid value
786
786
  if is_boolean or is_string or is_undefined:
787
- if self.lang == 'C#':
787
+ if (self.lang == 'C#') or (self.lang == 'GO'):
788
788
  # tmp c# number comparsion
789
789
  is_number = False
790
790
  try:
ccxt/tradeogre.py CHANGED
@@ -140,7 +140,6 @@ class tradeogre(Exchange, ImplicitAPI):
140
140
  },
141
141
  'private': {
142
142
  'get': {
143
- 'account/balance': 1,
144
143
  'account/balances': 1,
145
144
  'account/order/{uuid}': 1,
146
145
  },
@@ -150,6 +149,7 @@ class tradeogre(Exchange, ImplicitAPI):
150
149
  'order/cancel': 1,
151
150
  'orders': 1,
152
151
  'account/orders': 1,
152
+ 'account/balance': 1,
153
153
  },
154
154
  },
155
155
  },
@@ -588,10 +588,26 @@ class tradeogre(Exchange, ImplicitAPI):
588
588
  """
589
589
  query for balance and get the amount of funds available for trading or funds locked in orders
590
590
  :param dict [params]: extra parameters specific to the exchange API endpoint
591
+ :param str [params.currency]: currency to fetch the balance for
591
592
  :returns dict: a `balance structure <https://docs.ccxt.com/#/?id=balance-structure>`
592
593
  """
593
594
  self.load_markets()
594
- response = self.privateGetAccountBalances(params)
595
+ response = None
596
+ currency = self.safe_string(params, 'currency')
597
+ if currency is not None:
598
+ response = self.privatePostAccountBalance(params)
599
+ singleCurrencyresult: dict = {
600
+ 'info': response,
601
+ }
602
+ code = self.safe_currency_code(currency)
603
+ account = {
604
+ 'total': self.safe_number(response, 'balance'),
605
+ 'free': self.safe_number(response, 'available'),
606
+ }
607
+ singleCurrencyresult[code] = account
608
+ return self.safe_balance(singleCurrencyresult)
609
+ else:
610
+ response = self.privateGetAccountBalances(params)
595
611
  result = self.safe_dict(response, 'balances', {})
596
612
  return self.parse_balance(result)
597
613
 
@@ -744,11 +760,11 @@ class tradeogre(Exchange, ImplicitAPI):
744
760
  'side': self.safe_string(order, 'type'),
745
761
  'price': self.safe_string(order, 'price'),
746
762
  'triggerPrice': None,
747
- 'amount': self.safe_string(order, 'quantity'),
763
+ 'amount': None,
748
764
  'cost': None,
749
765
  'average': None,
750
766
  'filled': self.safe_string(order, 'fulfilled'),
751
- 'remaining': None,
767
+ 'remaining': self.safe_string(order, 'quantity'),
752
768
  'status': None,
753
769
  'fee': {
754
770
  'currency': None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ccxt
3
- Version: 4.4.69
3
+ Version: 4.4.70
4
4
  Summary: A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges
5
5
  Home-page: https://ccxt.com
6
6
  Author: Igor Kroitor
@@ -278,13 +278,13 @@ console.log(version, Object.keys(exchanges));
278
278
 
279
279
  All-in-one browser bundle (dependencies included), served from a CDN of your choice:
280
280
 
281
- * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.69/dist/ccxt.browser.min.js
282
- * unpkg: https://unpkg.com/ccxt@4.4.69/dist/ccxt.browser.min.js
281
+ * jsDelivr: https://cdn.jsdelivr.net/npm/ccxt@4.4.70/dist/ccxt.browser.min.js
282
+ * unpkg: https://unpkg.com/ccxt@4.4.70/dist/ccxt.browser.min.js
283
283
 
284
284
  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.
285
285
 
286
286
  ```HTML
287
- <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.69/dist/ccxt.browser.min.js"></script>
287
+ <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ccxt@4.4.70/dist/ccxt.browser.min.js"></script>
288
288
  ```
289
289
 
290
290
  Creates a global `ccxt` object: