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
@@ -741,7 +741,7 @@ class btcalpha extends btcalpha$1 {
741
741
  * @param {string} type 'limit'
742
742
  * @param {string} side 'buy' or 'sell'
743
743
  * @param {float} amount how much of currency you want to trade in units of base currency
744
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
744
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
745
745
  * @param {object} [params] extra parameters specific to the exchange API endpoint
746
746
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
747
747
  */
@@ -929,21 +929,13 @@ class btcalpha extends btcalpha$1 {
929
929
  // {"date":1570599531.4814300537,"error":"Out of balance -9.99243661 BTC"}
930
930
  //
931
931
  const error = this.safeString(response, 'error');
932
- const feedback = this.id + ' ' + body;
933
932
  if (error !== undefined) {
933
+ const feedback = this.id + ' ' + body;
934
934
  this.throwExactlyMatchedException(this.exceptions['exact'], error, feedback);
935
935
  this.throwBroadlyMatchedException(this.exceptions['broad'], error, feedback);
936
+ throw new errors.ExchangeError(feedback); // unknown error
936
937
  }
937
- if (code === 401 || code === 403) {
938
- throw new errors.AuthenticationError(feedback);
939
- }
940
- else if (code === 429) {
941
- throw new errors.DDoSProtection(feedback);
942
- }
943
- if (code < 400) {
944
- return undefined;
945
- }
946
- throw new errors.ExchangeError(feedback);
938
+ return undefined;
947
939
  }
948
940
  }
949
941
 
