ccxt 4.1.64 → 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.
- package/README.md +3 -3
- package/dist/ccxt.browser.js +2558 -2534
- package/dist/ccxt.browser.min.js +2 -2
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +13 -13
- package/dist/cjs/src/alpaca.js +10 -10
- package/dist/cjs/src/ascendex.js +33 -33
- package/dist/cjs/src/base/Exchange.js +6 -6
- package/dist/cjs/src/bigone.js +23 -23
- package/dist/cjs/src/binance.js +68 -68
- package/dist/cjs/src/binanceus.js +1 -0
- package/dist/cjs/src/bingx.js +33 -33
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +14 -14
- package/dist/cjs/src/bitbns.js +15 -15
- package/dist/cjs/src/bitfinex.js +24 -24
- package/dist/cjs/src/bitfinex2.js +30 -30
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitforex.js +12 -12
- package/dist/cjs/src/bitget.js +50 -50
- package/dist/cjs/src/bithumb.js +13 -13
- package/dist/cjs/src/bitmart.js +74 -59
- package/dist/cjs/src/bitmex.js +29 -28
- package/dist/cjs/src/bitopro.js +23 -23
- package/dist/cjs/src/bitpanda.js +25 -25
- package/dist/cjs/src/bitrue.js +26 -26
- package/dist/cjs/src/bitso.js +22 -22
- package/dist/cjs/src/bitstamp.js +24 -24
- package/dist/cjs/src/bittrex.js +31 -31
- package/dist/cjs/src/bitvavo.js +23 -23
- package/dist/cjs/src/bl3p.js +7 -7
- package/dist/cjs/src/blockchaincom.js +23 -23
- package/dist/cjs/src/btcalpha.js +17 -17
- package/dist/cjs/src/btcbox.js +9 -9
- package/dist/cjs/src/btcmarkets.js +19 -19
- package/dist/cjs/src/btcturk.js +13 -13
- package/dist/cjs/src/bybit.js +71 -67
- package/dist/cjs/src/cex.js +17 -17
- package/dist/cjs/src/coinbase.js +28 -28
- package/dist/cjs/src/coinbasepro.js +27 -27
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +42 -42
- package/dist/cjs/src/coinlist.js +29 -29
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinone.js +13 -13
- package/dist/cjs/src/coinsph.js +25 -25
- package/dist/cjs/src/coinspot.js +9 -9
- package/dist/cjs/src/cryptocom.js +33 -32
- package/dist/cjs/src/currencycom.js +24 -24
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +35 -35
- package/dist/cjs/src/digifinex.js +43 -43
- package/dist/cjs/src/exmo.js +30 -30
- package/dist/cjs/src/gate.js +39 -39
- package/dist/cjs/src/gemini.js +18 -18
- package/dist/cjs/src/hitbtc.js +40 -40
- package/dist/cjs/src/hollaex.js +26 -26
- package/dist/cjs/src/htx.js +48 -48
- package/dist/cjs/src/huobijp.js +24 -24
- package/dist/cjs/src/idex.js +23 -23
- package/dist/cjs/src/independentreserve.js +12 -12
- package/dist/cjs/src/indodax.js +16 -16
- package/dist/cjs/src/kraken.js +28 -28
- package/dist/cjs/src/krakenfutures.js +9 -9
- package/dist/cjs/src/kucoin.js +39 -39
- package/dist/cjs/src/kucoinfutures.js +24 -24
- package/dist/cjs/src/kuna.js +25 -25
- package/dist/cjs/src/latoken.js +20 -20
- package/dist/cjs/src/lbank.js +24 -24
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/lykke.js +18 -18
- package/dist/cjs/src/mercado.js +13 -13
- package/dist/cjs/src/mexc.js +47 -45
- package/dist/cjs/src/ndax.js +23 -23
- package/dist/cjs/src/novadax.js +23 -23
- package/dist/cjs/src/oceanex.js +19 -19
- package/dist/cjs/src/okcoin.js +25 -25
- package/dist/cjs/src/okx.js +53 -53
- package/dist/cjs/src/p2b.js +14 -14
- package/dist/cjs/src/paymium.js +10 -10
- package/dist/cjs/src/phemex.js +32 -32
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/poloniexfutures.js +21 -21
- package/dist/cjs/src/pro/alpaca.js +6 -6
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/binance.js +21 -21
- package/dist/cjs/src/pro/bingx.js +6 -6
- package/dist/cjs/src/pro/bitfinex.js +4 -4
- package/dist/cjs/src/pro/bitfinex2.js +7 -7
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bitmart.js +5 -5
- package/dist/cjs/src/pro/bitmex.js +8 -8
- package/dist/cjs/src/pro/bitopro.js +4 -4
- package/dist/cjs/src/pro/bitpanda.js +7 -7
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrex.js +7 -7
- package/dist/cjs/src/pro/bitvavo.js +6 -6
- package/dist/cjs/src/pro/blockchaincom.js +6 -6
- package/dist/cjs/src/pro/bybit.js +12 -12
- package/dist/cjs/src/pro/cex.js +9 -9
- package/dist/cjs/src/pro/coinbase.js +6 -6
- package/dist/cjs/src/pro/coinbasepro.js +10 -10
- package/dist/cjs/src/pro/coinex.js +7 -7
- package/dist/cjs/src/pro/cryptocom.js +13 -13
- package/dist/cjs/src/pro/currencycom.js +5 -5
- package/dist/cjs/src/pro/deribit.js +7 -7
- package/dist/cjs/src/pro/exmo.js +5 -5
- package/dist/cjs/src/pro/gate.js +10 -10
- package/dist/cjs/src/pro/gemini.js +4 -4
- package/dist/cjs/src/pro/hitbtc.js +11 -11
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +8 -8
- package/dist/cjs/src/pro/huobijp.js +4 -4
- package/dist/cjs/src/pro/idex.js +5 -5
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +11 -11
- package/dist/cjs/src/pro/krakenfutures.js +8 -8
- package/dist/cjs/src/pro/kucoin.js +10 -10
- package/dist/cjs/src/pro/kucoinfutures.js +8 -8
- package/dist/cjs/src/pro/luno.js +4 -4
- package/dist/cjs/src/pro/mexc.js +7 -7
- package/dist/cjs/src/pro/ndax.js +4 -4
- package/dist/cjs/src/pro/okcoin.js +6 -6
- package/dist/cjs/src/pro/okx.js +16 -16
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +7 -7
- package/dist/cjs/src/pro/poloniexfutures.js +5 -5
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/upbit.js +3 -3
- package/dist/cjs/src/pro/wazirx.js +7 -7
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +1 -1
- package/dist/cjs/src/probit.js +24 -24
- package/dist/cjs/src/tidex.js +15 -15
- package/dist/cjs/src/timex.js +19 -19
- package/dist/cjs/src/tokocrypto.js +21 -21
- package/dist/cjs/src/upbit.js +22 -22
- package/dist/cjs/src/wavesexchange.js +19 -19
- package/dist/cjs/src/wazirx.js +15 -15
- package/dist/cjs/src/whitebit.js +29 -29
- package/dist/cjs/src/woo.js +26 -26
- package/dist/cjs/src/yobit.js +17 -17
- package/dist/cjs/src/zaif.js +10 -10
- package/dist/cjs/src/zonda.js +16 -16
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/mexc.d.ts +2 -0
- package/js/src/ace.js +13 -13
- package/js/src/alpaca.js +10 -10
- package/js/src/ascendex.js +33 -33
- package/js/src/base/Exchange.js +6 -6
- package/js/src/bigone.js +23 -23
- package/js/src/binance.js +68 -68
- package/js/src/binanceus.js +1 -0
- package/js/src/bingx.js +33 -33
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.js +14 -14
- package/js/src/bitbns.js +15 -15
- package/js/src/bitfinex.js +24 -24
- package/js/src/bitfinex2.js +30 -30
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitforex.js +12 -12
- package/js/src/bitget.js +50 -50
- package/js/src/bithumb.js +13 -13
- package/js/src/bitmart.js +74 -59
- package/js/src/bitmex.js +29 -28
- package/js/src/bitopro.js +23 -23
- package/js/src/bitpanda.js +25 -25
- package/js/src/bitrue.js +26 -26
- package/js/src/bitso.js +22 -22
- package/js/src/bitstamp.js +24 -24
- package/js/src/bittrex.js +31 -31
- package/js/src/bitvavo.js +23 -23
- package/js/src/bl3p.js +7 -7
- package/js/src/blockchaincom.js +23 -23
- package/js/src/btcalpha.js +17 -17
- package/js/src/btcbox.js +9 -9
- package/js/src/btcmarkets.js +19 -19
- package/js/src/btcturk.js +13 -13
- package/js/src/bybit.js +71 -67
- package/js/src/cex.js +17 -17
- package/js/src/coinbase.js +28 -28
- package/js/src/coinbasepro.js +27 -27
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.js +42 -42
- package/js/src/coinlist.js +29 -29
- package/js/src/coinmate.js +14 -14
- package/js/src/coinone.js +13 -13
- package/js/src/coinsph.js +25 -25
- package/js/src/coinspot.js +9 -9
- package/js/src/cryptocom.js +33 -32
- package/js/src/currencycom.js +24 -24
- package/js/src/delta.js +29 -29
- package/js/src/deribit.js +35 -35
- package/js/src/digifinex.js +43 -43
- package/js/src/exmo.js +30 -30
- package/js/src/gate.js +39 -39
- package/js/src/gemini.js +18 -18
- package/js/src/hitbtc.js +40 -40
- package/js/src/hollaex.js +26 -26
- package/js/src/htx.js +48 -48
- package/js/src/huobijp.js +24 -24
- package/js/src/idex.js +23 -23
- package/js/src/independentreserve.js +12 -12
- package/js/src/indodax.js +16 -16
- package/js/src/kraken.js +28 -28
- package/js/src/krakenfutures.js +9 -9
- package/js/src/kucoin.js +39 -39
- package/js/src/kucoinfutures.js +24 -24
- package/js/src/kuna.js +25 -25
- package/js/src/latoken.js +20 -20
- package/js/src/lbank.js +24 -24
- package/js/src/luno.js +17 -17
- package/js/src/lykke.js +18 -18
- package/js/src/mercado.js +13 -13
- package/js/src/mexc.js +47 -45
- package/js/src/ndax.js +23 -23
- package/js/src/novadax.js +23 -23
- package/js/src/oceanex.js +19 -19
- package/js/src/okcoin.js +25 -25
- package/js/src/okx.js +53 -53
- package/js/src/p2b.js +14 -14
- package/js/src/paymium.js +10 -10
- package/js/src/phemex.js +32 -32
- package/js/src/poloniex.js +27 -27
- package/js/src/poloniexfutures.js +21 -21
- package/js/src/pro/alpaca.js +6 -6
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/binance.js +21 -21
- package/js/src/pro/bingx.js +6 -6
- package/js/src/pro/bitfinex.js +4 -4
- package/js/src/pro/bitfinex2.js +7 -7
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bitmart.js +5 -5
- package/js/src/pro/bitmex.js +8 -8
- package/js/src/pro/bitopro.js +4 -4
- package/js/src/pro/bitpanda.js +7 -7
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrex.js +7 -7
- package/js/src/pro/bitvavo.js +6 -6
- package/js/src/pro/blockchaincom.js +6 -6
- package/js/src/pro/bybit.js +12 -12
- package/js/src/pro/cex.js +9 -9
- package/js/src/pro/coinbase.js +6 -6
- package/js/src/pro/coinbasepro.js +10 -10
- package/js/src/pro/coinex.js +7 -7
- package/js/src/pro/cryptocom.js +13 -13
- package/js/src/pro/currencycom.js +5 -5
- package/js/src/pro/deribit.js +7 -7
- package/js/src/pro/exmo.js +5 -5
- package/js/src/pro/gate.js +10 -10
- package/js/src/pro/gemini.js +4 -4
- package/js/src/pro/hitbtc.js +11 -11
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.js +8 -8
- package/js/src/pro/huobijp.js +4 -4
- package/js/src/pro/idex.js +5 -5
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.js +11 -11
- package/js/src/pro/krakenfutures.js +8 -8
- package/js/src/pro/kucoin.js +10 -10
- package/js/src/pro/kucoinfutures.js +8 -8
- package/js/src/pro/luno.js +4 -4
- package/js/src/pro/mexc.js +7 -7
- package/js/src/pro/ndax.js +4 -4
- package/js/src/pro/okcoin.js +6 -6
- package/js/src/pro/okx.js +16 -16
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.js +7 -7
- package/js/src/pro/poloniexfutures.js +5 -5
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/upbit.js +3 -3
- package/js/src/pro/wazirx.js +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.js +1 -1
- package/js/src/probit.js +24 -24
- package/js/src/tidex.js +15 -15
- package/js/src/timex.js +19 -19
- package/js/src/tokocrypto.js +21 -21
- package/js/src/upbit.js +22 -22
- package/js/src/wavesexchange.js +19 -19
- package/js/src/wazirx.js +15 -15
- package/js/src/whitebit.js +29 -29
- package/js/src/woo.js +26 -26
- package/js/src/yobit.js +17 -17
- package/js/src/zaif.js +10 -10
- package/js/src/zonda.js +16 -16
- package/package.json +1 -1
package/js/src/bitvavo.js
CHANGED
|
@@ -298,7 +298,7 @@ export default class bitvavo extends Exchange {
|
|
|
298
298
|
* @method
|
|
299
299
|
* @name bitvavo#fetchTime
|
|
300
300
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
301
|
-
* @param {object} [params] extra parameters specific to the
|
|
301
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
302
302
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
303
303
|
*/
|
|
304
304
|
const response = await this.publicGetTime(params);
|
|
@@ -312,7 +312,7 @@ export default class bitvavo extends Exchange {
|
|
|
312
312
|
* @method
|
|
313
313
|
* @name bitvavo#fetchMarkets
|
|
314
314
|
* @description retrieves data on all markets for bitvavo
|
|
315
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
315
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
316
316
|
* @returns {object[]} an array of objects representing market data
|
|
317
317
|
*/
|
|
318
318
|
const response = await this.publicGetMarkets(params);
|
|
@@ -403,7 +403,7 @@ export default class bitvavo extends Exchange {
|
|
|
403
403
|
* @method
|
|
404
404
|
* @name bitvavo#fetchCurrencies
|
|
405
405
|
* @description fetches all available currencies on an exchange
|
|
406
|
-
* @param {object} [params] extra parameters specific to the
|
|
406
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
407
407
|
* @returns {object} an associative dictionary of currencies
|
|
408
408
|
*/
|
|
409
409
|
const response = await this.publicGetAssets(params);
|
|
@@ -514,7 +514,7 @@ export default class bitvavo extends Exchange {
|
|
|
514
514
|
* @see https://docs.bitvavo.com/#tag/Market-Data/paths/~1ticker~124h/get
|
|
515
515
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
516
516
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
517
|
-
* @param {object} [params] extra parameters specific to the
|
|
517
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
518
518
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
519
519
|
*/
|
|
520
520
|
await this.loadMarkets();
|
|
@@ -594,9 +594,9 @@ export default class bitvavo extends Exchange {
|
|
|
594
594
|
/**
|
|
595
595
|
* @method
|
|
596
596
|
* @name bitvavo#fetchTickers
|
|
597
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
597
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
598
598
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
599
|
-
* @param {object} [params] extra parameters specific to the
|
|
599
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
600
600
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
601
601
|
*/
|
|
602
602
|
await this.loadMarkets();
|
|
@@ -630,7 +630,7 @@ export default class bitvavo extends Exchange {
|
|
|
630
630
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
631
631
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
632
632
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
633
|
-
* @param {object} [params] extra parameters specific to the
|
|
633
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
634
634
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
635
635
|
* @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)
|
|
636
636
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
@@ -772,7 +772,7 @@ export default class bitvavo extends Exchange {
|
|
|
772
772
|
* @method
|
|
773
773
|
* @name bitvavo#fetchTradingFees
|
|
774
774
|
* @description fetch the trading fees for multiple markets
|
|
775
|
-
* @param {object} [params] extra parameters specific to the
|
|
775
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
776
776
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
777
777
|
*/
|
|
778
778
|
await this.loadMarkets();
|
|
@@ -811,7 +811,7 @@ export default class bitvavo extends Exchange {
|
|
|
811
811
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
812
812
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
813
813
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
814
|
-
* @param {object} [params] extra parameters specific to the
|
|
814
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
815
815
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
816
816
|
*/
|
|
817
817
|
await this.loadMarkets();
|
|
@@ -873,7 +873,7 @@ export default class bitvavo extends Exchange {
|
|
|
873
873
|
* @param {string} timeframe the length of time each candle represents
|
|
874
874
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
875
875
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
876
|
-
* @param {object} [params] extra parameters specific to the
|
|
876
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
877
877
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
878
878
|
* @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)
|
|
879
879
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
@@ -937,7 +937,7 @@ export default class bitvavo extends Exchange {
|
|
|
937
937
|
* @method
|
|
938
938
|
* @name bitvavo#fetchBalance
|
|
939
939
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
940
|
-
* @param {object} [params] extra parameters specific to the
|
|
940
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
941
941
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
942
942
|
*/
|
|
943
943
|
await this.loadMarkets();
|
|
@@ -959,7 +959,7 @@ export default class bitvavo extends Exchange {
|
|
|
959
959
|
* @name bitvavo#fetchDepositAddress
|
|
960
960
|
* @description fetch the deposit address for a currency associated with this account
|
|
961
961
|
* @param {string} code unified currency code
|
|
962
|
-
* @param {object} [params] extra parameters specific to the
|
|
962
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
963
963
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
964
964
|
*/
|
|
965
965
|
await this.loadMarkets();
|
|
@@ -996,7 +996,7 @@ export default class bitvavo extends Exchange {
|
|
|
996
996
|
* @param {string} side 'buy' or 'sell'
|
|
997
997
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
998
998
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
999
|
-
* @param {object} [params] extra parameters specific to the
|
|
999
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1000
1000
|
* @param {string} [params.timeInForce] "GTC", "IOC", or "PO"
|
|
1001
1001
|
* @param {float} [params.stopPrice] The price at which a trigger order is triggered at
|
|
1002
1002
|
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
@@ -1150,7 +1150,7 @@ export default class bitvavo extends Exchange {
|
|
|
1150
1150
|
* @description cancels an open order
|
|
1151
1151
|
* @param {string} id order id
|
|
1152
1152
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1153
|
-
* @param {object} [params] extra parameters specific to the
|
|
1153
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1154
1154
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1155
1155
|
*/
|
|
1156
1156
|
if (symbol === undefined) {
|
|
@@ -1176,7 +1176,7 @@ export default class bitvavo extends Exchange {
|
|
|
1176
1176
|
* @name bitvavo#cancelAllOrders
|
|
1177
1177
|
* @description cancel all open orders
|
|
1178
1178
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1179
|
-
* @param {object} [params] extra parameters specific to the
|
|
1179
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1180
1180
|
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1181
1181
|
*/
|
|
1182
1182
|
await this.loadMarkets();
|
|
@@ -1202,7 +1202,7 @@ export default class bitvavo extends Exchange {
|
|
|
1202
1202
|
* @name bitvavo#fetchOrder
|
|
1203
1203
|
* @description fetches information on an order made by the user
|
|
1204
1204
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1205
|
-
* @param {object} [params] extra parameters specific to the
|
|
1205
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1206
1206
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1207
1207
|
*/
|
|
1208
1208
|
if (symbol === undefined) {
|
|
@@ -1260,7 +1260,7 @@ export default class bitvavo extends Exchange {
|
|
|
1260
1260
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1261
1261
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1262
1262
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
1263
|
-
* @param {object} [params] extra parameters specific to the
|
|
1263
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1264
1264
|
* @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)
|
|
1265
1265
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
1266
1266
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
@@ -1337,7 +1337,7 @@ export default class bitvavo extends Exchange {
|
|
|
1337
1337
|
* @param {string} symbol unified market symbol
|
|
1338
1338
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1339
1339
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1340
|
-
* @param {object} [params] extra parameters specific to the
|
|
1340
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1341
1341
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1342
1342
|
*/
|
|
1343
1343
|
await this.loadMarkets();
|
|
@@ -1519,7 +1519,7 @@ export default class bitvavo extends Exchange {
|
|
|
1519
1519
|
* @param {string} symbol unified market symbol
|
|
1520
1520
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1521
1521
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1522
|
-
* @param {object} [params] extra parameters specific to the
|
|
1522
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1523
1523
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
1524
1524
|
* @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)
|
|
1525
1525
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
@@ -1578,7 +1578,7 @@ export default class bitvavo extends Exchange {
|
|
|
1578
1578
|
* @param {float} amount the amount to withdraw
|
|
1579
1579
|
* @param {string} address the address to withdraw to
|
|
1580
1580
|
* @param {string} tag
|
|
1581
|
-
* @param {object} [params] extra parameters specific to the
|
|
1581
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1582
1582
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1583
1583
|
*/
|
|
1584
1584
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1613,7 +1613,7 @@ export default class bitvavo extends Exchange {
|
|
|
1613
1613
|
* @param {string} code unified currency code
|
|
1614
1614
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1615
1615
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1616
|
-
* @param {object} [params] extra parameters specific to the
|
|
1616
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1617
1617
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1618
1618
|
*/
|
|
1619
1619
|
await this.loadMarkets();
|
|
@@ -1659,7 +1659,7 @@ export default class bitvavo extends Exchange {
|
|
|
1659
1659
|
* @param {string} code unified currency code
|
|
1660
1660
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1661
1661
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1662
|
-
* @param {object} [params] extra parameters specific to the
|
|
1662
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1663
1663
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1664
1664
|
*/
|
|
1665
1665
|
await this.loadMarkets();
|
|
@@ -1840,7 +1840,7 @@ export default class bitvavo extends Exchange {
|
|
|
1840
1840
|
* @description fetch deposit and withdraw fees
|
|
1841
1841
|
* @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
|
1842
1842
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1843
|
-
* @param {object} [params] extra parameters specific to the
|
|
1843
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1844
1844
|
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure}
|
|
1845
1845
|
*/
|
|
1846
1846
|
await this.loadMarkets();
|
package/js/src/bl3p.js
CHANGED
|
@@ -140,7 +140,7 @@ export default class bl3p extends Exchange {
|
|
|
140
140
|
* @method
|
|
141
141
|
* @name bl3p#fetchBalance
|
|
142
142
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
143
|
-
* @param {object} [params] extra parameters specific to the
|
|
143
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
144
144
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
145
145
|
*/
|
|
146
146
|
await this.loadMarkets();
|
|
@@ -162,7 +162,7 @@ export default class bl3p extends Exchange {
|
|
|
162
162
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
163
163
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
164
164
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
165
|
-
* @param {object} [params] extra parameters specific to the
|
|
165
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
166
166
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
167
167
|
*/
|
|
168
168
|
const market = this.market(symbol);
|
|
@@ -222,7 +222,7 @@ export default class bl3p extends Exchange {
|
|
|
222
222
|
* @name bl3p#fetchTicker
|
|
223
223
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
224
224
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
225
|
-
* @param {object} [params] extra parameters specific to the
|
|
225
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
226
226
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
227
227
|
*/
|
|
228
228
|
const market = this.market(symbol);
|
|
@@ -287,7 +287,7 @@ export default class bl3p extends Exchange {
|
|
|
287
287
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
288
288
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
289
289
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
290
|
-
* @param {object} [params] extra parameters specific to the
|
|
290
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
291
291
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
292
292
|
*/
|
|
293
293
|
const market = this.market(symbol);
|
|
@@ -316,7 +316,7 @@ export default class bl3p extends Exchange {
|
|
|
316
316
|
* @method
|
|
317
317
|
* @name bl3p#fetchTradingFees
|
|
318
318
|
* @description fetch the trading fees for multiple markets
|
|
319
|
-
* @param {object} [params] extra parameters specific to the
|
|
319
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
320
320
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
321
321
|
*/
|
|
322
322
|
await this.loadMarkets();
|
|
@@ -377,7 +377,7 @@ export default class bl3p extends Exchange {
|
|
|
377
377
|
* @param {string} side 'buy' or 'sell'
|
|
378
378
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
379
379
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
380
|
-
* @param {object} [params] extra parameters specific to the
|
|
380
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
381
381
|
*
|
|
382
382
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
383
383
|
* @param {int} [params.amount_funds] maximal EUR amount to spend (*1e5)
|
|
@@ -410,7 +410,7 @@ export default class bl3p extends Exchange {
|
|
|
410
410
|
* @description cancels an open order
|
|
411
411
|
* @param {string} id order id
|
|
412
412
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
413
|
-
* @param {object} [params] extra parameters specific to the
|
|
413
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
414
414
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
415
415
|
*/
|
|
416
416
|
const request = {
|
package/js/src/blockchaincom.js
CHANGED
|
@@ -229,7 +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
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
232
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
233
233
|
* @returns {object[]} an array of objects representing market data
|
|
234
234
|
*/
|
|
235
235
|
//
|
|
@@ -361,7 +361,7 @@ export default class blockchaincom extends Exchange {
|
|
|
361
361
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
362
362
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
363
363
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
364
|
-
* @param {object} [params] extra parameters specific to the
|
|
364
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
365
365
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
366
366
|
*/
|
|
367
367
|
return await this.fetchL3OrderBook(symbol, limit, params);
|
|
@@ -373,7 +373,7 @@ export default class blockchaincom extends Exchange {
|
|
|
373
373
|
* @description fetches level 3 information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
374
374
|
* @param {string} symbol unified market symbol
|
|
375
375
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
376
|
-
* @param {object} [params] extra parameters specific to the
|
|
376
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
377
377
|
* @returns {object} an [order book structure]{@link https://docs.ccxt.com/#/?id=order-book-structure}
|
|
378
378
|
*/
|
|
379
379
|
await this.loadMarkets();
|
|
@@ -442,7 +442,7 @@ export default class blockchaincom extends Exchange {
|
|
|
442
442
|
* @name blockchaincom#fetchTicker
|
|
443
443
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
444
444
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
445
|
-
* @param {object} [params] extra parameters specific to the
|
|
445
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
446
446
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
447
447
|
*/
|
|
448
448
|
await this.loadMarkets();
|
|
@@ -457,9 +457,9 @@ export default class blockchaincom extends Exchange {
|
|
|
457
457
|
/**
|
|
458
458
|
* @method
|
|
459
459
|
* @name blockchaincom#fetchTickers
|
|
460
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
460
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
461
461
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
462
|
-
* @param {object} [params] extra parameters specific to the
|
|
462
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
463
463
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
464
464
|
*/
|
|
465
465
|
await this.loadMarkets();
|
|
@@ -543,7 +543,7 @@ export default class blockchaincom extends Exchange {
|
|
|
543
543
|
* @param {string} side 'buy' or 'sell'
|
|
544
544
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
545
545
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
546
|
-
* @param {object} [params] extra parameters specific to the
|
|
546
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
547
547
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
548
548
|
*/
|
|
549
549
|
await this.loadMarkets();
|
|
@@ -602,7 +602,7 @@ export default class blockchaincom extends Exchange {
|
|
|
602
602
|
* @description cancels an open order
|
|
603
603
|
* @param {string} id order id
|
|
604
604
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
605
|
-
* @param {object} [params] extra parameters specific to the
|
|
605
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
606
606
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
607
607
|
*/
|
|
608
608
|
const request = {
|
|
@@ -620,7 +620,7 @@ export default class blockchaincom extends Exchange {
|
|
|
620
620
|
* @name blockchaincom#cancelAllOrders
|
|
621
621
|
* @description cancel all open orders
|
|
622
622
|
* @param {string} symbol unified market symbol of the market to cancel orders in, all markets are used if undefined, default is undefined
|
|
623
|
-
* @param {object} [params] extra parameters specific to the
|
|
623
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
624
624
|
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
625
625
|
*/
|
|
626
626
|
// cancels all open orders if no symbol specified
|
|
@@ -644,7 +644,7 @@ export default class blockchaincom extends Exchange {
|
|
|
644
644
|
* @method
|
|
645
645
|
* @name blockchaincom#fetchTradingFees
|
|
646
646
|
* @description fetch the trading fees for multiple markets
|
|
647
|
-
* @param {object} [params] extra parameters specific to the
|
|
647
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
648
648
|
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
649
649
|
*/
|
|
650
650
|
await this.loadMarkets();
|
|
@@ -678,7 +678,7 @@ export default class blockchaincom extends Exchange {
|
|
|
678
678
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
679
679
|
* @param {int} [since] timestamp in ms of the earliest order, default is undefined
|
|
680
680
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
681
|
-
* @param {object} [params] extra parameters specific to the
|
|
681
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
682
682
|
* @returns {object} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
683
683
|
*/
|
|
684
684
|
const state = 'CANCELED';
|
|
@@ -692,7 +692,7 @@ export default class blockchaincom extends Exchange {
|
|
|
692
692
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
693
693
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
694
694
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
695
|
-
* @param {object} [params] extra parameters specific to the
|
|
695
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
696
696
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
697
697
|
*/
|
|
698
698
|
const state = 'FILLED';
|
|
@@ -706,7 +706,7 @@ export default class blockchaincom extends Exchange {
|
|
|
706
706
|
* @param {string} symbol unified market symbol
|
|
707
707
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
708
708
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
709
|
-
* @param {object} [params] extra parameters specific to the
|
|
709
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
710
710
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
711
711
|
*/
|
|
712
712
|
const state = 'OPEN';
|
|
@@ -782,7 +782,7 @@ export default class blockchaincom extends Exchange {
|
|
|
782
782
|
* @param {string} symbol unified market symbol
|
|
783
783
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
784
784
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
785
|
-
* @param {object} [params] extra parameters specific to the
|
|
785
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
786
786
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
787
787
|
*/
|
|
788
788
|
await this.loadMarkets();
|
|
@@ -804,7 +804,7 @@ export default class blockchaincom extends Exchange {
|
|
|
804
804
|
* @name blockchaincom#fetchDepositAddress
|
|
805
805
|
* @description fetch the deposit address for a currency associated with this account
|
|
806
806
|
* @param {string} code unified currency code
|
|
807
|
-
* @param {object} [params] extra parameters specific to the
|
|
807
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
808
808
|
* @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
|
|
809
809
|
*/
|
|
810
810
|
await this.loadMarkets();
|
|
@@ -914,7 +914,7 @@ export default class blockchaincom extends Exchange {
|
|
|
914
914
|
* @method
|
|
915
915
|
* @name blockchaincom#fetchWithdrawalWhitelist
|
|
916
916
|
* @description fetch the list of withdrawal addresses on the whitelist
|
|
917
|
-
* @param {object} [params] extra parameters specific to the
|
|
917
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
918
918
|
* @returns {object} dictionary with keys beneficiaryId, name, currency
|
|
919
919
|
*/
|
|
920
920
|
await this.loadMarkets();
|
|
@@ -959,7 +959,7 @@ export default class blockchaincom extends Exchange {
|
|
|
959
959
|
* @param {float} amount the amount to withdraw
|
|
960
960
|
* @param {string} address the address to withdraw to
|
|
961
961
|
* @param {string} tag
|
|
962
|
-
* @param {object} [params] extra parameters specific to the
|
|
962
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
963
963
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
964
964
|
*/
|
|
965
965
|
await this.loadMarkets();
|
|
@@ -992,7 +992,7 @@ export default class blockchaincom extends Exchange {
|
|
|
992
992
|
* @param {string} code unified currency code
|
|
993
993
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
994
994
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
995
|
-
* @param {object} [params] extra parameters specific to the
|
|
995
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
996
996
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
997
997
|
*/
|
|
998
998
|
await this.loadMarkets();
|
|
@@ -1017,7 +1017,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1017
1017
|
* @description fetch data on a currency withdrawal via the withdrawal id
|
|
1018
1018
|
* @param {string} id withdrawal id
|
|
1019
1019
|
* @param {string} code not used by blockchaincom.fetchWithdrawal
|
|
1020
|
-
* @param {object} [params] extra parameters specific to the
|
|
1020
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1021
1021
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1022
1022
|
*/
|
|
1023
1023
|
await this.loadMarkets();
|
|
@@ -1035,7 +1035,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1035
1035
|
* @param {string} code unified currency code
|
|
1036
1036
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1037
1037
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1038
|
-
* @param {object} [params] extra parameters specific to the
|
|
1038
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1039
1039
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1040
1040
|
*/
|
|
1041
1041
|
await this.loadMarkets();
|
|
@@ -1060,7 +1060,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1060
1060
|
* @description fetch information on a deposit
|
|
1061
1061
|
* @param {string} id deposit id
|
|
1062
1062
|
* @param {string} code not used by blockchaincom fetchDeposit ()
|
|
1063
|
-
* @param {object} [params] extra parameters specific to the
|
|
1063
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1064
1064
|
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
1065
1065
|
*/
|
|
1066
1066
|
await this.loadMarkets();
|
|
@@ -1076,7 +1076,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1076
1076
|
* @method
|
|
1077
1077
|
* @name blockchaincom#fetchBalance
|
|
1078
1078
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1079
|
-
* @param {object} [params] extra parameters specific to the
|
|
1079
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1080
1080
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
1081
1081
|
*/
|
|
1082
1082
|
await this.loadMarkets();
|
|
@@ -1123,7 +1123,7 @@ export default class blockchaincom extends Exchange {
|
|
|
1123
1123
|
* @name blockchaincom#fetchOrder
|
|
1124
1124
|
* @description fetches information on an order made by the user
|
|
1125
1125
|
* @param {string} symbol not used by blockchaincom fetchOrder
|
|
1126
|
-
* @param {object} [params] extra parameters specific to the
|
|
1126
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1127
1127
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
1128
1128
|
*/
|
|
1129
1129
|
// note: only works with exchange-order-id
|
package/js/src/btcalpha.js
CHANGED
|
@@ -154,7 +154,7 @@ export default class btcalpha extends Exchange {
|
|
|
154
154
|
* @method
|
|
155
155
|
* @name btcalpha#fetchMarkets
|
|
156
156
|
* @description retrieves data on all markets for btcalpha
|
|
157
|
-
* @param {object} [params] extra parameters specific to the exchange
|
|
157
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
158
158
|
* @returns {object[]} an array of objects representing market data
|
|
159
159
|
*/
|
|
160
160
|
const response = await this.publicGetPairs(params);
|
|
@@ -239,9 +239,9 @@ export default class btcalpha extends Exchange {
|
|
|
239
239
|
* @method
|
|
240
240
|
* @name btcalpha#fetchTickers
|
|
241
241
|
* @see https://btc-alpha.github.io/api-docs/#tickers
|
|
242
|
-
* @description fetches price tickers for multiple markets, statistical
|
|
242
|
+
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
243
243
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
244
|
-
* @param {object} [params] extra parameters specific to the
|
|
244
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
245
245
|
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
246
246
|
*/
|
|
247
247
|
await this.loadMarkets();
|
|
@@ -271,7 +271,7 @@ export default class btcalpha extends Exchange {
|
|
|
271
271
|
* @see https://btc-alpha.github.io/api-docs/#tickers
|
|
272
272
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
273
273
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
274
|
-
* @param {object} [params] extra parameters specific to the
|
|
274
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
275
275
|
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
276
276
|
*/
|
|
277
277
|
await this.loadMarkets();
|
|
@@ -345,7 +345,7 @@ export default class btcalpha extends Exchange {
|
|
|
345
345
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
346
346
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
347
347
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
348
|
-
* @param {object} [params] extra parameters specific to the
|
|
348
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
349
349
|
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
350
350
|
*/
|
|
351
351
|
await this.loadMarkets();
|
|
@@ -427,7 +427,7 @@ export default class btcalpha extends Exchange {
|
|
|
427
427
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
428
428
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
429
429
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
430
|
-
* @param {object} [params] extra parameters specific to the
|
|
430
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
431
431
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
432
432
|
*/
|
|
433
433
|
await this.loadMarkets();
|
|
@@ -451,7 +451,7 @@ export default class btcalpha extends Exchange {
|
|
|
451
451
|
* @param {string} code unified currency code
|
|
452
452
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
453
453
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
454
|
-
* @param {object} [params] extra parameters specific to the
|
|
454
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
455
455
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
456
456
|
*/
|
|
457
457
|
await this.loadMarkets();
|
|
@@ -480,7 +480,7 @@ export default class btcalpha extends Exchange {
|
|
|
480
480
|
* @param {string} code unified currency code
|
|
481
481
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
482
482
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
483
|
-
* @param {object} [params] extra parameters specific to the
|
|
483
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
484
484
|
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
485
485
|
*/
|
|
486
486
|
await this.loadMarkets();
|
|
@@ -588,7 +588,7 @@ export default class btcalpha extends Exchange {
|
|
|
588
588
|
* @param {string} timeframe the length of time each candle represents
|
|
589
589
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
590
590
|
* @param {int} [limit] the maximum amount of candles to fetch
|
|
591
|
-
* @param {object} [params] extra parameters specific to the
|
|
591
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
592
592
|
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
593
593
|
*/
|
|
594
594
|
await this.loadMarkets();
|
|
@@ -631,7 +631,7 @@ export default class btcalpha extends Exchange {
|
|
|
631
631
|
* @method
|
|
632
632
|
* @name btcalpha#fetchBalance
|
|
633
633
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
634
|
-
* @param {object} [params] extra parameters specific to the
|
|
634
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
635
635
|
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
636
636
|
*/
|
|
637
637
|
await this.loadMarkets();
|
|
@@ -730,7 +730,7 @@ export default class btcalpha extends Exchange {
|
|
|
730
730
|
* @param {string} side 'buy' or 'sell'
|
|
731
731
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
732
732
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
|
|
733
|
-
* @param {object} [params] extra parameters specific to the
|
|
733
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
734
734
|
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
735
735
|
*/
|
|
736
736
|
if (type === 'market') {
|
|
@@ -762,7 +762,7 @@ export default class btcalpha extends Exchange {
|
|
|
762
762
|
* @description cancels an open order
|
|
763
763
|
* @param {string} id order id
|
|
764
764
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
765
|
-
* @param {object} [params] extra parameters specific to the
|
|
765
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
766
766
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
767
767
|
*/
|
|
768
768
|
const request = {
|
|
@@ -778,7 +778,7 @@ export default class btcalpha extends Exchange {
|
|
|
778
778
|
* @see https://btc-alpha.github.io/api-docs/#retrieve-single-order
|
|
779
779
|
* @description fetches information on an order made by the user
|
|
780
780
|
* @param {string} symbol not used by btcalpha fetchOrder
|
|
781
|
-
* @param {object} [params] extra parameters specific to the
|
|
781
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
782
782
|
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
783
783
|
*/
|
|
784
784
|
await this.loadMarkets();
|
|
@@ -797,7 +797,7 @@ export default class btcalpha extends Exchange {
|
|
|
797
797
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
798
798
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
799
799
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
800
|
-
* @param {object} [params] extra parameters specific to the
|
|
800
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
801
801
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
802
802
|
*/
|
|
803
803
|
await this.loadMarkets();
|
|
@@ -821,7 +821,7 @@ export default class btcalpha extends Exchange {
|
|
|
821
821
|
* @param {string} symbol unified market symbol
|
|
822
822
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
823
823
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
824
|
-
* @param {object} [params] extra parameters specific to the
|
|
824
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
825
825
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
826
826
|
*/
|
|
827
827
|
const request = {
|
|
@@ -837,7 +837,7 @@ export default class btcalpha extends Exchange {
|
|
|
837
837
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
838
838
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
839
839
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
840
|
-
* @param {object} [params] extra parameters specific to the
|
|
840
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
841
841
|
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
842
842
|
*/
|
|
843
843
|
const request = {
|
|
@@ -853,7 +853,7 @@ export default class btcalpha extends Exchange {
|
|
|
853
853
|
* @param {string} symbol unified market symbol
|
|
854
854
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
855
855
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
856
|
-
* @param {object} [params] extra parameters specific to the
|
|
856
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
857
857
|
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
858
858
|
*/
|
|
859
859
|
await this.loadMarkets();
|