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.
- package/README.md +3 -3
- package/dist/ccxt.browser.js +1340 -407
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ascendex.js +28 -24
- package/dist/cjs/src/base/Exchange.js +28 -16
- package/dist/cjs/src/binance.js +528 -181
- package/dist/cjs/src/bingx.js +250 -23
- package/dist/cjs/src/bitget.js +14 -3
- package/dist/cjs/src/bitso.js +18 -2
- package/dist/cjs/src/bitstamp.js +24 -2
- package/dist/cjs/src/bl3p.js +6 -0
- package/dist/cjs/src/blockchaincom.js +21 -0
- package/dist/cjs/src/btcalpha.js +9 -0
- package/dist/cjs/src/btcbox.js +9 -0
- package/dist/cjs/src/btcmarkets.js +19 -0
- package/dist/cjs/src/bybit.js +3 -1
- package/dist/cjs/src/coinbase.js +21 -8
- package/dist/cjs/src/coinbasepro.js +1 -0
- package/dist/cjs/src/coinlist.js +9 -7
- package/dist/cjs/src/coinmetro.js +2 -1
- package/dist/cjs/src/krakenfutures.js +133 -16
- package/dist/cjs/src/luno.js +1 -1
- package/dist/cjs/src/mexc.js +43 -43
- package/dist/cjs/src/okx.js +11 -17
- package/dist/cjs/src/phemex.js +1 -0
- package/dist/cjs/src/poloniexfutures.js +11 -5
- package/dist/cjs/src/pro/bitmart.js +141 -48
- package/dist/cjs/src/pro/bybit.js +5 -5
- package/dist/cjs/src/pro/mexc.js +1 -1
- package/dist/cjs/src/wavesexchange.js +1 -1
- package/dist/cjs/src/woo.js +1 -1
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bingx.d.ts +4 -0
- package/js/src/abstract/coinbase.d.ts +1 -0
- package/js/src/abstract/coinbasepro.d.ts +1 -0
- package/js/src/abstract/okx.d.ts +1 -0
- package/js/src/ascendex.d.ts +2 -2
- package/js/src/ascendex.js +28 -24
- package/js/src/base/Exchange.d.ts +12 -8
- package/js/src/base/Exchange.js +28 -16
- package/js/src/base/types.d.ts +2 -0
- package/js/src/bigone.d.ts +2 -2
- package/js/src/binance.d.ts +9 -9
- package/js/src/binance.js +528 -181
- package/js/src/bingx.d.ts +6 -5
- package/js/src/bingx.js +250 -23
- package/js/src/bitfinex.d.ts +3 -3
- package/js/src/bitfinex2.d.ts +2 -2
- package/js/src/bitget.d.ts +5 -5
- package/js/src/bitget.js +14 -3
- package/js/src/bitmart.d.ts +2 -2
- package/js/src/bitmex.d.ts +2 -2
- package/js/src/bitrue.d.ts +2 -2
- package/js/src/bitso.d.ts +1 -1
- package/js/src/bitso.js +18 -2
- package/js/src/bitstamp.d.ts +1 -1
- package/js/src/bitstamp.js +24 -2
- package/js/src/bitvavo.d.ts +1 -1
- package/js/src/bl3p.js +6 -0
- package/js/src/blockchaincom.js +21 -0
- package/js/src/blofin.d.ts +2 -2
- package/js/src/btcalpha.js +9 -0
- package/js/src/btcbox.js +9 -0
- package/js/src/btcmarkets.js +19 -0
- package/js/src/bybit.d.ts +7 -7
- package/js/src/bybit.js +3 -1
- package/js/src/cex.d.ts +1 -1
- package/js/src/coinbase.d.ts +2 -2
- package/js/src/coinbase.js +21 -8
- package/js/src/coinbasepro.js +1 -0
- package/js/src/coinex.d.ts +4 -4
- package/js/src/coinlist.d.ts +2 -2
- package/js/src/coinlist.js +9 -7
- package/js/src/coinmetro.js +2 -1
- package/js/src/coinone.d.ts +1 -1
- package/js/src/delta.d.ts +2 -2
- package/js/src/deribit.d.ts +3 -3
- package/js/src/digifinex.d.ts +3 -3
- package/js/src/exmo.d.ts +2 -2
- package/js/src/gate.d.ts +6 -6
- package/js/src/hitbtc.d.ts +2 -2
- package/js/src/hollaex.d.ts +1 -1
- package/js/src/htx.d.ts +3 -3
- package/js/src/huobijp.d.ts +1 -1
- package/js/src/kraken.d.ts +2 -2
- package/js/src/krakenfutures.d.ts +4 -2
- package/js/src/krakenfutures.js +133 -16
- package/js/src/kucoin.d.ts +5 -5
- package/js/src/kucoinfutures.d.ts +2 -2
- package/js/src/latoken.d.ts +1 -1
- package/js/src/lbank.d.ts +2 -2
- package/js/src/luno.d.ts +1 -1
- package/js/src/luno.js +1 -1
- package/js/src/mexc.d.ts +4 -4
- package/js/src/mexc.js +43 -43
- package/js/src/ndax.d.ts +1 -1
- package/js/src/novadax.d.ts +1 -1
- package/js/src/okcoin.d.ts +2 -2
- package/js/src/okx.d.ts +7 -7
- package/js/src/okx.js +11 -17
- package/js/src/paymium.d.ts +2 -2
- package/js/src/phemex.d.ts +4 -4
- package/js/src/phemex.js +1 -0
- package/js/src/poloniex.d.ts +2 -2
- package/js/src/poloniexfutures.d.ts +2 -2
- package/js/src/poloniexfutures.js +11 -5
- package/js/src/pro/bitmart.d.ts +4 -0
- package/js/src/pro/bitmart.js +141 -48
- package/js/src/pro/bitvavo.d.ts +1 -1
- package/js/src/pro/bybit.d.ts +1 -1
- package/js/src/pro/bybit.js +5 -5
- package/js/src/pro/cex.d.ts +2 -2
- package/js/src/pro/coinbase.d.ts +2 -2
- package/js/src/pro/coinex.d.ts +1 -1
- package/js/src/pro/lbank.d.ts +1 -1
- package/js/src/pro/mexc.js +1 -1
- package/js/src/probit.d.ts +1 -1
- package/js/src/timex.d.ts +1 -1
- package/js/src/upbit.d.ts +1 -1
- package/js/src/wavesexchange.js +1 -1
- package/js/src/whitebit.d.ts +2 -2
- package/js/src/woo.d.ts +3 -3
- package/js/src/woo.js +1 -1
- package/js/src/zonda.d.ts +3 -3
- package/package.json +2 -2
package/js/src/bitso.js
CHANGED
|
@@ -346,6 +346,7 @@ export default class bitso extends Exchange {
|
|
|
346
346
|
* @method
|
|
347
347
|
* @name bitso#fetchMarkets
|
|
348
348
|
* @description retrieves data on all markets for bitso
|
|
349
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-available-books
|
|
349
350
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
350
351
|
* @returns {object[]} an array of objects representing market data
|
|
351
352
|
*/
|
|
@@ -505,6 +506,7 @@ export default class bitso extends Exchange {
|
|
|
505
506
|
* @method
|
|
506
507
|
* @name bitso#fetchBalance
|
|
507
508
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
509
|
+
* @see https://docs.bitso.com/bitso-api/docs/get-account-balance
|
|
508
510
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
509
511
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
510
512
|
*/
|
|
@@ -542,6 +544,7 @@ export default class bitso extends Exchange {
|
|
|
542
544
|
* @method
|
|
543
545
|
* @name bitso#fetchOrderBook
|
|
544
546
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
547
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-order-book
|
|
545
548
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
546
549
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
547
550
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -606,6 +609,7 @@ export default class bitso extends Exchange {
|
|
|
606
609
|
* @method
|
|
607
610
|
* @name bitso#fetchTicker
|
|
608
611
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
612
|
+
* @see https://docs.bitso.com/bitso-api/docs/ticker
|
|
609
613
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
610
614
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
611
615
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -826,6 +830,7 @@ export default class bitso extends Exchange {
|
|
|
826
830
|
* @method
|
|
827
831
|
* @name bitso#fetchTrades
|
|
828
832
|
* @description get the list of most recent trades for a particular symbol
|
|
833
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-trades
|
|
829
834
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
830
835
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
831
836
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -845,6 +850,7 @@ export default class bitso extends Exchange {
|
|
|
845
850
|
* @method
|
|
846
851
|
* @name bitso#fetchTradingFees
|
|
847
852
|
* @description fetch the trading fees for multiple markets
|
|
853
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-fees
|
|
848
854
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
849
855
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
850
856
|
*/
|
|
@@ -916,6 +922,7 @@ export default class bitso extends Exchange {
|
|
|
916
922
|
* @method
|
|
917
923
|
* @name bitso#fetchMyTrades
|
|
918
924
|
* @description fetch all trades made by the user
|
|
925
|
+
* @see https://docs.bitso.com/bitso-api/docs/user-trades
|
|
919
926
|
* @param {string} symbol unified market symbol
|
|
920
927
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
921
928
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
@@ -953,6 +960,7 @@ export default class bitso extends Exchange {
|
|
|
953
960
|
* @method
|
|
954
961
|
* @name bitso#createOrder
|
|
955
962
|
* @description create a trade order
|
|
963
|
+
* @see https://docs.bitso.com/bitso-api/docs/place-an-order
|
|
956
964
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
957
965
|
* @param {string} type 'market' or 'limit'
|
|
958
966
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -984,6 +992,7 @@ export default class bitso extends Exchange {
|
|
|
984
992
|
* @method
|
|
985
993
|
* @name bitso#cancelOrder
|
|
986
994
|
* @description cancels an open order
|
|
995
|
+
* @see https://docs.bitso.com/bitso-api/docs/cancel-an-order
|
|
987
996
|
* @param {string} id order id
|
|
988
997
|
* @param {string} symbol not used by bitso cancelOrder ()
|
|
989
998
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1000,6 +1009,7 @@ export default class bitso extends Exchange {
|
|
|
1000
1009
|
* @method
|
|
1001
1010
|
* @name bitso#cancelOrders
|
|
1002
1011
|
* @description cancel multiple orders
|
|
1012
|
+
* @see https://docs.bitso.com/bitso-api/docs/cancel-an-order
|
|
1003
1013
|
* @param {string[]} ids order ids
|
|
1004
1014
|
* @param {string} symbol unified market symbol
|
|
1005
1015
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1036,6 +1046,7 @@ export default class bitso extends Exchange {
|
|
|
1036
1046
|
* @method
|
|
1037
1047
|
* @name bitso#cancelAllOrders
|
|
1038
1048
|
* @description cancel all open orders
|
|
1049
|
+
* @see https://docs.bitso.com/bitso-api/docs/cancel-an-order
|
|
1039
1050
|
* @param {undefined} symbol bitso does not support canceling orders for only a specific market
|
|
1040
1051
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1041
1052
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1120,6 +1131,7 @@ export default class bitso extends Exchange {
|
|
|
1120
1131
|
* @method
|
|
1121
1132
|
* @name bitso#fetchOpenOrders
|
|
1122
1133
|
* @description fetch all unfilled currently open orders
|
|
1134
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-open-orders
|
|
1123
1135
|
* @param {string} symbol unified market symbol
|
|
1124
1136
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1125
1137
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
@@ -1158,6 +1170,7 @@ export default class bitso extends Exchange {
|
|
|
1158
1170
|
* @method
|
|
1159
1171
|
* @name bitso#fetchOrder
|
|
1160
1172
|
* @description fetches information on an order made by the user
|
|
1173
|
+
* @see https://docs.bitso.com/bitso-api/docs/look-up-orders
|
|
1161
1174
|
* @param {string} symbol not used by bitso fetchOrder
|
|
1162
1175
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1163
1176
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1180,6 +1193,7 @@ export default class bitso extends Exchange {
|
|
|
1180
1193
|
* @method
|
|
1181
1194
|
* @name bitso#fetchOrderTrades
|
|
1182
1195
|
* @description fetch all the trades made from a single order
|
|
1196
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-user-trades
|
|
1183
1197
|
* @param {string} id order id
|
|
1184
1198
|
* @param {string} symbol unified market symbol
|
|
1185
1199
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
@@ -1200,6 +1214,7 @@ export default class bitso extends Exchange {
|
|
|
1200
1214
|
* @method
|
|
1201
1215
|
* @name bitso#fetchDeposit
|
|
1202
1216
|
* @description fetch information on a deposit
|
|
1217
|
+
* @see https://docs.bitso.com/bitso-payouts-funding/docs/fundings
|
|
1203
1218
|
* @param {string} id deposit id
|
|
1204
1219
|
* @param {string} code bitso does not support filtering by currency code and will ignore this argument
|
|
1205
1220
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1242,6 +1257,7 @@ export default class bitso extends Exchange {
|
|
|
1242
1257
|
* @method
|
|
1243
1258
|
* @name bitso#fetchDeposits
|
|
1244
1259
|
* @description fetch all deposits made to an account
|
|
1260
|
+
* @see https://docs.bitso.com/bitso-payouts-funding/docs/fundings
|
|
1245
1261
|
* @param {string} code unified currency code
|
|
1246
1262
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1247
1263
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
@@ -1317,7 +1333,7 @@ export default class bitso extends Exchange {
|
|
|
1317
1333
|
* @name bitso#fetchTransactionFees
|
|
1318
1334
|
* @deprecated
|
|
1319
1335
|
* @description please use fetchDepositWithdrawFees instead
|
|
1320
|
-
* @see https://bitso.com/
|
|
1336
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-fees
|
|
1321
1337
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1322
1338
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1323
1339
|
* @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
@@ -1410,7 +1426,7 @@ export default class bitso extends Exchange {
|
|
|
1410
1426
|
* @method
|
|
1411
1427
|
* @name bitso#fetchDepositWithdrawFees
|
|
1412
1428
|
* @description fetch deposit and withdraw fees
|
|
1413
|
-
* @see https://bitso.com/
|
|
1429
|
+
* @see https://docs.bitso.com/bitso-api/docs/list-fees
|
|
1414
1430
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1415
1431
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1416
1432
|
* @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
package/js/src/bitstamp.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export default class bitstamp extends Exchange {
|
|
|
70
70
|
fetchTradingFees(params?: {}): Promise<{
|
|
71
71
|
info: any;
|
|
72
72
|
}>;
|
|
73
|
-
fetchTransactionFees(codes?:
|
|
73
|
+
fetchTransactionFees(codes?: string[], params?: {}): Promise<{}>;
|
|
74
74
|
parseTransactionFees(response: any, codes?: any): {};
|
|
75
75
|
fetchDepositWithdrawFees(codes?: Strings, params?: {}): Promise<{}>;
|
|
76
76
|
parseDepositWithdrawFees(response: any, codes?: any, currencyIdKey?: any): {};
|
package/js/src/bitstamp.js
CHANGED
|
@@ -454,6 +454,7 @@ export default class bitstamp extends Exchange {
|
|
|
454
454
|
* @method
|
|
455
455
|
* @name bitstamp#fetchMarkets
|
|
456
456
|
* @description retrieves data on all markets for bitstamp
|
|
457
|
+
* @see https://www.bitstamp.net/api/#tag/Market-info/operation/GetTradingPairsInfo
|
|
457
458
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
458
459
|
* @returns {object[]} an array of objects representing market data
|
|
459
460
|
*/
|
|
@@ -597,6 +598,7 @@ export default class bitstamp extends Exchange {
|
|
|
597
598
|
* @method
|
|
598
599
|
* @name bitstamp#fetchCurrencies
|
|
599
600
|
* @description fetches all available currencies on an exchange
|
|
601
|
+
* @see https://www.bitstamp.net/api/#tag/Market-info/operation/GetTradingPairsInfo
|
|
600
602
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
601
603
|
* @returns {object} an associative dictionary of currencies
|
|
602
604
|
*/
|
|
@@ -645,6 +647,7 @@ export default class bitstamp extends Exchange {
|
|
|
645
647
|
* @method
|
|
646
648
|
* @name bitstamp#fetchOrderBook
|
|
647
649
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
650
|
+
* @see https://www.bitstamp.net/api/#tag/Order-book/operation/GetOrderBook
|
|
648
651
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
649
652
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
650
653
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -730,6 +733,7 @@ export default class bitstamp extends Exchange {
|
|
|
730
733
|
* @method
|
|
731
734
|
* @name bitstamp#fetchTicker
|
|
732
735
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
736
|
+
* @see https://www.bitstamp.net/api/#tag/Tickers/operation/GetMarketTicker
|
|
733
737
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
734
738
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
735
739
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -762,7 +766,7 @@ export default class bitstamp extends Exchange {
|
|
|
762
766
|
* @method
|
|
763
767
|
* @name bitstamp#fetchTickers
|
|
764
768
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
765
|
-
* @see https://www.bitstamp.net/api/#
|
|
769
|
+
* @see https://www.bitstamp.net/api/#tag/Tickers/operation/GetCurrencyPairTickers
|
|
766
770
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
767
771
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
768
772
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -992,6 +996,7 @@ export default class bitstamp extends Exchange {
|
|
|
992
996
|
* @method
|
|
993
997
|
* @name bitstamp#fetchTrades
|
|
994
998
|
* @description get the list of most recent trades for a particular symbol
|
|
999
|
+
* @see https://www.bitstamp.net/api/#tag/Transactions-public/operation/GetTransactions
|
|
995
1000
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
996
1001
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
997
1002
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -1126,6 +1131,7 @@ export default class bitstamp extends Exchange {
|
|
|
1126
1131
|
* @method
|
|
1127
1132
|
* @name bitstamp#fetchBalance
|
|
1128
1133
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1134
|
+
* @see https://www.bitstamp.net/api/#tag/Account-balances/operation/GetAccountBalances
|
|
1129
1135
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1130
1136
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1131
1137
|
*/
|
|
@@ -1156,6 +1162,7 @@ export default class bitstamp extends Exchange {
|
|
|
1156
1162
|
* @method
|
|
1157
1163
|
* @name bitstamp#fetchTradingFee
|
|
1158
1164
|
* @description fetch the trading fees for a market
|
|
1165
|
+
* @see https://www.bitstamp.net/api/#tag/Fees/operation/GetAllTradingFees
|
|
1159
1166
|
* @param {string} symbol unified market symbol
|
|
1160
1167
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1161
1168
|
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
@@ -1196,6 +1203,7 @@ export default class bitstamp extends Exchange {
|
|
|
1196
1203
|
* @method
|
|
1197
1204
|
* @name bitstamp#fetchTradingFees
|
|
1198
1205
|
* @description fetch the trading fees for multiple markets
|
|
1206
|
+
* @see https://www.bitstamp.net/api/#tag/Fees/operation/GetAllTradingFees
|
|
1199
1207
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1200
1208
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
1201
1209
|
*/
|
|
@@ -1271,7 +1279,7 @@ export default class bitstamp extends Exchange {
|
|
|
1271
1279
|
* @method
|
|
1272
1280
|
* @name bitstamp#fetchDepositWithdrawFees
|
|
1273
1281
|
* @description fetch deposit and withdraw fees
|
|
1274
|
-
* @see https://www.bitstamp.net/api/#
|
|
1282
|
+
* @see https://www.bitstamp.net/api/#tag/Fees/operation/GetAllWithdrawalFees
|
|
1275
1283
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1276
1284
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1277
1285
|
* @returns {object[]} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
@@ -1404,6 +1412,7 @@ export default class bitstamp extends Exchange {
|
|
|
1404
1412
|
* @method
|
|
1405
1413
|
* @name bitstamp#cancelOrder
|
|
1406
1414
|
* @description cancels an open order
|
|
1415
|
+
* @see https://www.bitstamp.net/api/#tag/Orders/operation/CancelOrder
|
|
1407
1416
|
* @param {string} id order id
|
|
1408
1417
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1409
1418
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1420,6 +1429,8 @@ export default class bitstamp extends Exchange {
|
|
|
1420
1429
|
* @method
|
|
1421
1430
|
* @name bitstamp#cancelAllOrders
|
|
1422
1431
|
* @description cancel all open orders
|
|
1432
|
+
* @see https://www.bitstamp.net/api/#tag/Orders/operation/CancelAllOrders
|
|
1433
|
+
* @see https://www.bitstamp.net/api/#tag/Orders/operation/CancelOrdersForMarket
|
|
1423
1434
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1424
1435
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1425
1436
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1466,6 +1477,7 @@ export default class bitstamp extends Exchange {
|
|
|
1466
1477
|
* @method
|
|
1467
1478
|
* @name bitstamp#fetchOrder
|
|
1468
1479
|
* @description fetches information on an order made by the user
|
|
1480
|
+
* @see https://www.bitstamp.net/api/#tag/Orders/operation/GetOrderStatus
|
|
1469
1481
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1470
1482
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1471
1483
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1510,6 +1522,8 @@ export default class bitstamp extends Exchange {
|
|
|
1510
1522
|
* @method
|
|
1511
1523
|
* @name bitstamp#fetchMyTrades
|
|
1512
1524
|
* @description fetch all trades made by the user
|
|
1525
|
+
* @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactions
|
|
1526
|
+
* @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactionsForMarket
|
|
1513
1527
|
* @param {string} symbol unified market symbol
|
|
1514
1528
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1515
1529
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
@@ -1537,6 +1551,7 @@ export default class bitstamp extends Exchange {
|
|
|
1537
1551
|
* @method
|
|
1538
1552
|
* @name bitstamp#fetchDepositsWithdrawals
|
|
1539
1553
|
* @description fetch history of deposits and withdrawals
|
|
1554
|
+
* @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactions
|
|
1540
1555
|
* @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
|
|
1541
1556
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1542
1557
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
@@ -1587,6 +1602,7 @@ export default class bitstamp extends Exchange {
|
|
|
1587
1602
|
* @method
|
|
1588
1603
|
* @name bitstamp#fetchWithdrawals
|
|
1589
1604
|
* @description fetch all withdrawals made from an account
|
|
1605
|
+
* @see https://www.bitstamp.net/api/#tag/Withdrawals/operation/GetWithdrawalRequests
|
|
1590
1606
|
* @param {string} code unified currency code
|
|
1591
1607
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1592
1608
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
@@ -1955,6 +1971,7 @@ export default class bitstamp extends Exchange {
|
|
|
1955
1971
|
* @method
|
|
1956
1972
|
* @name bitstamp#fetchLedger
|
|
1957
1973
|
* @description fetch the history of changes, actions done by the user or operations that altered balance of the user
|
|
1974
|
+
* @see https://www.bitstamp.net/api/#tag/Transactions-private/operation/GetUserTransactions
|
|
1958
1975
|
* @param {string} code unified currency code, default is undefined
|
|
1959
1976
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
1960
1977
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
@@ -1978,6 +1995,8 @@ export default class bitstamp extends Exchange {
|
|
|
1978
1995
|
* @method
|
|
1979
1996
|
* @name bitstamp#fetchOpenOrders
|
|
1980
1997
|
* @description fetch all unfilled currently open orders
|
|
1998
|
+
* @see https://www.bitstamp.net/api/#tag/Orders/operation/GetAllOpenOrders
|
|
1999
|
+
* @see https://www.bitstamp.net/api/#tag/Orders/operation/GetOpenOrdersForMarket
|
|
1981
2000
|
* @param {string} symbol unified market symbol
|
|
1982
2001
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1983
2002
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
@@ -2025,6 +2044,7 @@ export default class bitstamp extends Exchange {
|
|
|
2025
2044
|
* @method
|
|
2026
2045
|
* @name bitstamp#fetchDepositAddress
|
|
2027
2046
|
* @description fetch the deposit address for a currency associated with this account
|
|
2047
|
+
* @see https://www.bitstamp.net/api/#tag/Deposits/operation/GetCryptoDepositAddress
|
|
2028
2048
|
* @param {string} code unified currency code
|
|
2029
2049
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2030
2050
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
@@ -2051,6 +2071,8 @@ export default class bitstamp extends Exchange {
|
|
|
2051
2071
|
* @method
|
|
2052
2072
|
* @name bitstamp#withdraw
|
|
2053
2073
|
* @description make a withdrawal
|
|
2074
|
+
* @see https://www.bitstamp.net/api/#tag/Withdrawals/operation/RequestFiatWithdrawal
|
|
2075
|
+
* @see https://www.bitstamp.net/api/#tag/Withdrawals/operation/RequestCryptoWithdrawal
|
|
2054
2076
|
* @param {string} code unified currency code
|
|
2055
2077
|
* @param {float} amount the amount to withdraw
|
|
2056
2078
|
* @param {string} address the address to withdraw to
|
package/js/src/bitvavo.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export default class bitvavo extends Exchange {
|
|
|
37
37
|
createOrderRequest(symbol: Str, type: OrderType, side: OrderSide, amount: number, price?: number, params?: {}): any;
|
|
38
38
|
createOrder(symbol: Str, type: OrderType, side: OrderSide, amount: number, price?: number, params?: {}): Promise<Order>;
|
|
39
39
|
editOrderRequest(id: string, symbol: any, type: any, side: any, amount?: any, price?: any, params?: {}): {};
|
|
40
|
-
editOrder(id: string, symbol:
|
|
40
|
+
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: number, price?: number, params?: {}): Promise<Order>;
|
|
41
41
|
cancelOrderRequest(id: Str, symbol?: Str, params?: {}): any;
|
|
42
42
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
43
43
|
cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
|
package/js/src/bl3p.js
CHANGED
|
@@ -142,6 +142,7 @@ export default class bl3p extends Exchange {
|
|
|
142
142
|
* @method
|
|
143
143
|
* @name bl3p#fetchBalance
|
|
144
144
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
145
|
+
* @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#35---get-account-info--balance
|
|
145
146
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
146
147
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
147
148
|
*/
|
|
@@ -162,6 +163,7 @@ export default class bl3p extends Exchange {
|
|
|
162
163
|
* @method
|
|
163
164
|
* @name bl3p#fetchOrderBook
|
|
164
165
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
166
|
+
* @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#22---orderbook
|
|
165
167
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
166
168
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
167
169
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -223,6 +225,7 @@ export default class bl3p extends Exchange {
|
|
|
223
225
|
* @method
|
|
224
226
|
* @name bl3p#fetchTicker
|
|
225
227
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
228
|
+
* @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#21---ticker
|
|
226
229
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
227
230
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
228
231
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -286,6 +289,7 @@ export default class bl3p extends Exchange {
|
|
|
286
289
|
* @method
|
|
287
290
|
* @name bl3p#fetchTrades
|
|
288
291
|
* @description get the list of most recent trades for a particular symbol
|
|
292
|
+
* @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/public_api/http.md#23---last-1000-trades
|
|
289
293
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
290
294
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
291
295
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -318,6 +322,7 @@ export default class bl3p extends Exchange {
|
|
|
318
322
|
* @method
|
|
319
323
|
* @name bl3p#fetchTradingFees
|
|
320
324
|
* @description fetch the trading fees for multiple markets
|
|
325
|
+
* @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#35---get-account-info--balance
|
|
321
326
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
322
327
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
323
328
|
*/
|
|
@@ -410,6 +415,7 @@ export default class bl3p extends Exchange {
|
|
|
410
415
|
* @method
|
|
411
416
|
* @name bl3p#cancelOrder
|
|
412
417
|
* @description cancels an open order
|
|
418
|
+
* @see https://github.com/BitonicNL/bl3p-api/blob/master/docs/authenticated_api/http.md#22---cancel-an-order
|
|
413
419
|
* @param {string} id order id
|
|
414
420
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
415
421
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
package/js/src/blockchaincom.js
CHANGED
|
@@ -229,6 +229,7 @@ export default class blockchaincom extends Exchange {
|
|
|
229
229
|
* @method
|
|
230
230
|
* @name blockchaincom#fetchMarkets
|
|
231
231
|
* @description retrieves data on all markets for blockchaincom
|
|
232
|
+
* @see https://api.blockchain.com/v3/#/unauthenticated/getSymbols
|
|
232
233
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
233
234
|
* @returns {object[]} an array of objects representing market data
|
|
234
235
|
*/
|
|
@@ -359,6 +360,7 @@ export default class blockchaincom extends Exchange {
|
|
|
359
360
|
* @method
|
|
360
361
|
* @name blockchaincom#fetchOrderBook
|
|
361
362
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
363
|
+
* @see https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
|
|
362
364
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
363
365
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
364
366
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -371,6 +373,7 @@ export default class blockchaincom extends Exchange {
|
|
|
371
373
|
* @method
|
|
372
374
|
* @name blockchaincom#fetchL3OrderBook
|
|
373
375
|
* @description fetches level 3 information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
376
|
+
* @see https://api.blockchain.com/v3/#/unauthenticated/getL3OrderBook
|
|
374
377
|
* @param {string} symbol unified market symbol
|
|
375
378
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
376
379
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -441,6 +444,7 @@ export default class blockchaincom extends Exchange {
|
|
|
441
444
|
* @method
|
|
442
445
|
* @name blockchaincom#fetchTicker
|
|
443
446
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
447
|
+
* @see https://api.blockchain.com/v3/#/unauthenticated/getTickerBySymbol
|
|
444
448
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
445
449
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
446
450
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -458,6 +462,7 @@ export default class blockchaincom extends Exchange {
|
|
|
458
462
|
* @method
|
|
459
463
|
* @name blockchaincom#fetchTickers
|
|
460
464
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
465
|
+
* @see https://api.blockchain.com/v3/#/unauthenticated/getTickers
|
|
461
466
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
462
467
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
463
468
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
@@ -538,6 +543,7 @@ export default class blockchaincom extends Exchange {
|
|
|
538
543
|
* @method
|
|
539
544
|
* @name blockchaincom#createOrder
|
|
540
545
|
* @description create a trade order
|
|
546
|
+
* @see https://api.blockchain.com/v3/#/trading/createOrder
|
|
541
547
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
542
548
|
* @param {string} type 'market' or 'limit'
|
|
543
549
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -600,6 +606,7 @@ export default class blockchaincom extends Exchange {
|
|
|
600
606
|
* @method
|
|
601
607
|
* @name blockchaincom#cancelOrder
|
|
602
608
|
* @description cancels an open order
|
|
609
|
+
* @see https://api.blockchain.com/v3/#/trading/deleteOrder
|
|
603
610
|
* @param {string} id order id
|
|
604
611
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
605
612
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -619,6 +626,7 @@ export default class blockchaincom extends Exchange {
|
|
|
619
626
|
* @method
|
|
620
627
|
* @name blockchaincom#cancelAllOrders
|
|
621
628
|
* @description cancel all open orders
|
|
629
|
+
* @see https://api.blockchain.com/v3/#/trading/deleteAllOrders
|
|
622
630
|
* @param {string} symbol unified market symbol of the market to cancel orders in, all markets are used if undefined, default is undefined
|
|
623
631
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
624
632
|
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -644,6 +652,7 @@ export default class blockchaincom extends Exchange {
|
|
|
644
652
|
* @method
|
|
645
653
|
* @name blockchaincom#fetchTradingFees
|
|
646
654
|
* @description fetch the trading fees for multiple markets
|
|
655
|
+
* @see https://api.blockchain.com/v3/#/trading/getFees
|
|
647
656
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
648
657
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
649
658
|
*/
|
|
@@ -675,6 +684,7 @@ export default class blockchaincom extends Exchange {
|
|
|
675
684
|
* @method
|
|
676
685
|
* @name blockchaincom#fetchCanceledOrders
|
|
677
686
|
* @description fetches information on multiple canceled orders made by the user
|
|
687
|
+
* @see https://api.blockchain.com/v3/#/trading/getOrders
|
|
678
688
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
679
689
|
* @param {int} [since] timestamp in ms of the earliest order, default is undefined
|
|
680
690
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
@@ -689,6 +699,7 @@ export default class blockchaincom extends Exchange {
|
|
|
689
699
|
* @method
|
|
690
700
|
* @name blockchaincom#fetchClosedOrders
|
|
691
701
|
* @description fetches information on multiple closed orders made by the user
|
|
702
|
+
* @see https://api.blockchain.com/v3/#/trading/getOrders
|
|
692
703
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
693
704
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
694
705
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -703,6 +714,7 @@ export default class blockchaincom extends Exchange {
|
|
|
703
714
|
* @method
|
|
704
715
|
* @name blockchaincom#fetchOpenOrders
|
|
705
716
|
* @description fetch all unfilled currently open orders
|
|
717
|
+
* @see https://api.blockchain.com/v3/#/trading/getOrders
|
|
706
718
|
* @param {string} symbol unified market symbol
|
|
707
719
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
708
720
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
@@ -779,6 +791,7 @@ export default class blockchaincom extends Exchange {
|
|
|
779
791
|
* @method
|
|
780
792
|
* @name blockchaincom#fetchMyTrades
|
|
781
793
|
* @description fetch all trades made by the user
|
|
794
|
+
* @see https://api.blockchain.com/v3/#/trading/getFills
|
|
782
795
|
* @param {string} symbol unified market symbol
|
|
783
796
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
784
797
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
@@ -803,6 +816,7 @@ export default class blockchaincom extends Exchange {
|
|
|
803
816
|
* @method
|
|
804
817
|
* @name blockchaincom#fetchDepositAddress
|
|
805
818
|
* @description fetch the deposit address for a currency associated with this account
|
|
819
|
+
* @see https://api.blockchain.com/v3/#/payments/getDepositAddress
|
|
806
820
|
* @param {string} code unified currency code
|
|
807
821
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
808
822
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
@@ -916,6 +930,7 @@ export default class blockchaincom extends Exchange {
|
|
|
916
930
|
* @method
|
|
917
931
|
* @name blockchaincom#withdraw
|
|
918
932
|
* @description make a withdrawal
|
|
933
|
+
* @see https://api.blockchain.com/v3/#/payments/createWithdrawal
|
|
919
934
|
* @param {string} code unified currency code
|
|
920
935
|
* @param {float} amount the amount to withdraw
|
|
921
936
|
* @param {string} address the address to withdraw to
|
|
@@ -950,6 +965,7 @@ export default class blockchaincom extends Exchange {
|
|
|
950
965
|
* @method
|
|
951
966
|
* @name blockchaincom#fetchWithdrawals
|
|
952
967
|
* @description fetch all withdrawals made from an account
|
|
968
|
+
* @see https://api.blockchain.com/v3/#/payments/getWithdrawals
|
|
953
969
|
* @param {string} code unified currency code
|
|
954
970
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
955
971
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
@@ -976,6 +992,7 @@ export default class blockchaincom extends Exchange {
|
|
|
976
992
|
* @method
|
|
977
993
|
* @name blockchaincom#fetchWithdrawal
|
|
978
994
|
* @description fetch data on a currency withdrawal via the withdrawal id
|
|
995
|
+
* @see https://api.blockchain.com/v3/#/payments/getWithdrawalById
|
|
979
996
|
* @param {string} id withdrawal id
|
|
980
997
|
* @param {string} code not used by blockchaincom.fetchWithdrawal
|
|
981
998
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -993,6 +1010,7 @@ export default class blockchaincom extends Exchange {
|
|
|
993
1010
|
* @method
|
|
994
1011
|
* @name blockchaincom#fetchDeposits
|
|
995
1012
|
* @description fetch all deposits made to an account
|
|
1013
|
+
* @see https://api.blockchain.com/v3/#/payments/getDeposits
|
|
996
1014
|
* @param {string} code unified currency code
|
|
997
1015
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
998
1016
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
@@ -1019,6 +1037,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1019
1037
|
* @method
|
|
1020
1038
|
* @name blockchaincom#fetchDeposit
|
|
1021
1039
|
* @description fetch information on a deposit
|
|
1040
|
+
* @see https://api.blockchain.com/v3/#/payments/getDepositById
|
|
1022
1041
|
* @param {string} id deposit id
|
|
1023
1042
|
* @param {string} code not used by blockchaincom fetchDeposit ()
|
|
1024
1043
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
@@ -1037,6 +1056,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1037
1056
|
* @method
|
|
1038
1057
|
* @name blockchaincom#fetchBalance
|
|
1039
1058
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1059
|
+
* @see https://api.blockchain.com/v3/#/payments/getAccounts
|
|
1040
1060
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1041
1061
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1042
1062
|
*/
|
|
@@ -1083,6 +1103,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1083
1103
|
* @method
|
|
1084
1104
|
* @name blockchaincom#fetchOrder
|
|
1085
1105
|
* @description fetches information on an order made by the user
|
|
1106
|
+
* @see https://api.blockchain.com/v3/#/trading/getOrderById
|
|
1086
1107
|
* @param {string} symbol not used by blockchaincom fetchOrder
|
|
1087
1108
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1088
1109
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
package/js/src/blofin.d.ts
CHANGED
|
@@ -95,7 +95,7 @@ export default class blofin extends Exchange {
|
|
|
95
95
|
};
|
|
96
96
|
parseIds(ids: any): any;
|
|
97
97
|
cancelOrders(ids: any, symbol?: Str, params?: {}): Promise<Order[]>;
|
|
98
|
-
transfer(code: string, amount: number, fromAccount:
|
|
98
|
+
transfer(code: string, amount: number, fromAccount: string, toAccount: string, params?: {}): Promise<TransferEntry>;
|
|
99
99
|
parseTransfer(transfer: any, currency?: Currency): {
|
|
100
100
|
info: any;
|
|
101
101
|
id: string;
|
|
@@ -111,7 +111,7 @@ export default class blofin extends Exchange {
|
|
|
111
111
|
fetchPositions(symbols?: string[], params?: {}): Promise<Position[]>;
|
|
112
112
|
parsePosition(position: any, market?: Market): Position;
|
|
113
113
|
fetchLeverage(symbol: string, params?: {}): Promise<any>;
|
|
114
|
-
setLeverage(leverage:
|
|
114
|
+
setLeverage(leverage: Int, symbol?: Str, params?: {}): Promise<any>;
|
|
115
115
|
closePosition(symbol: string, side?: OrderSide, params?: {}): Promise<Order>;
|
|
116
116
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
117
117
|
handleErrors(httpCode: any, reason: any, url: any, method: any, headers: any, body: any, response: any, requestHeaders: any, requestBody: any): any;
|
package/js/src/btcalpha.js
CHANGED
|
@@ -156,6 +156,7 @@ export default class btcalpha extends Exchange {
|
|
|
156
156
|
* @method
|
|
157
157
|
* @name btcalpha#fetchMarkets
|
|
158
158
|
* @description retrieves data on all markets for btcalpha
|
|
159
|
+
* @see https://btc-alpha.github.io/api-docs/#list-all-currencies
|
|
159
160
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
160
161
|
* @returns {object[]} an array of objects representing market data
|
|
161
162
|
*/
|
|
@@ -426,6 +427,7 @@ export default class btcalpha extends Exchange {
|
|
|
426
427
|
* @method
|
|
427
428
|
* @name btcalpha#fetchTrades
|
|
428
429
|
* @description get the list of most recent trades for a particular symbol
|
|
430
|
+
* @see https://btc-alpha.github.io/api-docs/#list-all-exchanges
|
|
429
431
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
430
432
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
431
433
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
@@ -450,6 +452,7 @@ export default class btcalpha extends Exchange {
|
|
|
450
452
|
* @method
|
|
451
453
|
* @name btcalpha#fetchDeposits
|
|
452
454
|
* @description fetch all deposits made to an account
|
|
455
|
+
* @see https://btc-alpha.github.io/api-docs/#list-own-deposits
|
|
453
456
|
* @param {string} code unified currency code
|
|
454
457
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
455
458
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
@@ -479,6 +482,7 @@ export default class btcalpha extends Exchange {
|
|
|
479
482
|
* @method
|
|
480
483
|
* @name btcalpha#fetchWithdrawals
|
|
481
484
|
* @description fetch all withdrawals made from an account
|
|
485
|
+
* @see https://btc-alpha.github.io/api-docs/#list-own-made-withdraws
|
|
482
486
|
* @param {string} code unified currency code
|
|
483
487
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
484
488
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
@@ -586,6 +590,7 @@ export default class btcalpha extends Exchange {
|
|
|
586
590
|
* @method
|
|
587
591
|
* @name btcalpha#fetchOHLCV
|
|
588
592
|
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
593
|
+
* @see https://btc-alpha.github.io/api-docs/#charts
|
|
589
594
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
590
595
|
* @param {string} timeframe the length of time each candle represents
|
|
591
596
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -633,6 +638,7 @@ export default class btcalpha extends Exchange {
|
|
|
633
638
|
* @method
|
|
634
639
|
* @name btcalpha#fetchBalance
|
|
635
640
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
641
|
+
* @see https://btc-alpha.github.io/api-docs/#list-own-wallets
|
|
636
642
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
637
643
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
638
644
|
*/
|
|
@@ -820,6 +826,7 @@ export default class btcalpha extends Exchange {
|
|
|
820
826
|
* @method
|
|
821
827
|
* @name btcalpha#fetchOpenOrders
|
|
822
828
|
* @description fetch all unfilled currently open orders
|
|
829
|
+
* @see https://btc-alpha.github.io/api-docs/#list-own-orders
|
|
823
830
|
* @param {string} symbol unified market symbol
|
|
824
831
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
825
832
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
@@ -836,6 +843,7 @@ export default class btcalpha extends Exchange {
|
|
|
836
843
|
* @method
|
|
837
844
|
* @name btcalpha#fetchClosedOrders
|
|
838
845
|
* @description fetches information on multiple closed orders made by the user
|
|
846
|
+
* @see https://btc-alpha.github.io/api-docs/#list-own-orders
|
|
839
847
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
840
848
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
841
849
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
@@ -852,6 +860,7 @@ export default class btcalpha extends Exchange {
|
|
|
852
860
|
* @method
|
|
853
861
|
* @name btcalpha#fetchMyTrades
|
|
854
862
|
* @description fetch all trades made by the user
|
|
863
|
+
* @see https://btc-alpha.github.io/api-docs/#list-own-exchanges
|
|
855
864
|
* @param {string} symbol unified market symbol
|
|
856
865
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
857
866
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|