ccxt 4.3.54 → 4.3.56

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 (236) hide show
  1. package/README.md +4 -6
  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/base/Exchange.js +26 -2
  8. package/dist/cjs/src/bigone.js +1 -1
  9. package/dist/cjs/src/binance.js +13 -13
  10. package/dist/cjs/src/bingx.js +38 -4
  11. package/dist/cjs/src/bit2c.js +1 -1
  12. package/dist/cjs/src/bitbank.js +1 -1
  13. package/dist/cjs/src/bitbns.js +1 -1
  14. package/dist/cjs/src/bitfinex.js +1 -1
  15. package/dist/cjs/src/bitfinex2.js +1 -1
  16. package/dist/cjs/src/bitflyer.js +8 -2
  17. package/dist/cjs/src/bitget.js +2 -2
  18. package/dist/cjs/src/bithumb.js +1 -1
  19. package/dist/cjs/src/bitmart.js +3 -3
  20. package/dist/cjs/src/bitmex.js +1 -1
  21. package/dist/cjs/src/bitopro.js +21 -4
  22. package/dist/cjs/src/bitrue.js +1 -1
  23. package/dist/cjs/src/bitso.js +1 -1
  24. package/dist/cjs/src/bitstamp.js +1 -1
  25. package/dist/cjs/src/bitteam.js +1 -1
  26. package/dist/cjs/src/bitvavo.js +2 -2
  27. package/dist/cjs/src/bl3p.js +1 -1
  28. package/dist/cjs/src/blockchaincom.js +28 -28
  29. package/dist/cjs/src/blofin.js +1 -1
  30. package/dist/cjs/src/btcalpha.js +4 -12
  31. package/dist/cjs/src/btcbox.js +1 -1
  32. package/dist/cjs/src/btcmarkets.js +27 -28
  33. package/dist/cjs/src/btcturk.js +1 -1
  34. package/dist/cjs/src/bybit.js +11 -7
  35. package/dist/cjs/src/cex.js +2 -2
  36. package/dist/cjs/src/coinbase.js +33 -33
  37. package/dist/cjs/src/coinbaseexchange.js +1 -1
  38. package/dist/cjs/src/coinbaseinternational.js +1 -1
  39. package/dist/cjs/src/coincheck.js +1 -1
  40. package/dist/cjs/src/coinex.js +2 -2
  41. package/dist/cjs/src/coinlist.js +2 -2
  42. package/dist/cjs/src/coinmate.js +1 -1
  43. package/dist/cjs/src/coinmetro.js +1 -1
  44. package/dist/cjs/src/coinone.js +1 -1
  45. package/dist/cjs/src/coinsph.js +1 -1
  46. package/dist/cjs/src/coinspot.js +1 -1
  47. package/dist/cjs/src/cryptocom.js +1 -1
  48. package/dist/cjs/src/currencycom.js +1 -1
  49. package/dist/cjs/src/delta.js +7 -3
  50. package/dist/cjs/src/deribit.js +4 -4
  51. package/dist/cjs/src/digifinex.js +2 -2
  52. package/dist/cjs/src/exmo.js +2 -2
  53. package/dist/cjs/src/gate.js +3 -2
  54. package/dist/cjs/src/gemini.js +1 -1
  55. package/dist/cjs/src/hitbtc.js +1 -1
  56. package/dist/cjs/src/hollaex.js +1 -1
  57. package/dist/cjs/src/htx.js +3 -3
  58. package/dist/cjs/src/huobijp.js +1 -1
  59. package/dist/cjs/src/hyperliquid.js +3 -3
  60. package/dist/cjs/src/idex.js +1 -1
  61. package/dist/cjs/src/independentreserve.js +1 -1
  62. package/dist/cjs/src/indodax.js +1 -1
  63. package/dist/cjs/src/kraken.js +2 -2
  64. package/dist/cjs/src/kucoin.js +136 -47
  65. package/dist/cjs/src/kucoinfutures.js +1 -1
  66. package/dist/cjs/src/kuna.js +1 -1
  67. package/dist/cjs/src/latoken.js +1 -1
  68. package/dist/cjs/src/lbank.js +28 -7
  69. package/dist/cjs/src/luno.js +1 -1
  70. package/dist/cjs/src/lykke.js +1 -1
  71. package/dist/cjs/src/mercado.js +1 -1
  72. package/dist/cjs/src/mexc.js +1 -1
  73. package/dist/cjs/src/ndax.js +1 -1
  74. package/dist/cjs/src/novadax.js +1 -1
  75. package/dist/cjs/src/oceanex.js +1 -1
  76. package/dist/cjs/src/okcoin.js +1 -1
  77. package/dist/cjs/src/okx.js +3 -3
  78. package/dist/cjs/src/onetrading.js +1 -1
  79. package/dist/cjs/src/oxfun.js +2 -2
  80. package/dist/cjs/src/p2b.js +1 -1
  81. package/dist/cjs/src/paymium.js +1 -1
  82. package/dist/cjs/src/phemex.js +2 -2
  83. package/dist/cjs/src/poloniex.js +4 -3
  84. package/dist/cjs/src/poloniexfutures.js +1 -1
  85. package/dist/cjs/src/pro/binance.js +2 -2
  86. package/dist/cjs/src/pro/bitvavo.js +2 -2
  87. package/dist/cjs/src/pro/bybit.js +2 -2
  88. package/dist/cjs/src/pro/cex.js +3 -3
  89. package/dist/cjs/src/pro/coinbase.js +23 -1
  90. package/dist/cjs/src/pro/cryptocom.js +1 -1
  91. package/dist/cjs/src/pro/gate.js +2 -2
  92. package/dist/cjs/src/pro/hitbtc.js +1 -1
  93. package/dist/cjs/src/pro/kraken.js +2 -2
  94. package/dist/cjs/src/pro/kucoin.js +2 -2
  95. package/dist/cjs/src/pro/okx.js +2 -2
  96. package/dist/cjs/src/pro/oxfun.js +2 -2
  97. package/dist/cjs/src/pro/poloniex.js +1 -1
  98. package/dist/cjs/src/pro/vertex.js +1 -1
  99. package/dist/cjs/src/probit.js +1 -1
  100. package/dist/cjs/src/timex.js +1 -1
  101. package/dist/cjs/src/tokocrypto.js +1 -1
  102. package/dist/cjs/src/tradeogre.js +1 -1
  103. package/dist/cjs/src/upbit.js +1 -1
  104. package/dist/cjs/src/vertex.js +2 -2
  105. package/dist/cjs/src/wavesexchange.js +1 -1
  106. package/dist/cjs/src/wazirx.js +1 -1
  107. package/dist/cjs/src/whitebit.js +2 -2
  108. package/dist/cjs/src/woo.js +5 -5
  109. package/dist/cjs/src/woofipro.js +3 -3
  110. package/dist/cjs/src/yobit.js +1 -1
  111. package/dist/cjs/src/zaif.js +1 -1
  112. package/dist/cjs/src/zonda.js +1 -1
  113. package/js/ccxt.d.ts +1 -1
  114. package/js/ccxt.js +1 -1
  115. package/js/src/abstract/bingx.d.ts +16 -0
  116. package/js/src/abstract/kucoin.d.ts +3 -0
  117. package/js/src/abstract/kucoinfutures.d.ts +3 -0
  118. package/js/src/ace.js +1 -1
  119. package/js/src/alpaca.js +1 -1
  120. package/js/src/ascendex.d.ts +1 -1
  121. package/js/src/ascendex.js +6 -4
  122. package/js/src/base/Exchange.d.ts +1 -0
  123. package/js/src/base/Exchange.js +26 -2
  124. package/js/src/base/types.d.ts +4 -0
  125. package/js/src/bigone.js +1 -1
  126. package/js/src/binance.js +13 -13
  127. package/js/src/bingx.js +38 -4
  128. package/js/src/bit2c.js +1 -1
  129. package/js/src/bitbank.js +1 -1
  130. package/js/src/bitbns.js +1 -1
  131. package/js/src/bitfinex.js +1 -1
  132. package/js/src/bitfinex2.js +1 -1
  133. package/js/src/bitflyer.d.ts +1 -1
  134. package/js/src/bitflyer.js +8 -2
  135. package/js/src/bitget.js +2 -2
  136. package/js/src/bithumb.js +1 -1
  137. package/js/src/bitmart.js +3 -3
  138. package/js/src/bitmex.js +1 -1
  139. package/js/src/bitopro.d.ts +3 -2
  140. package/js/src/bitopro.js +21 -4
  141. package/js/src/bitrue.js +1 -1
  142. package/js/src/bitso.js +1 -1
  143. package/js/src/bitstamp.js +1 -1
  144. package/js/src/bitteam.js +1 -1
  145. package/js/src/bitvavo.js +2 -2
  146. package/js/src/bl3p.js +1 -1
  147. package/js/src/blockchaincom.js +28 -28
  148. package/js/src/blofin.js +1 -1
  149. package/js/src/btcalpha.js +5 -13
  150. package/js/src/btcbox.js +1 -1
  151. package/js/src/btcmarkets.js +28 -29
  152. package/js/src/btcturk.js +1 -1
  153. package/js/src/bybit.js +11 -7
  154. package/js/src/cex.js +2 -2
  155. package/js/src/coinbase.js +33 -33
  156. package/js/src/coinbaseexchange.js +1 -1
  157. package/js/src/coinbaseinternational.js +1 -1
  158. package/js/src/coincheck.js +1 -1
  159. package/js/src/coinex.js +2 -2
  160. package/js/src/coinlist.js +2 -2
  161. package/js/src/coinmate.js +1 -1
  162. package/js/src/coinmetro.js +1 -1
  163. package/js/src/coinone.js +1 -1
  164. package/js/src/coinsph.js +1 -1
  165. package/js/src/coinspot.js +1 -1
  166. package/js/src/cryptocom.js +1 -1
  167. package/js/src/currencycom.js +1 -1
  168. package/js/src/delta.d.ts +1 -1
  169. package/js/src/delta.js +7 -3
  170. package/js/src/deribit.js +4 -4
  171. package/js/src/digifinex.js +2 -2
  172. package/js/src/exmo.js +2 -2
  173. package/js/src/gate.js +3 -2
  174. package/js/src/gemini.js +1 -1
  175. package/js/src/hitbtc.js +1 -1
  176. package/js/src/hollaex.js +1 -1
  177. package/js/src/htx.js +3 -3
  178. package/js/src/huobijp.js +1 -1
  179. package/js/src/hyperliquid.js +3 -3
  180. package/js/src/idex.js +1 -1
  181. package/js/src/independentreserve.js +1 -1
  182. package/js/src/indodax.js +1 -1
  183. package/js/src/kraken.js +2 -2
  184. package/js/src/kucoin.d.ts +1 -0
  185. package/js/src/kucoin.js +136 -47
  186. package/js/src/kucoinfutures.js +1 -1
  187. package/js/src/kuna.js +1 -1
  188. package/js/src/latoken.js +1 -1
  189. package/js/src/lbank.d.ts +2 -2
  190. package/js/src/lbank.js +28 -7
  191. package/js/src/luno.js +1 -1
  192. package/js/src/lykke.js +1 -1
  193. package/js/src/mercado.js +1 -1
  194. package/js/src/mexc.js +1 -1
  195. package/js/src/ndax.js +1 -1
  196. package/js/src/novadax.js +1 -1
  197. package/js/src/oceanex.js +1 -1
  198. package/js/src/okcoin.js +1 -1
  199. package/js/src/okx.js +3 -3
  200. package/js/src/onetrading.js +1 -1
  201. package/js/src/oxfun.js +2 -2
  202. package/js/src/p2b.js +1 -1
  203. package/js/src/paymium.js +1 -1
  204. package/js/src/phemex.js +2 -2
  205. package/js/src/poloniex.js +4 -3
  206. package/js/src/poloniexfutures.js +1 -1
  207. package/js/src/pro/binance.js +2 -2
  208. package/js/src/pro/bitvavo.js +2 -2
  209. package/js/src/pro/bybit.js +2 -2
  210. package/js/src/pro/cex.js +3 -3
  211. package/js/src/pro/coinbase.d.ts +1 -0
  212. package/js/src/pro/coinbase.js +23 -1
  213. package/js/src/pro/cryptocom.js +1 -1
  214. package/js/src/pro/gate.js +2 -2
  215. package/js/src/pro/hitbtc.js +1 -1
  216. package/js/src/pro/kraken.js +2 -2
  217. package/js/src/pro/kucoin.js +2 -2
  218. package/js/src/pro/okx.js +2 -2
  219. package/js/src/pro/oxfun.js +2 -2
  220. package/js/src/pro/poloniex.js +1 -1
  221. package/js/src/pro/vertex.js +1 -1
  222. package/js/src/probit.js +1 -1
  223. package/js/src/timex.js +1 -1
  224. package/js/src/tokocrypto.js +1 -1
  225. package/js/src/tradeogre.js +1 -1
  226. package/js/src/upbit.js +1 -1
  227. package/js/src/vertex.js +2 -2
  228. package/js/src/wavesexchange.js +1 -1
  229. package/js/src/wazirx.js +1 -1
  230. package/js/src/whitebit.js +2 -2
  231. package/js/src/woo.js +5 -5
  232. package/js/src/woofipro.js +3 -3
  233. package/js/src/yobit.js +1 -1
  234. package/js/src/zaif.js +1 -1
  235. package/js/src/zonda.js +1 -1
  236. package/package.json +58 -52
