ccxt 4.1.80 → 4.1.82

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.
Files changed (46) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +445 -175
  3. package/dist/ccxt.browser.min.js +5 -5
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/bybit.js +4 -2
  6. package/dist/cjs/src/coinex.js +191 -71
  7. package/dist/cjs/src/digifinex.js +42 -8
  8. package/dist/cjs/src/htx.js +12 -10
  9. package/dist/cjs/src/lbank.js +70 -38
  10. package/dist/cjs/src/okx.js +52 -7
  11. package/dist/cjs/src/pro/binance.js +1 -1
  12. package/dist/cjs/src/pro/bingx.js +1 -1
  13. package/dist/cjs/src/pro/bitget.js +1 -1
  14. package/dist/cjs/src/pro/bybit.js +1 -1
  15. package/dist/cjs/src/pro/cex.js +1 -1
  16. package/dist/cjs/src/pro/coinbasepro.js +1 -1
  17. package/dist/cjs/src/pro/cryptocom.js +1 -1
  18. package/dist/cjs/src/pro/gate.js +1 -1
  19. package/dist/cjs/src/pro/kucoin.js +1 -1
  20. package/dist/cjs/src/pro/kucoinfutures.js +1 -1
  21. package/dist/cjs/src/pro/okx.js +1 -1
  22. package/dist/cjs/src/whitebit.js +62 -27
  23. package/js/ccxt.d.ts +1 -1
  24. package/js/ccxt.js +1 -1
  25. package/js/src/abstract/bybit.d.ts +1 -0
  26. package/js/src/bybit.js +4 -2
  27. package/js/src/coinex.js +191 -71
  28. package/js/src/digifinex.d.ts +1 -0
  29. package/js/src/digifinex.js +42 -8
  30. package/js/src/htx.js +12 -10
  31. package/js/src/lbank.d.ts +1 -0
  32. package/js/src/lbank.js +71 -39
  33. package/js/src/okx.js +52 -7
  34. package/js/src/pro/binance.js +1 -1
  35. package/js/src/pro/bingx.js +1 -1
  36. package/js/src/pro/bitget.js +1 -1
  37. package/js/src/pro/bybit.js +1 -1
  38. package/js/src/pro/cex.js +1 -1
  39. package/js/src/pro/coinbasepro.js +1 -1
  40. package/js/src/pro/cryptocom.js +1 -1
  41. package/js/src/pro/gate.js +1 -1
  42. package/js/src/pro/kucoin.js +1 -1
  43. package/js/src/pro/kucoinfutures.js +1 -1
  44. package/js/src/pro/okx.js +1 -1
  45. package/js/src/whitebit.js +62 -27
  46. package/package.json +1 -1
@@ -394,7 +394,7 @@ export default class kucoinfutures extends kucoinfuturesRest {
394
394
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
395
395
  * @param {int} [limit] the maximum amount of trades to fetch
396
396
  * @param {object} [params] extra parameters specific to the exchange API endpoint
397
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
397
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
398
398
  */
399
399
  const symbolsLength = symbols.length;
400
400
  if (symbolsLength === 0) {
package/js/src/pro/okx.js CHANGED
@@ -185,7 +185,7 @@ export default class okx extends okxRest {
185
185
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
186
186
  * @param {int} [limit] the maximum amount of trades to fetch
187
187
  * @param {object} [params] extra parameters specific to the exchange API endpoint
188
- * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/en/latest/manual.html?#public-trades}
188
+ * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
189
189
  */
190
190
  const symbolsLength = symbols.length;
191
191
  if (symbolsLength === 0) {
@@ -274,7 +274,7 @@ export default class whitebit extends Exchange {
274
274
  * @method
275
275
  * @name whitebit#fetchMarkets
276
276
  * @description retrieves data on all markets for whitebit
277
- * @see https://whitebit-exchange.github.io/api-docs/docs/Public/http-v4#market-info
277
+ * @see https://docs.whitebit.com/public/http-v4/#market-info
278
278
  * @param {object} [params] extra parameters specific to the exchange API endpoint
279
279
  * @returns {object[]} an array of objects representing market data
280
280
  */
@@ -398,6 +398,7 @@ export default class whitebit extends Exchange {
398
398
  * @method
399
399
  * @name whitebit#fetchCurrencies
400
400
  * @description fetches all available currencies on an exchange
401
+ * @see https://docs.whitebit.com/public/http-v4/#asset-status-list
401
402
  * @param {object} [params] extra parameters specific to the exchange API endpoint
402
403
  * @returns {object} an associative dictionary of currencies
403
404
  */
@@ -457,6 +458,7 @@ export default class whitebit extends Exchange {
457
458
  * @name whitebit#fetchTransactionFees
458
459
  * @deprecated
459
460
  * @description please use fetchDepositWithdrawFees instead
461
+ * @see https://docs.whitebit.com/public/http-v4/#fee
460
462
  * @param {string[]|undefined} codes not used by fetchTransactionFees ()
461
463
  * @param {object} [params] extra parameters specific to the exchange API endpoint
462
464
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
@@ -511,6 +513,7 @@ export default class whitebit extends Exchange {
511
513
  * @method
512
514
  * @name whitebit#fetchDepositWithdrawFees
513
515
  * @description fetch deposit and withdraw fees
516
+ * @see https://docs.whitebit.com/public/http-v4/#fee
514
517
  * @param {string[]|undefined} codes not used by fetchDepositWithdrawFees ()
515
518
  * @param {object} [params] extra parameters specific to the exchange API endpoint
516
519
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
@@ -660,6 +663,7 @@ export default class whitebit extends Exchange {
660
663
  * @method
661
664
  * @name whitebit#fetchTradingFees
662
665
  * @description fetch the trading fees for multiple markets
666
+ * @see https://docs.whitebit.com/public/http-v4/#asset-status-list
663
667
  * @param {object} [params] extra parameters specific to the exchange API endpoint
664
668
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
665
669
  */
@@ -707,6 +711,7 @@ export default class whitebit extends Exchange {
707
711
  * @method
708
712
  * @name whitebit#fetchTicker
709
713
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
714
+ * @see https://docs.whitebit.com/public/http-v4/#market-activity
710
715
  * @param {string} symbol unified symbol of the market to fetch the ticker for
711
716
  * @param {object} [params] extra parameters specific to the exchange API endpoint
712
717
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -795,6 +800,7 @@ export default class whitebit extends Exchange {
795
800
  * @method
796
801
  * @name whitebit#fetchTickers
797
802
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
803
+ * @see https://docs.whitebit.com/public/http-v4/#market-activity
798
804
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
799
805
  * @param {object} [params] extra parameters specific to the exchange API endpoint
800
806
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -828,8 +834,8 @@ export default class whitebit extends Exchange {
828
834
  /**
829
835
  * @method
830
836
  * @name whitebit#fetchOrderBook
831
- * @see https://whitebit-exchange.github.io/api-docs/public/http-v4/#orderbook
832
837
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
838
+ * @see https://docs.whitebit.com/public/http-v4/#orderbook
833
839
  * @param {string} symbol unified symbol of the market to fetch the order book for
834
840
  * @param {int} [limit] the maximum amount of order book entries to return
835
841
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -871,6 +877,7 @@ export default class whitebit extends Exchange {
871
877
  * @method
872
878
  * @name whitebit#fetchTrades
873
879
  * @description get the list of most recent trades for a particular symbol
880
+ * @see https://docs.whitebit.com/public/http-v4/#recent-trades
874
881
  * @param {string} symbol unified symbol of the market to fetch trades for
875
882
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
876
883
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -902,6 +909,7 @@ export default class whitebit extends Exchange {
902
909
  * @method
903
910
  * @name whitebit#fetchMyTrades
904
911
  * @description fetch all trades made by the user
912
+ * @see https://docs.whitebit.com/private/http-trade-v4/#query-executed-order-history
905
913
  * @param {string} symbol unified symbol of the market to fetch trades for
906
914
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
907
915
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -1055,6 +1063,7 @@ export default class whitebit extends Exchange {
1055
1063
  * @method
1056
1064
  * @name whitebit#fetchOHLCV
1057
1065
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1066
+ * @see https://docs.whitebit.com/public/http-v1/#kline
1058
1067
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
1059
1068
  * @param {string} timeframe the length of time each candle represents
1060
1069
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -1121,6 +1130,7 @@ export default class whitebit extends Exchange {
1121
1130
  * @method
1122
1131
  * @name whitebit#fetchStatus
1123
1132
  * @description the latest known information on the availability of the exchange API
1133
+ * @see https://docs.whitebit.com/public/http-v4/#server-status
1124
1134
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1125
1135
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
1126
1136
  */
@@ -1144,6 +1154,7 @@ export default class whitebit extends Exchange {
1144
1154
  * @method
1145
1155
  * @name whitebit#fetchTime
1146
1156
  * @description fetches the current integer timestamp in milliseconds from the exchange server
1157
+ * @see https://docs.whitebit.com/public/http-v4/#server-time
1147
1158
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1148
1159
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1149
1160
  */
@@ -1160,6 +1171,11 @@ export default class whitebit extends Exchange {
1160
1171
  * @method
1161
1172
  * @name whitebit#createOrder
1162
1173
  * @description create a trade order
1174
+ * @see https://docs.whitebit.com/private/http-trade-v4/#create-limit-order
1175
+ * @see https://docs.whitebit.com/private/http-trade-v4/#create-market-order
1176
+ * @see https://docs.whitebit.com/private/http-trade-v4/#create-buy-stock-market-order
1177
+ * @see https://docs.whitebit.com/private/http-trade-v4/#create-stop-limit-order
1178
+ * @see https://docs.whitebit.com/private/http-trade-v4/#create-stop-market-order
1163
1179
  * @param {string} symbol unified symbol of the market to create an order in
1164
1180
  * @param {string} type 'market' or 'limit'
1165
1181
  * @param {string} side 'buy' or 'sell'
@@ -1196,45 +1212,50 @@ export default class whitebit extends Exchange {
1196
1212
  if (postOnly) {
1197
1213
  request['postOnly'] = true;
1198
1214
  }
1199
- let method;
1200
1215
  if (marginMode !== undefined && marginMode !== 'cross') {
1201
1216
  throw new NotSupported(this.id + ' createOrder() is only available for cross margin');
1202
1217
  }
1218
+ params = this.omit(query, ['postOnly', 'triggerPrice', 'stopPrice']);
1203
1219
  const useCollateralEndpoint = marginMode !== undefined || marketType === 'swap';
1220
+ let response = undefined;
1204
1221
  if (isStopOrder) {
1205
1222
  request['activation_price'] = this.priceToPrecision(symbol, stopPrice);
1206
1223
  if (isLimitOrder) {
1207
1224
  // stop limit order
1208
- method = 'v4PrivatePostOrderStopLimit';
1209
1225
  request['price'] = this.priceToPrecision(symbol, price);
1226
+ response = await this.v4PrivatePostOrderStopLimit(this.extend(request, params));
1210
1227
  }
1211
1228
  else {
1212
1229
  // stop market order
1213
- method = 'v4PrivatePostOrderStopMarket';
1214
1230
  if (useCollateralEndpoint) {
1215
- method = 'v4PrivatePostOrderCollateralTriggerMarket';
1231
+ response = await this.v4PrivatePostOrderCollateralTriggerMarket(this.extend(request, params));
1232
+ }
1233
+ else {
1234
+ response = await this.v4PrivatePostOrderStopMarket(this.extend(request, params));
1216
1235
  }
1217
1236
  }
1218
1237
  }
1219
1238
  else {
1220
1239
  if (isLimitOrder) {
1221
1240
  // limit order
1222
- method = 'v4PrivatePostOrderNew';
1241
+ request['price'] = this.priceToPrecision(symbol, price);
1223
1242
  if (useCollateralEndpoint) {
1224
- method = 'v4PrivatePostOrderCollateralLimit';
1243
+ response = await this.v4PrivatePostOrderCollateralLimit(this.extend(request, params));
1244
+ }
1245
+ else {
1246
+ response = await this.v4PrivatePostOrderNew(this.extend(request, params));
1225
1247
  }
1226
- request['price'] = this.priceToPrecision(symbol, price);
1227
1248
  }
1228
1249
  else {
1229
1250
  // market order
1230
- method = 'v4PrivatePostOrderStockMarket';
1231
1251
  if (useCollateralEndpoint) {
1232
- method = 'v4PrivatePostOrderCollateralMarket';
1252
+ response = await this.v4PrivatePostOrderCollateralMarket(this.extend(request, params));
1253
+ }
1254
+ else {
1255
+ response = await this.v4PrivatePostOrderStockMarket(this.extend(request, params));
1233
1256
  }
1234
1257
  }
1235
1258
  }
1236
- params = this.omit(query, ['postOnly', 'triggerPrice', 'stopPrice']);
1237
- const response = await this[method](this.extend(request, params));
1238
1259
  return this.parseOrder(response);
1239
1260
  }
1240
1261
  async cancelOrder(id, symbol = undefined, params = {}) {
@@ -1242,6 +1263,7 @@ export default class whitebit extends Exchange {
1242
1263
  * @method
1243
1264
  * @name whitebit#cancelOrder
1244
1265
  * @description cancels an open order
1266
+ * @see https://docs.whitebit.com/private/http-trade-v4/#cancel-order
1245
1267
  * @param {string} id order id
1246
1268
  * @param {string} symbol unified symbol of the market the order was made in
1247
1269
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1285,14 +1307,17 @@ export default class whitebit extends Exchange {
1285
1307
  * @method
1286
1308
  * @name whitebit#fetchBalance
1287
1309
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1310
+ * @see https://docs.whitebit.com/private/http-main-v4/#main-balance
1311
+ * @see https://docs.whitebit.com/private/http-trade-v4/#trading-balance
1288
1312
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1289
1313
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1290
1314
  */
1291
1315
  await this.loadMarkets();
1292
- const [marketType, query] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
1293
- let method = undefined;
1316
+ let marketType = undefined;
1317
+ [marketType, params] = this.handleMarketTypeAndParams('fetchBalance', undefined, params);
1318
+ let response = undefined;
1294
1319
  if (marketType === 'swap') {
1295
- method = 'v4PrivatePostCollateralAccountBalance';
1320
+ response = await this.v4PrivatePostCollateralAccountBalance(params);
1296
1321
  }
1297
1322
  else {
1298
1323
  const options = this.safeValue(this.options, 'fetchBalance', {});
@@ -1300,13 +1325,12 @@ export default class whitebit extends Exchange {
1300
1325
  const account = this.safeString(params, 'account', defaultAccount);
1301
1326
  params = this.omit(params, 'account');
1302
1327
  if (account === 'main') {
1303
- method = 'v4PrivatePostMainAccountBalance';
1328
+ response = await this.v4PrivatePostMainAccountBalance(params);
1304
1329
  }
1305
1330
  else {
1306
- method = 'v4PrivatePostTradeAccountBalance';
1331
+ response = await this.v4PrivatePostTradeAccountBalance(params);
1307
1332
  }
1308
1333
  }
1309
- const response = await this[method](query);
1310
1334
  //
1311
1335
  // main account
1312
1336
  //
@@ -1336,6 +1360,7 @@ export default class whitebit extends Exchange {
1336
1360
  * @method
1337
1361
  * @name whitebit#fetchOpenOrders
1338
1362
  * @description fetch all unfilled currently open orders
1363
+ * @see https://docs.whitebit.com/private/http-trade-v4/#query-unexecutedactive-orders
1339
1364
  * @param {string} symbol unified market symbol
1340
1365
  * @param {int} [since] the earliest time in ms to fetch open orders for
1341
1366
  * @param {int} [limit] the maximum number of open order structures to retrieve
@@ -1381,6 +1406,7 @@ export default class whitebit extends Exchange {
1381
1406
  * @method
1382
1407
  * @name whitebit#fetchClosedOrders
1383
1408
  * @description fetches information on multiple closed orders made by the user
1409
+ * @see https://docs.whitebit.com/private/http-trade-v4/#query-executed-orders
1384
1410
  * @param {string} symbol unified market symbol of the market orders were made in
1385
1411
  * @param {int} [since] the earliest time in ms to fetch orders for
1386
1412
  * @param {int} [limit] the maximum number of orde structures to retrieve
@@ -1541,6 +1567,7 @@ export default class whitebit extends Exchange {
1541
1567
  * @method
1542
1568
  * @name whitebit#fetchOrderTrades
1543
1569
  * @description fetch all the trades made from a single order
1570
+ * @see https://docs.whitebit.com/private/http-trade-v4/#query-executed-order-deals
1544
1571
  * @param {string} id order id
1545
1572
  * @param {string} symbol unified market symbol
1546
1573
  * @param {int} [since] the earliest time in ms to fetch trades for
@@ -1588,6 +1615,8 @@ export default class whitebit extends Exchange {
1588
1615
  * @method
1589
1616
  * @name whitebit#fetchDepositAddress
1590
1617
  * @description fetch the deposit address for a currency associated with this account
1618
+ * @see https://docs.whitebit.com/private/http-main-v4/#get-fiat-deposit-address
1619
+ * @see https://docs.whitebit.com/private/http-main-v4/#get-cryptocurrency-deposit-address
1591
1620
  * @param {string} code unified currency code
1592
1621
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1593
1622
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -1597,10 +1626,9 @@ export default class whitebit extends Exchange {
1597
1626
  const request = {
1598
1627
  'ticker': currency['id'],
1599
1628
  };
1600
- let method = 'v4PrivatePostMainAccountAddress';
1629
+ let response = undefined;
1601
1630
  if (this.isFiat(code)) {
1602
- method = 'v4PrivatePostMainAccountFiatDepositUrl';
1603
- const provider = this.safeNumber(params, 'provider');
1631
+ const provider = this.safeString(params, 'provider');
1604
1632
  if (provider === undefined) {
1605
1633
  throw new ArgumentsRequired(this.id + ' fetchDepositAddress() requires a provider when the ticker is fiat');
1606
1634
  }
@@ -1614,8 +1642,11 @@ export default class whitebit extends Exchange {
1614
1642
  if (uniqueId === undefined) {
1615
1643
  throw new ArgumentsRequired(this.id + ' fetchDepositAddress() requires an uniqueId when the ticker is fiat');
1616
1644
  }
1645
+ response = await this.v4PrivatePostMainAccountFiatDepositUrl(this.extend(request, params));
1646
+ }
1647
+ else {
1648
+ response = await this.v4PrivatePostMainAccountAddress(this.extend(request, params));
1617
1649
  }
1618
- const response = await this[method](this.extend(request, params));
1619
1650
  //
1620
1651
  // fiat
1621
1652
  //
@@ -1660,6 +1691,7 @@ export default class whitebit extends Exchange {
1660
1691
  * @method
1661
1692
  * @name whitebit#setLeverage
1662
1693
  * @description set the level of leverage for a market
1694
+ * @see https://docs.whitebit.com/private/http-trade-v4/#change-collateral-account-leverage
1663
1695
  * @param {float} leverage the rate of leverage
1664
1696
  * @param {string} symbol unified market symbol
1665
1697
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1685,7 +1717,7 @@ export default class whitebit extends Exchange {
1685
1717
  * @method
1686
1718
  * @name whitebit#transfer
1687
1719
  * @description transfer currency internally between wallets on the same account
1688
- * @see https://github.com/whitebit-exchange/api-docs/blob/main/docs/Private/http-main-v4.md#transfer-between-main-and-trade-balances
1720
+ * @see https://docs.whitebit.com/private/http-main-v4/#transfer-between-main-and-trade-balances
1689
1721
  * @param {string} code unified currency code
1690
1722
  * @param {float} amount amount to transfer
1691
1723
  * @param {string} fromAccount account to transfer from - main, spot, collateral
@@ -1732,6 +1764,7 @@ export default class whitebit extends Exchange {
1732
1764
  * @method
1733
1765
  * @name whitebit#withdraw
1734
1766
  * @description make a withdrawal
1767
+ * @see https://docs.whitebit.com/private/http-main-v4/#create-withdraw-request
1735
1768
  * @param {string} code unified currency code
1736
1769
  * @param {float} amount the amount to withdraw
1737
1770
  * @param {string} address the address to withdraw to
@@ -1858,6 +1891,7 @@ export default class whitebit extends Exchange {
1858
1891
  * @method
1859
1892
  * @name whitebit#fetchDeposit
1860
1893
  * @description fetch information on a deposit
1894
+ * @see https://docs.whitebit.com/private/http-main-v4/#get-depositwithdraw-history
1861
1895
  * @param {string} id deposit id
1862
1896
  * @param {string} code not used by whitebit fetchDeposit ()
1863
1897
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1922,6 +1956,7 @@ export default class whitebit extends Exchange {
1922
1956
  * @method
1923
1957
  * @name whitebit#fetchDeposits
1924
1958
  * @description fetch all deposits made to an account
1959
+ * @see https://docs.whitebit.com/private/http-main-v4/#get-depositwithdraw-history
1925
1960
  * @param {string} code unified currency code
1926
1961
  * @param {int} [since] the earliest time in ms to fetch deposits for
1927
1962
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -1988,7 +2023,7 @@ export default class whitebit extends Exchange {
1988
2023
  * @method
1989
2024
  * @name whitebit#fetchBorrowInterest
1990
2025
  * @description fetch the interest owed by the user for borrowing currency for margin trading
1991
- * @see https://github.com/whitebit-exchange/api-docs/blob/main/docs/Private/http-trade-v4.md#open-positions
2026
+ * @see https://docs.whitebit.com/private/http-trade-v4/#open-positions
1992
2027
  * @param {string} code unified currency code
1993
2028
  * @param {string} symbol unified market symbol
1994
2029
  * @param {int} [since] the earliest time in ms to fetch borrrow interest for
@@ -2067,7 +2102,7 @@ export default class whitebit extends Exchange {
2067
2102
  /**
2068
2103
  * @method
2069
2104
  * @name whitebit#fetchFundingRate
2070
- * @see https://whitebit-exchange.github.io/api-docs/public/http-v4/#available-futures-markets-list
2105
+ * @see https://docs.whitebit.com/public/http-v4/#available-futures-markets-list
2071
2106
  * @description fetch the current funding rate
2072
2107
  * @param {string} symbol unified market symbol
2073
2108
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -2082,7 +2117,7 @@ export default class whitebit extends Exchange {
2082
2117
  /**
2083
2118
  * @method
2084
2119
  * @name whitebit#fetchFundingRates
2085
- * @see https://whitebit-exchange.github.io/api-docs/public/http-v4/#available-futures-markets-list
2120
+ * @see https://docs.whitebit.com/public/http-v4/#available-futures-markets-list
2086
2121
  * @description fetch the funding rate for multiple markets
2087
2122
  * @param {string[]|undefined} symbols list of unified market symbols
2088
2123
  * @param {object} [params] extra parameters specific to the exchange API endpoint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccxt",
3
- "version": "4.1.80",
3
+ "version": "4.1.82",
4
4
  "description": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges",
5
5
  "unpkg": "dist/ccxt.browser.js",
6
6
  "type": "module",