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
@@ -344,7 +344,7 @@ class delta extends delta$1 {
344
344
  * @method
345
345
  * @name delta#fetchTime
346
346
  * @description fetches the current integer timestamp in milliseconds from the exchange server
347
- * @param {object} [params] extra parameters specific to the delta api endpoint
347
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
348
348
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
349
349
  */
350
350
  const response = await this.publicGetSettings(params);
@@ -357,7 +357,7 @@ class delta extends delta$1 {
357
357
  * @method
358
358
  * @name delta#fetchStatus
359
359
  * @description the latest known information on the availability of the exchange API
360
- * @param {object} [params] extra parameters specific to the delta api endpoint
360
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
361
361
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
362
362
  */
363
363
  const response = await this.publicGetSettings(params);
@@ -432,7 +432,7 @@ class delta extends delta$1 {
432
432
  * @name delta#fetchCurrencies
433
433
  * @description fetches all available currencies on an exchange
434
434
  * @see https://docs.delta.exchange/#get-list-of-all-assets
435
- * @param {object} [params] extra parameters specific to the delta api endpoint
435
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
436
436
  * @returns {object} an associative dictionary of currencies
437
437
  */
438
438
  const response = await this.publicGetAssets(params);
@@ -519,7 +519,7 @@ class delta extends delta$1 {
519
519
  * @name delta#fetchMarkets
520
520
  * @description retrieves data on all markets for delta
521
521
  * @see https://docs.delta.exchange/#get-list-of-products
522
- * @param {object} [params] extra parameters specific to the exchange api endpoint
522
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
523
523
  * @returns {object[]} an array of objects representing market data
524
524
  */
525
525
  const response = await this.publicGetProducts(params);
@@ -977,7 +977,7 @@ class delta extends delta$1 {
977
977
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
978
978
  * @see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
979
979
  * @param {string} symbol unified symbol of the market to fetch the ticker for
980
- * @param {object} [params] extra parameters specific to the delta api endpoint
980
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
981
981
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
982
982
  */
983
983
  await this.loadMarkets();
@@ -1117,10 +1117,10 @@ class delta extends delta$1 {
1117
1117
  /**
1118
1118
  * @method
1119
1119
  * @name delta#fetchTickers
1120
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1120
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1121
1121
  * @see https://docs.delta.exchange/#get-tickers-for-products
1122
1122
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1123
- * @param {object} [params] extra parameters specific to the delta api endpoint
1123
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1124
1124
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1125
1125
  */
1126
1126
  await this.loadMarkets();
@@ -1273,7 +1273,7 @@ class delta extends delta$1 {
1273
1273
  * @see https://docs.delta.exchange/#get-l2-orderbook
1274
1274
  * @param {string} symbol unified symbol of the market to fetch the order book for
1275
1275
  * @param {int} [limit] the maximum amount of order book entries to return
1276
- * @param {object} [params] extra parameters specific to the delta api endpoint
1276
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1277
1277
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1278
1278
  */
1279
1279
  await this.loadMarkets();
@@ -1415,7 +1415,7 @@ class delta extends delta$1 {
1415
1415
  * @param {string} symbol unified symbol of the market to fetch trades for
1416
1416
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1417
1417
  * @param {int} [limit] the maximum amount of trades to fetch
1418
- * @param {object} [params] extra parameters specific to the delta api endpoint
1418
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1419
1419
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1420
1420
  */
1421
1421
  await this.loadMarkets();
@@ -1472,7 +1472,7 @@ class delta extends delta$1 {
1472
1472
  * @param {string} timeframe the length of time each candle represents
1473
1473
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1474
1474
  * @param {int} [limit] the maximum amount of candles to fetch
1475
- * @param {object} [params] extra parameters specific to the delta api endpoint
1475
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1476
1476
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1477
1477
  */
1478
1478
  await this.loadMarkets();
@@ -1539,7 +1539,7 @@ class delta extends delta$1 {
1539
1539
  * @name delta#fetchBalance
1540
1540
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1541
1541
  * @see https://docs.delta.exchange/#get-wallet-balances
1542
- * @param {object} [params] extra parameters specific to the delta api endpoint
1542
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1543
1543
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1544
1544
  */
1545
1545
  await this.loadMarkets();
@@ -1574,7 +1574,7 @@ class delta extends delta$1 {
1574
1574
  * @description fetch data on a single open contract trade position
1575
1575
  * @see https://docs.delta.exchange/#get-position
1576
1576
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
1577
- * @param {object} [params] extra parameters specific to the delta api endpoint
1577
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1578
1578
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1579
1579
  */
1580
1580
  await this.loadMarkets();
@@ -1603,7 +1603,7 @@ class delta extends delta$1 {
1603
1603
  * @description fetch all open positions
1604
1604
  * @see https://docs.delta.exchange/#get-margined-positions
1605
1605
  * @param {string[]|undefined} symbols list of unified market symbols
1606
- * @param {object} [params] extra parameters specific to the delta api endpoint
1606
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1607
1607
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
1608
1608
  */
1609
1609
  await this.loadMarkets();
@@ -1808,7 +1808,7 @@ class delta extends delta$1 {
1808
1808
  * @param {string} side 'buy' or 'sell'
1809
1809
  * @param {float} amount how much of currency you want to trade in units of base currency
1810
1810
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1811
- * @param {object} [params] extra parameters specific to the delta api endpoint
1811
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1812
1812
  * @param {bool} [params.reduceOnly] *contract only* indicates if this order is to reduce the size of a position
1813
1813
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1814
1814
  */
@@ -1891,7 +1891,7 @@ class delta extends delta$1 {
1891
1891
  * @param {string} side 'buy' or 'sell'
1892
1892
  * @param {float} amount how much of the currency you want to trade in units of the base currency
1893
1893
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency
1894
- * @param {object} [params] extra parameters specific to the delta api endpoint
1894
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1895
1895
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1896
1896
  */
1897
1897
  await this.loadMarkets();
@@ -1937,7 +1937,7 @@ class delta extends delta$1 {
1937
1937
  * @see https://docs.delta.exchange/#cancel-order
1938
1938
  * @param {string} id order id
1939
1939
  * @param {string} symbol unified symbol of the market the order was made in
1940
- * @param {object} [params] extra parameters specific to the delta api endpoint
1940
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1941
1941
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1942
1942
  */
1943
1943
  if (symbol === undefined) {
@@ -1996,7 +1996,7 @@ class delta extends delta$1 {
1996
1996
  * @description cancel all open orders in a market
1997
1997
  * @see https://docs.delta.exchange/#cancel-all-open-orders
1998
1998
  * @param {string} symbol unified market symbol of the market to cancel orders in
1999
- * @param {object} [params] extra parameters specific to the delta api endpoint
1999
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2000
2000
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2001
2001
  */
2002
2002
  if (symbol === undefined) {
@@ -2027,7 +2027,7 @@ class delta extends delta$1 {
2027
2027
  * @param {string} symbol unified market symbol
2028
2028
  * @param {int} [since] the earliest time in ms to fetch open orders for
2029
2029
  * @param {int} [limit] the maximum number of open order structures to retrieve
2030
- * @param {object} [params] extra parameters specific to the delta api endpoint
2030
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2031
2031
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2032
2032
  */
2033
2033
  return await this.fetchOrdersWithMethod('privateGetOrders', symbol, since, limit, params);
@@ -2041,7 +2041,7 @@ class delta extends delta$1 {
2041
2041
  * @param {string} symbol unified market symbol of the market orders were made in
2042
2042
  * @param {int} [since] the earliest time in ms to fetch orders for
2043
2043
  * @param {int} [limit] the maximum number of order structures to retrieve
2044
- * @param {object} [params] extra parameters specific to the delta api endpoint
2044
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2045
2045
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
2046
2046
  */
2047
2047
  return await this.fetchOrdersWithMethod('privateGetOrdersHistory', symbol, since, limit, params);
@@ -2105,7 +2105,7 @@ class delta extends delta$1 {
2105
2105
  * @param {string} symbol unified market symbol
2106
2106
  * @param {int} [since] the earliest time in ms to fetch trades for
2107
2107
  * @param {int} [limit] the maximum number of trades structures to retrieve
2108
- * @param {object} [params] extra parameters specific to the delta api endpoint
2108
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2109
2109
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2110
2110
  */
2111
2111
  await this.loadMarkets();
@@ -2187,7 +2187,7 @@ class delta extends delta$1 {
2187
2187
  * @param {string} code unified currency code, default is undefined
2188
2188
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
2189
2189
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
2190
- * @param {object} [params] extra parameters specific to the delta api endpoint
2190
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2191
2191
  * @returns {object} a [ledger structure]{@link https://docs.ccxt.com/#/?id=ledger-structure}
2192
2192
  */
2193
2193
  await this.loadMarkets();
@@ -2309,7 +2309,7 @@ class delta extends delta$1 {
2309
2309
  * @name delta#fetchDepositAddress
2310
2310
  * @description fetch the deposit address for a currency associated with this account
2311
2311
  * @param {string} code unified currency code
2312
- * @param {object} [params] extra parameters specific to the delta api endpoint
2312
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2313
2313
  * @param {string} [params.network] unified network code
2314
2314
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
2315
2315
  */
@@ -2378,7 +2378,7 @@ class delta extends delta$1 {
2378
2378
  * @description fetch the current funding rate
2379
2379
  * @see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
2380
2380
  * @param {string} symbol unified market symbol
2381
- * @param {object} [params] extra parameters specific to the delta api endpoint
2381
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2382
2382
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
2383
2383
  */
2384
2384
  await this.loadMarkets();
@@ -2445,7 +2445,7 @@ class delta extends delta$1 {
2445
2445
  * @description fetch the funding rate for multiple markets
2446
2446
  * @see https://docs.delta.exchange/#get-tickers-for-products
2447
2447
  * @param {string[]|undefined} symbols list of unified market symbols
2448
- * @param {object} [params] extra parameters specific to the delta api endpoint
2448
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2449
2449
  * @returns {object} a dictionary of [funding rates structures]{@link https://docs.ccxt.com/#/?id=funding-rates-structure}, indexe by market symbols
2450
2450
  */
2451
2451
  await this.loadMarkets();
@@ -2580,7 +2580,7 @@ class delta extends delta$1 {
2580
2580
  * @see https://docs.delta.exchange/#add-remove-position-margin
2581
2581
  * @param {string} symbol unified market symbol
2582
2582
  * @param {float} amount amount of margin to add
2583
- * @param {object} [params] extra parameters specific to the delta api endpoint
2583
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2584
2584
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=add-margin-structure}
2585
2585
  */
2586
2586
  return await this.modifyMarginHelper(symbol, amount, 'add', params);
@@ -2593,7 +2593,7 @@ class delta extends delta$1 {
2593
2593
  * @see https://docs.delta.exchange/#add-remove-position-margin
2594
2594
  * @param {string} symbol unified market symbol
2595
2595
  * @param {float} amount the amount of margin to remove
2596
- * @param {object} [params] extra parameters specific to the delta api endpoint
2596
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2597
2597
  * @returns {object} a [margin structure]{@link https://docs.ccxt.com/#/?id=reduce-margin-structure}
2598
2598
  */
2599
2599
  return await this.modifyMarginHelper(symbol, amount, 'reduce', params);
@@ -2813,7 +2813,7 @@ class delta extends delta$1 {
2813
2813
  * @description fetch the set leverage for a market
2814
2814
  * @see https://docs.delta.exchange/#get-order-leverage
2815
2815
  * @param {string} symbol unified market symbol
2816
- * @param {object} [params] extra parameters specific to the delta api endpoint
2816
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2817
2817
  * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
2818
2818
  */
2819
2819
  await this.loadMarkets();
@@ -2844,7 +2844,7 @@ class delta extends delta$1 {
2844
2844
  * @see https://docs.delta.exchange/#change-order-leverage
2845
2845
  * @param {float} leverage the rate of leverage
2846
2846
  * @param {string} symbol unified market symbol
2847
- * @param {object} [params] extra parameters specific to the delta api endpoint
2847
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2848
2848
  * @returns {object} response from the exchange
2849
2849
  */
2850
2850
  if (symbol === undefined) {
@@ -3034,7 +3034,7 @@ class delta extends delta$1 {
3034
3034
  * @description fetches an option contracts greeks, financial metrics used to measure the factors that affect the price of an options contract
3035
3035
  * @see https://docs.delta.exchange/#get-ticker-for-a-product-by-symbol
3036
3036
  * @param {string} symbol unified symbol of the market to fetch greeks for
3037
- * @param {object} [params] extra parameters specific to the delta api endpoint
3037
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3038
3038
  * @returns {object} a [greeks structure]{@link https://docs.ccxt.com/#/?id=greeks-structure}
3039
3039
  */
3040
3040
  await this.loadMarkets();
@@ -406,7 +406,7 @@ class deribit extends deribit$1 {
406
406
  * @method
407
407
  * @name deribit#fetchTime
408
408
  * @description fetches the current integer timestamp in milliseconds from the exchange server
409
- * @param {object} [params] extra parameters specific to the deribit api endpoint
409
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
410
410
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
411
411
  */
412
412
  const response = await this.publicGetGetTime(params);
@@ -428,7 +428,7 @@ class deribit extends deribit$1 {
428
428
  * @name deribit#fetchCurrencies
429
429
  * @description fetches all available currencies on an exchange
430
430
  * @see https://docs.deribit.com/#public-get_currencies
431
- * @param {object} [params] extra parameters specific to the deribit api endpoint
431
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
432
432
  * @returns {object} an associative dictionary of currencies
433
433
  */
434
434
  const response = await this.publicGetGetCurrencies(params);
@@ -501,7 +501,7 @@ class deribit extends deribit$1 {
501
501
  * @method
502
502
  * @name deribit#fetchStatus
503
503
  * @description the latest known information on the availability of the exchange API
504
- * @param {object} [params] extra parameters specific to the deribit api endpoint
504
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
505
505
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
506
506
  */
507
507
  const response = await this.publicGetStatus(params);
@@ -533,7 +533,7 @@ class deribit extends deribit$1 {
533
533
  * @method
534
534
  * @name deribit#fetchAccounts
535
535
  * @description fetch all the accounts associated with a profile
536
- * @param {object} [params] extra parameters specific to the deribit api endpoint
536
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
537
537
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
538
538
  */
539
539
  await this.loadMarkets();
@@ -602,7 +602,7 @@ class deribit extends deribit$1 {
602
602
  * @method
603
603
  * @name deribit#fetchMarkets
604
604
  * @description retrieves data on all markets for deribit
605
- * @param {object} [params] extra parameters specific to the exchange api endpoint
605
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
606
606
  * @returns {object[]} an array of objects representing market data
607
607
  */
608
608
  const currenciesResponse = await this.publicGetGetCurrencies(params);
@@ -838,7 +838,7 @@ class deribit extends deribit$1 {
838
838
  * @method
839
839
  * @name deribit#fetchBalance
840
840
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
841
- * @param {object} [params] extra parameters specific to the deribit api endpoint
841
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
842
842
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
843
843
  */
844
844
  await this.loadMarkets();
@@ -899,7 +899,7 @@ class deribit extends deribit$1 {
899
899
  * @name deribit#createDepositAddress
900
900
  * @description create a currency deposit address
901
901
  * @param {string} code unified currency code of the currency for the deposit address
902
- * @param {object} [params] extra parameters specific to the deribit api endpoint
902
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
903
903
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
904
904
  */
905
905
  await this.loadMarkets();
@@ -936,7 +936,7 @@ class deribit extends deribit$1 {
936
936
  * @name deribit#fetchDepositAddress
937
937
  * @description fetch the deposit address for a currency associated with this account
938
938
  * @param {string} code unified currency code
939
- * @param {object} [params] extra parameters specific to the deribit api endpoint
939
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
940
940
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
941
941
  */
942
942
  await this.loadMarkets();
@@ -1054,7 +1054,7 @@ class deribit extends deribit$1 {
1054
1054
  * @name deribit#fetchTicker
1055
1055
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1056
1056
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1057
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1057
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1058
1058
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1059
1059
  */
1060
1060
  await this.loadMarkets();
@@ -1098,9 +1098,9 @@ class deribit extends deribit$1 {
1098
1098
  /**
1099
1099
  * @method
1100
1100
  * @name deribit#fetchTickers
1101
- * @description fetches price tickers for multiple markets, statistical calculations with the information calculated over the past 24 hours each market
1101
+ * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1102
1102
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1103
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1103
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1104
1104
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
1105
1105
  */
1106
1106
  await this.loadMarkets();
@@ -1159,7 +1159,7 @@ class deribit extends deribit$1 {
1159
1159
  * @param {string} timeframe the length of time each candle represents
1160
1160
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
1161
1161
  * @param {int} [limit] the maximum amount of candles to fetch
1162
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1162
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1163
1163
  * @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
1164
1164
  */
1165
1165
  await this.loadMarkets();
@@ -1308,7 +1308,7 @@ class deribit extends deribit$1 {
1308
1308
  * @param {string} symbol unified symbol of the market to fetch trades for
1309
1309
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1310
1310
  * @param {int} [limit] the maximum amount of trades to fetch
1311
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1311
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1312
1312
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
1313
1313
  */
1314
1314
  await this.loadMarkets();
@@ -1359,7 +1359,7 @@ class deribit extends deribit$1 {
1359
1359
  * @method
1360
1360
  * @name deribit#fetchTradingFees
1361
1361
  * @description fetch the trading fees for multiple markets
1362
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1362
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1363
1363
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1364
1364
  */
1365
1365
  await this.loadMarkets();
@@ -1481,7 +1481,7 @@ class deribit extends deribit$1 {
1481
1481
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
1482
1482
  * @param {string} symbol unified symbol of the market to fetch the order book for
1483
1483
  * @param {int} [limit] the maximum amount of order book entries to return
1484
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1484
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1485
1485
  * @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
1486
1486
  */
1487
1487
  await this.loadMarkets();
@@ -1670,7 +1670,7 @@ class deribit extends deribit$1 {
1670
1670
  * @name deribit#fetchOrder
1671
1671
  * @description fetches information on an order made by the user
1672
1672
  * @param {string} symbol unified symbol of the market the order was made in
1673
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1673
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1674
1674
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1675
1675
  */
1676
1676
  await this.loadMarkets();
@@ -1720,7 +1720,7 @@ class deribit extends deribit$1 {
1720
1720
  * @param {string} side 'buy' or 'sell'
1721
1721
  * @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.
1722
1722
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1723
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1723
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1724
1724
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1725
1725
  */
1726
1726
  await this.loadMarkets();
@@ -1916,7 +1916,7 @@ class deribit extends deribit$1 {
1916
1916
  * @description cancels an open order
1917
1917
  * @param {string} id order id
1918
1918
  * @param {string} symbol not used by deribit cancelOrder ()
1919
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1919
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1920
1920
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1921
1921
  */
1922
1922
  await this.loadMarkets();
@@ -1933,7 +1933,7 @@ class deribit extends deribit$1 {
1933
1933
  * @name deribit#cancelAllOrders
1934
1934
  * @description cancel all open orders
1935
1935
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1936
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1936
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1937
1937
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1938
1938
  */
1939
1939
  await this.loadMarkets();
@@ -1958,7 +1958,7 @@ class deribit extends deribit$1 {
1958
1958
  * @param {string} symbol unified market symbol
1959
1959
  * @param {int} [since] the earliest time in ms to fetch open orders for
1960
1960
  * @param {int} [limit] the maximum number of open orders structures to retrieve
1961
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1961
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1962
1962
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1963
1963
  */
1964
1964
  await this.loadMarkets();
@@ -1988,7 +1988,7 @@ class deribit extends deribit$1 {
1988
1988
  * @param {string} symbol unified market symbol of the market orders were made in
1989
1989
  * @param {int} [since] the earliest time in ms to fetch orders for
1990
1990
  * @param {int} [limit] the maximum number of orde structures to retrieve
1991
- * @param {object} [params] extra parameters specific to the deribit api endpoint
1991
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1992
1992
  * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
1993
1993
  */
1994
1994
  await this.loadMarkets();
@@ -2019,7 +2019,7 @@ class deribit extends deribit$1 {
2019
2019
  * @param {string} symbol unified market symbol
2020
2020
  * @param {int} [since] the earliest time in ms to fetch trades for
2021
2021
  * @param {int} [limit] the maximum number of trades to retrieve
2022
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2022
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2023
2023
  * @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2024
2024
  */
2025
2025
  await this.loadMarkets();
@@ -2071,7 +2071,7 @@ class deribit extends deribit$1 {
2071
2071
  * @param {string} symbol unified market symbol
2072
2072
  * @param {int} [since] the earliest time in ms to fetch trades for
2073
2073
  * @param {int} [limit] the maximum number of trades structures to retrieve
2074
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2074
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2075
2075
  * @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
2076
2076
  */
2077
2077
  await this.loadMarkets();
@@ -2152,7 +2152,7 @@ class deribit extends deribit$1 {
2152
2152
  * @param {string} code unified currency code
2153
2153
  * @param {int} [since] the earliest time in ms to fetch deposits for
2154
2154
  * @param {int} [limit] the maximum number of deposits structures to retrieve
2155
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2155
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2156
2156
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2157
2157
  */
2158
2158
  if (code === undefined) {
@@ -2199,7 +2199,7 @@ class deribit extends deribit$1 {
2199
2199
  * @param {string} code unified currency code
2200
2200
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2201
2201
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
2202
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2202
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2203
2203
  * @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2204
2204
  */
2205
2205
  if (code === undefined) {
@@ -2390,7 +2390,7 @@ class deribit extends deribit$1 {
2390
2390
  * @name deribit#fetchPosition
2391
2391
  * @description fetch data on a single open contract trade position
2392
2392
  * @param {string} symbol unified market symbol of the market the position is held in, default is undefined
2393
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2393
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2394
2394
  * @returns {object} a [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2395
2395
  */
2396
2396
  await this.loadMarkets();
@@ -2434,7 +2434,7 @@ class deribit extends deribit$1 {
2434
2434
  * @name deribit#fetchPositions
2435
2435
  * @description fetch all open positions
2436
2436
  * @param {string[]|undefined} symbols list of unified market symbols
2437
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2437
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2438
2438
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
2439
2439
  */
2440
2440
  await this.loadMarkets();
@@ -2501,7 +2501,7 @@ class deribit extends deribit$1 {
2501
2501
  * @description fetch the historical volatility of an option market based on an underlying asset
2502
2502
  * @see https://docs.deribit.com/#public-get_historical_volatility
2503
2503
  * @param {string} code unified currency code
2504
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2504
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2505
2505
  * @returns {object[]} a list of [volatility history objects]{@link https://docs.ccxt.com/#/?id=volatility-structure}
2506
2506
  */
2507
2507
  await this.loadMarkets();
@@ -2563,7 +2563,7 @@ class deribit extends deribit$1 {
2563
2563
  * @param {string} code unified currency code of the currency transferred
2564
2564
  * @param {int} [since] the earliest time in ms to fetch transfers for
2565
2565
  * @param {int} [limit] the maximum number of transfers structures to retrieve
2566
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2566
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2567
2567
  * @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2568
2568
  */
2569
2569
  if (code === undefined) {
@@ -2624,7 +2624,7 @@ class deribit extends deribit$1 {
2624
2624
  * @param {float} amount amount to transfer
2625
2625
  * @param {string} fromAccount account to transfer from
2626
2626
  * @param {string} toAccount account to transfer to
2627
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2627
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2628
2628
  * @returns {object} a [transfer structure]{@link https://docs.ccxt.com/#/?id=transfer-structure}
2629
2629
  */
2630
2630
  await this.loadMarkets();
@@ -2710,7 +2710,7 @@ class deribit extends deribit$1 {
2710
2710
  * @param {float} amount the amount to withdraw
2711
2711
  * @param {string} address the address to withdraw to
2712
2712
  * @param {string} tag
2713
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2713
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2714
2714
  * @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
2715
2715
  */
2716
2716
  [tag, params] = this.handleWithdrawTagAndParams(tag, params);
@@ -2763,7 +2763,7 @@ class deribit extends deribit$1 {
2763
2763
  * @description fetch deposit and withdraw fees
2764
2764
  * @see https://docs.deribit.com/#public-get_currencies
2765
2765
  * @param {string[]|undefined} codes list of unified currency codes
2766
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2766
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2767
2767
  * @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
2768
2768
  */
2769
2769
  await this.loadMarkets();
@@ -2800,7 +2800,7 @@ class deribit extends deribit$1 {
2800
2800
  * @description fetch the current funding rate
2801
2801
  * @see https://docs.deribit.com/#public-get_funding_rate_value
2802
2802
  * @param {string} symbol unified market symbol
2803
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2803
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2804
2804
  * @param {int} [params.start_timestamp] fetch funding rate starting from this timestamp
2805
2805
  * @param {int} [params.end_timestamp] fetch funding rate ending at this timestamp
2806
2806
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
@@ -2833,7 +2833,7 @@ class deribit extends deribit$1 {
2833
2833
  * @description fetch the current funding rate
2834
2834
  * @see https://docs.deribit.com/#public-get_funding_rate_history
2835
2835
  * @param {string} symbol unified market symbol
2836
- * @param {object} [params] extra parameters specific to the deribit api endpoint
2836
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
2837
2837
  * @param {int} [params.end_timestamp] fetch funding rate ending at this timestamp
2838
2838
  * @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)
2839
2839
  * @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/#/?id=funding-rate-structure}
@@ -3092,7 +3092,7 @@ class deribit extends deribit$1 {
3092
3092
  * @description fetches an option contracts greeks, financial metrics used to measure the factors that affect the price of an options contract
3093
3093
  * @see https://docs.deribit.com/#public-ticker
3094
3094
  * @param {string} symbol unified symbol of the market to fetch greeks for
3095
- * @param {object} [params] extra parameters specific to the deribit api endpoint
3095
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
3096
3096
  * @returns {object} a [greeks structure]{@link https://docs.ccxt.com/#/?id=greeks-structure}
3097
3097
  */
3098
3098
  await this.loadMarkets();