@@ -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
  */
@@ -1631,7 +1631,7 @@ export default class coinbaseinternational extends Exchange {
1631
1631
  * @param {string} type 'market' or 'limit'
1632
1632
  * @param {string} side 'buy' or 'sell'
1633
1633
  * @param {float} amount how much of currency you want to trade in units of base currency
1634
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
1634
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1635
1635
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1636
1636
  * @param {string} params.clientOrderId client order id
1637
1637
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -585,7 +585,7 @@ export default class coincheck extends Exchange {
585
585
  * @param {string} type 'market' or 'limit'
586
586
  * @param {string} side 'buy' or 'sell'
587
587
  * @param {float} amount how much of currency you want to trade in units of base currency
588
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
588
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
589
589
  * @param {object} [params] extra parameters specific to the exchange API endpoint
590
590
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
591
591
  */
package/js/src/coinex.js CHANGED
@@ -2114,7 +2114,7 @@ export default class coinex extends Exchange {
2114
2114
  * @param {string} type 'market' or 'limit'
2115
2115
  * @param {string} side 'buy' or 'sell'
2116
2116
  * @param {float} amount how much you want to trade in units of the base currency
2117
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2117
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2118
2118
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2119
2119
  * @param {float} [params.triggerPrice] price to trigger stop orders
2120
2120
  * @param {float} [params.stopLossPrice] price to trigger stop loss orders
@@ -2751,7 +2751,7 @@ export default class coinex extends Exchange {
2751
2751
  * @param {string} type 'market' or 'limit'
2752
2752
  * @param {string} side 'buy' or 'sell'
2753
2753
  * @param {float} amount how much of the currency you want to trade in units of the base currency
2754
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2754
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2755
2755
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2756
2756
  * @param {float} [params.triggerPrice] the price to trigger stop orders
2757
2757
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1489,7 +1489,7 @@ export default class coinlist extends Exchange {
1489
1489
  * @param {string} type 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
1490
1490
  * @param {string} side 'buy' or 'sell'
1491
1491
  * @param {float} amount how much of currency you want to trade in units of base currency
1492
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1492
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1493
1493
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1494
1494
  * @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately (default false)
1495
1495
  * @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)
@@ -1566,7 +1566,7 @@ export default class coinlist extends Exchange {
1566
1566
  * @param {string} type 'market' or 'limit' or 'stop_market' or 'stop_limit' or 'take_market' or 'take_limit'
1567
1567
  * @param {string} side 'buy' or 'sell'
1568
1568
  * @param {float} amount how much of currency you want to trade in units of base currency
1569
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1569
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1570
1570
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1571
1571
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1572
1572
  */
@@ -987,7 +987,7 @@ export default class coinmate extends Exchange {
987
987
  * @param {string} type 'market' or 'limit'
988
988
  * @param {string} side 'buy' or 'sell'
989
989
  * @param {float} amount how much of currency you want to trade in units of base currency
990
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
990
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
991
991
  * @param {object} [params] extra parameters specific to the exchange API endpoint
992
992
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
993
993
  */
@@ -1191,7 +1191,7 @@ export default class coinmetro extends Exchange {
1191
1191
  * @param {string} type 'market' or 'limit'
1192
1192
  * @param {string} side 'buy' or 'sell'
1193
1193
  * @param {float} amount how much of currency you want to trade in units of base currency
1194
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1194
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1195
1195
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1196
1196
  * @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount in market orders
1197
1197
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", "GTD"
package/js/src/coinone.js CHANGED
@@ -750,7 +750,7 @@ export default class coinone extends Exchange {
750
750
  * @param {string} type must be 'limit'
751
751
  * @param {string} side 'buy' or 'sell'
752
752
  * @param {float} amount how much of currency you want to trade in units of base currency
753
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
753
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
754
754
  * @param {object} [params] extra parameters specific to the exchange API endpoint
755
755
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
756
756
  */
package/js/src/coinsph.js CHANGED
@@ -1109,7 +1109,7 @@ export default class coinsph extends Exchange {
1109
1109
  * @param {string} type 'market', 'limit', 'stop_loss', 'take_profit', 'stop_loss_limit', 'take_profit_limit' or 'limit_maker'
1110
1110
  * @param {string} side 'buy' or 'sell'
1111
1111
  * @param {float} amount how much of currency you want to trade in units of base currency
1112
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1112
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1113
1113
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1114
1114
  * @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount for market buy orders
1115
1115
  * @param {bool} [params.test] set to true to test an order, no order will be created but the request will be validated
@@ -502,7 +502,7 @@ export default class coinspot extends Exchange {
502
502
  * @param {string} type must be 'limit'
503
503
  * @param {string} side 'buy' or 'sell'
504
504
  * @param {float} amount how much of currency you want to trade in units of base currency
505
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
505
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
506
506
  * @param {object} [params] extra parameters specific to the exchange API endpoint
507
507
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
508
508
  */
@@ -1148,7 +1148,7 @@ export default class cryptocom extends Exchange {
1148
1148
  * @param {string} type 'market', 'limit', 'stop_loss', 'stop_limit', 'take_profit', 'take_profit_limit'
1149
1149
  * @param {string} side 'buy' or 'sell'
1150
1150
  * @param {float} amount how much you want to trade in units of base currency
1151
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1151
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1152
1152
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1153
1153
  * @param {string} [params.timeInForce] 'GTC', 'IOC', 'FOK' or 'PO'
1154
1154
  * @param {string} [params.ref_price_type] 'MARK_PRICE', 'INDEX_PRICE', 'LAST_PRICE' which trigger price type to use, default is MARK_PRICE
@@ -1274,7 +1274,7 @@ export default class currencycom extends Exchange {
1274
1274
  * @param {string} type 'market' or 'limit'
1275
1275
  * @param {string} side 'buy' or 'sell'
1276
1276
  * @param {float} amount how much of currency you want to trade in units of base currency
1277
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1277
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1278
1278
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1279
1279
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1280
1280
  */
package/js/src/delta.d.ts CHANGED
@@ -38,7 +38,7 @@ export default class delta extends Exchange {
38
38
  createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
39
39
  editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
40
40
  cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
41
- cancelAllOrders(symbol?: Str, params?: {}): Promise<any>;
41
+ cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
42
42
  fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
43
43
  fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
44
44
  fetchOrdersWithMethod(method: any, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
package/js/src/delta.js CHANGED
@@ -1806,7 +1806,7 @@ export default class delta extends Exchange {
1806
1806
  * @param {string} type 'market' or 'limit'
1807
1807
  * @param {string} side 'buy' or 'sell'
1808
1808
  * @param {float} amount how much of currency you want to trade in units of base currency
1809
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1809
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1810
1810
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1811
1811
  * @param {bool} [params.reduceOnly] *contract only* indicates if this order is to reduce the size of a position
1812
1812
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1889,7 +1889,7 @@ export default class delta extends Exchange {
1889
1889
  * @param {string} type 'market' or 'limit'
1890
1890
  * @param {string} side 'buy' or 'sell'
1891
1891
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1892
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency
1892
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency
1893
1893
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1894
1894
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1895
1895
  */
@@ -2015,7 +2015,11 @@ export default class delta extends Exchange {
2015
2015
  // "success":true
2016
2016
  // }
2017
2017
  //
2018
- return response;
2018
+ return [
2019
+ this.safeOrder({
2020
+ 'info': response,
2021
+ }),
2022
+ ];
2019
2023
  }
2020
2024
  async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
2021
2025
  /**
package/js/src/deribit.js CHANGED
@@ -1874,8 +1874,8 @@ export default class deribit extends Exchange {
1874
1874
  * @param {string} symbol unified symbol of the market to create an order in
1875
1875
  * @param {string} type 'market' or 'limit'
1876
1876
  * @param {string} side 'buy' or 'sell'
1877
- * @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.
1878
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1877
+ * @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.
1878
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1879
1879
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1880
1880
  * @param {string} [params.trigger] the trigger type 'index_price', 'mark_price', or 'last_price', default is 'last_price'
1881
1881
  * @param {float} [params.trailingAmount] the quote amount to trail away from the current market price
@@ -2052,8 +2052,8 @@ export default class deribit extends Exchange {
2052
2052
  * @param {string} [symbol] unified symbol of the market to edit an order in
2053
2053
  * @param {string} [type] 'market' or 'limit'
2054
2054
  * @param {string} [side] 'buy' or 'sell'
2055
- * @param {float} amount how much you want to trade in units of the base currency, inverse swap and future use the quote currency
2056
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
2055
+ * @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.
2056
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2057
2057
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2058
2058
  * @param {float} [params.trailingAmount] the quote amount to trail away from the current market price
2059
2059
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1579,7 +1579,7 @@ export default class digifinex extends Exchange {
1579
1579
  * @param {string} type 'market' or 'limit'
1580
1580
  * @param {string} side 'buy' or 'sell'
1581
1581
  * @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
1582
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1582
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1583
1583
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1584
1584
  * @param {string} [params.timeInForce] "GTC", "IOC", "FOK", or "PO"
1585
1585
  * @param {bool} [params.postOnly] true or false
@@ -1736,7 +1736,7 @@ export default class digifinex extends Exchange {
1736
1736
  * @param {string} type 'market' or 'limit'
1737
1737
  * @param {string} side 'buy' or 'sell'
1738
1738
  * @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
1739
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1739
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1740
1740
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1741
1741
  * @returns {object} request to be sent to the exchange
1742
1742
  */
package/js/src/exmo.js CHANGED
@@ -1418,7 +1418,7 @@ export default class exmo extends Exchange {
1418
1418
  * @param {string} type 'market' or 'limit'
1419
1419
  * @param {string} side 'buy' or 'sell'
1420
1420
  * @param {float} amount how much of currency you want to trade in units of base currency
1421
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1421
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1422
1422
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1423
1423
  * @param {float} [params.stopPrice] the price at which a trigger order is triggered at
1424
1424
  * @param {string} [params.timeInForce] *spot only* 'fok', 'ioc' or 'post_only'
@@ -2066,7 +2066,7 @@ export default class exmo extends Exchange {
2066
2066
  * @param {string} type not used by exmo editOrder
2067
2067
  * @param {string} side not used by exmo editOrder
2068
2068
  * @param {float} [amount] how much of the currency you want to trade in units of the base currency
2069
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2069
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2070
2070
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2071
2071
  * @param {float} [params.triggerPrice] stop price for stop-market and stop-limit orders
2072
2072
  * @param {string} params.marginMode must be set to isolated
package/js/src/gate.js CHANGED
@@ -625,6 +625,7 @@ export default class gate extends Exchange {
625
625
  'createOrder': {
626
626
  'expiration': 86400, // for conditional orders
627
627
  },
628
+ 'createMarketBuyOrderRequiresPrice': true,
628
629
  'networks': {
629
630
  'AVAXC': 'AVAX_C',
630
631
  'BEP20': 'BSC',
@@ -3759,7 +3760,7 @@ export default class gate extends Exchange {
3759
3760
  * @param {string} type 'limit' or 'market' *"market" is contract only*
3760
3761
  * @param {string} side 'buy' or 'sell'
3761
3762
  * @param {float} amount the amount of currency to trade
3762
- * @param {float} [price] *ignored in "market" orders* the price at which the order is to be fullfilled at in units of the quote currency
3763
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
3763
3764
  * @param {object} [params] extra parameters specific to the exchange API endpoint
3764
3765
  * @param {float} [params.stopPrice] The price at which a trigger order is triggered at
3765
3766
  * @param {string} [params.timeInForce] "GTC", "IOC", or "PO"
@@ -4264,7 +4265,7 @@ export default class gate extends Exchange {
4264
4265
  * @param {string} type 'market' or 'limit'
4265
4266
  * @param {string} side 'buy' or 'sell'
4266
4267
  * @param {float} amount how much of the currency you want to trade in units of the base currency
4267
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the base currency, ignored in market orders
4268
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
4268
4269
  * @param {object} [params] extra parameters specific to the exchange API endpoint
4269
4270
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
4270
4271
  */
package/js/src/gemini.js CHANGED
@@ -1450,7 +1450,7 @@ export default class gemini extends Exchange {
1450
1450
  * @param {string} type must be 'limit'
1451
1451
  * @param {string} side 'buy' or 'sell'
1452
1452
  * @param {float} amount how much of currency you want to trade in units of base currency
1453
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1453
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1454
1454
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1455
1455
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1456
1456
  */
package/js/src/hitbtc.js CHANGED
@@ -2292,7 +2292,7 @@ export default class hitbtc extends Exchange {
2292
2292
  * @param {string} type 'market' or 'limit'
2293
2293
  * @param {string} side 'buy' or 'sell'
2294
2294
  * @param {float} amount how much of currency you want to trade in units of base currency
2295
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
2295
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
2296
2296
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2297
2297
  * @param {string} [params.marginMode] 'cross' or 'isolated' only 'isolated' is supported for spot-margin, swap supports both, default is 'cross'
2298
2298
  * @param {bool} [params.margin] true for creating a margin order
package/js/src/hollaex.js CHANGED
@@ -1148,7 +1148,7 @@ export default class hollaex extends Exchange {
1148
1148
  * @param {string} type 'market' or 'limit'
1149
1149
  * @param {string} side 'buy' or 'sell'
1150
1150
  * @param {float} amount how much of currency you want to trade in units of base currency
1151
- * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1151
+ * @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
1152
1152
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1153
1153
  * @param {float} [params.triggerPrice] the price at which a trigger order is triggered at
1154
1154
  * @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately