ccxt 4.2.38 → 4.2.40

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 (127) hide show
  1. package/README.md +3 -3
  2. package/dist/ccxt.browser.js +1340 -407
  3. package/dist/ccxt.browser.min.js +3 -3
  4. package/dist/cjs/ccxt.js +1 -1
  5. package/dist/cjs/src/ascendex.js +28 -24
  6. package/dist/cjs/src/base/Exchange.js +28 -16
  7. package/dist/cjs/src/binance.js +528 -181
  8. package/dist/cjs/src/bingx.js +250 -23
  9. package/dist/cjs/src/bitget.js +14 -3
  10. package/dist/cjs/src/bitso.js +18 -2
  11. package/dist/cjs/src/bitstamp.js +24 -2
  12. package/dist/cjs/src/bl3p.js +6 -0
  13. package/dist/cjs/src/blockchaincom.js +21 -0
  14. package/dist/cjs/src/btcalpha.js +9 -0
  15. package/dist/cjs/src/btcbox.js +9 -0
  16. package/dist/cjs/src/btcmarkets.js +19 -0
  17. package/dist/cjs/src/bybit.js +3 -1
  18. package/dist/cjs/src/coinbase.js +21 -8
  19. package/dist/cjs/src/coinbasepro.js +1 -0
  20. package/dist/cjs/src/coinlist.js +9 -7
  21. package/dist/cjs/src/coinmetro.js +2 -1
  22. package/dist/cjs/src/krakenfutures.js +133 -16
  23. package/dist/cjs/src/luno.js +1 -1
  24. package/dist/cjs/src/mexc.js +43 -43
  25. package/dist/cjs/src/okx.js +11 -17
  26. package/dist/cjs/src/phemex.js +1 -0
  27. package/dist/cjs/src/poloniexfutures.js +11 -5
  28. package/dist/cjs/src/pro/bitmart.js +141 -48
  29. package/dist/cjs/src/pro/bybit.js +5 -5
  30. package/dist/cjs/src/pro/mexc.js +1 -1
  31. package/dist/cjs/src/wavesexchange.js +1 -1
  32. package/dist/cjs/src/woo.js +1 -1
  33. package/js/ccxt.d.ts +1 -1
  34. package/js/ccxt.js +1 -1
  35. package/js/src/abstract/bingx.d.ts +4 -0
  36. package/js/src/abstract/coinbase.d.ts +1 -0
  37. package/js/src/abstract/coinbasepro.d.ts +1 -0
  38. package/js/src/abstract/okx.d.ts +1 -0
  39. package/js/src/ascendex.d.ts +2 -2
  40. package/js/src/ascendex.js +28 -24
  41. package/js/src/base/Exchange.d.ts +12 -8
  42. package/js/src/base/Exchange.js +28 -16
  43. package/js/src/base/types.d.ts +2 -0
  44. package/js/src/bigone.d.ts +2 -2
  45. package/js/src/binance.d.ts +9 -9
  46. package/js/src/binance.js +528 -181
  47. package/js/src/bingx.d.ts +6 -5
  48. package/js/src/bingx.js +250 -23
  49. package/js/src/bitfinex.d.ts +3 -3
  50. package/js/src/bitfinex2.d.ts +2 -2
  51. package/js/src/bitget.d.ts +5 -5
  52. package/js/src/bitget.js +14 -3
  53. package/js/src/bitmart.d.ts +2 -2
  54. package/js/src/bitmex.d.ts +2 -2
  55. package/js/src/bitrue.d.ts +2 -2
  56. package/js/src/bitso.d.ts +1 -1
  57. package/js/src/bitso.js +18 -2
  58. package/js/src/bitstamp.d.ts +1 -1
  59. package/js/src/bitstamp.js +24 -2
  60. package/js/src/bitvavo.d.ts +1 -1
  61. package/js/src/bl3p.js +6 -0
  62. package/js/src/blockchaincom.js +21 -0
  63. package/js/src/blofin.d.ts +2 -2
  64. package/js/src/btcalpha.js +9 -0
  65. package/js/src/btcbox.js +9 -0
  66. package/js/src/btcmarkets.js +19 -0
  67. package/js/src/bybit.d.ts +7 -7
  68. package/js/src/bybit.js +3 -1
  69. package/js/src/cex.d.ts +1 -1
  70. package/js/src/coinbase.d.ts +2 -2
  71. package/js/src/coinbase.js +21 -8
  72. package/js/src/coinbasepro.js +1 -0
  73. package/js/src/coinex.d.ts +4 -4
  74. package/js/src/coinlist.d.ts +2 -2
  75. package/js/src/coinlist.js +9 -7
  76. package/js/src/coinmetro.js +2 -1
  77. package/js/src/coinone.d.ts +1 -1
  78. package/js/src/delta.d.ts +2 -2
  79. package/js/src/deribit.d.ts +3 -3
  80. package/js/src/digifinex.d.ts +3 -3
  81. package/js/src/exmo.d.ts +2 -2
  82. package/js/src/gate.d.ts +6 -6
  83. package/js/src/hitbtc.d.ts +2 -2
  84. package/js/src/hollaex.d.ts +1 -1
  85. package/js/src/htx.d.ts +3 -3
  86. package/js/src/huobijp.d.ts +1 -1
  87. package/js/src/kraken.d.ts +2 -2
  88. package/js/src/krakenfutures.d.ts +4 -2
  89. package/js/src/krakenfutures.js +133 -16
  90. package/js/src/kucoin.d.ts +5 -5
  91. package/js/src/kucoinfutures.d.ts +2 -2
  92. package/js/src/latoken.d.ts +1 -1
  93. package/js/src/lbank.d.ts +2 -2
  94. package/js/src/luno.d.ts +1 -1
  95. package/js/src/luno.js +1 -1
  96. package/js/src/mexc.d.ts +4 -4
  97. package/js/src/mexc.js +43 -43
  98. package/js/src/ndax.d.ts +1 -1
  99. package/js/src/novadax.d.ts +1 -1
  100. package/js/src/okcoin.d.ts +2 -2
  101. package/js/src/okx.d.ts +7 -7
  102. package/js/src/okx.js +11 -17
  103. package/js/src/paymium.d.ts +2 -2
  104. package/js/src/phemex.d.ts +4 -4
  105. package/js/src/phemex.js +1 -0
  106. package/js/src/poloniex.d.ts +2 -2
  107. package/js/src/poloniexfutures.d.ts +2 -2
  108. package/js/src/poloniexfutures.js +11 -5
  109. package/js/src/pro/bitmart.d.ts +4 -0
  110. package/js/src/pro/bitmart.js +141 -48
  111. package/js/src/pro/bitvavo.d.ts +1 -1
  112. package/js/src/pro/bybit.d.ts +1 -1
  113. package/js/src/pro/bybit.js +5 -5
  114. package/js/src/pro/cex.d.ts +2 -2
  115. package/js/src/pro/coinbase.d.ts +2 -2
  116. package/js/src/pro/coinex.d.ts +1 -1
  117. package/js/src/pro/lbank.d.ts +1 -1
  118. package/js/src/pro/mexc.js +1 -1
  119. package/js/src/probit.d.ts +1 -1
  120. package/js/src/timex.d.ts +1 -1
  121. package/js/src/upbit.d.ts +1 -1
  122. package/js/src/wavesexchange.js +1 -1
  123. package/js/src/whitebit.d.ts +2 -2
  124. package/js/src/woo.d.ts +3 -3
  125. package/js/src/woo.js +1 -1
  126. package/js/src/zonda.d.ts +3 -3
  127. package/package.json +2 -2
