ccxt 4.1.63 → 4.1.65

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 (293) hide show
  1. package/README.md +4 -4
  2. package/dist/ccxt.browser.js +2769 -2653
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ace.js +13 -13
  6. package/dist/cjs/src/alpaca.js +10 -10
  7. package/dist/cjs/src/ascendex.js +33 -33
  8. package/dist/cjs/src/base/Exchange.js +6 -6
  9. package/dist/cjs/src/bigone.js +23 -23
  10. package/dist/cjs/src/binance.js +68 -68
  11. package/dist/cjs/src/binanceus.js +33 -3
  12. package/dist/cjs/src/bingx.js +33 -33
  13. package/dist/cjs/src/bit2c.js +11 -11
  14. package/dist/cjs/src/bitbank.js +14 -14
  15. package/dist/cjs/src/bitbns.js +15 -15
  16. package/dist/cjs/src/bitfinex.js +24 -24
  17. package/dist/cjs/src/bitfinex2.js +30 -30
  18. package/dist/cjs/src/bitflyer.js +17 -17
  19. package/dist/cjs/src/bitforex.js +12 -12
  20. package/dist/cjs/src/bitget.js +50 -50
  21. package/dist/cjs/src/bithumb.js +13 -13
  22. package/dist/cjs/src/bitmart.js +74 -59
  23. package/dist/cjs/src/bitmex.js +29 -28
  24. package/dist/cjs/src/bitopro.js +23 -23
  25. package/dist/cjs/src/bitpanda.js +25 -25
  26. package/dist/cjs/src/bitrue.js +26 -26
  27. package/dist/cjs/src/bitso.js +22 -22
  28. package/dist/cjs/src/bitstamp.js +24 -24
  29. package/dist/cjs/src/bittrex.js +31 -31
  30. package/dist/cjs/src/bitvavo.js +23 -23
  31. package/dist/cjs/src/bl3p.js +7 -7
  32. package/dist/cjs/src/blockchaincom.js +23 -23
  33. package/dist/cjs/src/btcalpha.js +17 -17
  34. package/dist/cjs/src/btcbox.js +9 -9
  35. package/dist/cjs/src/btcmarkets.js +19 -19
  36. package/dist/cjs/src/btcturk.js +13 -13
  37. package/dist/cjs/src/bybit.js +71 -67
  38. package/dist/cjs/src/cex.js +17 -17
  39. package/dist/cjs/src/coinbase.js +28 -28
  40. package/dist/cjs/src/coinbasepro.js +27 -27
  41. package/dist/cjs/src/coincheck.js +11 -11
  42. package/dist/cjs/src/coinex.js +42 -42
  43. package/dist/cjs/src/coinlist.js +29 -29
  44. package/dist/cjs/src/coinmate.js +14 -14
  45. package/dist/cjs/src/coinone.js +13 -13
  46. package/dist/cjs/src/coinsph.js +25 -25
  47. package/dist/cjs/src/coinspot.js +9 -9
  48. package/dist/cjs/src/cryptocom.js +33 -32
  49. package/dist/cjs/src/currencycom.js +24 -24
  50. package/dist/cjs/src/delta.js +29 -29
  51. package/dist/cjs/src/deribit.js +35 -35
  52. package/dist/cjs/src/digifinex.js +43 -43
  53. package/dist/cjs/src/exmo.js +30 -30
  54. package/dist/cjs/src/gate.js +39 -39
  55. package/dist/cjs/src/gemini.js +18 -18
  56. package/dist/cjs/src/hitbtc.js +40 -40
  57. package/dist/cjs/src/hollaex.js +26 -26
  58. package/dist/cjs/src/htx.js +48 -48
  59. package/dist/cjs/src/huobijp.js +24 -24
  60. package/dist/cjs/src/idex.js +23 -23
  61. package/dist/cjs/src/independentreserve.js +12 -12
  62. package/dist/cjs/src/indodax.js +16 -16
  63. package/dist/cjs/src/kraken.js +48 -30
  64. package/dist/cjs/src/krakenfutures.js +16 -16
  65. package/dist/cjs/src/kucoin.js +39 -39
  66. package/dist/cjs/src/kucoinfutures.js +24 -24
  67. package/dist/cjs/src/kuna.js +25 -25
  68. package/dist/cjs/src/latoken.js +20 -20
  69. package/dist/cjs/src/lbank.js +24 -24
  70. package/dist/cjs/src/luno.js +27 -28
  71. package/dist/cjs/src/lykke.js +18 -18
  72. package/dist/cjs/src/mercado.js +13 -13
  73. package/dist/cjs/src/mexc.js +47 -45
  74. package/dist/cjs/src/ndax.js +23 -23
  75. package/dist/cjs/src/novadax.js +23 -23
  76. package/dist/cjs/src/oceanex.js +19 -19
  77. package/dist/cjs/src/okcoin.js +25 -25
  78. package/dist/cjs/src/okx.js +53 -53
  79. package/dist/cjs/src/p2b.js +14 -14
  80. package/dist/cjs/src/paymium.js +10 -10
  81. package/dist/cjs/src/phemex.js +162 -123
  82. package/dist/cjs/src/poloniex.js +27 -27
  83. package/dist/cjs/src/poloniexfutures.js +21 -21
  84. package/dist/cjs/src/pro/alpaca.js +6 -6
  85. package/dist/cjs/src/pro/ascendex.js +5 -5
  86. package/dist/cjs/src/pro/binance.js +21 -21
  87. package/dist/cjs/src/pro/bingx.js +6 -6
  88. package/dist/cjs/src/pro/bitfinex.js +4 -4
  89. package/dist/cjs/src/pro/bitfinex2.js +7 -7
  90. package/dist/cjs/src/pro/bitget.js +12 -12
  91. package/dist/cjs/src/pro/bitmart.js +5 -5
  92. package/dist/cjs/src/pro/bitmex.js +8 -8
  93. package/dist/cjs/src/pro/bitopro.js +4 -4
  94. package/dist/cjs/src/pro/bitpanda.js +7 -7
  95. package/dist/cjs/src/pro/bitrue.js +2 -2
  96. package/dist/cjs/src/pro/bitstamp.js +3 -3
  97. package/dist/cjs/src/pro/bittrex.js +7 -7
  98. package/dist/cjs/src/pro/bitvavo.js +6 -6
  99. package/dist/cjs/src/pro/blockchaincom.js +6 -6
  100. package/dist/cjs/src/pro/bybit.js +12 -12
  101. package/dist/cjs/src/pro/cex.js +9 -9
  102. package/dist/cjs/src/pro/coinbase.js +6 -6
  103. package/dist/cjs/src/pro/coinbasepro.js +10 -10
  104. package/dist/cjs/src/pro/coinex.js +7 -7
  105. package/dist/cjs/src/pro/cryptocom.js +13 -13
  106. package/dist/cjs/src/pro/currencycom.js +5 -5
  107. package/dist/cjs/src/pro/deribit.js +7 -7
  108. package/dist/cjs/src/pro/exmo.js +5 -5
  109. package/dist/cjs/src/pro/gate.js +10 -10
  110. package/dist/cjs/src/pro/gemini.js +4 -4
  111. package/dist/cjs/src/pro/hitbtc.js +11 -11
  112. package/dist/cjs/src/pro/hollaex.js +5 -5
  113. package/dist/cjs/src/pro/htx.js +8 -8
  114. package/dist/cjs/src/pro/huobijp.js +4 -4
  115. package/dist/cjs/src/pro/idex.js +5 -5
  116. package/dist/cjs/src/pro/independentreserve.js +2 -2
  117. package/dist/cjs/src/pro/kraken.js +11 -11
  118. package/dist/cjs/src/pro/krakenfutures.js +12 -9
  119. package/dist/cjs/src/pro/kucoin.js +10 -10
  120. package/dist/cjs/src/pro/kucoinfutures.js +8 -8
  121. package/dist/cjs/src/pro/luno.js +4 -4
  122. package/dist/cjs/src/pro/mexc.js +7 -7
  123. package/dist/cjs/src/pro/ndax.js +4 -4
  124. package/dist/cjs/src/pro/okcoin.js +6 -6
  125. package/dist/cjs/src/pro/okx.js +16 -16
  126. package/dist/cjs/src/pro/phemex.js +7 -7
  127. package/dist/cjs/src/pro/poloniex.js +7 -7
  128. package/dist/cjs/src/pro/poloniexfutures.js +5 -5
  129. package/dist/cjs/src/pro/probit.js +6 -6
  130. package/dist/cjs/src/pro/upbit.js +3 -3
  131. package/dist/cjs/src/pro/wazirx.js +7 -7
  132. package/dist/cjs/src/pro/whitebit.js +7 -7
  133. package/dist/cjs/src/pro/woo.js +1 -1
  134. package/dist/cjs/src/probit.js +24 -24
  135. package/dist/cjs/src/tidex.js +15 -15
  136. package/dist/cjs/src/timex.js +19 -19
  137. package/dist/cjs/src/tokocrypto.js +22 -24
  138. package/dist/cjs/src/upbit.js +22 -22
  139. package/dist/cjs/src/wavesexchange.js +19 -19
  140. package/dist/cjs/src/wazirx.js +22 -16
  141. package/dist/cjs/src/whitebit.js +29 -29
  142. package/dist/cjs/src/woo.js +26 -26
  143. package/dist/cjs/src/yobit.js +17 -17
  144. package/dist/cjs/src/zaif.js +10 -10
  145. package/dist/cjs/src/zonda.js +16 -16
  146. package/doc/manual.rst +1 -1
  147. package/doc/readme.rst +1 -1
  148. package/js/ccxt.d.ts +1 -1
  149. package/js/ccxt.js +1 -1
  150. package/js/src/abstract/mexc.d.ts +2 -0
  151. package/js/src/ace.js +13 -13
  152. package/js/src/alpaca.js +10 -10
  153. package/js/src/ascendex.js +33 -33
  154. package/js/src/base/Exchange.js +6 -6
  155. package/js/src/bigone.js +23 -23
  156. package/js/src/binance.js +68 -68
  157. package/js/src/binanceus.js +33 -3
  158. package/js/src/bingx.js +33 -33
  159. package/js/src/bit2c.js +11 -11
  160. package/js/src/bitbank.js +14 -14
  161. package/js/src/bitbns.js +15 -15
  162. package/js/src/bitfinex.js +24 -24
  163. package/js/src/bitfinex2.js +30 -30
  164. package/js/src/bitflyer.js +17 -17
  165. package/js/src/bitforex.js +12 -12
  166. package/js/src/bitget.js +50 -50
  167. package/js/src/bithumb.js +13 -13
  168. package/js/src/bitmart.js +74 -59
  169. package/js/src/bitmex.js +29 -28
  170. package/js/src/bitopro.js +23 -23
  171. package/js/src/bitpanda.js +25 -25
  172. package/js/src/bitrue.js +26 -26
  173. package/js/src/bitso.js +22 -22
  174. package/js/src/bitstamp.js +24 -24
  175. package/js/src/bittrex.js +31 -31
  176. package/js/src/bitvavo.js +23 -23
  177. package/js/src/bl3p.js +7 -7
  178. package/js/src/blockchaincom.js +23 -23
  179. package/js/src/btcalpha.js +17 -17
  180. package/js/src/btcbox.js +9 -9
  181. package/js/src/btcmarkets.js +19 -19
  182. package/js/src/btcturk.js +13 -13
  183. package/js/src/bybit.js +71 -67
  184. package/js/src/cex.js +17 -17
  185. package/js/src/coinbase.js +28 -28
  186. package/js/src/coinbasepro.js +27 -27
  187. package/js/src/coincheck.js +11 -11
  188. package/js/src/coinex.js +42 -42
  189. package/js/src/coinlist.js +29 -29
  190. package/js/src/coinmate.js +14 -14
  191. package/js/src/coinone.js +13 -13
  192. package/js/src/coinsph.js +25 -25
  193. package/js/src/coinspot.js +9 -9
  194. package/js/src/cryptocom.js +33 -32
  195. package/js/src/currencycom.js +24 -24
  196. package/js/src/delta.js +29 -29
  197. package/js/src/deribit.js +35 -35
  198. package/js/src/digifinex.js +43 -43
  199. package/js/src/exmo.js +30 -30
  200. package/js/src/gate.js +39 -39
  201. package/js/src/gemini.js +18 -18
  202. package/js/src/hitbtc.js +40 -40
  203. package/js/src/hollaex.js +26 -26
  204. package/js/src/htx.js +48 -48
  205. package/js/src/huobijp.js +24 -24
  206. package/js/src/idex.js +23 -23
  207. package/js/src/independentreserve.js +12 -12
  208. package/js/src/indodax.js +16 -16
  209. package/js/src/kraken.js +48 -30
  210. package/js/src/krakenfutures.js +16 -16
  211. package/js/src/kucoin.js +39 -39
  212. package/js/src/kucoinfutures.js +24 -24
  213. package/js/src/kuna.js +25 -25
  214. package/js/src/latoken.js +20 -20
  215. package/js/src/lbank.js +24 -24
  216. package/js/src/luno.js +27 -28
  217. package/js/src/lykke.js +18 -18
  218. package/js/src/mercado.js +13 -13
  219. package/js/src/mexc.js +47 -45
  220. package/js/src/ndax.js +23 -23
  221. package/js/src/novadax.js +23 -23
  222. package/js/src/oceanex.js +19 -19
  223. package/js/src/okcoin.js +25 -25
  224. package/js/src/okx.js +53 -53
  225. package/js/src/p2b.js +14 -14
  226. package/js/src/paymium.js +10 -10
  227. package/js/src/phemex.js +162 -123
  228. package/js/src/poloniex.js +27 -27
  229. package/js/src/poloniexfutures.js +21 -21
  230. package/js/src/pro/alpaca.js +6 -6
  231. package/js/src/pro/ascendex.js +5 -5
  232. package/js/src/pro/binance.js +21 -21
  233. package/js/src/pro/bingx.js +6 -6
  234. package/js/src/pro/bitfinex.js +4 -4
  235. package/js/src/pro/bitfinex2.js +7 -7
  236. package/js/src/pro/bitget.js +12 -12
  237. package/js/src/pro/bitmart.js +5 -5
  238. package/js/src/pro/bitmex.js +8 -8
  239. package/js/src/pro/bitopro.js +4 -4
  240. package/js/src/pro/bitpanda.js +7 -7
  241. package/js/src/pro/bitrue.js +2 -2
  242. package/js/src/pro/bitstamp.js +3 -3
  243. package/js/src/pro/bittrex.js +7 -7
  244. package/js/src/pro/bitvavo.js +6 -6
  245. package/js/src/pro/blockchaincom.js +6 -6
  246. package/js/src/pro/bybit.js +12 -12
  247. package/js/src/pro/cex.js +9 -9
  248. package/js/src/pro/coinbase.js +6 -6
  249. package/js/src/pro/coinbasepro.js +10 -10
  250. package/js/src/pro/coinex.js +7 -7
  251. package/js/src/pro/cryptocom.js +13 -13
  252. package/js/src/pro/currencycom.js +5 -5
  253. package/js/src/pro/deribit.js +7 -7
  254. package/js/src/pro/exmo.js +5 -5
  255. package/js/src/pro/gate.js +10 -10
  256. package/js/src/pro/gemini.js +4 -4
  257. package/js/src/pro/hitbtc.js +11 -11
  258. package/js/src/pro/hollaex.js +5 -5
  259. package/js/src/pro/htx.js +8 -8
  260. package/js/src/pro/huobijp.js +4 -4
  261. package/js/src/pro/idex.js +5 -5
  262. package/js/src/pro/independentreserve.js +2 -2
  263. package/js/src/pro/kraken.js +11 -11
  264. package/js/src/pro/krakenfutures.js +12 -9
  265. package/js/src/pro/kucoin.js +10 -10
  266. package/js/src/pro/kucoinfutures.js +8 -8
  267. package/js/src/pro/luno.js +4 -4
  268. package/js/src/pro/mexc.js +7 -7
  269. package/js/src/pro/ndax.js +4 -4
  270. package/js/src/pro/okcoin.js +6 -6
  271. package/js/src/pro/okx.js +16 -16
  272. package/js/src/pro/phemex.js +7 -7
  273. package/js/src/pro/poloniex.js +7 -7
  274. package/js/src/pro/poloniexfutures.js +5 -5
  275. package/js/src/pro/probit.js +6 -6
  276. package/js/src/pro/upbit.js +3 -3
  277. package/js/src/pro/wazirx.js +7 -7
  278. package/js/src/pro/whitebit.js +7 -7
  279. package/js/src/pro/woo.js +1 -1
  280. package/js/src/probit.js +24 -24
  281. package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +1 -1
  282. package/js/src/tidex.js +15 -15
  283. package/js/src/timex.js +19 -19
  284. package/js/src/tokocrypto.js +22 -24
  285. package/js/src/upbit.js +22 -22
  286. package/js/src/wavesexchange.js +19 -19
  287. package/js/src/wazirx.js +22 -16
  288. package/js/src/whitebit.js +29 -29
  289. package/js/src/woo.js +26 -26
  290. package/js/src/yobit.js +17 -17
  291. package/js/src/zaif.js +10 -10
  292. package/js/src/zonda.js +16 -16
  293. package/package.json +1 -1
package/js/src/delta.js CHANGED
@@ -347,7 +347,7 @@ export default class delta extends Exchange {
347
347
  * @method
348
348
  * @name delta#fetchTime
349
349
  * @description fetches the current integer timestamp in milliseconds from the exchange server
350
- * @param {object} [params] extra parameters specific to the delta api endpoint
350
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
351
351
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
352
352
  */
353
353
  const response = await this.publicGetSettings(params);
@@ -360,7 +360,7 @@ export default class delta extends Exchange {
360
360
  * @method
361
361
  * @name delta#fetchStatus
362
362
  * @description the latest known information on the availability of the exchange API
363
- * @param {object} [params] extra parameters specific to the delta api endpoint
363
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
364
364
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
365
365
  */
366
366
  const response = await this.publicGetSettings(params);
@@ -435,7 +435,7 @@ export default class delta extends Exchange {
435
435
  * @name delta#fetchCurrencies
436
436
  * @description fetches all available currencies on an exchange
437
437
  * @see https://docs.delta.exchange/#get-list-of-all-assets
438
- * @param {object} [params] extra parameters specific to the delta api endpoint
438
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
439
439
  * @returns {object} an associative dictionary of currencies
440
440
  */
441
441
  const response = await this.publicGetAssets(params);
@@ -522,7 +522,7 @@ export default class delta extends Exchange {
522
522
  * @name delta#fetchMarkets
523
523
  * @description retrieves data on all markets for delta
524
524
  * @see https://docs.delta.exchange/#get-list-of-products
525
- * @param {object} [params] extra parameters specific to the exchange api endpoint
525
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
526
526
  * @returns {object[]} an array of objects representing market data
527
527
  */
528
528
  const response = await this.publicGetProducts(params);
@@ -980,7 +980,7 @@ export default class delta extends Exchange {
980
980
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
981
981
  * @see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
982
982
  * @param {string} symbol unified symbol of the market to fetch the ticker for
983
- * @param {object} [params] extra parameters specific to the delta api endpoint
983
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
984
984
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
985
985
  */
986
986
  await this.loadMarkets();
@@ -1120,10 +1120,10 @@ export default class delta extends Exchange {
1120
1120
  /**
1121
1121
  * @method
1122
1122
  * @name delta#fetchTickers
1123
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1123
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1124
1124
  * @see https://docs.delta.exchange/#get-tickers-for-products
1125
1125
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1126
- * @param {object} [params] extra parameters specific to the delta api endpoint
1126
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1127
1127
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1128
1128
  */
1129
1129
  await this.loadMarkets();
@@ -1276,7 +1276,7 @@ export default class delta extends Exchange {
1276
1276
  * @see https://docs.delta.exchange/#get-l2-orderbook
1277
1277
  * @param {string} symbol unified symbol of the market to fetch the order book for
1278
1278
  * @param {int} [limit] the maximum amount of order book entries to return
1279
- * @param {object} [params] extra parameters specific to the delta api endpoint
1279
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1280
1280
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1281
1281
  */
1282
1282
  await this.loadMarkets();
@@ -1418,7 +1418,7 @@ export default class delta extends Exchange {
1418
1418
  * @param {string} symbol unified symbol of the market to fetch trades for
1419
1419
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1420
1420
  * @param {int} [limit] the maximum amount of trades to fetch
1421
- * @param {object} [params] extra parameters specific to the delta api endpoint
1421
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1422
1422
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1423
1423
  */
1424
1424
  await this.loadMarkets();
@@ -1475,7 +1475,7 @@ export default class delta extends Exchange {
1475
1475
  * @param {string} timeframe the length of time each candle represents
1476
1476
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1477
1477
  * @param {int} [limit] the maximum amount of candles to fetch
1478
- * @param {object} [params] extra parameters specific to the delta api endpoint
1478
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1479
1479
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1480
1480
  */
1481
1481
  await this.loadMarkets();
@@ -1542,7 +1542,7 @@ export default class delta extends Exchange {
1542
1542
  * @name delta#fetchBalance
1543
1543
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1544
1544
  * @see https://docs.delta.exchange/#get-wallet-balances
1545
- * @param {object} [params] extra parameters specific to the delta api endpoint
1545
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1546
1546
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1547
1547
  */
1548
1548
  await this.loadMarkets();
@@ -1577,7 +1577,7 @@ export default class delta extends Exchange {
1577
1577
  * @description fetch data on a single open contract trade position
1578
1578
  * @see https://docs.delta.exchange/#get-position
1579
1579
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
1580
- * @param {object} [params] extra parameters specific to the delta api endpoint
1580
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1581
1581
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1582
1582
  */
1583
1583
  await this.loadMarkets();
@@ -1606,7 +1606,7 @@ export default class delta extends Exchange {
1606
1606
  * @description fetch all open positions
1607
1607
  * @see https://docs.delta.exchange/#get-margined-positions
1608
1608
  * @param {string[]|undefined} symbols list of unified market symbols
1609
- * @param {object} [params] extra parameters specific to the delta api endpoint
1609
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1610
1610
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1611
1611
  */
1612
1612
  await this.loadMarkets();
@@ -1811,7 +1811,7 @@ export default class delta extends Exchange {
1811
1811
  * @param {string} side 'buy' or 'sell'
1812
1812
  * @param {float} amount how much of currency you want to trade in units of base currency
1813
1813
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1814
- * @param {object} [params] extra parameters specific to the delta api endpoint
1814
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1815
1815
  * @param {bool} [params.reduceOnly] *contract only* indicates if this order is to reduce the size of a position
1816
1816
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1817
1817
  */
@@ -1894,7 +1894,7 @@ export default class delta extends Exchange {
1894
1894
  * @param {string} side 'buy' or 'sell'
1895
1895
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1896
1896
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency
1897
- * @param {object} [params] extra parameters specific to the delta api endpoint
1897
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1898
1898
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1899
1899
  */
1900
1900
  await this.loadMarkets();
@@ -1940,7 +1940,7 @@ export default class delta extends Exchange {
1940
1940
  * @see https://docs.delta.exchange/#cancel-order
1941
1941
  * @param {string} id order id
1942
1942
  * @param {string} symbol unified symbol of the market the order was made in
1943
- * @param {object} [params] extra parameters specific to the delta api endpoint
1943
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1944
1944
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1945
1945
  */
1946
1946
  if (symbol === undefined) {
@@ -1999,7 +1999,7 @@ export default class delta extends Exchange {
1999
1999
  * @description cancel all open orders in a market
2000
2000
  * @see https://docs.delta.exchange/#cancel-all-open-orders
2001
2001
  * @param {string} symbol unified market symbol of the market to cancel orders in
2002
- * @param {object} [params] extra parameters specific to the delta api endpoint
2002
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2003
2003
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2004
2004
  */
2005
2005
  if (symbol === undefined) {
@@ -2030,7 +2030,7 @@ export default class delta extends Exchange {
2030
2030
  * @param {string} symbol unified market symbol
2031
2031
  * @param {int} [since] the earliest time in ms to fetch open orders for
2032
2032
  * @param {int} [limit] the maximum number of open order structures to retrieve
2033
- * @param {object} [params] extra parameters specific to the delta api endpoint
2033
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2034
2034
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2035
2035
  */
2036
2036
  return await this.fetchOrdersWithMethod('privateGetOrders', symbol, since, limit, params);
@@ -2044,7 +2044,7 @@ export default class delta extends Exchange {
2044
2044
  * @param {string} symbol unified market symbol of the market orders were made in
2045
2045
  * @param {int} [since] the earliest time in ms to fetch orders for
2046
2046
  * @param {int} [limit] the maximum number of order structures to retrieve
2047
- * @param {object} [params] extra parameters specific to the delta api endpoint
2047
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2048
2048
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2049
2049
  */
2050
2050
  return await this.fetchOrdersWithMethod('privateGetOrdersHistory', symbol, since, limit, params);
@@ -2108,7 +2108,7 @@ export default class delta extends Exchange {
2108
2108
  * @param {string} symbol unified market symbol
2109
2109
  * @param {int} [since] the earliest time in ms to fetch trades for
2110
2110
  * @param {int} [limit] the maximum number of trades structures to retrieve
2111
- * @param {object} [params] extra parameters specific to the delta api endpoint
2111
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2112
2112
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2113
2113
  */
2114
2114
  await this.loadMarkets();
@@ -2190,7 +2190,7 @@ export default class delta extends Exchange {
2190
2190
  * @param {string} code unified currency code, default is undefined
2191
2191
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
2192
2192
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
2193
- * @param {object} [params] extra parameters specific to the delta api endpoint
2193
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2194
2194
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
2195
2195
  */
2196
2196
  await this.loadMarkets();
@@ -2312,7 +2312,7 @@ export default class delta extends Exchange {
2312
2312
  * @name delta#fetchDepositAddress
2313
2313
  * @description fetch the deposit address for a currency associated with this account
2314
2314
  * @param {string} code unified currency code
2315
- * @param {object} [params] extra parameters specific to the delta api endpoint
2315
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2316
2316
  * @param {string} [params.network] unified network code
2317
2317
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2318
2318
  */
@@ -2381,7 +2381,7 @@ export default class delta extends Exchange {
2381
2381
  * @description fetch the current funding rate
2382
2382
  * @see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
2383
2383
  * @param {string} symbol unified market symbol
2384
- * @param {object} [params] extra parameters specific to the delta api endpoint
2384
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2385
2385
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
2386
2386
  */
2387
2387
  await this.loadMarkets();
@@ -2448,7 +2448,7 @@ export default class delta extends Exchange {
2448
2448
  * @description fetch the funding rate for multiple markets
2449
2449
  * @see https://docs.delta.exchange/#get-tickers-for-products
2450
2450
  * @param {string[]|undefined} symbols list of unified market symbols
2451
- * @param {object} [params] extra parameters specific to the delta api endpoint
2451
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2452
2452
  * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
2453
2453
  */
2454
2454
  await this.loadMarkets();
@@ -2583,7 +2583,7 @@ export default class delta extends Exchange {
2583
2583
  * @see https://docs.delta.exchange/#add-remove-position-margin
2584
2584
  * @param {string} symbol unified market symbol
2585
2585
  * @param {float} amount amount of margin to add
2586
- * @param {object} [params] extra parameters specific to the delta api endpoint
2586
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2587
2587
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
2588
2588
  */
2589
2589
  return await this.modifyMarginHelper(symbol, amount, 'add', params);
@@ -2596,7 +2596,7 @@ export default class delta extends Exchange {
2596
2596
  * @see https://docs.delta.exchange/#add-remove-position-margin
2597
2597
  * @param {string} symbol unified market symbol
2598
2598
  * @param {float} amount the amount of margin to remove
2599
- * @param {object} [params] extra parameters specific to the delta api endpoint
2599
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2600
2600
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
2601
2601
  */
2602
2602
  return await this.modifyMarginHelper(symbol, amount, 'reduce', params);
@@ -2816,7 +2816,7 @@ export default class delta extends Exchange {
2816
2816
  * @description fetch the set leverage for a market
2817
2817
  * @see https://docs.delta.exchange/#get-order-leverage
2818
2818
  * @param {string} symbol unified market symbol
2819
- * @param {object} [params] extra parameters specific to the delta api endpoint
2819
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2820
2820
  * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
2821
2821
  */
2822
2822
  await this.loadMarkets();
@@ -2847,7 +2847,7 @@ export default class delta extends Exchange {
2847
2847
  * @see https://docs.delta.exchange/#change-order-leverage
2848
2848
  * @param {float} leverage the rate of leverage
2849
2849
  * @param {string} symbol unified market symbol
2850
- * @param {object} [params] extra parameters specific to the delta api endpoint
2850
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2851
2851
  * @returns {object} response from the exchange
2852
2852
  */
2853
2853
  if (symbol === undefined) {
@@ -3037,7 +3037,7 @@ export default class delta extends Exchange {
3037
3037
  * @description fetches an option contracts greeks, financial metrics used to measure the factors that affect the price of an options contract
3038
3038
  * @see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
3039
3039
  * @param {string} symbol unified symbol of the market to fetch greeks for
3040
- * @param {object} [params] extra parameters specific to the delta api endpoint
3040
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3041
3041
  * @returns {object} a [greeks structure]{@link https://docs.ccxt.com/#/?id=greeks-structure}
3042
3042
  */
3043
3043
  await this.loadMarkets();
package/js/src/deribit.js CHANGED
@@ -409,7 +409,7 @@ export default class deribit extends Exchange {
409
409
  * @method
410
410
  * @name deribit#fetchTime
411
411
  * @description fetches the current integer timestamp in milliseconds from the exchange server
412
- * @param {object} [params] extra parameters specific to the deribit api endpoint
412
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
413
413
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
414
414
  */
415
415
  const response = await this.publicGetGetTime(params);
@@ -431,7 +431,7 @@ export default class deribit extends Exchange {
431
431
  * @name deribit#fetchCurrencies
432
432
  * @description fetches all available currencies on an exchange
433
433
  * @see https://docs.deribit.com/#public-get_currencies
434
- * @param {object} [params] extra parameters specific to the deribit api endpoint
434
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
435
435
  * @returns {object} an associative dictionary of currencies
436
436
  */
437
437
  const response = await this.publicGetGetCurrencies(params);
@@ -504,7 +504,7 @@ export default class deribit extends Exchange {
504
504
  * @method
505
505
  * @name deribit#fetchStatus
506
506
  * @description the latest known information on the availability of the exchange API
507
- * @param {object} [params] extra parameters specific to the deribit api endpoint
507
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
508
508
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
509
509
  */
510
510
  const response = await this.publicGetStatus(params);
@@ -536,7 +536,7 @@ export default class deribit extends Exchange {
536
536
  * @method
537
537
  * @name deribit#fetchAccounts
538
538
  * @description fetch all the accounts associated with a profile
539
- * @param {object} [params] extra parameters specific to the deribit api endpoint
539
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
540
540
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
541
541
  */
542
542
  await this.loadMarkets();
@@ -605,7 +605,7 @@ export default class deribit extends Exchange {
605
605
  * @method
606
606
  * @name deribit#fetchMarkets
607
607
  * @description retrieves data on all markets for deribit
608
- * @param {object} [params] extra parameters specific to the exchange api endpoint
608
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
609
609
  * @returns {object[]} an array of objects representing market data
610
610
  */
611
611
  const currenciesResponse = await this.publicGetGetCurrencies(params);
@@ -841,7 +841,7 @@ export default class deribit extends Exchange {
841
841
  * @method
842
842
  * @name deribit#fetchBalance
843
843
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
844
- * @param {object} [params] extra parameters specific to the deribit api endpoint
844
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
845
845
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
846
846
  */
847
847
  await this.loadMarkets();
@@ -902,7 +902,7 @@ export default class deribit extends Exchange {
902
902
  * @name deribit#createDepositAddress
903
903
  * @description create a currency deposit address
904
904
  * @param {string} code unified currency code of the currency for the deposit address
905
- * @param {object} [params] extra parameters specific to the deribit api endpoint
905
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
906
906
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
907
907
  */
908
908
  await this.loadMarkets();
@@ -939,7 +939,7 @@ export default class deribit extends Exchange {
939
939
  * @name deribit#fetchDepositAddress
940
940
  * @description fetch the deposit address for a currency associated with this account
941
941
  * @param {string} code unified currency code
942
- * @param {object} [params] extra parameters specific to the deribit api endpoint
942
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
943
943
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
944
944
  */
945
945
  await this.loadMarkets();
@@ -1057,7 +1057,7 @@ export default class deribit extends Exchange {
1057
1057
  * @name deribit#fetchTicker
1058
1058
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1059
1059
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1060
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1060
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1061
1061
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1062
1062
  */
1063
1063
  await this.loadMarkets();
@@ -1101,9 +1101,9 @@ export default class deribit extends Exchange {
1101
1101
  /**
1102
1102
  * @method
1103
1103
  * @name deribit#fetchTickers
1104
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1104
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1105
1105
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1106
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1106
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1107
1107
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1108
1108
  */
1109
1109
  await this.loadMarkets();
@@ -1162,7 +1162,7 @@ export default class deribit extends Exchange {
1162
1162
  * @param {string} timeframe the length of time each candle represents
1163
1163
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1164
1164
  * @param {int} [limit] the maximum amount of candles to fetch
1165
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1165
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1166
1166
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1167
1167
  */
1168
1168
  await this.loadMarkets();
@@ -1311,7 +1311,7 @@ export default class deribit extends Exchange {
1311
1311
  * @param {string} symbol unified symbol of the market to fetch trades for
1312
1312
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1313
1313
  * @param {int} [limit] the maximum amount of trades to fetch
1314
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1314
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1315
1315
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1316
1316
  */
1317
1317
  await this.loadMarkets();
@@ -1362,7 +1362,7 @@ export default class deribit extends Exchange {
1362
1362
  * @method
1363
1363
  * @name deribit#fetchTradingFees
1364
1364
  * @description fetch the trading fees for multiple markets
1365
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1365
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1366
1366
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1367
1367
  */
1368
1368
  await this.loadMarkets();
@@ -1484,7 +1484,7 @@ export default class deribit extends Exchange {
1484
1484
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
1485
1485
  * @param {string} symbol unified symbol of the market to fetch the order book for
1486
1486
  * @param {int} [limit] the maximum amount of order book entries to return
1487
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1487
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1488
1488
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1489
1489
  */
1490
1490
  await this.loadMarkets();
@@ -1673,7 +1673,7 @@ export default class deribit extends Exchange {
1673
1673
  * @name deribit#fetchOrder
1674
1674
  * @description fetches information on an order made by the user
1675
1675
  * @param {string} symbol unified symbol of the market the order was made in
1676
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1676
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1677
1677
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1678
1678
  */
1679
1679
  await this.loadMarkets();
@@ -1723,7 +1723,7 @@ export default class deribit extends Exchange {
1723
1723
  * @param {string} side 'buy' or 'sell'
1724
1724
  * @param {float} amount how much of currency you want to trade. For perpetual and futures the amount is in USD. For options it is in corresponding cryptocurrency contracts currency.
1725
1725
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1726
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1726
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1727
1727
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1728
1728
  */
1729
1729
  await this.loadMarkets();
@@ -1919,7 +1919,7 @@ export default class deribit extends Exchange {
1919
1919
  * @description cancels an open order
1920
1920
  * @param {string} id order id
1921
1921
  * @param {string} symbol not used by deribit cancelOrder ()
1922
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1922
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1923
1923
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1924
1924
  */
1925
1925
  await this.loadMarkets();
@@ -1936,7 +1936,7 @@ export default class deribit extends Exchange {
1936
1936
  * @name deribit#cancelAllOrders
1937
1937
  * @description cancel all open orders
1938
1938
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1939
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1939
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1940
1940
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1941
1941
  */
1942
1942
  await this.loadMarkets();
@@ -1961,7 +1961,7 @@ export default class deribit extends Exchange {
1961
1961
  * @param {string} symbol unified market symbol
1962
1962
  * @param {int} [since] the earliest time in ms to fetch open orders for
1963
1963
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1964
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1964
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1965
1965
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1966
1966
  */
1967
1967
  await this.loadMarkets();
@@ -1991,7 +1991,7 @@ export default class deribit extends Exchange {
1991
1991
  * @param {string} symbol unified market symbol of the market orders were made in
1992
1992
  * @param {int} [since] the earliest time in ms to fetch orders for
1993
1993
  * @param {int} [limit] the maximum number of orde structures to retrieve
1994
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1994
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1995
1995
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1996
1996
  */
1997
1997
  await this.loadMarkets();
@@ -2022,7 +2022,7 @@ export default class deribit extends Exchange {
2022
2022
  * @param {string} symbol unified market symbol
2023
2023
  * @param {int} [since] the earliest time in ms to fetch trades for
2024
2024
  * @param {int} [limit] the maximum number of trades to retrieve
2025
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2025
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2026
2026
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2027
2027
  */
2028
2028
  await this.loadMarkets();
@@ -2074,7 +2074,7 @@ export default class deribit extends Exchange {
2074
2074
  * @param {string} symbol unified market symbol
2075
2075
  * @param {int} [since] the earliest time in ms to fetch trades for
2076
2076
  * @param {int} [limit] the maximum number of trades structures to retrieve
2077
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2077
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2078
2078
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2079
2079
  */
2080
2080
  await this.loadMarkets();
@@ -2155,7 +2155,7 @@ export default class deribit extends Exchange {
2155
2155
  * @param {string} code unified currency code
2156
2156
  * @param {int} [since] the earliest time in ms to fetch deposits for
2157
2157
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2158
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2158
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2159
2159
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2160
2160
  */
2161
2161
  if (code === undefined) {
@@ -2202,7 +2202,7 @@ export default class deribit extends Exchange {
2202
2202
  * @param {string} code unified currency code
2203
2203
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2204
2204
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2205
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2205
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2206
2206
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2207
2207
  */
2208
2208
  if (code === undefined) {
@@ -2393,7 +2393,7 @@ export default class deribit extends Exchange {
2393
2393
  * @name deribit#fetchPosition
2394
2394
  * @description fetch data on a single open contract trade position
2395
2395
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
2396
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2396
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2397
2397
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2398
2398
  */
2399
2399
  await this.loadMarkets();
@@ -2437,7 +2437,7 @@ export default class deribit extends Exchange {
2437
2437
  * @name deribit#fetchPositions
2438
2438
  * @description fetch all open positions
2439
2439
  * @param {string[]|undefined} symbols list of unified market symbols
2440
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2440
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2441
2441
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2442
2442
  */
2443
2443
  await this.loadMarkets();
@@ -2504,7 +2504,7 @@ export default class deribit extends Exchange {
2504
2504
  * @description fetch the historical volatility of an option market based on an underlying asset
2505
2505
  * @see https://docs.deribit.com/#public-get_historical_volatility
2506
2506
  * @param {string} code unified currency code
2507
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2507
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2508
2508
  * @returns {object[]} a list of [volatility history objects]{@link https://docs.ccxt.com/#/?id=volatility-structure}
2509
2509
  */
2510
2510
  await this.loadMarkets();
@@ -2566,7 +2566,7 @@ export default class deribit extends Exchange {
2566
2566
  * @param {string} code unified currency code of the currency transferred
2567
2567
  * @param {int} [since] the earliest time in ms to fetch transfers for
2568
2568
  * @param {int} [limit] the maximum number of transfers structures to retrieve
2569
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2569
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2570
2570
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2571
2571
  */
2572
2572
  if (code === undefined) {
@@ -2627,7 +2627,7 @@ export default class deribit extends Exchange {
2627
2627
  * @param {float} amount amount to transfer
2628
2628
  * @param {string} fromAccount account to transfer from
2629
2629
  * @param {string} toAccount account to transfer to
2630
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2630
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2631
2631
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2632
2632
  */
2633
2633
  await this.loadMarkets();
@@ -2713,7 +2713,7 @@ export default class deribit extends Exchange {
2713
2713
  * @param {float} amount the amount to withdraw
2714
2714
  * @param {string} address the address to withdraw to
2715
2715
  * @param {string} tag
2716
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2716
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2717
2717
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2718
2718
  */
2719
2719
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -2766,7 +2766,7 @@ export default class deribit extends Exchange {
2766
2766
  * @description fetch deposit and withdraw fees
2767
2767
  * @see https://docs.deribit.com/#public-get_currencies
2768
2768
  * @param {string[]|undefined} codes list of unified currency codes
2769
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2769
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2770
2770
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2771
2771
  */
2772
2772
  await this.loadMarkets();
@@ -2803,7 +2803,7 @@ export default class deribit extends Exchange {
2803
2803
  * @description fetch the current funding rate
2804
2804
  * @see https://docs.deribit.com/#public-get_funding_rate_value
2805
2805
  * @param {string} symbol unified market symbol
2806
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2806
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2807
2807
  * @param {int} [params.start_timestamp] fetch funding rate starting from this timestamp
2808
2808
  * @param {int} [params.end_timestamp] fetch funding rate ending at this timestamp
2809
2809
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
@@ -2836,7 +2836,7 @@ export default class deribit extends Exchange {
2836
2836
  * @description fetch the current funding rate
2837
2837
  * @see https://docs.deribit.com/#public-get_funding_rate_history
2838
2838
  * @param {string} symbol unified market symbol
2839
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2839
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2840
2840
  * @param {int} [params.end_timestamp] fetch funding rate ending at this timestamp
2841
2841
  * @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)
2842
2842
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
@@ -3095,7 +3095,7 @@ export default class deribit extends Exchange {
3095
3095
  * @description fetches an option contracts greeks, financial metrics used to measure the factors that affect the price of an options contract
3096
3096
  * @see https://docs.deribit.com/#public-ticker
3097
3097
  * @param {string} symbol unified symbol of the market to fetch greeks for
3098
- * @param {object} [params] extra parameters specific to the deribit api endpoint
3098
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3099
3099
  * @returns {object} a [greeks structure]{@link https://docs.ccxt.com/#/?id=greeks-structure}
3100
3100
  */
3101
3101
  await this.loadMarkets();