@@ -302,7 +302,7 @@ class btcbox extends btcbox$1 {
302
302
  * @param {string} type 'market' or 'limit'
303
303
  * @param {string} side 'buy' or 'sell'
304
304
  * @param {float} amount how much of currency you want to trade in units of base currency
305
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
305
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
306
306
  * @param {object} [params] extra parameters specific to the exchange API endpoint
307
307
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
308
308
  */
@@ -788,7 +788,7 @@ class btcmarkets extends btcmarkets$1 {
788
788
  * @param {string} type 'market' or 'limit'
789
789
  * @param {string} side 'buy' or 'sell'
790
790
  * @param {float} amount how much of currency you want to trade in units of base currency
791
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
791
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
792
792
  * @param {object} [params] extra parameters specific to the exchange API endpoint
793
793
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
794
794
  */
@@ -672,7 +672,7 @@ class btcturk extends btcturk$1 {
672
672
  * @param {string} type 'market' or 'limit'
673
673
  * @param {string} side 'buy' or 'sell'
674
674
  * @param {float} amount how much of currency you want to trade in units of base currency
675
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
675
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
676
676
  * @param {object} [params] extra parameters specific to the exchange API endpoint
677
677
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
678
678
  */
@@ -3508,7 +3508,7 @@ class bybit extends bybit$1 {
3508
3508
  * @param {string} type 'market' or 'limit'
3509
3509
  * @param {string} side 'buy' or 'sell'
3510
3510
  * @param {float} amount how much of currency you want to trade in units of base currency
3511
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
3511
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3512
3512
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3513
3513
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK"
3514
3514
  * @param {bool} [params.postOnly] true or false whether the order is post-only
@@ -4164,7 +4164,7 @@ class bybit extends bybit$1 {
4164
4164
  * @param {string} type 'market' or 'limit'
4165
4165
  * @param {string} side 'buy' or 'sell'
4166
4166
  * @param {float} amount how much of currency you want to trade in units of base currency
4167
- * @param {float} price the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4167
+ * @param {float} price the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4168
4168
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4169
4169
  * @param {float} [params.triggerPrice] The price that a trigger order is triggered at
4170
4170
  * @param {float} [params.stopLossPrice] The price that a stop loss order is triggered at
@@ -757,7 +757,7 @@ class cex extends cex$1 {
757
757
  * @param {string} type 'market' or 'limit'
758
758
  * @param {string} side 'buy' or 'sell'
759
759
  * @param {float} amount how much of currency you want to trade in units of base currency
760
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
760
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
761
761
  * @param {object} [params] extra parameters specific to the exchange API endpoint
762
762
  * @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount for market buy orders
763
763
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1565,7 +1565,7 @@ class cex extends cex$1 {
1565
1565
  * @param {string} type 'market' or 'limit'
1566
1566
  * @param {string} side 'buy' or 'sell'
1567
1567
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1568
- * @param {float|undefined} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1568
+ * @param {float|undefined} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1569
1569
  * @param {object} [params] extra parameters specific to the cex api endpoint
1570
1570
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/en/latest/manual.html#order-structure}
1571
1571
  */
@@ -22,7 +22,7 @@ class coinbase extends coinbase$1 {
22
22
  'pro': true,
23
23
  'certified': true,
24
24
  // rate-limits:
25
- // ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade-api/docs/rest-api-rate-limits
25
+ // ADVANCED API: https://docs.cloud.coinbase.com/advanced-trade/docs/rest-api-rate-limits
26
26
  // - max 30 req/second for private data, 10 req/s for public data
27
27
  // DATA API : https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/rate-limiting
28
28
  // - max 10000 req/hour (to prevent userland mistakes we apply ~3 req/second RL per call
@@ -128,7 +128,7 @@ class coinbase extends coinbase$1 {
128
128
  'www': 'https://www.coinbase.com',
129
129
  'doc': [
130
130
  'https://developers.coinbase.com/api/v2',
131
- 'https://docs.cloud.coinbase.com/advanced-trade-api/docs/welcome',
131
+ 'https://docs.cloud.coinbase.com/advanced-trade/docs/welcome',
132
132
  ],
133
133
  'fees': [
134
134
  'https://support.coinbase.com/customer/portal/articles/2109597-buy-sell-bank-transfer-fees',
@@ -416,7 +416,7 @@ class coinbase extends coinbase$1 {
416
416
  * @method
417
417
  * @name coinbase#fetchAccounts
418
418
  * @description fetch all the accounts associated with a profile
419
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
419
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
420
420
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
421
421
  * @param {object} [params] extra parameters specific to the exchange API endpoint
422
422
  * @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)
@@ -553,7 +553,7 @@ class coinbase extends coinbase$1 {
553
553
  * @method
554
554
  * @name coinbase#fetchPortfolios
555
555
  * @description fetch all the portfolios
556
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getportfolios
556
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getportfolios
557
557
  * @param {object} [params] extra parameters specific to the exchange API endpoint
558
558
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
559
559
  */
@@ -1101,7 +1101,7 @@ class coinbase extends coinbase$1 {
1101
1101
  /**
1102
1102
  * @method
1103
1103
  * @name coinbase#fetchMarkets
1104
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproducts
1104
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproducts
1105
1105
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-currencies#get-fiat-currencies
1106
1106
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1107
1107
  * @description retrieves data on all markets for coinbase
@@ -1765,7 +1765,7 @@ class coinbase extends coinbase$1 {
1765
1765
  * @method
1766
1766
  * @name coinbase#fetchTickers
1767
1767
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1768
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getproducts
1768
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getproducts
1769
1769
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-exchange-rates#get-exchange-rates
1770
1770
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1771
1771
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1886,7 +1886,7 @@ class coinbase extends coinbase$1 {
1886
1886
  * @method
1887
1887
  * @name coinbase#fetchTicker
1888
1888
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1889
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getmarkettrades
1889
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getmarkettrades
1890
1890
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-spot-price
1891
1891
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-buy-price
1892
1892
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-prices#get-sell-price
@@ -2148,9 +2148,9 @@ class coinbase extends coinbase$1 {
2148
2148
  * @method
2149
2149
  * @name coinbase#fetchBalance
2150
2150
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
2151
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getaccounts
2151
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getaccounts
2152
2152
  * @see https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-accounts#list-accounts
2153
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmbalancesummary
2153
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmbalancesummary
2154
2154
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2155
2155
  * @param {boolean} [params.v3] default false, set true to use v3 api endpoint
2156
2156
  * @param {object} [params.type] "spot" (default) or "swap" or "future"
@@ -2671,7 +2671,7 @@ class coinbase extends coinbase$1 {
2671
2671
  * @method
2672
2672
  * @name coinbase#createMarketBuyOrderWithCost
2673
2673
  * @description create a market buy order by providing the symbol and cost
2674
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2674
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2675
2675
  * @param {string} symbol unified symbol of the market to create an order in
2676
2676
  * @param {float} cost how much you want to trade in units of the quote currency
2677
2677
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -2690,7 +2690,7 @@ class coinbase extends coinbase$1 {
2690
2690
  * @method
2691
2691
  * @name coinbase#createOrder
2692
2692
  * @description create a trade order
2693
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_postorder
2693
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_postorder
2694
2694
  * @param {string} symbol unified symbol of the market to create an order in
2695
2695
  * @param {string} type 'market' or 'limit'
2696
2696
  * @param {string} side 'buy' or 'sell'
@@ -3116,7 +3116,7 @@ class coinbase extends coinbase$1 {
3116
3116
  * @method
3117
3117
  * @name coinbase#cancelOrder
3118
3118
  * @description cancels an open order
3119
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
3119
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3120
3120
  * @param {string} id order id
3121
3121
  * @param {string} symbol not used by coinbase cancelOrder()
3122
3122
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3131,7 +3131,7 @@ class coinbase extends coinbase$1 {
3131
3131
  * @method
3132
3132
  * @name coinbase#cancelOrders
3133
3133
  * @description cancel multiple orders
3134
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_cancelorders
3134
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_cancelorders
3135
3135
  * @param {string[]} ids order ids
3136
3136
  * @param {string} symbol not used by coinbase cancelOrders()
3137
3137
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3171,13 +3171,13 @@ class coinbase extends coinbase$1 {
3171
3171
  * @method
3172
3172
  * @name coinbase#editOrder
3173
3173
  * @description edit a trade order
3174
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_editorder
3174
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_editorder
3175
3175
  * @param {string} id cancel order id
3176
3176
  * @param {string} symbol unified symbol of the market to create an order in
3177
3177
  * @param {string} type 'market' or 'limit'
3178
3178
  * @param {string} side 'buy' or 'sell'
3179
3179
  * @param {float} amount how much of currency you want to trade in units of base currency
3180
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
3180
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3181
3181
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3182
3182
  * @param {boolean} [params.preview] default to false, wether to use the test/preview endpoint or not
3183
3183
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -3218,7 +3218,7 @@ class coinbase extends coinbase$1 {
3218
3218
  * @method
3219
3219
  * @name coinbase#fetchOrder
3220
3220
  * @description fetches information on an order made by the user
3221
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorder
3221
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorder
3222
3222
  * @param {string} id the order id
3223
3223
  * @param {string} symbol unified market symbol that the order was made in
3224
3224
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3280,7 +3280,7 @@ class coinbase extends coinbase$1 {
3280
3280
  * @method
3281
3281
  * @name coinbase#fetchOrders
3282
3282
  * @description fetches information on multiple orders made by the user
3283
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3283
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3284
3284
  * @param {string} symbol unified market symbol that the orders were made in
3285
3285
  * @param {int} [since] the earliest time in ms to fetch orders
3286
3286
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -3447,7 +3447,7 @@ class coinbase extends coinbase$1 {
3447
3447
  * @method
3448
3448
  * @name coinbase#fetchOpenOrders
3449
3449
  * @description fetches information on all currently open orders
3450
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3450
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3451
3451
  * @param {string} symbol unified market symbol of the orders
3452
3452
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3453
3453
  * @param {int} [limit] the maximum number of open order structures to retrieve
@@ -3469,7 +3469,7 @@ class coinbase extends coinbase$1 {
3469
3469
  * @method
3470
3470
  * @name coinbase#fetchClosedOrders
3471
3471
  * @description fetches information on multiple closed orders made by the user
3472
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3472
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3473
3473
  * @param {string} symbol unified market symbol of the orders
3474
3474
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3475
3475
  * @param {int} [limit] the maximum number of closed order structures to retrieve
@@ -3491,7 +3491,7 @@ class coinbase extends coinbase$1 {
3491
3491
  * @method
3492
3492
  * @name coinbase#fetchCanceledOrders
3493
3493
  * @description fetches information on multiple canceled orders made by the user
3494
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_gethistoricalorders
3494
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_gethistoricalorders
3495
3495
  * @param {string} symbol unified market symbol of the orders
3496
3496
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3497
3497
  * @param {int} [limit] the maximum number of canceled order structures to retrieve
@@ -3505,7 +3505,7 @@ class coinbase extends coinbase$1 {
3505
3505
  * @method
3506
3506
  * @name coinbase#fetchOHLCV
3507
3507
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
3508
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpubliccandles
3508
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpubliccandles
3509
3509
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
3510
3510
  * @param {string} timeframe the length of time each candle represents
3511
3511
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -3602,7 +3602,7 @@ class coinbase extends coinbase$1 {
3602
3602
  * @method
3603
3603
  * @name coinbase#fetchTrades
3604
3604
  * @description get the list of most recent trades for a particular symbol
3605
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicmarkettrades
3605
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicmarkettrades
3606
3606
  * @param {string} symbol unified market symbol of the trades
3607
3607
  * @param {int} [since] not used by coinbase fetchTrades
3608
3608
  * @param {int} [limit] the maximum number of trade structures to fetch
@@ -3662,7 +3662,7 @@ class coinbase extends coinbase$1 {
3662
3662
  * @method
3663
3663
  * @name coinbase#fetchMyTrades
3664
3664
  * @description fetch all trades made by the user
3665
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfills
3665
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfills
3666
3666
  * @param {string} symbol unified market symbol of the trades
3667
3667
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
3668
3668
  * @param {int} [limit] the maximum number of trade structures to fetch
@@ -3734,7 +3734,7 @@ class coinbase extends coinbase$1 {
3734
3734
  * @method
3735
3735
  * @name coinbase#fetchOrderBook
3736
3736
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
3737
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getpublicproductbook
3737
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getpublicproductbook
3738
3738
  * @param {string} symbol unified symbol of the market to fetch the order book for
3739
3739
  * @param {int} [limit] the maximum amount of order book entries to return
3740
3740
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -3788,7 +3788,7 @@ class coinbase extends coinbase$1 {
3788
3788
  * @method
3789
3789
  * @name coinbase#fetchBidsAsks
3790
3790
  * @description fetches the bid and ask price and volume for multiple markets
3791
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getbestbidask
3791
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getbestbidask
3792
3792
  * @param {string[]} [symbols] unified symbols of the markets to fetch the bids and asks for, all markets are returned if not assigned
3793
3793
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3794
3794
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -4197,7 +4197,7 @@ class coinbase extends coinbase$1 {
4197
4197
  * @method
4198
4198
  * @name coinbase#fetchConvertQuote
4199
4199
  * @description fetch a quote for converting from one currency to another
4200
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_createconvertquote
4200
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_createconvertquote
4201
4201
  * @param {string} fromCode the currency that you want to sell and convert from
4202
4202
  * @param {string} toCode the currency that you want to buy and convert into
4203
4203
  * @param {float} [amount] how much you want to trade in units of the from currency
@@ -4222,7 +4222,7 @@ class coinbase extends coinbase$1 {
4222
4222
  * @method
4223
4223
  * @name coinbase#createConvertTrade
4224
4224
  * @description convert from one currency to another
4225
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_commitconverttrade
4225
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_commitconverttrade
4226
4226
  * @param {string} id the id of the trade that you want to make
4227
4227
  * @param {string} fromCode the currency that you want to sell and convert from
4228
4228
  * @param {string} toCode the currency that you want to buy and convert into
@@ -4245,7 +4245,7 @@ class coinbase extends coinbase$1 {
4245
4245
  * @method
4246
4246
  * @name coinbase#fetchConvertTrade
4247
4247
  * @description fetch the data for a conversion trade
4248
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getconverttrade
4248
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getconverttrade
4249
4249
  * @param {string} id the id of the trade that you want to commit
4250
4250
  * @param {string} code the unified currency code that was converted from
4251
4251
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -4327,8 +4327,8 @@ class coinbase extends coinbase$1 {
4327
4327
  * @method
4328
4328
  * @name coinbase#fetchPositions
4329
4329
  * @description fetch all open positions
4330
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmpositions
4331
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxpositions
4330
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmpositions
4331
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxpositions
4332
4332
  * @param {string[]} [symbols] list of unified market symbols
4333
4333
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4334
4334
  * @param {string} [params.portfolio] the portfolio UUID to fetch positions for
@@ -4365,8 +4365,8 @@ class coinbase extends coinbase$1 {
4365
4365
  * @method
4366
4366
  * @name coinbase#fetchPosition
4367
4367
  * @description fetch data on a single open contract trade position
4368
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getintxposition
4369
- * @see https://docs.cloud.coinbase.com/advanced-trade-api/reference/retailbrokerageapi_getfcmposition
4368
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getintxposition
4369
+ * @see https://docs.cloud.coinbase.com/advanced-trade/reference/retailbrokerageapi_getfcmposition
4370
4370
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
4371
4371
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4372
4372
  * @param {string} [params.product_id] *futures only* the product id of the position to fetch, required for futures markets only
@@ -4666,7 +4666,7 @@ class coinbase extends coinbase$1 {
4666
4666
  }
4667
4667
  }
4668
4668
  // v3: 'GET' doesn't need payload in the signature. inside url is enough
4669
- // https://docs.cloud.coinbase.com/advanced-trade-api/docs/auth#example-request
4669
+ // https://docs.cloud.coinbase.com/advanced-trade/docs/auth#example-request
4670
4670
  // v2: 'GET' require payload in the signature
4671
4671
  // https://docs.cloud.coinbase.com/sign-in-with-coinbase/docs/api-key-authentication
4672
4672
  const isCloudAPiKey = (this.apiKey.indexOf('organizations/') >= 0) || (this.secret.startsWith('-----BEGIN'));
@@ -1219,7 +1219,7 @@ class coinbaseexchange extends coinbaseexchange$1 {
1219
1219
  * @param {string} type 'market' or 'limit'
1220
1220
  * @param {string} side 'buy' or 'sell'
1221
1221
  * @param {float} amount how much of currency you want to trade in units of base currency
1222
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1222
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1223
1223
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1224
1224
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1225
1225
  */
@@ -1628,7 +1628,7 @@ class coinbaseinternational extends coinbaseinternational$1 {
1628
1628
  * @param {string} type 'market' or 'limit'
1629
1629
  * @param {string} side 'buy' or 'sell'
1630
1630
  * @param {float} amount how much of currency you want to trade in units of base currency
1631
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
1631
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1632
1632
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1633
1633
  * @param {string} params.clientOrderId client order id
1634
1634
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -582,7 +582,7 @@ class coincheck extends coincheck$1 {
582
582
  * @param {string} type 'market' or 'limit'
583
583
  * @param {string} side 'buy' or 'sell'
584
584
  * @param {float} amount how much of currency you want to trade in units of base currency
585
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
585
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
586
586
  * @param {object} [params] extra parameters specific to the exchange API endpoint
587
587
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
588
588
  */
@@ -2111,7 +2111,7 @@ class coinex extends coinex$1 {
2111
2111
  * @param {string} type 'market' or 'limit'
2112
2112
  * @param {string} side 'buy' or 'sell'
2113
2113
  * @param {float} amount how much you want to trade in units of the base currency
2114
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2114
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2115
2115
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2116
2116
  * @param {float} [params.triggerPrice] price to trigger stop orders
2117
2117
  * @param {float} [params.stopLossPrice] price to trigger stop loss orders
@@ -2748,7 +2748,7 @@ class coinex extends coinex$1 {
2748
2748
  * @param {string} type 'market' or 'limit'
2749
2749
  * @param {string} side 'buy' or 'sell'
2750
2750
  * @param {float} amount how much of the currency you want to trade in units of the base currency
2751
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2751
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2752
2752
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2753
2753
  * @param {float} [params.triggerPrice] the price to trigger stop orders
2754
2754
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1486,7 +1486,7 @@ class coinlist extends coinlist$1 {
1486
1486
  * @param {string} type 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
1487
1487
  * @param {string} side 'buy' or 'sell'
1488
1488
  * @param {float} amount how much of currency you want to trade in units of base currency
1489
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1489
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1490
1490
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1491
1491
  * @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately (default false)
1492
1492
  * @param {float} [params.triggerPrice] only for the 'stop_market', 'stop_limit', 'take_market' or 'take_limit' orders (the price at which an order is triggered)
@@ -1563,7 +1563,7 @@ class coinlist extends coinlist$1 {
1563
1563
  * @param {string} type 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
1564
1564
  * @param {string} side 'buy' or 'sell'
1565
1565
  * @param {float} amount how much of currency you want to trade in units of base currency
1566
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1566
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1567
1567
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1568
1568
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1569
1569
  */
@@ -984,7 +984,7 @@ class coinmate extends coinmate$1 {
984
984
  * @param {string} type 'market' or 'limit'
985
985
  * @param {string} side 'buy' or 'sell'
986
986
  * @param {float} amount how much of currency you want to trade in units of base currency
987
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
987
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
988
988
  * @param {object} [params] extra parameters specific to the exchange API endpoint
989
989
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
990
990
  */
@@ -1188,7 +1188,7 @@ class coinmetro extends coinmetro$1 {
1188
1188
  * @param {string} type 'market' or 'limit'
1189
1189
  * @param {string} side 'buy' or 'sell'
1190
1190
  * @param {float} amount how much of currency you want to trade in units of base currency
1191
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1191
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1192
1192
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1193
1193
  * @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount in market orders
1194
1194
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", "GTD"
@@ -747,7 +747,7 @@ class coinone extends coinone$1 {
747
747
  * @param {string} type must be 'limit'
748
748
  * @param {string} side 'buy' or 'sell'
749
749
  * @param {float} amount how much of currency you want to trade in units of base currency
750
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
750
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
751
751
  * @param {object} [params] extra parameters specific to the exchange API endpoint
752
752
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
753
753
  */
@@ -1106,7 +1106,7 @@ class coinsph extends coinsph$1 {
1106
1106
  * @param {string} type 'market', 'limit', 'stop_loss', 'take_profit', 'stop_loss_limit', 'take_profit_limit' or 'limit_maker'
1107
1107
  * @param {string} side 'buy' or 'sell'
1108
1108
  * @param {float} amount how much of currency you want to trade in units of base currency
1109
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1109
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1110
1110
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1111
1111
  * @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount for market buy orders
1112
1112
  * @param {bool} [params.test] set to true to test an order, no order will be created but the request will be validated
@@ -499,7 +499,7 @@ class coinspot extends coinspot$1 {
499
499
  * @param {string} type must be 'limit'
500
500
  * @param {string} side 'buy' or 'sell'
501
501
  * @param {float} amount how much of currency you want to trade in units of base currency
502
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
502
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
503
503
  * @param {object} [params] extra parameters specific to the exchange API endpoint
504
504
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
505
505
  */
@@ -1145,7 +1145,7 @@ class cryptocom extends cryptocom$1 {
1145
1145
  * @param {string} type 'market', 'limit', 'stop_loss', 'stop_limit', 'take_profit', 'take_profit_limit'
1146
1146
  * @param {string} side 'buy' or 'sell'
1147
1147
  * @param {float} amount how much you want to trade in units of base currency
1148
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1148
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1149
1149
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1150
1150
  * @param {string} [params.timeInForce] 'GTC', 'IOC', 'FOK' or 'PO'
1151
1151
  * @param {string} [params.ref_price_type] 'MARK_PRICE', 'INDEX_PRICE', 'LAST_PRICE' which trigger price type to use, default is MARK_PRICE
@@ -1271,7 +1271,7 @@ class currencycom extends currencycom$1 {
1271
1271
  * @param {string} type 'market' or 'limit'
1272
1272
  * @param {string} side 'buy' or 'sell'
1273
1273
  * @param {float} amount how much of currency you want to trade in units of base currency
1274
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1274
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1275
1275
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1276
1276
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1277
1277
  */
@@ -1803,7 +1803,7 @@ class delta extends delta$1 {
1803
1803
  * @param {string} type 'market' or 'limit'
1804
1804
  * @param {string} side 'buy' or 'sell'
1805
1805
  * @param {float} amount how much of currency you want to trade in units of base currency
1806
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1806
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1807
1807
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1808
1808
  * @param {bool} [params.reduceOnly] *contract only* indicates if this order is to reduce the size of a position
1809
1809
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1886,7 +1886,7 @@ class delta extends delta$1 {
1886
1886
  * @param {string} type 'market' or 'limit'
1887
1887
  * @param {string} side 'buy' or 'sell'
1888
1888
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1889
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency
1889
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency
1890
1890
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1891
1891
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1892
1892
  */
@@ -1871,8 +1871,8 @@ class deribit extends deribit$1 {
1871
1871
  * @param {string} symbol unified symbol of the market to create an order in
1872
1872
  * @param {string} type 'market' or 'limit'
1873
1873
  * @param {string} side 'buy' or 'sell'
1874
- * @param {float} amount how much you want to trade in units of the base currency. For inverse perpetual and futures the amount is in the quote currency USD. For options it is in the underlying assets base currency.
1875
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1874
+ * @param {float} amount how much you want to trade in units of the base currency. For perpetual and inverse futures the amount is in USD units. For options it is in the underlying assets base currency.
1875
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1876
1876
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1877
1877
  * @param {string} [params.trigger] the trigger type 'index_price', 'mark_price', or 'last_price', default is 'last_price'
1878
1878
  * @param {float} [params.trailingAmount] the quote amount to trail away from the current market price
@@ -2049,8 +2049,8 @@ class deribit extends deribit$1 {
2049
2049
  * @param {string} [symbol] unified symbol of the market to edit an order in
2050
2050
  * @param {string} [type] 'market' or 'limit'
2051
2051
  * @param {string} [side] 'buy' or 'sell'
2052
- * @param {float} amount how much you want to trade in units of the base currency, inverse swap and future use the quote currency
2053
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
2052
+ * @param {float} amount how much you want to trade in units of the base currency. For perpetual and inverse futures the amount is in USD units. For options it is in the underlying assets base currency.
2053
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2054
2054
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2055
2055
  * @param {float} [params.trailingAmount] the quote amount to trail away from the current market price
2056
2056
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1576,7 +1576,7 @@ class digifinex extends digifinex$1 {
1576
1576
  * @param {string} type 'market' or 'limit'
1577
1577
  * @param {string} side 'buy' or 'sell'
1578
1578
  * @param {float} amount how much you want to trade in units of the base currency, spot market orders use the quote currency, swap requires the number of contracts
1579
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1579
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1580
1580
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1581
1581
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
1582
1582
  * @param {bool} [params.postOnly] true or false
@@ -1733,7 +1733,7 @@ class digifinex extends digifinex$1 {
1733
1733
  * @param {string} type 'market' or 'limit'
1734
1734
  * @param {string} side 'buy' or 'sell'
1735
1735
  * @param {float} amount how much you want to trade in units of the base currency, spot market orders use the quote currency, swap requires the number of contracts
1736
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1736
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1737
1737
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1738
1738
  * @returns {object} request to be sent to the exchange
1739
1739
  */
@@ -1415,7 +1415,7 @@ class exmo extends exmo$1 {
1415
1415
  * @param {string} type 'market' or 'limit'
1416
1416
  * @param {string} side 'buy' or 'sell'
1417
1417
  * @param {float} amount how much of currency you want to trade in units of base currency
1418
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1418
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1419
1419
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1420
1420
  * @param {float} [params.stopPrice] the price at which a trigger order is triggered at
1421
1421
  * @param {string} [params.timeInForce] *spot only* 'fok', 'ioc' or 'post_only'
@@ -2063,7 +2063,7 @@ class exmo extends exmo$1 {
2063
2063
  * @param {string} type not used by exmo editOrder
2064
2064
  * @param {string} side not used by exmo editOrder
2065
2065
  * @param {float} [amount] how much of the currency you want to trade in units of the base currency
2066
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2066
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2067
2067
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2068
2068
  * @param {float} [params.triggerPrice] stop price for stop-market and stop-limit orders
2069
2069
  * @param {string} params.marginMode must be set to isolated