ccxt 4.0.111 → 4.1.1

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.
package/dist/cjs/ccxt.js CHANGED
@@ -179,7 +179,7 @@ var woo$1 = require('./src/pro/woo.js');
179
179
 
180
180
  //-----------------------------------------------------------------------------
181
181
  // this is updated by vss.js when building
182
- const version = '4.0.111';
182
+ const version = '4.1.1';
183
183
  Exchange["default"].ccxtVersion = version;
184
184
  const exchanges = {
185
185
  'ace': ace,
@@ -4063,16 +4063,16 @@ class bybit extends bybit$1 {
4063
4063
  triggerPrice = isStopLossTriggerOrder ? stopLossTriggerPrice : takeProfitTriggerPrice;
4064
4064
  }
4065
4065
  if (triggerPrice !== undefined) {
4066
- request['triggerPrice'] = this.priceToPrecision(symbol, triggerPrice);
4066
+ request['triggerPrice'] = triggerPrice;
4067
4067
  }
4068
4068
  if (isStopLoss || isTakeProfit) {
4069
4069
  if (isStopLoss) {
4070
4070
  const slTriggerPrice = this.safeValue2(stopLoss, 'triggerPrice', 'stopPrice', stopLoss);
4071
- request['stopLoss'] = this.priceToPrecision(symbol, slTriggerPrice);
4071
+ request['stopLoss'] = slTriggerPrice;
4072
4072
  }
4073
4073
  if (isTakeProfit) {
4074
4074
  const tpTriggerPrice = this.safeValue2(takeProfit, 'triggerPrice', 'stopPrice', takeProfit);
4075
- request['takeProfit'] = this.priceToPrecision(symbol, tpTriggerPrice);
4075
+ request['takeProfit'] = tpTriggerPrice;
4076
4076
  }
4077
4077
  }
4078
4078
  const clientOrderId = this.safeString(params, 'clientOrderId');
@@ -6616,9 +6616,8 @@ class bybit extends bybit$1 {
6616
6616
  // "time": 1670988271677
6617
6617
  // }
6618
6618
  //
6619
- const data = this.safeValue(response, 'result', {});
6620
- const transfers = this.safeValue(data, 'list', []);
6621
- return this.parseTransfers(transfers, currency, since, limit);
6619
+ const data = this.addPaginationCursorToResult(response);
6620
+ return this.parseTransfers(data, currency, since, limit);
6622
6621
  }
6623
6622
  async borrowMargin(code, amount, symbol = undefined, params = {}) {
6624
6623
  /**
@@ -495,6 +495,7 @@ class coinbasepro extends coinbasepro$1 {
495
495
  /**
496
496
  * @method
497
497
  * @name coinbasepro#fetchOrderBook
498
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproductbook
498
499
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
499
500
  * @param {string} symbol unified symbol of the market to fetch the order book for
500
501
  * @param {int} [limit] the maximum amount of order book entries to return
@@ -660,6 +661,7 @@ class coinbasepro extends coinbasepro$1 {
660
661
  /**
661
662
  * @method
662
663
  * @name coinbasepro#fetchTicker
664
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproductticker
663
665
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
664
666
  * @param {string} symbol unified symbol of the market to fetch the ticker for
665
667
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
@@ -773,17 +775,16 @@ class coinbasepro extends coinbasepro$1 {
773
775
  /**
774
776
  * @method
775
777
  * @name coinbasepro#fetchMyTrades
778
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getfills
776
779
  * @description fetch all trades made by the user
777
780
  * @param {string} symbol unified market symbol
778
781
  * @param {int} [since] the earliest time in ms to fetch trades for
779
782
  * @param {int} [limit] the maximum number of trades structures to retrieve
780
783
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
784
+ * @param {int} [params.until] the latest time in ms to fetch trades for
781
785
  * @returns {Trade[]} a list of [trade structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#trade-structure}
782
786
  */
783
- // as of 2018-08-23
784
- if (symbol === undefined) {
785
- throw new errors.ArgumentsRequired(this.id + ' fetchMyTrades() requires a symbol argument');
786
- }
787
+ this.checkRequiredSymbol('fetchMyTrades', symbol);
787
788
  await this.loadMarkets();
788
789
  const market = this.market(symbol);
789
790
  const request = {
@@ -792,6 +793,14 @@ class coinbasepro extends coinbasepro$1 {
792
793
  if (limit !== undefined) {
793
794
  request['limit'] = limit;
794
795
  }
796
+ if (since !== undefined) {
797
+ request['start_date'] = this.iso8601(since);
798
+ }
799
+ const until = this.safeValue2(params, 'until', 'end_date');
800
+ if (until !== undefined) {
801
+ params = this.omit(params, ['until']);
802
+ request['end_date'] = this.iso8601(until);
803
+ }
795
804
  const response = await this.privateGetFills(this.extend(request, params));
796
805
  return this.parseTrades(response, market, since, limit);
797
806
  }
@@ -799,6 +808,7 @@ class coinbasepro extends coinbasepro$1 {
799
808
  /**
800
809
  * @method
801
810
  * @name coinbasepro#fetchTrades
811
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproducttrades
802
812
  * @description get the list of most recent trades for a particular symbol
803
813
  * @param {string} symbol unified symbol of the market to fetch trades for
804
814
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
@@ -885,12 +895,14 @@ class coinbasepro extends coinbasepro$1 {
885
895
  /**
886
896
  * @method
887
897
  * @name coinbasepro#fetchOHLCV
898
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproductcandles
888
899
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
889
900
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
890
901
  * @param {string} timeframe the length of time each candle represents
891
902
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
892
903
  * @param {int} [limit] the maximum amount of candles to fetch
893
904
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
905
+ * @param {int} [params.until] the latest time in ms to fetch trades for
894
906
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
895
907
  */
896
908
  await this.loadMarkets();
@@ -905,6 +917,8 @@ class coinbasepro extends coinbasepro$1 {
905
917
  else {
906
918
  request['granularity'] = timeframe;
907
919
  }
920
+ const until = this.safeValue2(params, 'until', 'end');
921
+ params = this.omit(params, ['until']);
908
922
  if (since !== undefined) {
909
923
  request['start'] = this.iso8601(since);
910
924
  if (limit === undefined) {
@@ -914,12 +928,17 @@ class coinbasepro extends coinbasepro$1 {
914
928
  else {
915
929
  limit = Math.min(300, limit);
916
930
  }
917
- const parsedTimeframeMilliseconds = parsedTimeframe * 1000;
918
- if (since % parsedTimeframeMilliseconds === 0) {
919
- request['end'] = this.iso8601(this.sum((limit - 1) * parsedTimeframeMilliseconds, since));
931
+ if (until === undefined) {
932
+ const parsedTimeframeMilliseconds = parsedTimeframe * 1000;
933
+ if (since % parsedTimeframeMilliseconds === 0) {
934
+ request['end'] = this.iso8601(this.sum((limit - 1) * parsedTimeframeMilliseconds, since));
935
+ }
936
+ else {
937
+ request['end'] = this.iso8601(this.sum(limit * parsedTimeframeMilliseconds, since));
938
+ }
920
939
  }
921
940
  else {
922
- request['end'] = this.iso8601(this.sum(limit * parsedTimeframeMilliseconds, since));
941
+ request['end'] = this.iso8601(until);
923
942
  }
924
943
  }
925
944
  const response = await this.publicGetProductsIdCandles(this.extend(request, params));
@@ -1039,6 +1058,7 @@ class coinbasepro extends coinbasepro$1 {
1039
1058
  /**
1040
1059
  * @method
1041
1060
  * @name coinbasepro#fetchOrder
1061
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getorder
1042
1062
  * @description fetches information on an order made by the user
1043
1063
  * @param {string} symbol not used by coinbasepro fetchOrder
1044
1064
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
@@ -1087,11 +1107,13 @@ class coinbasepro extends coinbasepro$1 {
1087
1107
  /**
1088
1108
  * @method
1089
1109
  * @name coinbasepro#fetchOrders
1110
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getorders
1090
1111
  * @description fetches information on multiple orders made by the user
1091
1112
  * @param {string} symbol unified market symbol of the market orders were made in
1092
1113
  * @param {int} [since] the earliest time in ms to fetch orders for
1093
1114
  * @param {int} [limit] the maximum number of orde structures to retrieve
1094
1115
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
1116
+ * @param {int} [params.until] the latest time in ms to fetch open orders for
1095
1117
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1096
1118
  */
1097
1119
  const request = {
@@ -1103,11 +1125,13 @@ class coinbasepro extends coinbasepro$1 {
1103
1125
  /**
1104
1126
  * @method
1105
1127
  * @name coinbasepro#fetchOpenOrders
1128
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getorders
1106
1129
  * @description fetch all unfilled currently open orders
1107
1130
  * @param {string} symbol unified market symbol
1108
1131
  * @param {int} [since] the earliest time in ms to fetch open orders for
1109
1132
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1110
1133
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
1134
+ * @param {int} [params.until] the latest time in ms to fetch open orders for
1111
1135
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1112
1136
  */
1113
1137
  await this.loadMarkets();
@@ -1120,6 +1144,14 @@ class coinbasepro extends coinbasepro$1 {
1120
1144
  if (limit !== undefined) {
1121
1145
  request['limit'] = limit; // default 100
1122
1146
  }
1147
+ if (since !== undefined) {
1148
+ request['start_date'] = this.iso8601(since);
1149
+ }
1150
+ const until = this.safeValue2(params, 'until', 'end_date');
1151
+ if (until !== undefined) {
1152
+ params = this.omit(params, ['until']);
1153
+ request['end_date'] = this.iso8601(until);
1154
+ }
1123
1155
  const response = await this.privateGetOrders(this.extend(request, params));
1124
1156
  return this.parseOrders(response, market, since, limit);
1125
1157
  }
@@ -1127,11 +1159,13 @@ class coinbasepro extends coinbasepro$1 {
1127
1159
  /**
1128
1160
  * @method
1129
1161
  * @name coinbasepro#fetchClosedOrders
1162
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getorders
1130
1163
  * @description fetches information on multiple closed orders made by the user
1131
1164
  * @param {string} symbol unified market symbol of the market orders were made in
1132
1165
  * @param {int} [since] the earliest time in ms to fetch orders for
1133
1166
  * @param {int} [limit] the maximum number of orde structures to retrieve
1134
1167
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
1168
+ * @param {int} [params.until] the latest time in ms to fetch open orders for
1135
1169
  * @returns {Order[]} a list of [order structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#order-structure}
1136
1170
  */
1137
1171
  const request = {
@@ -1143,6 +1177,7 @@ class coinbasepro extends coinbasepro$1 {
1143
1177
  /**
1144
1178
  * @method
1145
1179
  * @name coinbasepro#createOrder
1180
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_postorders
1146
1181
  * @description create a trade order
1147
1182
  * @param {string} symbol unified symbol of the market to create an order in
1148
1183
  * @param {string} type 'market' or 'limit'
@@ -1238,6 +1273,7 @@ class coinbasepro extends coinbasepro$1 {
1238
1273
  /**
1239
1274
  * @method
1240
1275
  * @name coinbasepro#cancelOrder
1276
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_deleteorder
1241
1277
  * @description cancels an open order
1242
1278
  * @param {string} id order id
1243
1279
  * @param {string} symbol unified symbol of the market the order was made in
@@ -1270,6 +1306,7 @@ class coinbasepro extends coinbasepro$1 {
1270
1306
  /**
1271
1307
  * @method
1272
1308
  * @name coinbasepro#cancelAllOrders
1309
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_deleteorders
1273
1310
  * @description cancel all open orders
1274
1311
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1275
1312
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
@@ -1456,11 +1493,13 @@ class coinbasepro extends coinbasepro$1 {
1456
1493
  /**
1457
1494
  * @method
1458
1495
  * @name coinbasepro#fetchLedger
1496
+ * @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccountledger
1459
1497
  * @description fetch the history of changes, actions done by the user or operations that altered balance of the user
1460
1498
  * @param {string} code unified currency code, default is undefined
1461
1499
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1462
1500
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
1463
1501
  * @param {object} [params] extra parameters specific to the coinbasepro api endpoint
1502
+ * @param {int} [params.until] the latest time in ms to fetch trades for
1464
1503
  * @returns {object} a [ledger structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ledger-structure}
1465
1504
  */
1466
1505
  // https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccountledger
@@ -1490,6 +1529,11 @@ class coinbasepro extends coinbasepro$1 {
1490
1529
  if (limit !== undefined) {
1491
1530
  request['limit'] = limit; // default 100
1492
1531
  }
1532
+ const until = this.safeValue2(params, 'until', 'end_date');
1533
+ if (until !== undefined) {
1534
+ params = this.omit(params, ['until']);
1535
+ request['end_date'] = this.iso8601(until);
1536
+ }
1493
1537
  const response = await this.privateGetAccountsIdLedger(this.extend(request, params));
1494
1538
  for (let i = 0; i < response.length; i++) {
1495
1539
  response[i]['currency'] = code;
@@ -808,6 +808,7 @@ class kucoin extends kucoin$1 {
808
808
  * @method
809
809
  * @name kucoin#fetchTime
810
810
  * @description fetches the current integer timestamp in milliseconds from the exchange server
811
+ * @see https://docs.kucoin.com/#server-time
811
812
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
812
813
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
813
814
  */
@@ -826,6 +827,7 @@ class kucoin extends kucoin$1 {
826
827
  * @method
827
828
  * @name kucoin#fetchStatus
828
829
  * @description the latest known information on the availability of the exchange API
830
+ * @see https://docs.kucoin.com/#service-status
829
831
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
830
832
  * @returns {object} a [status structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#exchange-status-structure}
831
833
  */
@@ -854,6 +856,8 @@ class kucoin extends kucoin$1 {
854
856
  * @method
855
857
  * @name kucoin#fetchMarkets
856
858
  * @description retrieves data on all markets for kucoin
859
+ * @see https://docs.kucoin.com/#get-symbols-list-deprecated
860
+ * @see https://docs.kucoin.com/#get-all-tickers
857
861
  * @param {object} [params] extra parameters specific to the exchange api endpoint
858
862
  * @returns {object[]} an array of objects representing market data
859
863
  */
@@ -992,6 +996,7 @@ class kucoin extends kucoin$1 {
992
996
  * @method
993
997
  * @name kucoin#fetchCurrencies
994
998
  * @description fetches all available currencies on an exchange
999
+ * @see https://docs.kucoin.com/#get-currencies
995
1000
  * @param {object} params extra parameters specific to the kucoin api endpoint
996
1001
  * @returns {object} an associative dictionary of currencies
997
1002
  */
@@ -1089,7 +1094,7 @@ class kucoin extends kucoin$1 {
1089
1094
  }
1090
1095
  for (let j = 0; j < chainsLength; j++) {
1091
1096
  const chain = chains[j];
1092
- const chainId = this.safeString(chain, 'chain');
1097
+ const chainId = this.safeString(chain, 'chainId');
1093
1098
  const networkCode = this.networkIdToCode(chainId);
1094
1099
  const chainWithdrawEnabled = this.safeValue(chain, 'isWithdrawEnabled', false);
1095
1100
  if (isWithdrawEnabled === undefined) {
@@ -1152,6 +1157,7 @@ class kucoin extends kucoin$1 {
1152
1157
  * @method
1153
1158
  * @name kucoin#fetchAccounts
1154
1159
  * @description fetch all the accounts associated with a profile
1160
+ * @see https://docs.kucoin.com/#list-accounts
1155
1161
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
1156
1162
  * @returns {object} a dictionary of [account structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#account-structure} indexed by the account type
1157
1163
  */
@@ -1429,6 +1435,7 @@ class kucoin extends kucoin$1 {
1429
1435
  * @method
1430
1436
  * @name kucoin#fetchTickers
1431
1437
  * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1438
+ * @see https://docs.kucoin.com/#get-all-tickers
1432
1439
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1433
1440
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
1434
1441
  * @returns {object} a dictionary of [ticker structures]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
@@ -1483,6 +1490,7 @@ class kucoin extends kucoin$1 {
1483
1490
  * @method
1484
1491
  * @name kucoin#fetchTicker
1485
1492
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1493
+ * @see https://docs.kucoin.com/#get-24hr-stats
1486
1494
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1487
1495
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
1488
1496
  * @returns {object} a [ticker structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#ticker-structure}
@@ -1544,6 +1552,7 @@ class kucoin extends kucoin$1 {
1544
1552
  * @method
1545
1553
  * @name kucoin#fetchOHLCV
1546
1554
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1555
+ * @see https://docs.kucoin.com/#get-klines
1547
1556
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
1548
1557
  * @param {string} timeframe the length of time each candle represents
1549
1558
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -1623,6 +1632,7 @@ class kucoin extends kucoin$1 {
1623
1632
  * @method
1624
1633
  * @name kucoin#fetchDepositAddress
1625
1634
  * @description fetch the deposit address for a currency associated with this account
1635
+ * @see https://docs.kucoin.com/#get-deposit-addresses-v2
1626
1636
  * @param {string} code unified currency code
1627
1637
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
1628
1638
  * @param {string} [params.network] the blockchain network name
@@ -1720,6 +1730,8 @@ class kucoin extends kucoin$1 {
1720
1730
  * @method
1721
1731
  * @name kucoin#fetchOrderBook
1722
1732
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
1733
+ * @see https://docs.kucoin.com/#get-part-order-book-aggregated
1734
+ * @see https://docs.kucoin.com/#get-full-order-book-aggregated
1723
1735
  * @param {string} symbol unified symbol of the market to fetch the order book for
1724
1736
  * @param {int} [limit] the maximum amount of order book entries to return
1725
1737
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
@@ -2190,6 +2202,10 @@ class kucoin extends kucoin$1 {
2190
2202
  * @method
2191
2203
  * @name kucoin#fetchClosedOrders
2192
2204
  * @description fetches information on multiple closed orders made by the user
2205
+ * @see https://docs.kucoin.com/spot#list-orders
2206
+ * @see https://docs.kucoin.com/spot#list-stop-orders
2207
+ * @see https://docs.kucoin.com/spot-hf/#obtain-list-of-active-hf-orders
2208
+ * @see https://docs.kucoin.com/spot-hf/#obtain-list-of-filled-hf-orders
2193
2209
  * @param {string} symbol unified market symbol of the market orders were made in
2194
2210
  * @param {int} [since] the earliest time in ms to fetch orders for
2195
2211
  * @param {int} [limit] the maximum number of orde structures to retrieve
@@ -2209,6 +2225,10 @@ class kucoin extends kucoin$1 {
2209
2225
  * @method
2210
2226
  * @name kucoin#fetchOpenOrders
2211
2227
  * @description fetch all unfilled currently open orders
2228
+ * @see https://docs.kucoin.com/spot#list-orders
2229
+ * @see https://docs.kucoin.com/spot#list-stop-orders
2230
+ * @see https://docs.kucoin.com/spot-hf/#obtain-list-of-active-hf-orders
2231
+ * @see https://docs.kucoin.com/spot-hf/#obtain-list-of-filled-hf-orders
2212
2232
  * @param {string} symbol unified market symbol
2213
2233
  * @param {int} [since] the earliest time in ms to fetch open orders for
2214
2234
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -2485,6 +2505,8 @@ class kucoin extends kucoin$1 {
2485
2505
  * @method
2486
2506
  * @name kucoin#fetchOrderTrades
2487
2507
  * @description fetch all the trades made from a single order
2508
+ * @see https://docs.kucoin.com/#list-fills
2509
+ * @see https://docs.kucoin.com/spot-hf/#transaction-details
2488
2510
  * @param {string} id order id
2489
2511
  * @param {string} symbol unified market symbol
2490
2512
  * @param {int} [since] the earliest time in ms to fetch trades for
@@ -2610,6 +2632,7 @@ class kucoin extends kucoin$1 {
2610
2632
  * @method
2611
2633
  * @name kucoin#fetchTrades
2612
2634
  * @description get the list of most recent trades for a particular symbol
2635
+ * @see https://docs.kucoin.com/#get-trade-histories
2613
2636
  * @param {string} symbol unified symbol of the market to fetch trades for
2614
2637
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
2615
2638
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -2782,6 +2805,7 @@ class kucoin extends kucoin$1 {
2782
2805
  * @method
2783
2806
  * @name kucoin#fetchTradingFee
2784
2807
  * @description fetch the trading fees for a market
2808
+ * @see https://docs.kucoin.com/#actual-fee-rate-of-the-trading-pair
2785
2809
  * @param {string} symbol unified market symbol
2786
2810
  * @param {object} [params] extra parameters specific to the kucoin api endpoint
2787
2811
  * @returns {object} a [fee structure]{@link https://github.com/ccxt/ccxt/wiki/Manual#fee-structure}
@@ -2821,6 +2845,7 @@ class kucoin extends kucoin$1 {
2821
2845
  * @method
2822
2846
  * @name kucoin#withdraw
2823
2847
  * @description make a withdrawal
2848
+ * @see https://docs.kucoin.com/#apply-withdraw-2
2824
2849
  * @param {string} code unified currency code
2825
2850
  * @param {float} amount the amount to withdraw
2826
2851
  * @param {string} address the address to withdraw to
@@ -2993,6 +3018,8 @@ class kucoin extends kucoin$1 {
2993
3018
  * @method
2994
3019
  * @name kucoin#fetchDeposits
2995
3020
  * @description fetch all deposits made to an account
3021
+ * @see https://docs.kucoin.com/#get-deposit-list
3022
+ * @see https://docs.kucoin.com/#get-v1-historical-deposits-list
2996
3023
  * @param {string} code unified currency code
2997
3024
  * @param {int} [since] the earliest time in ms to fetch deposits for
2998
3025
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -3067,6 +3094,8 @@ class kucoin extends kucoin$1 {
3067
3094
  * @method
3068
3095
  * @name kucoin#fetchWithdrawals
3069
3096
  * @description fetch all withdrawals made from an account
3097
+ * @see https://docs.kucoin.com/#get-withdrawals-list
3098
+ * @see https://docs.kucoin.com/#get-v1-historical-withdrawals-list
3070
3099
  * @param {string} code unified currency code
3071
3100
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
3072
3101
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -3581,6 +3610,7 @@ class kucoin extends kucoin$1 {
3581
3610
  * @method
3582
3611
  * @name kucoin#fetchLedger
3583
3612
  * @description fetch the history of changes, actions done by the user or operations that altered balance of the user
3613
+ * @see https://docs.kucoin.com/#get-account-ledgers
3584
3614
  * @param {string} code unified currency code, default is undefined
3585
3615
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
3586
3616
  * @param {int} [limit] max number of ledger entrys to return, default is undefined