ccxt 4.3.53 → 4.3.55

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 (231) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.min.js +3 -3
  3. package/dist/cjs/ccxt.js +1 -1
  4. package/dist/cjs/src/ace.js +1 -1
  5. package/dist/cjs/src/alpaca.js +1 -1
  6. package/dist/cjs/src/ascendex.js +6 -4
  7. package/dist/cjs/src/bigone.js +1 -1
  8. package/dist/cjs/src/binance.js +6 -6
  9. package/dist/cjs/src/bingx.js +4 -4
  10. package/dist/cjs/src/bit2c.js +1 -1
  11. package/dist/cjs/src/bitbank.js +1 -1
  12. package/dist/cjs/src/bitbns.js +1 -1
  13. package/dist/cjs/src/bitfinex.js +1 -1
  14. package/dist/cjs/src/bitfinex2.js +1 -1
  15. package/dist/cjs/src/bitflyer.js +1 -1
  16. package/dist/cjs/src/bitget.js +2 -2
  17. package/dist/cjs/src/bithumb.js +1 -1
  18. package/dist/cjs/src/bitmart.js +3 -3
  19. package/dist/cjs/src/bitmex.js +1 -1
  20. package/dist/cjs/src/bitopro.js +1 -1
  21. package/dist/cjs/src/bitrue.js +1 -1
  22. package/dist/cjs/src/bitso.js +1 -1
  23. package/dist/cjs/src/bitstamp.js +1 -1
  24. package/dist/cjs/src/bitteam.js +1 -1
  25. package/dist/cjs/src/bitvavo.js +2 -2
  26. package/dist/cjs/src/bl3p.js +1 -1
  27. package/dist/cjs/src/blockchaincom.js +28 -28
  28. package/dist/cjs/src/blofin.js +1 -1
  29. package/dist/cjs/src/btcalpha.js +4 -12
  30. package/dist/cjs/src/btcbox.js +1 -1
  31. package/dist/cjs/src/btcmarkets.js +1 -1
  32. package/dist/cjs/src/btcturk.js +1 -1
  33. package/dist/cjs/src/bybit.js +2 -2
  34. package/dist/cjs/src/cex.js +2 -2
  35. package/dist/cjs/src/coinbase.js +33 -33
  36. package/dist/cjs/src/coinbaseexchange.js +1 -1
  37. package/dist/cjs/src/coinbaseinternational.js +1 -1
  38. package/dist/cjs/src/coincheck.js +1 -1
  39. package/dist/cjs/src/coinex.js +2 -2
  40. package/dist/cjs/src/coinlist.js +2 -2
  41. package/dist/cjs/src/coinmate.js +1 -1
  42. package/dist/cjs/src/coinmetro.js +1 -1
  43. package/dist/cjs/src/coinone.js +1 -1
  44. package/dist/cjs/src/coinsph.js +1 -1
  45. package/dist/cjs/src/coinspot.js +1 -1
  46. package/dist/cjs/src/cryptocom.js +1 -1
  47. package/dist/cjs/src/currencycom.js +1 -1
  48. package/dist/cjs/src/delta.js +2 -2
  49. package/dist/cjs/src/deribit.js +4 -4
  50. package/dist/cjs/src/digifinex.js +2 -2
  51. package/dist/cjs/src/exmo.js +2 -2
  52. package/dist/cjs/src/gate.js +2 -2
  53. package/dist/cjs/src/gemini.js +1 -1
  54. package/dist/cjs/src/hitbtc.js +1 -1
  55. package/dist/cjs/src/hollaex.js +1 -1
  56. package/dist/cjs/src/htx.js +3 -3
  57. package/dist/cjs/src/huobijp.js +1 -1
  58. package/dist/cjs/src/hyperliquid.js +2 -2
  59. package/dist/cjs/src/idex.js +1 -1
  60. package/dist/cjs/src/independentreserve.js +1 -1
  61. package/dist/cjs/src/indodax.js +1 -1
  62. package/dist/cjs/src/kraken.js +2 -2
  63. package/dist/cjs/src/kucoin.js +136 -47
  64. package/dist/cjs/src/kucoinfutures.js +1 -1
  65. package/dist/cjs/src/kuna.js +1 -1
  66. package/dist/cjs/src/latoken.js +1 -1
  67. package/dist/cjs/src/lbank.js +1 -1
  68. package/dist/cjs/src/luno.js +1 -1
  69. package/dist/cjs/src/lykke.js +1 -1
  70. package/dist/cjs/src/mercado.js +1 -1
  71. package/dist/cjs/src/mexc.js +1 -1
  72. package/dist/cjs/src/ndax.js +1 -1
  73. package/dist/cjs/src/novadax.js +1 -1
  74. package/dist/cjs/src/oceanex.js +1 -1
  75. package/dist/cjs/src/okcoin.js +1 -1
  76. package/dist/cjs/src/okx.js +3 -3
  77. package/dist/cjs/src/onetrading.js +1 -1
  78. package/dist/cjs/src/oxfun.js +2 -2
  79. package/dist/cjs/src/p2b.js +1 -1
  80. package/dist/cjs/src/paymium.js +1 -1
  81. package/dist/cjs/src/phemex.js +30 -3
  82. package/dist/cjs/src/poloniex.js +6 -4
  83. package/dist/cjs/src/poloniexfutures.js +1 -1
  84. package/dist/cjs/src/pro/binance.js +3 -3
  85. package/dist/cjs/src/pro/bitvavo.js +2 -2
  86. package/dist/cjs/src/pro/bybit.js +22 -14
  87. package/dist/cjs/src/pro/cex.js +3 -3
  88. package/dist/cjs/src/pro/coinbase.js +23 -1
  89. package/dist/cjs/src/pro/cryptocom.js +1 -1
  90. package/dist/cjs/src/pro/gate.js +2 -2
  91. package/dist/cjs/src/pro/hitbtc.js +1 -1
  92. package/dist/cjs/src/pro/kraken.js +2 -2
  93. package/dist/cjs/src/pro/kucoin.js +66 -28
  94. package/dist/cjs/src/pro/okx.js +2 -2
  95. package/dist/cjs/src/pro/oxfun.js +2 -2
  96. package/dist/cjs/src/pro/poloniex.js +1 -1
  97. package/dist/cjs/src/pro/vertex.js +2 -2
  98. package/dist/cjs/src/probit.js +1 -1
  99. package/dist/cjs/src/timex.js +1 -1
  100. package/dist/cjs/src/tokocrypto.js +1 -1
  101. package/dist/cjs/src/tradeogre.js +1 -1
  102. package/dist/cjs/src/upbit.js +1 -1
  103. package/dist/cjs/src/vertex.js +2 -2
  104. package/dist/cjs/src/wavesexchange.js +1 -1
  105. package/dist/cjs/src/wazirx.js +1 -1
  106. package/dist/cjs/src/whitebit.js +2 -2
  107. package/dist/cjs/src/woo.js +34 -26
  108. package/dist/cjs/src/woofipro.js +3 -3
  109. package/dist/cjs/src/yobit.js +1 -1
  110. package/dist/cjs/src/zaif.js +1 -1
  111. package/dist/cjs/src/zonda.js +1 -1
  112. package/js/ccxt.d.ts +1 -1
  113. package/js/ccxt.js +1 -1
  114. package/js/src/abstract/kucoin.d.ts +3 -0
  115. package/js/src/abstract/kucoinfutures.d.ts +3 -0
  116. package/js/src/ace.js +1 -1
  117. package/js/src/alpaca.js +1 -1
  118. package/js/src/ascendex.d.ts +1 -1
  119. package/js/src/ascendex.js +6 -4
  120. package/js/src/base/types.d.ts +4 -0
  121. package/js/src/bigone.js +1 -1
  122. package/js/src/binance.js +6 -6
  123. package/js/src/bingx.js +4 -4
  124. package/js/src/bit2c.js +1 -1
  125. package/js/src/bitbank.js +1 -1
  126. package/js/src/bitbns.js +1 -1
  127. package/js/src/bitfinex.js +1 -1
  128. package/js/src/bitfinex2.js +1 -1
  129. package/js/src/bitflyer.js +1 -1
  130. package/js/src/bitget.js +2 -2
  131. package/js/src/bithumb.js +1 -1
  132. package/js/src/bitmart.js +3 -3
  133. package/js/src/bitmex.js +1 -1
  134. package/js/src/bitopro.js +1 -1
  135. package/js/src/bitrue.js +1 -1
  136. package/js/src/bitso.js +1 -1
  137. package/js/src/bitstamp.js +1 -1
  138. package/js/src/bitteam.js +1 -1
  139. package/js/src/bitvavo.js +2 -2
  140. package/js/src/bl3p.js +1 -1
  141. package/js/src/blockchaincom.js +28 -28
  142. package/js/src/blofin.js +1 -1
  143. package/js/src/btcalpha.js +5 -13
  144. package/js/src/btcbox.js +1 -1
  145. package/js/src/btcmarkets.js +1 -1
  146. package/js/src/btcturk.js +1 -1
  147. package/js/src/bybit.js +2 -2
  148. package/js/src/cex.js +2 -2
  149. package/js/src/coinbase.js +33 -33
  150. package/js/src/coinbaseexchange.js +1 -1
  151. package/js/src/coinbaseinternational.js +1 -1
  152. package/js/src/coincheck.js +1 -1
  153. package/js/src/coinex.js +2 -2
  154. package/js/src/coinlist.js +2 -2
  155. package/js/src/coinmate.js +1 -1
  156. package/js/src/coinmetro.js +1 -1
  157. package/js/src/coinone.js +1 -1
  158. package/js/src/coinsph.js +1 -1
  159. package/js/src/coinspot.js +1 -1
  160. package/js/src/cryptocom.js +1 -1
  161. package/js/src/currencycom.js +1 -1
  162. package/js/src/delta.js +2 -2
  163. package/js/src/deribit.js +4 -4
  164. package/js/src/digifinex.js +2 -2
  165. package/js/src/exmo.js +2 -2
  166. package/js/src/gate.js +2 -2
  167. package/js/src/gemini.js +1 -1
  168. package/js/src/hitbtc.js +1 -1
  169. package/js/src/hollaex.js +1 -1
  170. package/js/src/htx.js +3 -3
  171. package/js/src/huobijp.js +1 -1
  172. package/js/src/hyperliquid.js +2 -2
  173. package/js/src/idex.js +1 -1
  174. package/js/src/independentreserve.js +1 -1
  175. package/js/src/indodax.js +1 -1
  176. package/js/src/kraken.js +2 -2
  177. package/js/src/kucoin.d.ts +1 -0
  178. package/js/src/kucoin.js +136 -47
  179. package/js/src/kucoinfutures.js +1 -1
  180. package/js/src/kuna.js +1 -1
  181. package/js/src/latoken.js +1 -1
  182. package/js/src/lbank.js +1 -1
  183. package/js/src/luno.js +1 -1
  184. package/js/src/lykke.js +1 -1
  185. package/js/src/mercado.js +1 -1
  186. package/js/src/mexc.js +1 -1
  187. package/js/src/ndax.js +1 -1
  188. package/js/src/novadax.js +1 -1
  189. package/js/src/oceanex.js +1 -1
  190. package/js/src/okcoin.js +1 -1
  191. package/js/src/okx.js +3 -3
  192. package/js/src/onetrading.js +1 -1
  193. package/js/src/oxfun.js +2 -2
  194. package/js/src/p2b.js +1 -1
  195. package/js/src/paymium.js +1 -1
  196. package/js/src/phemex.d.ts +1 -1
  197. package/js/src/phemex.js +30 -3
  198. package/js/src/poloniex.js +6 -4
  199. package/js/src/poloniexfutures.js +1 -1
  200. package/js/src/pro/binance.js +3 -3
  201. package/js/src/pro/bitvavo.js +2 -2
  202. package/js/src/pro/bybit.d.ts +1 -1
  203. package/js/src/pro/bybit.js +22 -14
  204. package/js/src/pro/cex.js +3 -3
  205. package/js/src/pro/coinbase.d.ts +1 -0
  206. package/js/src/pro/coinbase.js +23 -1
  207. package/js/src/pro/cryptocom.js +1 -1
  208. package/js/src/pro/gate.js +2 -2
  209. package/js/src/pro/hitbtc.js +1 -1
  210. package/js/src/pro/kraken.js +2 -2
  211. package/js/src/pro/kucoin.js +66 -28
  212. package/js/src/pro/okx.js +2 -2
  213. package/js/src/pro/oxfun.js +2 -2
  214. package/js/src/pro/poloniex.js +1 -1
  215. package/js/src/pro/vertex.js +2 -2
  216. package/js/src/probit.js +1 -1
  217. package/js/src/timex.js +1 -1
  218. package/js/src/tokocrypto.js +1 -1
  219. package/js/src/tradeogre.js +1 -1
  220. package/js/src/upbit.js +1 -1
  221. package/js/src/vertex.js +2 -2
  222. package/js/src/wavesexchange.js +1 -1
  223. package/js/src/wazirx.js +1 -1
  224. package/js/src/whitebit.js +2 -2
  225. package/js/src/woo.d.ts +1 -0
  226. package/js/src/woo.js +34 -26
  227. package/js/src/woofipro.js +3 -3
  228. package/js/src/yobit.js +1 -1
  229. package/js/src/zaif.js +1 -1
  230. package/js/src/zonda.js +1 -1
  231. package/package.json +54 -52
@@ -137,9 +137,9 @@ export default class blockchaincom extends Exchange {
137
137
  'percentage': true,
138
138
  'tiers': {
139
139
  'taker': [
140
- [this.parseNumber('0'), this.parseNumber('0.004')],
141
- [this.parseNumber('10000'), this.parseNumber('0.0022')],
142
- [this.parseNumber('50000'), this.parseNumber('0.002')],
140
+ [this.parseNumber('0'), this.parseNumber('0.0045')],
141
+ [this.parseNumber('10000'), this.parseNumber('0.0035')],
142
+ [this.parseNumber('50000'), this.parseNumber('0.0018')],
143
143
  [this.parseNumber('100000'), this.parseNumber('0.0018')],
144
144
  [this.parseNumber('500000'), this.parseNumber('0.0018')],
145
145
  [this.parseNumber('1000000'), this.parseNumber('0.0018')],
@@ -151,11 +151,11 @@ export default class blockchaincom extends Exchange {
151
151
  [this.parseNumber('1000000000'), this.parseNumber('0.0006')],
152
152
  ],
153
153
  'maker': [
154
- [this.parseNumber('0'), this.parseNumber('0.002')],
155
- [this.parseNumber('10000'), this.parseNumber('0.0012')],
156
- [this.parseNumber('50000'), this.parseNumber('0.001')],
154
+ [this.parseNumber('0'), this.parseNumber('0.004')],
155
+ [this.parseNumber('10000'), this.parseNumber('0.0017')],
156
+ [this.parseNumber('50000'), this.parseNumber('0.0015')],
157
157
  [this.parseNumber('100000'), this.parseNumber('0.0008')],
158
- [this.parseNumber('500000'), this.parseNumber('0.0007000000000000001')],
158
+ [this.parseNumber('500000'), this.parseNumber('0.0007')],
159
159
  [this.parseNumber('1000000'), this.parseNumber('0.0006')],
160
160
  [this.parseNumber('2500000'), this.parseNumber('0.0005')],
161
161
  [this.parseNumber('5000000'), this.parseNumber('0.0004')],
@@ -229,7 +229,7 @@ export default class blockchaincom extends Exchange {
229
229
  * @method
230
230
  * @name blockchaincom#fetchMarkets
231
231
  * @description retrieves data on all markets for blockchaincom
232
- * @see https://api.blockchain.com/v3/#/unauthenticated/getSymbols
232
+ * @see https://api.blockchain.com/v3/#getsymbols
233
233
  * @param {object} [params] extra parameters specific to the exchange API endpoint
234
234
  * @returns {object[]} an array of objects representing market data
235
235
  */
@@ -360,7 +360,7 @@ export default class blockchaincom extends Exchange {
360
360
  * @method
361
361
  * @name blockchaincom#fetchOrderBook
362
362
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
363
- * @see https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
363
+ * @see https://api.blockchain.com/v3/#getl3orderbook
364
364
  * @param {string} symbol unified symbol of the market to fetch the order book for
365
365
  * @param {int} [limit] the maximum amount of order book entries to return
366
366
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -373,7 +373,7 @@ export default class blockchaincom extends Exchange {
373
373
  * @method
374
374
  * @name blockchaincom#fetchL3OrderBook
375
375
  * @description fetches level 3 information on open orders with bid (buy) and ask (sell) prices, volumes and other data
376
- * @see https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
376
+ * @see https://api.blockchain.com/v3/#getl3orderbook
377
377
  * @param {string} symbol unified market symbol
378
378
  * @param {int} [limit] max number of orders to return, default is undefined
379
379
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -444,7 +444,7 @@ export default class blockchaincom extends Exchange {
444
444
  * @method
445
445
  * @name blockchaincom#fetchTicker
446
446
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
447
- * @see https://api.blockchain.com/v3/#/unauthenticated/getTickerBySymbol
447
+ * @see https://api.blockchain.com/v3/#gettickerbysymbol
448
448
  * @param {string} symbol unified symbol of the market to fetch the ticker for
449
449
  * @param {object} [params] extra parameters specific to the exchange API endpoint
450
450
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -462,7 +462,7 @@ export default class blockchaincom extends Exchange {
462
462
  * @method
463
463
  * @name blockchaincom#fetchTickers
464
464
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
465
- * @see https://api.blockchain.com/v3/#/unauthenticated/getTickers
465
+ * @see https://api.blockchain.com/v3/#gettickers
466
466
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
467
467
  * @param {object} [params] extra parameters specific to the exchange API endpoint
468
468
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -543,12 +543,12 @@ export default class blockchaincom extends Exchange {
543
543
  * @method
544
544
  * @name blockchaincom#createOrder
545
545
  * @description create a trade order
546
- * @see https://api.blockchain.com/v3/#/trading/createOrder
546
+ * @see https://api.blockchain.com/v3/#createorder
547
547
  * @param {string} symbol unified symbol of the market to create an order in
548
548
  * @param {string} type 'market' or 'limit'
549
549
  * @param {string} side 'buy' or 'sell'
550
550
  * @param {float} amount how much of currency you want to trade in units of base currency
551
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
551
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
552
552
  * @param {object} [params] extra parameters specific to the exchange API endpoint
553
553
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
554
554
  */
@@ -606,7 +606,7 @@ export default class blockchaincom extends Exchange {
606
606
  * @method
607
607
  * @name blockchaincom#cancelOrder
608
608
  * @description cancels an open order
609
- * @see https://api.blockchain.com/v3/#/trading/deleteOrder
609
+ * @see https://api.blockchain.com/v3/#deleteorder
610
610
  * @param {string} id order id
611
611
  * @param {string} symbol unified symbol of the market the order was made in
612
612
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -656,7 +656,7 @@ export default class blockchaincom extends Exchange {
656
656
  * @method
657
657
  * @name blockchaincom#fetchTradingFees
658
658
  * @description fetch the trading fees for multiple markets
659
- * @see https://api.blockchain.com/v3/#/trading/getFees
659
+ * @see https://api.blockchain.com/v3/#getfees
660
660
  * @param {object} [params] extra parameters specific to the exchange API endpoint
661
661
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
662
662
  */
@@ -688,7 +688,7 @@ export default class blockchaincom extends Exchange {
688
688
  * @method
689
689
  * @name blockchaincom#fetchCanceledOrders
690
690
  * @description fetches information on multiple canceled orders made by the user
691
- * @see https://api.blockchain.com/v3/#/trading/getOrders
691
+ * @see https://api.blockchain.com/v3/#getorders
692
692
  * @param {string} symbol unified market symbol of the market orders were made in
693
693
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
694
694
  * @param {int} [limit] max number of orders to return, default is undefined
@@ -703,7 +703,7 @@ export default class blockchaincom extends Exchange {
703
703
  * @method
704
704
  * @name blockchaincom#fetchClosedOrders
705
705
  * @description fetches information on multiple closed orders made by the user
706
- * @see https://api.blockchain.com/v3/#/trading/getOrders
706
+ * @see https://api.blockchain.com/v3/#getorders
707
707
  * @param {string} symbol unified market symbol of the market orders were made in
708
708
  * @param {int} [since] the earliest time in ms to fetch orders for
709
709
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -718,7 +718,7 @@ export default class blockchaincom extends Exchange {
718
718
  * @method
719
719
  * @name blockchaincom#fetchOpenOrders
720
720
  * @description fetch all unfilled currently open orders
721
- * @see https://api.blockchain.com/v3/#/trading/getOrders
721
+ * @see https://api.blockchain.com/v3/#getorders
722
722
  * @param {string} symbol unified market symbol
723
723
  * @param {int} [since] the earliest time in ms to fetch open orders for
724
724
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -795,7 +795,7 @@ export default class blockchaincom extends Exchange {
795
795
  * @method
796
796
  * @name blockchaincom#fetchMyTrades
797
797
  * @description fetch all trades made by the user
798
- * @see https://api.blockchain.com/v3/#/trading/getFills
798
+ * @see https://api.blockchain.com/v3/#getfills
799
799
  * @param {string} symbol unified market symbol
800
800
  * @param {int} [since] the earliest time in ms to fetch trades for
801
801
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -820,7 +820,7 @@ export default class blockchaincom extends Exchange {
820
820
  * @method
821
821
  * @name blockchaincom#fetchDepositAddress
822
822
  * @description fetch the deposit address for a currency associated with this account
823
- * @see https://api.blockchain.com/v3/#/payments/getDepositAddress
823
+ * @see https://api.blockchain.com/v3/#getdepositaddress
824
824
  * @param {string} code unified currency code
825
825
  * @param {object} [params] extra parameters specific to the exchange API endpoint
826
826
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -934,7 +934,7 @@ export default class blockchaincom extends Exchange {
934
934
  * @method
935
935
  * @name blockchaincom#withdraw
936
936
  * @description make a withdrawal
937
- * @see https://api.blockchain.com/v3/#/payments/createWithdrawal
937
+ * @see https://api.blockchain.com/v3/#createwithdrawal
938
938
  * @param {string} code unified currency code
939
939
  * @param {float} amount the amount to withdraw
940
940
  * @param {string} address the address to withdraw to
@@ -969,7 +969,7 @@ export default class blockchaincom extends Exchange {
969
969
  * @method
970
970
  * @name blockchaincom#fetchWithdrawals
971
971
  * @description fetch all withdrawals made from an account
972
- * @see https://api.blockchain.com/v3/#/payments/getWithdrawals
972
+ * @see https://api.blockchain.com/v3/#getwithdrawals
973
973
  * @param {string} code unified currency code
974
974
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
975
975
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -996,7 +996,7 @@ export default class blockchaincom extends Exchange {
996
996
  * @method
997
997
  * @name blockchaincom#fetchWithdrawal
998
998
  * @description fetch data on a currency withdrawal via the withdrawal id
999
- * @see https://api.blockchain.com/v3/#/payments/getWithdrawalById
999
+ * @see https://api.blockchain.com/v3/#getwithdrawalbyid
1000
1000
  * @param {string} id withdrawal id
1001
1001
  * @param {string} code not used by blockchaincom.fetchWithdrawal
1002
1002
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1014,7 +1014,7 @@ export default class blockchaincom extends Exchange {
1014
1014
  * @method
1015
1015
  * @name blockchaincom#fetchDeposits
1016
1016
  * @description fetch all deposits made to an account
1017
- * @see https://api.blockchain.com/v3/#/payments/getDeposits
1017
+ * @see https://api.blockchain.com/v3/#getdeposits
1018
1018
  * @param {string} code unified currency code
1019
1019
  * @param {int} [since] the earliest time in ms to fetch deposits for
1020
1020
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -1041,7 +1041,7 @@ export default class blockchaincom extends Exchange {
1041
1041
  * @method
1042
1042
  * @name blockchaincom#fetchDeposit
1043
1043
  * @description fetch information on a deposit
1044
- * @see https://api.blockchain.com/v3/#/payments/getDepositById
1044
+ * @see https://api.blockchain.com/v3/#getdepositbyid
1045
1045
  * @param {string} id deposit id
1046
1046
  * @param {string} code not used by blockchaincom fetchDeposit ()
1047
1047
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1060,7 +1060,7 @@ export default class blockchaincom extends Exchange {
1060
1060
  * @method
1061
1061
  * @name blockchaincom#fetchBalance
1062
1062
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1063
- * @see https://api.blockchain.com/v3/#/payments/getAccounts
1063
+ * @see https://api.blockchain.com/v3/#getaccounts
1064
1064
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1065
1065
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1066
1066
  */
@@ -1107,7 +1107,7 @@ export default class blockchaincom extends Exchange {
1107
1107
  * @method
1108
1108
  * @name blockchaincom#fetchOrder
1109
1109
  * @description fetches information on an order made by the user
1110
- * @see https://api.blockchain.com/v3/#/trading/getOrderById
1110
+ * @see https://api.blockchain.com/v3/#getorderbyid
1111
1111
  * @param {string} symbol not used by blockchaincom fetchOrder
1112
1112
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1113
1113
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
package/js/src/blofin.js CHANGED
@@ -1166,7 +1166,7 @@ export default class blofin extends Exchange {
1166
1166
  * @param {string} type 'market' or 'limit' or 'post_only' or 'ioc' or 'fok'
1167
1167
  * @param {string} side 'buy' or 'sell'
1168
1168
  * @param {float} amount how much of currency you want to trade in units of base currency
1169
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1169
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1170
1170
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1171
1171
  * @param {bool} [params.reduceOnly] a mark to reduce the position size for margin, swap and future orders
1172
1172
  * @param {bool} [params.postOnly] true to place a post only order
@@ -6,7 +6,7 @@
6
6
 
7
7
  // ---------------------------------------------------------------------------
8
8
  import Exchange from './abstract/btcalpha.js';
9
- import { ExchangeError, AuthenticationError, DDoSProtection, InvalidOrder, InsufficientFunds } from './base/errors.js';
9
+ import { ExchangeError, InvalidOrder, InsufficientFunds } from './base/errors.js';
10
10
  import { Precise } from './base/Precise.js';
11
11
  import { TICK_SIZE } from './base/functions/number.js';
12
12
  import { sha256 } from './static_dependencies/noble-hashes/sha256.js';
@@ -744,7 +744,7 @@ export default class btcalpha extends Exchange {
744
744
  * @param {string} type 'limit'
745
745
  * @param {string} side 'buy' or 'sell'
746
746
  * @param {float} amount how much of currency you want to trade in units of base currency
747
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
747
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
748
748
  * @param {object} [params] extra parameters specific to the exchange API endpoint
749
749
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
750
750
  */
@@ -932,20 +932,12 @@ export default class btcalpha extends Exchange {
932
932
  // {"date":1570599531.4814300537,"error":"Out of balance -9.99243661 BTC"}
933
933
  //
934
934
  const error = this.safeString(response, 'error');
935
- const feedback = this.id + ' ' + body;
936
935
  if (error !== undefined) {
936
+ const feedback = this.id + ' ' + body;
937
937
  this.throwExactlyMatchedException(this.exceptions['exact'], error, feedback);
938
938
  this.throwBroadlyMatchedException(this.exceptions['broad'], error, feedback);
939
+ throw new ExchangeError(feedback); // unknown error
939
940
  }
940
- if (code === 401 || code === 403) {
941
- throw new AuthenticationError(feedback);
942
- }
943
- else if (code === 429) {
944
- throw new DDoSProtection(feedback);
945
- }
946
- if (code < 400) {
947
- return undefined;
948
- }
949
- throw new ExchangeError(feedback);
941
+ return undefined;
950
942
  }
951
943
  }
package/js/src/btcbox.js CHANGED
@@ -305,7 +305,7 @@ export default class btcbox extends Exchange {
305
305
  * @param {string} type 'market' or 'limit'
306
306
  * @param {string} side 'buy' or 'sell'
307
307
  * @param {float} amount how much of currency you want to trade in units of base currency
308
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
308
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
309
309
  * @param {object} [params] extra parameters specific to the exchange API endpoint
310
310
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
311
311
  */
@@ -791,7 +791,7 @@ export default class btcmarkets extends Exchange {
791
791
  * @param {string} type 'market' or 'limit'
792
792
  * @param {string} side 'buy' or 'sell'
793
793
  * @param {float} amount how much of currency you want to trade in units of base currency
794
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
794
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
795
795
  * @param {object} [params] extra parameters specific to the exchange API endpoint
796
796
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
797
797
  */
package/js/src/btcturk.js CHANGED
@@ -675,7 +675,7 @@ export default class btcturk extends Exchange {
675
675
  * @param {string} type 'market' or 'limit'
676
676
  * @param {string} side 'buy' or 'sell'
677
677
  * @param {float} amount how much of currency you want to trade in units of base currency
678
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
678
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
679
679
  * @param {object} [params] extra parameters specific to the exchange API endpoint
680
680
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
681
681
  */
package/js/src/bybit.js CHANGED
@@ -3511,7 +3511,7 @@ export default class bybit extends Exchange {
3511
3511
  * @param {string} type 'market' or 'limit'
3512
3512
  * @param {string} side 'buy' or 'sell'
3513
3513
  * @param {float} amount how much of currency you want to trade in units of base currency
3514
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
3514
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3515
3515
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3516
3516
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK"
3517
3517
  * @param {bool} [params.postOnly] true or false whether the order is post-only
@@ -4167,7 +4167,7 @@ export default class bybit extends Exchange {
4167
4167
  * @param {string} type 'market' or 'limit'
4168
4168
  * @param {string} side 'buy' or 'sell'
4169
4169
  * @param {float} amount how much of currency you want to trade in units of base currency
4170
- * @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4170
+ * @param {float} price the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4171
4171
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4172
4172
  * @param {float} [params.triggerPrice] The price that a trigger order is triggered at
4173
4173
  * @param {float} [params.stopLossPrice] The price that a stop loss order is triggered at
package/js/src/cex.js CHANGED
@@ -760,7 +760,7 @@ export default class cex extends Exchange {
760
760
  * @param {string} type 'market' or 'limit'
761
761
  * @param {string} side 'buy' or 'sell'
762
762
  * @param {float} amount how much of currency you want to trade in units of base currency
763
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
763
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
764
764
  * @param {object} [params] extra parameters specific to the exchange API endpoint
765
765
  * @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount for market buy orders
766
766
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1568,7 +1568,7 @@ export default class cex extends Exchange {
1568
1568
  * @param {string} type 'market' or 'limit'
1569
1569
  * @param {string} side 'buy' or 'sell'
1570
1570
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1571
- * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1571
+ * @param {float|undefined} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1572
1572
  * @param {object} [params] extra parameters specific to the cex api endpoint
1573
1573
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1574
1574
  */
@@ -25,7 +25,7 @@ export default class coinbase extends Exchange {
25
25
  'pro': true,
26
26
  'certified': true,
27
27
  // rate-limits:
28
- // ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-rate-limits
28
+ // ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade/docs/rest-api-rate-limits
29
29
  // - max 30 req/second for private data, 10 req/s for public data
30
30
  // DATA API : https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/rate-limiting
31
31
  // - max 10000 req/hour (to prevent userland mistakes we apply ~3 req/second RL per call
@@ -131,7 +131,7 @@ export default class coinbase extends Exchange {
131
131
  'www': 'https://www.coinbase.com',
132
132
  'doc': [
133
133
  'https://developers.coinbase.com/api/v2',
134
- 'https://docs.cloud.coinbase.com/advanced-trade-api/docs/welcome',
134
+ 'https://docs.cloud.coinbase.com/advanced-trade/docs/welcome',
135
135
  ],
136
136
  'fees': [
137
137
  'https://support.coinbase.com/customer/portal/articles/2109597-buy-sell-bank-transfer-fees',
@@ -419,7 +419,7 @@ export default class coinbase extends Exchange {
419
419
  * @method
420
420
  * @name coinbase#fetchAccounts
421
421
  * @description fetch all the accounts associated with a profile
422
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
422
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
423
423
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
424
424
  * @param {object} [params] extra parameters specific to the exchange API endpoint
425
425
  * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
@@ -556,7 +556,7 @@ export default class coinbase extends Exchange {
556
556
  * @method
557
557
  * @name coinbase#fetchPortfolios
558
558
  * @description fetch all the portfolios
559
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getportfolios
559
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getportfolios
560
560
  * @param {object} [params] extra parameters specific to the exchange API endpoint
561
561
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
562
562
  */
@@ -1104,7 +1104,7 @@ export default class coinbase extends Exchange {
1104
1104
  /**
1105
1105
  * @method
1106
1106
  * @name coinbase#fetchMarkets
1107
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproducts
1107
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproducts
1108
1108
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1109
1109
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1110
1110
  * @description retrieves data on all markets for coinbase
@@ -1768,7 +1768,7 @@ export default class coinbase extends Exchange {
1768
1768
  * @method
1769
1769
  * @name coinbase#fetchTickers
1770
1770
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1771
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getproducts
1771
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getproducts
1772
1772
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1773
1773
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1774
1774
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1889,7 +1889,7 @@ export default class coinbase extends Exchange {
1889
1889
  * @method
1890
1890
  * @name coinbase#fetchTicker
1891
1891
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1892
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getmarkettrades
1892
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getmarkettrades
1893
1893
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-spot-price
1894
1894
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-buy-price
1895
1895
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-sell-price
@@ -2151,9 +2151,9 @@ export default class coinbase extends Exchange {
2151
2151
  * @method
2152
2152
  * @name coinbase#fetchBalance
2153
2153
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
2154
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
2154
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
2155
2155
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
2156
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmbalancesummary
2156
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmbalancesummary
2157
2157
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2158
2158
  * @param {boolean} [params.v3] default false, set true to use v3 api endpoint
2159
2159
  * @param {object} [params.type] "spot" (default) or "swap" or "future"
@@ -2674,7 +2674,7 @@ export default class coinbase extends Exchange {
2674
2674
  * @method
2675
2675
  * @name coinbase#createMarketBuyOrderWithCost
2676
2676
  * @description create a market buy order by providing the symbol and cost
2677
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2677
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2678
2678
  * @param {string} symbol unified symbol of the market to create an order in
2679
2679
  * @param {float} cost how much you want to trade in units of the quote currency
2680
2680
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -2693,7 +2693,7 @@ export default class coinbase extends Exchange {
2693
2693
  * @method
2694
2694
  * @name coinbase#createOrder
2695
2695
  * @description create a trade order
2696
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2696
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2697
2697
  * @param {string} symbol unified symbol of the market to create an order in
2698
2698
  * @param {string} type 'market' or 'limit'
2699
2699
  * @param {string} side 'buy' or 'sell'
@@ -3119,7 +3119,7 @@ export default class coinbase extends Exchange {
3119
3119
  * @method
3120
3120
  * @name coinbase#cancelOrder
3121
3121
  * @description cancels an open order
3122
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
3122
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3123
3123
  * @param {string} id order id
3124
3124
  * @param {string} symbol not used by coinbase cancelOrder()
3125
3125
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3134,7 +3134,7 @@ export default class coinbase extends Exchange {
3134
3134
  * @method
3135
3135
  * @name coinbase#cancelOrders
3136
3136
  * @description cancel multiple orders
3137
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
3137
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3138
3138
  * @param {string[]} ids order ids
3139
3139
  * @param {string} symbol not used by coinbase cancelOrders()
3140
3140
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3174,13 +3174,13 @@ export default class coinbase extends Exchange {
3174
3174
  * @method
3175
3175
  * @name coinbase#editOrder
3176
3176
  * @description edit a trade order
3177
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_editorder
3177
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_editorder
3178
3178
  * @param {string} id cancel order id
3179
3179
  * @param {string} symbol unified symbol of the market to create an order in
3180
3180
  * @param {string} type 'market' or 'limit'
3181
3181
  * @param {string} side 'buy' or 'sell'
3182
3182
  * @param {float} amount how much of currency you want to trade in units of base currency
3183
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3183
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3184
3184
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3185
3185
  * @param {boolean} [params.preview] default to false, wether to use the test/preview endpoint or not
3186
3186
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -3221,7 +3221,7 @@ export default class coinbase extends Exchange {
3221
3221
  * @method
3222
3222
  * @name coinbase#fetchOrder
3223
3223
  * @description fetches information on an order made by the user
3224
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorder
3224
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorder
3225
3225
  * @param {string} id the order id
3226
3226
  * @param {string} symbol unified market symbol that the order was made in
3227
3227
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3283,7 +3283,7 @@ export default class coinbase extends Exchange {
3283
3283
  * @method
3284
3284
  * @name coinbase#fetchOrders
3285
3285
  * @description fetches information on multiple orders made by the user
3286
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3286
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3287
3287
  * @param {string} symbol unified market symbol that the orders were made in
3288
3288
  * @param {int} [since] the earliest time in ms to fetch orders
3289
3289
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -3450,7 +3450,7 @@ export default class coinbase extends Exchange {
3450
3450
  * @method
3451
3451
  * @name coinbase#fetchOpenOrders
3452
3452
  * @description fetches information on all currently open orders
3453
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3453
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3454
3454
  * @param {string} symbol unified market symbol of the orders
3455
3455
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3456
3456
  * @param {int} [limit] the maximum number of open order structures to retrieve
@@ -3472,7 +3472,7 @@ export default class coinbase extends Exchange {
3472
3472
  * @method
3473
3473
  * @name coinbase#fetchClosedOrders
3474
3474
  * @description fetches information on multiple closed orders made by the user
3475
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3475
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3476
3476
  * @param {string} symbol unified market symbol of the orders
3477
3477
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3478
3478
  * @param {int} [limit] the maximum number of closed order structures to retrieve
@@ -3494,7 +3494,7 @@ export default class coinbase extends Exchange {
3494
3494
  * @method
3495
3495
  * @name coinbase#fetchCanceledOrders
3496
3496
  * @description fetches information on multiple canceled orders made by the user
3497
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3497
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3498
3498
  * @param {string} symbol unified market symbol of the orders
3499
3499
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3500
3500
  * @param {int} [limit] the maximum number of canceled order structures to retrieve
@@ -3508,7 +3508,7 @@ export default class coinbase extends Exchange {
3508
3508
  * @method
3509
3509
  * @name coinbase#fetchOHLCV
3510
3510
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
3511
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpubliccandles
3511
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpubliccandles
3512
3512
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
3513
3513
  * @param {string} timeframe the length of time each candle represents
3514
3514
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -3605,7 +3605,7 @@ export default class coinbase extends Exchange {
3605
3605
  * @method
3606
3606
  * @name coinbase#fetchTrades
3607
3607
  * @description get the list of most recent trades for a particular symbol
3608
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicmarkettrades
3608
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicmarkettrades
3609
3609
  * @param {string} symbol unified market symbol of the trades
3610
3610
  * @param {int} [since] not used by coinbase fetchTrades
3611
3611
  * @param {int} [limit] the maximum number of trade structures to fetch
@@ -3665,7 +3665,7 @@ export default class coinbase extends Exchange {
3665
3665
  * @method
3666
3666
  * @name coinbase#fetchMyTrades
3667
3667
  * @description fetch all trades made by the user
3668
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfills
3668
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfills
3669
3669
  * @param {string} symbol unified market symbol of the trades
3670
3670
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3671
3671
  * @param {int} [limit] the maximum number of trade structures to fetch
@@ -3737,7 +3737,7 @@ export default class coinbase extends Exchange {
3737
3737
  * @method
3738
3738
  * @name coinbase#fetchOrderBook
3739
3739
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
3740
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproductbook
3740
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproductbook
3741
3741
  * @param {string} symbol unified symbol of the market to fetch the order book for
3742
3742
  * @param {int} [limit] the maximum amount of order book entries to return
3743
3743
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3791,7 +3791,7 @@ export default class coinbase extends Exchange {
3791
3791
  * @method
3792
3792
  * @name coinbase#fetchBidsAsks
3793
3793
  * @description fetches the bid and ask price and volume for multiple markets
3794
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getbestbidask
3794
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getbestbidask
3795
3795
  * @param {string[]} [symbols] unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
3796
3796
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3797
3797
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -4200,7 +4200,7 @@ export default class coinbase extends Exchange {
4200
4200
  * @method
4201
4201
  * @name coinbase#fetchConvertQuote
4202
4202
  * @description fetch a quote for converting from one currency to another
4203
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_createconvertquote
4203
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_createconvertquote
4204
4204
  * @param {string} fromCode the currency that you want to sell and convert from
4205
4205
  * @param {string} toCode the currency that you want to buy and convert into
4206
4206
  * @param {float} [amount] how much you want to trade in units of the from currency
@@ -4225,7 +4225,7 @@ export default class coinbase extends Exchange {
4225
4225
  * @method
4226
4226
  * @name coinbase#createConvertTrade
4227
4227
  * @description convert from one currency to another
4228
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_commitconverttrade
4228
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_commitconverttrade
4229
4229
  * @param {string} id the id of the trade that you want to make
4230
4230
  * @param {string} fromCode the currency that you want to sell and convert from
4231
4231
  * @param {string} toCode the currency that you want to buy and convert into
@@ -4248,7 +4248,7 @@ export default class coinbase extends Exchange {
4248
4248
  * @method
4249
4249
  * @name coinbase#fetchConvertTrade
4250
4250
  * @description fetch the data for a conversion trade
4251
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getconverttrade
4251
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getconverttrade
4252
4252
  * @param {string} id the id of the trade that you want to commit
4253
4253
  * @param {string} code the unified currency code that was converted from
4254
4254
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -4330,8 +4330,8 @@ export default class coinbase extends Exchange {
4330
4330
  * @method
4331
4331
  * @name coinbase#fetchPositions
4332
4332
  * @description fetch all open positions
4333
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmpositions
4334
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxpositions
4333
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmpositions
4334
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxpositions
4335
4335
  * @param {string[]} [symbols] list of unified market symbols
4336
4336
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4337
4337
  * @param {string} [params.portfolio] the portfolio UUID to fetch positions for
@@ -4368,8 +4368,8 @@ export default class coinbase extends Exchange {
4368
4368
  * @method
4369
4369
  * @name coinbase#fetchPosition
4370
4370
  * @description fetch data on a single open contract trade position
4371
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxposition
4372
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmposition
4371
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxposition
4372
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmposition
4373
4373
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
4374
4374
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4375
4375
  * @param {string} [params.product_id] *futures only* the product id of the position to fetch, required for futures markets only
@@ -4669,7 +4669,7 @@ export default class coinbase extends Exchange {
4669
4669
  }
4670
4670
  }
4671
4671
  // v3: 'GET' doesn't need payload in the signature. inside url is enough
4672
- // https://docs.cloud.coinbase.com/advanced-trade-api/docs/auth#example-request
4672
+ // https://docs.cloud.coinbase.com/advanced-trade/docs/auth#example-request
4673
4673
  // v2: 'GET' require payload in the signature
4674
4674
  // https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-key-authentication
4675
4675
  const isCloudAPiKey = (this.apiKey.indexOf('organizations/') >= 0) || (this.secret.startsWith('-----BEGIN'));
@@ -1222,7 +1222,7 @@ export default class coinbaseexchange extends Exchange {
1222
1222
  * @param {string} type 'market' or 'limit'
1223
1223
  * @param {string} side 'buy' or 'sell'
1224
1224
  * @param {float} amount how much of currency you want to trade in units of base currency
1225
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1225
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1226
1226
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1227
1227
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1228
1228
  */