@@ -451,6 +451,7 @@ class bitstamp extends bitstamp$1 {
451
451
  * @method
452
452
  * @name bitstamp#fetchMarkets
453
453
  * @description retrieves data on all markets for bitstamp
454
+ * @see https://www.bitstamp.net/api/#tag/Market-info/operation/GetTradingPairsInfo
454
455
  * @param {object} [params] extra parameters specific to the exchange API endpoint
455
456
  * @returns {object[]} an array of objects representing market data
456
457
  */
@@ -594,6 +595,7 @@ class bitstamp extends bitstamp$1 {
594
595
  * @method
595
596
  * @name bitstamp#fetchCurrencies
596
597
  * @description fetches all available currencies on an exchange
598
+ * @see https://www.bitstamp.net/api/#tag/Market-info/operation/GetTradingPairsInfo
597
599
  * @param {object} [params] extra parameters specific to the exchange API endpoint
598
600
  * @returns {object} an associative dictionary of currencies
599
601
  */
@@ -642,6 +644,7 @@ class bitstamp extends bitstamp$1 {
642
644
  * @method
643
645
  * @name bitstamp#fetchOrderBook
644
646
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
647
+ * @see https://www.bitstamp.net/api/#tag/Order-book/operation/GetOrderBook
645
648
  * @param {string} symbol unified symbol of the market to fetch the order book for
646
649
  * @param {int} [limit] the maximum amount of order book entries to return
647
650
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -727,6 +730,7 @@ class bitstamp extends bitstamp$1 {
727
730
  * @method
728
731
  * @name bitstamp#fetchTicker
729
732
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
733
+ * @see https://www.bitstamp.net/api/#tag/Tickers/operation/GetMarketTicker
730
734
  * @param {string} symbol unified symbol of the market to fetch the ticker for
731
735
  * @param {object} [params] extra parameters specific to the exchange API endpoint
732
736
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -759,7 +763,7 @@ class bitstamp extends bitstamp$1 {
759
763
  * @method
760
764
  * @name bitstamp#fetchTickers
761
765
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
762
- * @see https://www.bitstamp.net/api/#all-tickers
766
+ * @see https://www.bitstamp.net/api/#tag/Tickers/operation/GetCurrencyPairTickers
763
767
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
764
768
  * @param {object} [params] extra parameters specific to the exchange API endpoint
765
769
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -989,6 +993,7 @@ class bitstamp extends bitstamp$1 {
989
993
  * @method
990
994
  * @name bitstamp#fetchTrades
991
995
  * @description get the list of most recent trades for a particular symbol
996
+ * @see https://www.bitstamp.net/api/#tag/Transactions-public/operation/GetTransactions
992
997
  * @param {string} symbol unified symbol of the market to fetch trades for
993
998
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
994
999
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -1123,6 +1128,7 @@ class bitstamp extends bitstamp$1 {
1123
1128
  * @method
1124
1129
  * @name bitstamp#fetchBalance
1125
1130
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1131
+ * @see https://www.bitstamp.net/api/#tag/Account-balances/operation/GetAccountBalances
1126
1132
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1127
1133
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1128
1134
  */
@@ -1153,6 +1159,7 @@ class bitstamp extends bitstamp$1 {
1153
1159
  * @method
1154
1160
  * @name bitstamp#fetchTradingFee
1155
1161
  * @description fetch the trading fees for a market
1162
+ * @see https://www.bitstamp.net/api/#tag/Fees/operation/GetAllTradingFees
1156
1163
  * @param {string} symbol unified market symbol
1157
1164
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1158
1165
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
@@ -1193,6 +1200,7 @@ class bitstamp extends bitstamp$1 {
1193
1200
  * @method
1194
1201
  * @name bitstamp#fetchTradingFees
1195
1202
  * @description fetch the trading fees for multiple markets
1203
+ * @see https://www.bitstamp.net/api/#tag/Fees/operation/GetAllTradingFees
1196
1204
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1197
1205
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1198
1206
  */
@@ -1268,7 +1276,7 @@ class bitstamp extends bitstamp$1 {
1268
1276
  * @method
1269
1277
  * @name bitstamp#fetchDepositWithdrawFees
1270
1278
  * @description fetch deposit and withdraw fees
1271
- * @see https://www.bitstamp.net/api/#balance
1279
+ * @see https://www.bitstamp.net/api/#tag/Fees/operation/GetAllWithdrawalFees
1272
1280
  * @param {string[]|undefined} codes list of unified currency codes
1273
1281
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1274
1282
  * @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
@@ -1401,6 +1409,7 @@ class bitstamp extends bitstamp$1 {
1401
1409
  * @method
1402
1410
  * @name bitstamp#cancelOrder
1403
1411
  * @description cancels an open order
1412
+ * @see https://www.bitstamp.net/api/#tag/Orders/operation/CancelOrder
1404
1413
  * @param {string} id order id
1405
1414
  * @param {string} symbol unified symbol of the market the order was made in
1406
1415
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1417,6 +1426,8 @@ class bitstamp extends bitstamp$1 {
1417
1426
  * @method
1418
1427
  * @name bitstamp#cancelAllOrders
1419
1428
  * @description cancel all open orders
1429
+ * @see https://www.bitstamp.net/api/#tag/Orders/operation/CancelAllOrders
1430
+ * @see https://www.bitstamp.net/api/#tag/Orders/operation/CancelOrdersForMarket
1420
1431
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1421
1432
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1422
1433
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1463,6 +1474,7 @@ class bitstamp extends bitstamp$1 {
1463
1474
  * @method
1464
1475
  * @name bitstamp#fetchOrder
1465
1476
  * @description fetches information on an order made by the user
1477
+ * @see https://www.bitstamp.net/api/#tag/Orders/operation/GetOrderStatus
1466
1478
  * @param {string} symbol unified symbol of the market the order was made in
1467
1479
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1468
1480
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1507,6 +1519,8 @@ class bitstamp extends bitstamp$1 {
1507
1519
  * @method
1508
1520
  * @name bitstamp#fetchMyTrades
1509
1521
  * @description fetch all trades made by the user
1522
+ * @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactions
1523
+ * @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactionsForMarket
1510
1524
  * @param {string} symbol unified market symbol
1511
1525
  * @param {int} [since] the earliest time in ms to fetch trades for
1512
1526
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -1534,6 +1548,7 @@ class bitstamp extends bitstamp$1 {
1534
1548
  * @method
1535
1549
  * @name bitstamp#fetchDepositsWithdrawals
1536
1550
  * @description fetch history of deposits and withdrawals
1551
+ * @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactions
1537
1552
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1538
1553
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1539
1554
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
@@ -1584,6 +1599,7 @@ class bitstamp extends bitstamp$1 {
1584
1599
  * @method
1585
1600
  * @name bitstamp#fetchWithdrawals
1586
1601
  * @description fetch all withdrawals made from an account
1602
+ * @see https://www.bitstamp.net/api/#tag/Withdrawals/operation/GetWithdrawalRequests
1587
1603
  * @param {string} code unified currency code
1588
1604
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1589
1605
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -1952,6 +1968,7 @@ class bitstamp extends bitstamp$1 {
1952
1968
  * @method
1953
1969
  * @name bitstamp#fetchLedger
1954
1970
  * @description fetch the history of changes, actions done by the user or operations that altered balance of the user
1971
+ * @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactions
1955
1972
  * @param {string} code unified currency code, default is undefined
1956
1973
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
1957
1974
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
@@ -1975,6 +1992,8 @@ class bitstamp extends bitstamp$1 {
1975
1992
  * @method
1976
1993
  * @name bitstamp#fetchOpenOrders
1977
1994
  * @description fetch all unfilled currently open orders
1995
+ * @see https://www.bitstamp.net/api/#tag/Orders/operation/GetAllOpenOrders
1996
+ * @see https://www.bitstamp.net/api/#tag/Orders/operation/GetOpenOrdersForMarket
1978
1997
  * @param {string} symbol unified market symbol
1979
1998
  * @param {int} [since] the earliest time in ms to fetch open orders for
1980
1999
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -2022,6 +2041,7 @@ class bitstamp extends bitstamp$1 {
2022
2041
  * @method
2023
2042
  * @name bitstamp#fetchDepositAddress
2024
2043
  * @description fetch the deposit address for a currency associated with this account
2044
+ * @see https://www.bitstamp.net/api/#tag/Deposits/operation/GetCryptoDepositAddress
2025
2045
  * @param {string} code unified currency code
2026
2046
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2027
2047
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -2048,6 +2068,8 @@ class bitstamp extends bitstamp$1 {
2048
2068
  * @method
2049
2069
  * @name bitstamp#withdraw
2050
2070
  * @description make a withdrawal
2071
+ * @see https://www.bitstamp.net/api/#tag/Withdrawals/operation/RequestFiatWithdrawal
2072
+ * @see https://www.bitstamp.net/api/#tag/Withdrawals/operation/RequestCryptoWithdrawal
2051
2073
  * @param {string} code unified currency code
2052
2074
  * @param {float} amount the amount to withdraw
2053
2075
  * @param {string} address the address to withdraw to
@@ -139,6 +139,7 @@ class bl3p extends bl3p$1 {
139
139
  * @method
140
140
  * @name bl3p#fetchBalance
141
141
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
142
+ * @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#35---get-account-info--balance
142
143
  * @param {object} [params] extra parameters specific to the exchange API endpoint
143
144
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
144
145
  */
@@ -159,6 +160,7 @@ class bl3p extends bl3p$1 {
159
160
  * @method
160
161
  * @name bl3p#fetchOrderBook
161
162
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
163
+ * @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#22---orderbook
162
164
  * @param {string} symbol unified symbol of the market to fetch the order book for
163
165
  * @param {int} [limit] the maximum amount of order book entries to return
164
166
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -220,6 +222,7 @@ class bl3p extends bl3p$1 {
220
222
  * @method
221
223
  * @name bl3p#fetchTicker
222
224
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
225
+ * @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#21---ticker
223
226
  * @param {string} symbol unified symbol of the market to fetch the ticker for
224
227
  * @param {object} [params] extra parameters specific to the exchange API endpoint
225
228
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -283,6 +286,7 @@ class bl3p extends bl3p$1 {
283
286
  * @method
284
287
  * @name bl3p#fetchTrades
285
288
  * @description get the list of most recent trades for a particular symbol
289
+ * @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#23---last-1000-trades
286
290
  * @param {string} symbol unified symbol of the market to fetch trades for
287
291
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
288
292
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -315,6 +319,7 @@ class bl3p extends bl3p$1 {
315
319
  * @method
316
320
  * @name bl3p#fetchTradingFees
317
321
  * @description fetch the trading fees for multiple markets
322
+ * @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#35---get-account-info--balance
318
323
  * @param {object} [params] extra parameters specific to the exchange API endpoint
319
324
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
320
325
  */
@@ -407,6 +412,7 @@ class bl3p extends bl3p$1 {
407
412
  * @method
408
413
  * @name bl3p#cancelOrder
409
414
  * @description cancels an open order
415
+ * @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#22---cancel-an-order
410
416
  * @param {string} id order id
411
417
  * @param {string} symbol unified symbol of the market the order was made in
412
418
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -226,6 +226,7 @@ class blockchaincom extends blockchaincom$1 {
226
226
  * @method
227
227
  * @name blockchaincom#fetchMarkets
228
228
  * @description retrieves data on all markets for blockchaincom
229
+ * @see https://api.blockchain.com/v3/#/unauthenticated/getSymbols
229
230
  * @param {object} [params] extra parameters specific to the exchange API endpoint
230
231
  * @returns {object[]} an array of objects representing market data
231
232
  */
@@ -356,6 +357,7 @@ class blockchaincom extends blockchaincom$1 {
356
357
  * @method
357
358
  * @name blockchaincom#fetchOrderBook
358
359
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
360
+ * @see https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
359
361
  * @param {string} symbol unified symbol of the market to fetch the order book for
360
362
  * @param {int} [limit] the maximum amount of order book entries to return
361
363
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -368,6 +370,7 @@ class blockchaincom extends blockchaincom$1 {
368
370
  * @method
369
371
  * @name blockchaincom#fetchL3OrderBook
370
372
  * @description fetches level 3 information on open orders with bid (buy) and ask (sell) prices, volumes and other data
373
+ * @see https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
371
374
  * @param {string} symbol unified market symbol
372
375
  * @param {int} [limit] max number of orders to return, default is undefined
373
376
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -438,6 +441,7 @@ class blockchaincom extends blockchaincom$1 {
438
441
  * @method
439
442
  * @name blockchaincom#fetchTicker
440
443
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
444
+ * @see https://api.blockchain.com/v3/#/unauthenticated/getTickerBySymbol
441
445
  * @param {string} symbol unified symbol of the market to fetch the ticker for
442
446
  * @param {object} [params] extra parameters specific to the exchange API endpoint
443
447
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -455,6 +459,7 @@ class blockchaincom extends blockchaincom$1 {
455
459
  * @method
456
460
  * @name blockchaincom#fetchTickers
457
461
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
462
+ * @see https://api.blockchain.com/v3/#/unauthenticated/getTickers
458
463
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
459
464
  * @param {object} [params] extra parameters specific to the exchange API endpoint
460
465
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -535,6 +540,7 @@ class blockchaincom extends blockchaincom$1 {
535
540
  * @method
536
541
  * @name blockchaincom#createOrder
537
542
  * @description create a trade order
543
+ * @see https://api.blockchain.com/v3/#/trading/createOrder
538
544
  * @param {string} symbol unified symbol of the market to create an order in
539
545
  * @param {string} type 'market' or 'limit'
540
546
  * @param {string} side 'buy' or 'sell'
@@ -597,6 +603,7 @@ class blockchaincom extends blockchaincom$1 {
597
603
  * @method
598
604
  * @name blockchaincom#cancelOrder
599
605
  * @description cancels an open order
606
+ * @see https://api.blockchain.com/v3/#/trading/deleteOrder
600
607
  * @param {string} id order id
601
608
  * @param {string} symbol unified symbol of the market the order was made in
602
609
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -616,6 +623,7 @@ class blockchaincom extends blockchaincom$1 {
616
623
  * @method
617
624
  * @name blockchaincom#cancelAllOrders
618
625
  * @description cancel all open orders
626
+ * @see https://api.blockchain.com/v3/#/trading/deleteAllOrders
619
627
  * @param {string} symbol unified market symbol of the market to cancel orders in, all markets are used if undefined, default is undefined
620
628
  * @param {object} [params] extra parameters specific to the exchange API endpoint
621
629
  * @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -641,6 +649,7 @@ class blockchaincom extends blockchaincom$1 {
641
649
  * @method
642
650
  * @name blockchaincom#fetchTradingFees
643
651
  * @description fetch the trading fees for multiple markets
652
+ * @see https://api.blockchain.com/v3/#/trading/getFees
644
653
  * @param {object} [params] extra parameters specific to the exchange API endpoint
645
654
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
646
655
  */
@@ -672,6 +681,7 @@ class blockchaincom extends blockchaincom$1 {
672
681
  * @method
673
682
  * @name blockchaincom#fetchCanceledOrders
674
683
  * @description fetches information on multiple canceled orders made by the user
684
+ * @see https://api.blockchain.com/v3/#/trading/getOrders
675
685
  * @param {string} symbol unified market symbol of the market orders were made in
676
686
  * @param {int} [since] timestamp in ms of the earliest order, default is undefined
677
687
  * @param {int} [limit] max number of orders to return, default is undefined
@@ -686,6 +696,7 @@ class blockchaincom extends blockchaincom$1 {
686
696
  * @method
687
697
  * @name blockchaincom#fetchClosedOrders
688
698
  * @description fetches information on multiple closed orders made by the user
699
+ * @see https://api.blockchain.com/v3/#/trading/getOrders
689
700
  * @param {string} symbol unified market symbol of the market orders were made in
690
701
  * @param {int} [since] the earliest time in ms to fetch orders for
691
702
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -700,6 +711,7 @@ class blockchaincom extends blockchaincom$1 {
700
711
  * @method
701
712
  * @name blockchaincom#fetchOpenOrders
702
713
  * @description fetch all unfilled currently open orders
714
+ * @see https://api.blockchain.com/v3/#/trading/getOrders
703
715
  * @param {string} symbol unified market symbol
704
716
  * @param {int} [since] the earliest time in ms to fetch open orders for
705
717
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -776,6 +788,7 @@ class blockchaincom extends blockchaincom$1 {
776
788
  * @method
777
789
  * @name blockchaincom#fetchMyTrades
778
790
  * @description fetch all trades made by the user
791
+ * @see https://api.blockchain.com/v3/#/trading/getFills
779
792
  * @param {string} symbol unified market symbol
780
793
  * @param {int} [since] the earliest time in ms to fetch trades for
781
794
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -800,6 +813,7 @@ class blockchaincom extends blockchaincom$1 {
800
813
  * @method
801
814
  * @name blockchaincom#fetchDepositAddress
802
815
  * @description fetch the deposit address for a currency associated with this account
816
+ * @see https://api.blockchain.com/v3/#/payments/getDepositAddress
803
817
  * @param {string} code unified currency code
804
818
  * @param {object} [params] extra parameters specific to the exchange API endpoint
805
819
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -913,6 +927,7 @@ class blockchaincom extends blockchaincom$1 {
913
927
  * @method
914
928
  * @name blockchaincom#withdraw
915
929
  * @description make a withdrawal
930
+ * @see https://api.blockchain.com/v3/#/payments/createWithdrawal
916
931
  * @param {string} code unified currency code
917
932
  * @param {float} amount the amount to withdraw
918
933
  * @param {string} address the address to withdraw to
@@ -947,6 +962,7 @@ class blockchaincom extends blockchaincom$1 {
947
962
  * @method
948
963
  * @name blockchaincom#fetchWithdrawals
949
964
  * @description fetch all withdrawals made from an account
965
+ * @see https://api.blockchain.com/v3/#/payments/getWithdrawals
950
966
  * @param {string} code unified currency code
951
967
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
952
968
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -973,6 +989,7 @@ class blockchaincom extends blockchaincom$1 {
973
989
  * @method
974
990
  * @name blockchaincom#fetchWithdrawal
975
991
  * @description fetch data on a currency withdrawal via the withdrawal id
992
+ * @see https://api.blockchain.com/v3/#/payments/getWithdrawalById
976
993
  * @param {string} id withdrawal id
977
994
  * @param {string} code not used by blockchaincom.fetchWithdrawal
978
995
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -990,6 +1007,7 @@ class blockchaincom extends blockchaincom$1 {
990
1007
  * @method
991
1008
  * @name blockchaincom#fetchDeposits
992
1009
  * @description fetch all deposits made to an account
1010
+ * @see https://api.blockchain.com/v3/#/payments/getDeposits
993
1011
  * @param {string} code unified currency code
994
1012
  * @param {int} [since] the earliest time in ms to fetch deposits for
995
1013
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -1016,6 +1034,7 @@ class blockchaincom extends blockchaincom$1 {
1016
1034
  * @method
1017
1035
  * @name blockchaincom#fetchDeposit
1018
1036
  * @description fetch information on a deposit
1037
+ * @see https://api.blockchain.com/v3/#/payments/getDepositById
1019
1038
  * @param {string} id deposit id
1020
1039
  * @param {string} code not used by blockchaincom fetchDeposit ()
1021
1040
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1034,6 +1053,7 @@ class blockchaincom extends blockchaincom$1 {
1034
1053
  * @method
1035
1054
  * @name blockchaincom#fetchBalance
1036
1055
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1056
+ * @see https://api.blockchain.com/v3/#/payments/getAccounts
1037
1057
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1038
1058
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1039
1059
  */
@@ -1080,6 +1100,7 @@ class blockchaincom extends blockchaincom$1 {
1080
1100
  * @method
1081
1101
  * @name blockchaincom#fetchOrder
1082
1102
  * @description fetches information on an order made by the user
1103
+ * @see https://api.blockchain.com/v3/#/trading/getOrderById
1083
1104
  * @param {string} symbol not used by blockchaincom fetchOrder
1084
1105
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1085
1106
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -153,6 +153,7 @@ class btcalpha extends btcalpha$1 {
153
153
  * @method
154
154
  * @name btcalpha#fetchMarkets
155
155
  * @description retrieves data on all markets for btcalpha
156
+ * @see https://btc-alpha.github.io/api-docs/#list-all-currencies
156
157
  * @param {object} [params] extra parameters specific to the exchange API endpoint
157
158
  * @returns {object[]} an array of objects representing market data
158
159
  */
@@ -423,6 +424,7 @@ class btcalpha extends btcalpha$1 {
423
424
  * @method
424
425
  * @name btcalpha#fetchTrades
425
426
  * @description get the list of most recent trades for a particular symbol
427
+ * @see https://btc-alpha.github.io/api-docs/#list-all-exchanges
426
428
  * @param {string} symbol unified symbol of the market to fetch trades for
427
429
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
428
430
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -447,6 +449,7 @@ class btcalpha extends btcalpha$1 {
447
449
  * @method
448
450
  * @name btcalpha#fetchDeposits
449
451
  * @description fetch all deposits made to an account
452
+ * @see https://btc-alpha.github.io/api-docs/#list-own-deposits
450
453
  * @param {string} code unified currency code
451
454
  * @param {int} [since] the earliest time in ms to fetch deposits for
452
455
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -476,6 +479,7 @@ class btcalpha extends btcalpha$1 {
476
479
  * @method
477
480
  * @name btcalpha#fetchWithdrawals
478
481
  * @description fetch all withdrawals made from an account
482
+ * @see https://btc-alpha.github.io/api-docs/#list-own-made-withdraws
479
483
  * @param {string} code unified currency code
480
484
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
481
485
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -583,6 +587,7 @@ class btcalpha extends btcalpha$1 {
583
587
  * @method
584
588
  * @name btcalpha#fetchOHLCV
585
589
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
590
+ * @see https://btc-alpha.github.io/api-docs/#charts
586
591
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
587
592
  * @param {string} timeframe the length of time each candle represents
588
593
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -630,6 +635,7 @@ class btcalpha extends btcalpha$1 {
630
635
  * @method
631
636
  * @name btcalpha#fetchBalance
632
637
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
638
+ * @see https://btc-alpha.github.io/api-docs/#list-own-wallets
633
639
  * @param {object} [params] extra parameters specific to the exchange API endpoint
634
640
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
635
641
  */
@@ -817,6 +823,7 @@ class btcalpha extends btcalpha$1 {
817
823
  * @method
818
824
  * @name btcalpha#fetchOpenOrders
819
825
  * @description fetch all unfilled currently open orders
826
+ * @see https://btc-alpha.github.io/api-docs/#list-own-orders
820
827
  * @param {string} symbol unified market symbol
821
828
  * @param {int} [since] the earliest time in ms to fetch open orders for
822
829
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -833,6 +840,7 @@ class btcalpha extends btcalpha$1 {
833
840
  * @method
834
841
  * @name btcalpha#fetchClosedOrders
835
842
  * @description fetches information on multiple closed orders made by the user
843
+ * @see https://btc-alpha.github.io/api-docs/#list-own-orders
836
844
  * @param {string} symbol unified market symbol of the market orders were made in
837
845
  * @param {int} [since] the earliest time in ms to fetch orders for
838
846
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -849,6 +857,7 @@ class btcalpha extends btcalpha$1 {
849
857
  * @method
850
858
  * @name btcalpha#fetchMyTrades
851
859
  * @description fetch all trades made by the user
860
+ * @see https://btc-alpha.github.io/api-docs/#list-own-exchanges
852
861
  * @param {string} symbol unified market symbol
853
862
  * @param {int} [since] the earliest time in ms to fetch trades for
854
863
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -146,6 +146,7 @@ class btcbox extends btcbox$1 {
146
146
  * @method
147
147
  * @name btcbox#fetchBalance
148
148
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
149
+ * @see https://blog.btcbox.jp/en/archives/8762#toc13
149
150
  * @param {object} [params] extra parameters specific to the exchange API endpoint
150
151
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
151
152
  */
@@ -158,6 +159,7 @@ class btcbox extends btcbox$1 {
158
159
  * @method
159
160
  * @name btcbox#fetchOrderBook
160
161
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
162
+ * @see https://blog.btcbox.jp/en/archives/8762#toc6
161
163
  * @param {string} symbol unified symbol of the market to fetch the order book for
162
164
  * @param {int} [limit] the maximum amount of order book entries to return
163
165
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -204,6 +206,7 @@ class btcbox extends btcbox$1 {
204
206
  * @method
205
207
  * @name btcbox#fetchTicker
206
208
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
209
+ * @see https://blog.btcbox.jp/en/archives/8762#toc5
207
210
  * @param {string} symbol unified symbol of the market to fetch the ticker for
208
211
  * @param {object} [params] extra parameters specific to the exchange API endpoint
209
212
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -258,6 +261,7 @@ class btcbox extends btcbox$1 {
258
261
  * @method
259
262
  * @name btcbox#fetchTrades
260
263
  * @description get the list of most recent trades for a particular symbol
264
+ * @see https://blog.btcbox.jp/en/archives/8762#toc7
261
265
  * @param {string} symbol unified symbol of the market to fetch trades for
262
266
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
263
267
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -290,6 +294,7 @@ class btcbox extends btcbox$1 {
290
294
  * @method
291
295
  * @name btcbox#createOrder
292
296
  * @description create a trade order
297
+ * @see https://blog.btcbox.jp/en/archives/8762#toc18
293
298
  * @param {string} symbol unified symbol of the market to create an order in
294
299
  * @param {string} type 'market' or 'limit'
295
300
  * @param {string} side 'buy' or 'sell'
@@ -320,6 +325,7 @@ class btcbox extends btcbox$1 {
320
325
  * @method
321
326
  * @name btcbox#cancelOrder
322
327
  * @description cancels an open order
328
+ * @see https://blog.btcbox.jp/en/archives/8762#toc17
323
329
  * @param {string} id order id
324
330
  * @param {string} symbol unified symbol of the market the order was made in
325
331
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -415,6 +421,7 @@ class btcbox extends btcbox$1 {
415
421
  * @method
416
422
  * @name btcbox#fetchOrder
417
423
  * @description fetches information on an order made by the user
424
+ * @see https://blog.btcbox.jp/en/archives/8762#toc16
418
425
  * @param {string} symbol unified symbol of the market the order was made in
419
426
  * @param {object} [params] extra parameters specific to the exchange API endpoint
420
427
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -483,6 +490,7 @@ class btcbox extends btcbox$1 {
483
490
  * @method
484
491
  * @name btcbox#fetchOrders
485
492
  * @description fetches information on multiple orders made by the user
493
+ * @see https://blog.btcbox.jp/en/archives/8762#toc15
486
494
  * @param {string} symbol unified market symbol of the market orders were made in
487
495
  * @param {int} [since] the earliest time in ms to fetch orders for
488
496
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -496,6 +504,7 @@ class btcbox extends btcbox$1 {
496
504
  * @method
497
505
  * @name btcbox#fetchOpenOrders
498
506
  * @description fetch all unfilled currently open orders
507
+ * @see https://blog.btcbox.jp/en/archives/8762#toc15
499
508
  * @param {string} symbol unified market symbol
500
509
  * @param {int} [since] the earliest time in ms to fetch open orders for
501
510
  * @param {int} [limit] the maximum number of open orders structures to retrieve