ccxt 4.5.60 → 4.5.61
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 +46 -45
- package/dist/ccxt.browser.min.js +4 -4
- package/dist/cjs/ccxt.js +6 -2
- package/dist/cjs/src/aftermath.js +1 -1
- package/dist/cjs/src/apex.js +2 -2
- package/dist/cjs/src/ascendex.js +1 -1
- package/dist/cjs/src/aster.js +3 -4
- package/dist/cjs/src/backpack.js +1 -1
- package/dist/cjs/src/base/Exchange.js +6 -38
- package/dist/cjs/src/base/functions/crypto.js +72 -15
- package/dist/cjs/src/base/functions/rsa.js +25 -10
- package/dist/cjs/src/base/functions.js +1 -0
- package/dist/cjs/src/bequant.js +1 -1
- package/dist/cjs/src/bigone.js +1 -1
- package/dist/cjs/src/binance.js +1 -1
- package/dist/cjs/src/bingx.js +1 -1
- package/dist/cjs/src/bit2c.js +1 -1
- package/dist/cjs/src/bitbank.js +1 -1
- package/dist/cjs/src/bitbns.js +1 -1
- package/dist/cjs/src/bitfinex.js +5 -5
- package/dist/cjs/src/bitflyer.js +1 -1
- package/dist/cjs/src/bitget.js +2 -2
- package/dist/cjs/src/bithumb.js +1 -1
- package/dist/cjs/src/bitmart.js +2 -2
- package/dist/cjs/src/bitmex.js +2 -2
- package/dist/cjs/src/bitopro.js +1 -1
- package/dist/cjs/src/bitrue.js +1 -1
- package/dist/cjs/src/bitso.js +2 -2
- package/dist/cjs/src/bitstamp.js +1 -1
- package/dist/cjs/src/bittrade.js +2 -2
- package/dist/cjs/src/bitvavo.js +1 -1
- package/dist/cjs/src/blockchaincom.js +1 -1
- package/dist/cjs/src/blofin.js +3 -4
- package/dist/cjs/src/btcbox.js +1 -1
- package/dist/cjs/src/btcmarkets.js +1 -1
- package/dist/cjs/src/btcturk.js +1 -1
- package/dist/cjs/src/bullish.js +1 -1
- package/dist/cjs/src/bybit.js +1 -1
- package/dist/cjs/src/bydfi.js +1 -1
- package/dist/cjs/src/cex.js +2 -2
- package/dist/cjs/src/coinbase.js +1 -1
- package/dist/cjs/src/coinbaseexchange.js +2 -2
- package/dist/cjs/src/coincheck.js +2 -2
- package/dist/cjs/src/coinex.js +1 -1
- package/dist/cjs/src/coinmate.js +1 -1
- package/dist/cjs/src/coinmetro.js +1 -1
- package/dist/cjs/src/coinone.js +1 -1
- package/dist/cjs/src/coinsph.js +1 -1
- package/dist/cjs/src/coinspot.js +1 -1
- package/dist/cjs/src/cryptocom.js +1 -1
- package/dist/cjs/src/cryptomus.js +2 -2
- package/dist/cjs/src/deepcoin.js +1 -1
- package/dist/cjs/src/delta.js +1 -1
- package/dist/cjs/src/deribit.js +1 -1
- package/dist/cjs/src/derive.js +2 -3
- package/dist/cjs/src/digifinex.js +1 -1
- package/dist/cjs/src/dydx.js +2 -2
- package/dist/cjs/src/exmo.js +1 -1
- package/dist/cjs/src/extended.js +3 -3
- package/dist/cjs/src/foxbit.js +1 -1
- package/dist/cjs/src/gate.js +2 -2
- package/dist/cjs/src/gateeu.js +60 -0
- package/dist/cjs/src/gemini.js +1 -1
- package/dist/cjs/src/grvt.js +1 -1
- package/dist/cjs/src/hashkey.js +2 -2
- package/dist/cjs/src/hibachi.js +1 -1
- package/dist/cjs/src/hitbtc.js +1 -1
- package/dist/cjs/src/hollaex.js +1 -1
- package/dist/cjs/src/htx.js +1 -1
- package/dist/cjs/src/hyperliquid.js +1 -1
- package/dist/cjs/src/independentreserve.js +1 -1
- package/dist/cjs/src/indodax.js +1 -1
- package/dist/cjs/src/kraken.js +1 -1
- package/dist/cjs/src/kucoin.js +1 -1
- package/dist/cjs/src/latoken.js +1 -1
- package/dist/cjs/src/lbank.js +1 -1
- package/dist/cjs/src/lighter.js +1 -1
- package/dist/cjs/src/luno.js +2 -2
- package/dist/cjs/src/mercado.js +1 -1
- package/dist/cjs/src/mexc.js +1 -1
- package/dist/cjs/src/modetrade.js +3 -5
- package/dist/cjs/src/ndax.js +1 -1
- package/dist/cjs/src/novadax.js +1 -1
- package/dist/cjs/src/okx.js +1 -1
- package/dist/cjs/src/onetrading.js +2 -2
- package/dist/cjs/src/p2b.js +2 -3
- package/dist/cjs/src/pacifica.js +2 -2
- package/dist/cjs/src/paradex.js +1 -1
- package/dist/cjs/src/paymium.js +1 -1
- package/dist/cjs/src/phemex.js +1 -1
- package/dist/cjs/src/poloniex.js +1 -1
- package/dist/cjs/src/pro/aftermath.js +1 -1
- package/dist/cjs/src/pro/alpaca.js +1 -1
- package/dist/cjs/src/pro/apex.js +2 -2
- package/dist/cjs/src/pro/ascendex.js +1 -1
- package/dist/cjs/src/pro/aster.js +4 -4
- package/dist/cjs/src/pro/backpack.js +4 -4
- package/dist/cjs/src/pro/binance.js +5 -5
- package/dist/cjs/src/pro/bingx.js +2 -2
- package/dist/cjs/src/pro/bitfinex.js +1 -1
- package/dist/cjs/src/pro/bitget.js +4 -4
- package/dist/cjs/src/pro/bitmart.js +4 -4
- package/dist/cjs/src/pro/bitmex.js +2 -2
- package/dist/cjs/src/pro/bitopro.js +1 -1
- package/dist/cjs/src/pro/bitstamp.js +1 -1
- package/dist/cjs/src/pro/bittrade.js +1 -1
- package/dist/cjs/src/pro/bitvavo.js +1 -1
- package/dist/cjs/src/pro/blockchaincom.js +1 -1
- package/dist/cjs/src/pro/blofin.js +2 -2
- package/dist/cjs/src/pro/bullish.js +1 -1
- package/dist/cjs/src/pro/bybit.js +4 -4
- package/dist/cjs/src/pro/bydfi.js +4 -4
- package/dist/cjs/src/pro/cex.js +1 -1
- package/dist/cjs/src/pro/coinbase.js +3 -3
- package/dist/cjs/src/pro/coinbaseexchange.js +2 -2
- package/dist/cjs/src/pro/coinbaseinternational.js +2 -2
- package/dist/cjs/src/pro/coincheck.js +1 -1
- package/dist/cjs/src/pro/coinex.js +2 -2
- package/dist/cjs/src/pro/coinone.js +1 -1
- package/dist/cjs/src/pro/cryptocom.js +4 -4
- package/dist/cjs/src/pro/deepcoin.js +2 -2
- package/dist/cjs/src/pro/deribit.js +2 -2
- package/dist/cjs/src/pro/derive.js +2 -2
- package/dist/cjs/src/pro/dydx.js +2 -2
- package/dist/cjs/src/pro/exmo.js +1 -1
- package/dist/cjs/src/pro/extended.js +1 -1
- package/dist/cjs/src/pro/gate.js +46 -15
- package/dist/cjs/src/pro/gateeu.js +32 -0
- package/dist/cjs/src/pro/gemini.js +2 -3
- package/dist/cjs/src/pro/grvt.js +2 -2
- package/dist/cjs/src/pro/hashkey.js +1 -1
- package/dist/cjs/src/pro/hitbtc.js +1 -1
- package/dist/cjs/src/pro/hollaex.js +1 -1
- package/dist/cjs/src/pro/htx.js +2 -2
- package/dist/cjs/src/pro/hyperliquid.js +2 -2
- package/dist/cjs/src/pro/independentreserve.js +1 -1
- package/dist/cjs/src/pro/kraken.js +2 -2
- package/dist/cjs/src/pro/krakenfutures.js +2 -2
- package/dist/cjs/src/pro/kucoin.js +4 -4
- package/dist/cjs/src/pro/lighter.js +2 -2
- package/dist/cjs/src/pro/luno.js +1 -1
- package/dist/cjs/src/pro/mexc.js +2 -2
- package/dist/cjs/src/pro/modetrade.js +1 -1
- package/dist/cjs/src/pro/ndax.js +1 -1
- package/dist/cjs/src/pro/okx.js +4 -4
- package/dist/cjs/src/pro/onetrading.js +1 -1
- package/dist/cjs/src/pro/p2b.js +1 -1
- package/dist/cjs/src/pro/pacifica.js +2 -2
- package/dist/cjs/src/pro/paradex.js +1 -1
- package/dist/cjs/src/pro/phemex.js +1 -1
- package/dist/cjs/src/pro/poloniex.js +1 -1
- package/dist/cjs/src/pro/toobit.js +2 -2
- package/dist/cjs/src/pro/upbit.js +1 -1
- package/dist/cjs/src/pro/weex.js +4 -4
- package/dist/cjs/src/pro/whitebit.js +1 -1
- package/dist/cjs/src/pro/woo.js +2 -2
- package/dist/cjs/src/pro/woofipro.js +1 -1
- package/dist/cjs/src/tokocrypto.js +1 -1
- package/dist/cjs/src/toobit.js +2 -2
- package/dist/cjs/src/upbit.js +1 -1
- package/dist/cjs/src/weex.js +2 -2
- package/dist/cjs/src/whitebit.js +1 -1
- package/dist/cjs/src/woo.js +1 -1
- package/dist/cjs/src/woofipro.js +2 -4
- package/dist/cjs/src/xt.js +1 -1
- package/dist/cjs/src/zaif.js +2 -2
- package/dist/cjs/src/zebpay.js +2 -2
- package/js/ccxt.d.ts +8 -2
- package/js/ccxt.js +6 -3
- package/js/src/abstract/gateeu.d.ts +346 -0
- package/js/src/{static_dependencies/jsencrypt/index.js → abstract/gateeu.js} +5 -3
- package/js/src/aftermath.d.ts +1 -1
- package/js/src/aftermath.js +1 -1
- package/js/src/apex.d.ts +1 -1
- package/js/src/apex.js +2 -2
- package/js/src/ascendex.d.ts +1 -1
- package/js/src/ascendex.js +1 -1
- package/js/src/aster.d.ts +1 -1
- package/js/src/aster.js +3 -4
- package/js/src/backpack.js +1 -1
- package/js/src/base/Exchange.d.ts +1 -1
- package/js/src/base/Exchange.js +6 -38
- package/js/src/base/functions/crypto.d.ts +2 -1
- package/js/src/base/functions/crypto.js +72 -16
- package/js/src/base/functions/rsa.js +18 -7
- package/js/src/bequant.js +1 -1
- package/js/src/bigone.d.ts +1 -1
- package/js/src/bigone.js +1 -1
- package/js/src/binance.d.ts +1 -1
- package/js/src/binance.js +1 -1
- package/js/src/bingx.d.ts +1 -1
- package/js/src/bingx.js +1 -1
- package/js/src/bit2c.d.ts +1 -1
- package/js/src/bit2c.js +1 -1
- package/js/src/bitbank.d.ts +1 -1
- package/js/src/bitbank.js +1 -1
- package/js/src/bitbns.d.ts +1 -1
- package/js/src/bitbns.js +1 -1
- package/js/src/bitfinex.d.ts +1 -1
- package/js/src/bitfinex.js +5 -5
- package/js/src/bitflyer.d.ts +1 -1
- package/js/src/bitflyer.js +1 -1
- package/js/src/bitget.d.ts +1 -1
- package/js/src/bitget.js +2 -2
- package/js/src/bithumb.d.ts +1 -1
- package/js/src/bithumb.js +1 -1
- package/js/src/bitmart.d.ts +1 -1
- package/js/src/bitmart.js +2 -2
- package/js/src/bitmex.d.ts +1 -1
- package/js/src/bitmex.js +2 -2
- package/js/src/bitopro.d.ts +1 -1
- package/js/src/bitopro.js +1 -1
- package/js/src/bitrue.d.ts +1 -1
- package/js/src/bitrue.js +1 -1
- package/js/src/bitso.d.ts +1 -1
- package/js/src/bitso.js +2 -2
- package/js/src/bitstamp.d.ts +1 -1
- package/js/src/bitstamp.js +1 -1
- package/js/src/bittrade.d.ts +1 -1
- package/js/src/bittrade.js +2 -2
- package/js/src/bitvavo.d.ts +1 -1
- package/js/src/bitvavo.js +1 -1
- package/js/src/blockchaincom.d.ts +1 -1
- package/js/src/blockchaincom.js +1 -1
- package/js/src/blofin.d.ts +1 -1
- package/js/src/blofin.js +3 -4
- package/js/src/btcbox.d.ts +1 -1
- package/js/src/btcbox.js +1 -1
- package/js/src/btcmarkets.d.ts +1 -1
- package/js/src/btcmarkets.js +1 -1
- package/js/src/btcturk.d.ts +1 -1
- package/js/src/btcturk.js +1 -1
- package/js/src/bullish.d.ts +1 -1
- package/js/src/bullish.js +1 -1
- package/js/src/bybit.d.ts +1 -1
- package/js/src/bybit.js +1 -1
- package/js/src/bydfi.js +1 -1
- package/js/src/cex.d.ts +1 -1
- package/js/src/cex.js +2 -2
- package/js/src/coinbase.d.ts +1 -1
- package/js/src/coinbase.js +1 -1
- package/js/src/coinbaseexchange.d.ts +1 -1
- package/js/src/coinbaseexchange.js +2 -2
- package/js/src/coincheck.d.ts +1 -1
- package/js/src/coincheck.js +2 -2
- package/js/src/coinex.d.ts +1 -1
- package/js/src/coinex.js +1 -1
- package/js/src/coinmate.d.ts +1 -1
- package/js/src/coinmate.js +1 -1
- package/js/src/coinmetro.d.ts +1 -1
- package/js/src/coinmetro.js +1 -1
- package/js/src/coinone.d.ts +1 -1
- package/js/src/coinone.js +1 -1
- package/js/src/coinsph.d.ts +1 -1
- package/js/src/coinsph.js +1 -1
- package/js/src/coinspot.d.ts +1 -1
- package/js/src/coinspot.js +1 -1
- package/js/src/cryptocom.d.ts +1 -1
- package/js/src/cryptocom.js +1 -1
- package/js/src/cryptomus.d.ts +1 -1
- package/js/src/cryptomus.js +2 -2
- package/js/src/deepcoin.d.ts +1 -1
- package/js/src/deepcoin.js +1 -1
- package/js/src/delta.d.ts +1 -1
- package/js/src/delta.js +1 -1
- package/js/src/deribit.d.ts +1 -1
- package/js/src/deribit.js +1 -1
- package/js/src/derive.js +2 -3
- package/js/src/digifinex.d.ts +1 -1
- package/js/src/digifinex.js +1 -1
- package/js/src/dydx.d.ts +1 -1
- package/js/src/dydx.js +2 -2
- package/js/src/exmo.d.ts +1 -1
- package/js/src/exmo.js +1 -1
- package/js/src/extended.d.ts +1 -1
- package/js/src/extended.js +3 -3
- package/js/src/foxbit.d.ts +1 -1
- package/js/src/foxbit.js +1 -1
- package/js/src/gate.d.ts +1 -1
- package/js/src/gate.js +2 -2
- package/js/src/gateeu.d.ts +4 -0
- package/js/src/gateeu.js +59 -0
- package/js/src/gemini.d.ts +1 -1
- package/js/src/gemini.js +1 -1
- package/js/src/grvt.js +1 -1
- package/js/src/hashkey.d.ts +1 -1
- package/js/src/hashkey.js +2 -2
- package/js/src/hibachi.js +1 -1
- package/js/src/hitbtc.d.ts +1 -1
- package/js/src/hitbtc.js +1 -1
- package/js/src/hollaex.d.ts +1 -1
- package/js/src/hollaex.js +1 -1
- package/js/src/htx.d.ts +1 -1
- package/js/src/htx.js +1 -1
- package/js/src/hyperliquid.d.ts +1 -1
- package/js/src/hyperliquid.js +1 -1
- package/js/src/independentreserve.d.ts +1 -1
- package/js/src/independentreserve.js +1 -1
- package/js/src/indodax.d.ts +1 -1
- package/js/src/indodax.js +1 -1
- package/js/src/kraken.d.ts +1 -1
- package/js/src/kraken.js +1 -1
- package/js/src/kucoin.d.ts +1 -1
- package/js/src/kucoin.js +1 -1
- package/js/src/latoken.d.ts +1 -1
- package/js/src/latoken.js +1 -1
- package/js/src/lbank.d.ts +1 -1
- package/js/src/lbank.js +1 -1
- package/js/src/lighter.d.ts +1 -1
- package/js/src/lighter.js +1 -1
- package/js/src/luno.d.ts +1 -1
- package/js/src/luno.js +2 -2
- package/js/src/mercado.d.ts +1 -1
- package/js/src/mercado.js +1 -1
- package/js/src/mexc.d.ts +1 -1
- package/js/src/mexc.js +1 -1
- package/js/src/modetrade.d.ts +1 -1
- package/js/src/modetrade.js +3 -5
- package/js/src/ndax.d.ts +1 -1
- package/js/src/ndax.js +1 -1
- package/js/src/novadax.d.ts +1 -1
- package/js/src/novadax.js +1 -1
- package/js/src/okx.d.ts +1 -1
- package/js/src/okx.js +1 -1
- package/js/src/onetrading.d.ts +1 -1
- package/js/src/onetrading.js +2 -2
- package/js/src/p2b.d.ts +1 -1
- package/js/src/p2b.js +2 -3
- package/js/src/pacifica.d.ts +1 -1
- package/js/src/pacifica.js +2 -2
- package/js/src/paradex.d.ts +1 -1
- package/js/src/paradex.js +1 -1
- package/js/src/paymium.d.ts +1 -1
- package/js/src/paymium.js +1 -1
- package/js/src/phemex.d.ts +1 -1
- package/js/src/phemex.js +1 -1
- package/js/src/poloniex.d.ts +1 -1
- package/js/src/poloniex.js +1 -1
- package/js/src/pro/aftermath.d.ts +1 -1
- package/js/src/pro/aftermath.js +1 -1
- package/js/src/pro/alpaca.d.ts +1 -1
- package/js/src/pro/alpaca.js +1 -1
- package/js/src/pro/apex.d.ts +2 -2
- package/js/src/pro/apex.js +2 -2
- package/js/src/pro/ascendex.d.ts +1 -1
- package/js/src/pro/ascendex.js +1 -1
- package/js/src/pro/aster.d.ts +4 -4
- package/js/src/pro/aster.js +4 -4
- package/js/src/pro/backpack.d.ts +4 -4
- package/js/src/pro/backpack.js +4 -4
- package/js/src/pro/binance.d.ts +5 -5
- package/js/src/pro/binance.js +5 -5
- package/js/src/pro/bingx.d.ts +2 -2
- package/js/src/pro/bingx.js +2 -2
- package/js/src/pro/bitfinex.d.ts +1 -1
- package/js/src/pro/bitfinex.js +1 -1
- package/js/src/pro/bitget.d.ts +4 -4
- package/js/src/pro/bitget.js +4 -4
- package/js/src/pro/bitmart.d.ts +4 -4
- package/js/src/pro/bitmart.js +4 -4
- package/js/src/pro/bitmex.d.ts +2 -2
- package/js/src/pro/bitmex.js +2 -2
- package/js/src/pro/bitopro.d.ts +1 -1
- package/js/src/pro/bitopro.js +1 -1
- package/js/src/pro/bitstamp.d.ts +1 -1
- package/js/src/pro/bitstamp.js +1 -1
- package/js/src/pro/bittrade.d.ts +1 -1
- package/js/src/pro/bittrade.js +1 -1
- package/js/src/pro/bitvavo.d.ts +1 -1
- package/js/src/pro/bitvavo.js +1 -1
- package/js/src/pro/blockchaincom.d.ts +1 -1
- package/js/src/pro/blockchaincom.js +1 -1
- package/js/src/pro/blofin.d.ts +2 -2
- package/js/src/pro/blofin.js +2 -2
- package/js/src/pro/bullish.d.ts +1 -1
- package/js/src/pro/bullish.js +1 -1
- package/js/src/pro/bybit.d.ts +4 -4
- package/js/src/pro/bybit.js +4 -4
- package/js/src/pro/bydfi.d.ts +4 -4
- package/js/src/pro/bydfi.js +4 -4
- package/js/src/pro/cex.d.ts +1 -1
- package/js/src/pro/cex.js +1 -1
- package/js/src/pro/coinbase.d.ts +3 -3
- package/js/src/pro/coinbase.js +3 -3
- package/js/src/pro/coinbaseexchange.d.ts +2 -2
- package/js/src/pro/coinbaseexchange.js +2 -2
- package/js/src/pro/coinbaseinternational.d.ts +2 -2
- package/js/src/pro/coinbaseinternational.js +2 -2
- package/js/src/pro/coincheck.d.ts +1 -1
- package/js/src/pro/coincheck.js +1 -1
- package/js/src/pro/coinex.d.ts +2 -2
- package/js/src/pro/coinex.js +2 -2
- package/js/src/pro/coinone.d.ts +1 -1
- package/js/src/pro/coinone.js +1 -1
- package/js/src/pro/cryptocom.d.ts +4 -4
- package/js/src/pro/cryptocom.js +4 -4
- package/js/src/pro/deepcoin.d.ts +2 -2
- package/js/src/pro/deepcoin.js +2 -2
- package/js/src/pro/deribit.d.ts +2 -2
- package/js/src/pro/deribit.js +2 -2
- package/js/src/pro/derive.d.ts +2 -2
- package/js/src/pro/derive.js +2 -2
- package/js/src/pro/dydx.d.ts +2 -2
- package/js/src/pro/dydx.js +2 -2
- package/js/src/pro/exmo.d.ts +1 -1
- package/js/src/pro/exmo.js +1 -1
- package/js/src/pro/extended.d.ts +1 -1
- package/js/src/pro/extended.js +1 -1
- package/js/src/pro/gate.d.ts +3 -2
- package/js/src/pro/gate.js +46 -15
- package/js/src/pro/gateeu.d.ts +4 -0
- package/js/src/pro/gateeu.js +31 -0
- package/js/src/pro/gemini.d.ts +2 -2
- package/js/src/pro/gemini.js +2 -3
- package/js/src/pro/grvt.d.ts +2 -2
- package/js/src/pro/grvt.js +2 -2
- package/js/src/pro/hashkey.d.ts +1 -1
- package/js/src/pro/hashkey.js +1 -1
- package/js/src/pro/hitbtc.d.ts +1 -1
- package/js/src/pro/hitbtc.js +1 -1
- package/js/src/pro/hollaex.d.ts +1 -1
- package/js/src/pro/hollaex.js +1 -1
- package/js/src/pro/htx.d.ts +2 -2
- package/js/src/pro/htx.js +2 -2
- package/js/src/pro/hyperliquid.d.ts +2 -2
- package/js/src/pro/hyperliquid.js +2 -2
- package/js/src/pro/independentreserve.d.ts +1 -1
- package/js/src/pro/independentreserve.js +1 -1
- package/js/src/pro/kraken.d.ts +2 -2
- package/js/src/pro/kraken.js +2 -2
- package/js/src/pro/krakenfutures.d.ts +2 -2
- package/js/src/pro/krakenfutures.js +2 -2
- package/js/src/pro/kucoin.d.ts +4 -4
- package/js/src/pro/kucoin.js +4 -4
- package/js/src/pro/lighter.d.ts +2 -2
- package/js/src/pro/lighter.js +2 -2
- package/js/src/pro/luno.d.ts +1 -1
- package/js/src/pro/luno.js +1 -1
- package/js/src/pro/mexc.d.ts +2 -2
- package/js/src/pro/mexc.js +2 -2
- package/js/src/pro/modetrade.d.ts +1 -1
- package/js/src/pro/modetrade.js +1 -1
- package/js/src/pro/ndax.d.ts +1 -1
- package/js/src/pro/ndax.js +1 -1
- package/js/src/pro/okx.d.ts +4 -4
- package/js/src/pro/okx.js +4 -4
- package/js/src/pro/onetrading.d.ts +1 -1
- package/js/src/pro/onetrading.js +1 -1
- package/js/src/pro/p2b.d.ts +1 -1
- package/js/src/pro/p2b.js +1 -1
- package/js/src/pro/pacifica.d.ts +2 -2
- package/js/src/pro/pacifica.js +2 -2
- package/js/src/pro/paradex.d.ts +1 -1
- package/js/src/pro/paradex.js +1 -1
- package/js/src/pro/phemex.d.ts +1 -1
- package/js/src/pro/phemex.js +1 -1
- package/js/src/pro/poloniex.d.ts +1 -1
- package/js/src/pro/poloniex.js +1 -1
- package/js/src/pro/toobit.d.ts +2 -2
- package/js/src/pro/toobit.js +2 -2
- package/js/src/pro/upbit.d.ts +1 -1
- package/js/src/pro/upbit.js +1 -1
- package/js/src/pro/weex.d.ts +4 -4
- package/js/src/pro/weex.js +4 -4
- package/js/src/pro/whitebit.d.ts +1 -1
- package/js/src/pro/whitebit.js +1 -1
- package/js/src/pro/woo.d.ts +2 -2
- package/js/src/pro/woo.js +2 -2
- package/js/src/pro/woofipro.d.ts +1 -1
- package/js/src/pro/woofipro.js +1 -1
- package/js/src/tokocrypto.d.ts +1 -1
- package/js/src/tokocrypto.js +1 -1
- package/js/src/toobit.d.ts +1 -1
- package/js/src/toobit.js +2 -2
- package/js/src/upbit.d.ts +1 -1
- package/js/src/upbit.js +1 -1
- package/js/src/weex.d.ts +1 -1
- package/js/src/weex.js +2 -2
- package/js/src/whitebit.d.ts +1 -1
- package/js/src/whitebit.js +1 -1
- package/js/src/woo.d.ts +1 -1
- package/js/src/woo.js +1 -1
- package/js/src/woofipro.d.ts +1 -1
- package/js/src/woofipro.js +2 -4
- package/js/src/xt.js +1 -1
- package/js/src/zaif.d.ts +1 -1
- package/js/src/zaif.js +2 -2
- package/js/src/zebpay.d.ts +1 -1
- package/js/src/zebpay.js +2 -2
- package/package.json +17 -7
- package/js/src/static_dependencies/jsencrypt/JSEncrypt.d.ts +0 -116
- package/js/src/static_dependencies/jsencrypt/JSEncrypt.js +0 -194
- package/js/src/static_dependencies/jsencrypt/JSEncryptRSAKey.d.ts +0 -142
- package/js/src/static_dependencies/jsencrypt/JSEncryptRSAKey.js +0 -307
- package/js/src/static_dependencies/jsencrypt/index.d.ts +0 -3
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/asn1.d.ts +0 -51
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/asn1.js +0 -565
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/base64.d.ts +0 -5
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/base64.js +0 -94
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/hex.d.ts +0 -3
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/hex.js +0 -70
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/int10.d.ts +0 -9
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/int10.js +0 -91
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/oids.d.ts +0 -9778
- package/js/src/static_dependencies/jsencrypt/lib/asn1js/oids.js +0 -1968
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/base64.d.ts +0 -3
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/base64.js +0 -25
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.d.ts +0 -101
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/jsbn.js +0 -1757
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/prng4.d.ts +0 -10
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/prng4.js +0 -50
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/rng.d.ts +0 -3
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/rng.js +0 -80
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/rsa.d.ts +0 -23
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/rsa.js +0 -377
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/util.d.ts +0 -7
- package/js/src/static_dependencies/jsencrypt/lib/jsbn/util.js +0 -64
- package/js/src/static_dependencies/jsencrypt/lib/jsrsasign/asn1-1.0.d.ts +0 -24
- package/js/src/static_dependencies/jsencrypt/lib/jsrsasign/asn1-1.0.js +0 -1627
- package/js/src/static_dependencies/jsencrypt/lib/jsrsasign/yahoo.d.ts +0 -5
- package/js/src/static_dependencies/jsencrypt/lib/jsrsasign/yahoo.js +0 -75
|
@@ -363,7 +363,7 @@ class bitvavo extends bitvavo$1["default"] {
|
|
|
363
363
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
364
364
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
365
365
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
366
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
366
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
367
367
|
*/
|
|
368
368
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
369
369
|
await this.loadMarkets();
|
|
@@ -626,7 +626,7 @@ class blockchaincom extends blockchaincom$1["default"] {
|
|
|
626
626
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
627
627
|
* @param {objectConstructor} [params] extra parameters specific to the exchange API endpoint
|
|
628
628
|
* @param {string} [params.type] accepts l2 or l3 for level 2 or level 3 order book
|
|
629
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
629
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
630
630
|
*/
|
|
631
631
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
632
632
|
await this.loadMarkets();
|
|
@@ -157,7 +157,7 @@ class blofin extends blofin$1["default"] {
|
|
|
157
157
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
158
158
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
159
159
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
160
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
160
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
161
161
|
*/
|
|
162
162
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
163
163
|
params['callerMethodName'] = 'watchOrderBook';
|
|
@@ -172,7 +172,7 @@ class blofin extends blofin$1["default"] {
|
|
|
172
172
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
173
173
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
174
174
|
* @param {string} [params.depth] the type of order book to subscribe to, default is 'depth/increase100', also accepts 'depth5' or 'depth20' or depth50
|
|
175
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
175
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
176
176
|
*/
|
|
177
177
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
178
178
|
await this.loadMarkets();
|
|
@@ -269,7 +269,7 @@ class bullish extends bullish$1["default"] {
|
|
|
269
269
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
270
270
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
271
271
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
272
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
272
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
273
273
|
*/
|
|
274
274
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
275
275
|
await this.loadMarkets();
|
|
@@ -850,7 +850,7 @@ class bybit extends bybit$1["default"] {
|
|
|
850
850
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
851
851
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
852
852
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
853
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
853
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
854
854
|
*/
|
|
855
855
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
856
856
|
return await this.watchOrderBookForSymbols([symbol], limit, params);
|
|
@@ -863,7 +863,7 @@ class bybit extends bybit$1["default"] {
|
|
|
863
863
|
* @param {string[]} symbols unified array of symbols
|
|
864
864
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
865
865
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
866
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
866
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
867
867
|
*/
|
|
868
868
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
869
869
|
await this.loadMarkets();
|
|
@@ -913,7 +913,7 @@ class bybit extends bybit$1["default"] {
|
|
|
913
913
|
* @param {string[]} symbols unified symbol of the market to unwatch the trades for
|
|
914
914
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
915
915
|
* @param {int} [params.limit] orderbook limit, default is undefined
|
|
916
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
916
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
917
917
|
*/
|
|
918
918
|
async unWatchOrderBookForSymbols(symbols, params = {}) {
|
|
919
919
|
await this.loadMarkets();
|
|
@@ -951,7 +951,7 @@ class bybit extends bybit$1["default"] {
|
|
|
951
951
|
* @param {string} symbol symbol of the market to unwatch the trades for
|
|
952
952
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
953
953
|
* @param {int} [params.limit] orderbook limit, default is undefined
|
|
954
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
954
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
955
955
|
*/
|
|
956
956
|
async unWatchOrderBook(symbol, params = {}) {
|
|
957
957
|
await this.loadMarkets();
|
|
@@ -426,7 +426,7 @@ class bydfi extends bydfi$1["default"] {
|
|
|
426
426
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
427
427
|
* @param {int} [limit] the maximum amount of order book entries to return (default and maxi is 100)
|
|
428
428
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
429
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
429
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
430
430
|
*/
|
|
431
431
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
432
432
|
return await this.watchOrderBookForSymbols([symbol], limit, params);
|
|
@@ -438,7 +438,7 @@ class bydfi extends bydfi$1["default"] {
|
|
|
438
438
|
* @see https://developers.bydfi.com/en/futures/websocket-market#limited-depth-information
|
|
439
439
|
* @param {string} symbol unified array of symbols
|
|
440
440
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
441
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
441
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
442
442
|
*/
|
|
443
443
|
async unWatchOrderBook(symbol, params = {}) {
|
|
444
444
|
return await this.unWatchOrderBookForSymbols([symbol], params);
|
|
@@ -451,7 +451,7 @@ class bydfi extends bydfi$1["default"] {
|
|
|
451
451
|
* @param {string[]} symbols unified array of symbols
|
|
452
452
|
* @param {int} [limit] the maximum amount of order book entries to return (default and max is 100)
|
|
453
453
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
454
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
454
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
455
455
|
*/
|
|
456
456
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
457
457
|
await this.loadMarkets();
|
|
@@ -483,7 +483,7 @@ class bydfi extends bydfi$1["default"] {
|
|
|
483
483
|
* @param {string[]} symbols unified array of symbols
|
|
484
484
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
485
485
|
* @param {string} [params.method] either '/market/level2' or '/spotMarket/level2Depth5' or '/spotMarket/level2Depth50' default is '/market/level2'
|
|
486
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
486
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
487
487
|
*/
|
|
488
488
|
async unWatchOrderBookForSymbols(symbols, params = {}) {
|
|
489
489
|
await this.loadMarkets();
|
package/dist/cjs/src/pro/cex.js
CHANGED
|
@@ -923,7 +923,7 @@ class cex extends cex$1["default"] {
|
|
|
923
923
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
924
924
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
925
925
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
926
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
926
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
927
927
|
*/
|
|
928
928
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
929
929
|
await this.loadMarkets();
|
|
@@ -607,7 +607,7 @@ class coinbase extends coinbase$1["default"] {
|
|
|
607
607
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
608
608
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
609
609
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
610
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
610
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
611
611
|
*/
|
|
612
612
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
613
613
|
await this.loadMarkets();
|
|
@@ -624,7 +624,7 @@ class coinbase extends coinbase$1["default"] {
|
|
|
624
624
|
* @see https://docs.cloud.coinbase.com/advanced-trade-api/docs/ws-channels#level2-channel
|
|
625
625
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
626
626
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
627
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
627
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
628
628
|
*/
|
|
629
629
|
async unWatchOrderBook(symbol, params = {}) {
|
|
630
630
|
await this.loadMarkets();
|
|
@@ -640,7 +640,7 @@ class coinbase extends coinbase$1["default"] {
|
|
|
640
640
|
* @param {string[]} symbols unified array of symbols
|
|
641
641
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
642
642
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
643
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
643
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
644
644
|
*/
|
|
645
645
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
646
646
|
await this.loadMarkets();
|
|
@@ -297,7 +297,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
297
297
|
* @param {string[]} symbols unified array of symbols
|
|
298
298
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
299
299
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
300
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
300
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
301
301
|
*/
|
|
302
302
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
303
303
|
const symbolsLength = symbols.length;
|
|
@@ -339,7 +339,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
339
339
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
340
340
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
341
341
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
342
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
342
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
343
343
|
*/
|
|
344
344
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
345
345
|
const name = 'level2';
|
|
@@ -602,7 +602,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
602
602
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
603
603
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
604
604
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
605
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
605
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
606
606
|
*/
|
|
607
607
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
608
608
|
return await this.watchOrderBookForSymbols([symbol], limit, params);
|
|
@@ -615,7 +615,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
615
615
|
* @param {string[]} symbols
|
|
616
616
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
617
617
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
618
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
618
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
619
619
|
*/
|
|
620
620
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
621
621
|
await this.loadMarkets();
|
|
@@ -52,7 +52,7 @@ class coincheck extends coincheck$1["default"] {
|
|
|
52
52
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
53
53
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
54
54
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
55
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
55
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
56
56
|
*/
|
|
57
57
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
58
58
|
await this.loadMarkets();
|
|
@@ -748,7 +748,7 @@ class coinex extends coinex$1["default"] {
|
|
|
748
748
|
* @param {string[]} symbols unified array of symbols
|
|
749
749
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
750
750
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
751
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
751
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
752
752
|
*/
|
|
753
753
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
754
754
|
await this.loadMarkets();
|
|
@@ -807,7 +807,7 @@ class coinex extends coinex$1["default"] {
|
|
|
807
807
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
808
808
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
809
809
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
810
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
810
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
811
811
|
*/
|
|
812
812
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
813
813
|
params['callerMethodName'] = 'watchOrderBook';
|
|
@@ -56,7 +56,7 @@ class coinone extends coinone$1["default"] {
|
|
|
56
56
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
57
57
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
58
58
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
59
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
59
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
60
60
|
*/
|
|
61
61
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
62
62
|
await this.loadMarkets();
|
|
@@ -79,7 +79,7 @@ class cryptocom extends cryptocom$1["default"] {
|
|
|
79
79
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
80
80
|
* @param {string} [params.bookSubscriptionType] The subscription type. Allowed values: SNAPSHOT full snapshot. This is the default if not specified. SNAPSHOT_AND_UPDATE delta updates
|
|
81
81
|
* @param {int} [params.bookUpdateFrequency] Book update interval in ms. Allowed values: 100 for snapshot subscription 10 for delta subscription
|
|
82
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
82
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
83
83
|
*/
|
|
84
84
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
85
85
|
return await this.watchOrderBookForSymbols([symbol], limit, params);
|
|
@@ -93,7 +93,7 @@ class cryptocom extends cryptocom$1["default"] {
|
|
|
93
93
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
94
94
|
* @param {string} [params.bookSubscriptionType] The subscription type. Allowed values: SNAPSHOT full snapshot. This is the default if not specified. SNAPSHOT_AND_UPDATE delta updates
|
|
95
95
|
* @param {int} [params.bookUpdateFrequency] Book update interval in ms. Allowed values: 100 for snapshot subscription 10 for delta subscription
|
|
96
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
96
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
97
97
|
*/
|
|
98
98
|
async unWatchOrderBook(symbol, params = {}) {
|
|
99
99
|
return await this.unWatchOrderBookForSymbols([symbol], params);
|
|
@@ -108,7 +108,7 @@ class cryptocom extends cryptocom$1["default"] {
|
|
|
108
108
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
109
109
|
* @param {string} [params.bookSubscriptionType] The subscription type. Allowed values: SNAPSHOT full snapshot. This is the default if not specified. SNAPSHOT_AND_UPDATE delta updates
|
|
110
110
|
* @param {int} [params.bookUpdateFrequency] Book update interval in ms. Allowed values: 100 for snapshot subscription 10 for delta subscription
|
|
111
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
111
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
112
112
|
*/
|
|
113
113
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
114
114
|
await this.loadMarkets();
|
|
@@ -155,7 +155,7 @@ class cryptocom extends cryptocom$1["default"] {
|
|
|
155
155
|
* @param {int} [params.limit] orderbook limit, default is 50
|
|
156
156
|
* @param {string} [params.bookSubscriptionType] The subscription type. Allowed values: SNAPSHOT full snapshot. This is the default if not specified. SNAPSHOT_AND_UPDATE delta updates
|
|
157
157
|
* @param {int} [params.bookUpdateFrequency] Book update interval in ms. Allowed values: 100 for snapshot subscription 10 for delta subscription
|
|
158
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
158
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
159
159
|
*/
|
|
160
160
|
async unWatchOrderBookForSymbols(symbols, params = {}) {
|
|
161
161
|
await this.loadMarkets();
|
|
@@ -603,7 +603,7 @@ class deepcoin extends deepcoin$1["default"] {
|
|
|
603
603
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
604
604
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
605
605
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
606
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
606
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
607
607
|
*/
|
|
608
608
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
609
609
|
await this.loadMarkets();
|
|
@@ -620,7 +620,7 @@ class deepcoin extends deepcoin$1["default"] {
|
|
|
620
620
|
* @see https://www.deepcoin.com/docs/publicWS/25LevelIncrementalMarketData
|
|
621
621
|
* @param {string} symbol unified array of symbols
|
|
622
622
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
623
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
623
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
624
624
|
*/
|
|
625
625
|
async unWatchOrderBook(symbol, params = {}) {
|
|
626
626
|
await this.loadMarkets();
|
|
@@ -523,7 +523,7 @@ class deribit extends deribit$1["default"] {
|
|
|
523
523
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
524
524
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
525
525
|
* @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
|
|
526
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
526
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
527
527
|
*/
|
|
528
528
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
529
529
|
params['callerMethodName'] = 'watchOrderBook';
|
|
@@ -537,7 +537,7 @@ class deribit extends deribit$1["default"] {
|
|
|
537
537
|
* @param {string[]} symbols unified array of symbols
|
|
538
538
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
539
539
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
540
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
540
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
541
541
|
*/
|
|
542
542
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
543
543
|
let interval = undefined;
|
|
@@ -75,7 +75,7 @@ class derive extends derive$1["default"] {
|
|
|
75
75
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
76
76
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
77
77
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
78
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
78
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
79
79
|
*/
|
|
80
80
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
81
81
|
await this.loadMarkets();
|
|
@@ -244,7 +244,7 @@ class derive extends derive$1["default"] {
|
|
|
244
244
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
245
245
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
246
246
|
* @param {int} [params.limit] orderbook limit, default is undefined
|
|
247
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
247
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
248
248
|
*/
|
|
249
249
|
async unWatchOrderBook(symbol, params = {}) {
|
|
250
250
|
await this.loadMarkets();
|
package/dist/cjs/src/pro/dydx.js
CHANGED
|
@@ -160,7 +160,7 @@ class dydx extends dydx$1["default"] {
|
|
|
160
160
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
161
161
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
162
162
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
163
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
163
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
164
164
|
*/
|
|
165
165
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
166
166
|
await this.loadMarkets();
|
|
@@ -182,7 +182,7 @@ class dydx extends dydx$1["default"] {
|
|
|
182
182
|
* @see https://docs.dydx.xyz/indexer-client/websockets#orders
|
|
183
183
|
* @param {string} symbol unified array of symbols
|
|
184
184
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
185
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
185
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
186
186
|
*/
|
|
187
187
|
async unWatchOrderBook(symbol, params = {}) {
|
|
188
188
|
await this.loadMarkets();
|
package/dist/cjs/src/pro/exmo.js
CHANGED
|
@@ -485,7 +485,7 @@ class exmo extends exmo$1["default"] {
|
|
|
485
485
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
486
486
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
487
487
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
488
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
488
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
489
489
|
*/
|
|
490
490
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
491
491
|
await this.loadMarkets();
|
|
@@ -52,7 +52,7 @@ class extended extends extended$1["default"] {
|
|
|
52
52
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
53
53
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
54
54
|
* @param {string} [params.depth] set to '1' to receive best bid and ask snapshots only
|
|
55
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
55
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
56
56
|
*/
|
|
57
57
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
58
58
|
await this.loadMarkets();
|
package/dist/cjs/src/pro/gate.js
CHANGED
|
@@ -12,7 +12,11 @@ var Precise = require('../base/Precise.js');
|
|
|
12
12
|
// ---------------------------------------------------------------------------
|
|
13
13
|
class gate extends gate$1["default"] {
|
|
14
14
|
describe() {
|
|
15
|
-
|
|
15
|
+
const superDescribe = super.describe();
|
|
16
|
+
return this.deepExtend(superDescribe, this.describeData());
|
|
17
|
+
}
|
|
18
|
+
describeData() {
|
|
19
|
+
return {
|
|
16
20
|
'has': {
|
|
17
21
|
'ws': true,
|
|
18
22
|
'cancelAllOrdersWs': true,
|
|
@@ -132,7 +136,7 @@ class gate extends gate$1["default"] {
|
|
|
132
136
|
'broad': {},
|
|
133
137
|
},
|
|
134
138
|
},
|
|
135
|
-
}
|
|
139
|
+
};
|
|
136
140
|
}
|
|
137
141
|
/**
|
|
138
142
|
* @method
|
|
@@ -385,18 +389,19 @@ class gate extends gate$1["default"] {
|
|
|
385
389
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
386
390
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
387
391
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
388
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
392
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
389
393
|
*/
|
|
390
394
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
391
395
|
await this.loadMarkets();
|
|
392
396
|
const market = this.market(symbol);
|
|
393
397
|
symbol = market['symbol'];
|
|
394
398
|
const marketId = market['id'];
|
|
395
|
-
const
|
|
399
|
+
const url = this.getUrlByMarket(market);
|
|
400
|
+
const isEuUrl = url.indexOf('gateeu') >= 0;
|
|
401
|
+
const intervalDefault = (market['spot'] && !isEuUrl) ? '50' : '100ms';
|
|
396
402
|
const [interval, query] = this.handleOptionAndParams(params, 'watchOrderBook', 'interval', intervalDefault);
|
|
397
403
|
const messageType = this.getTypeByMarket(market);
|
|
398
404
|
const messageHash = 'orderbook' + ':' + symbol;
|
|
399
|
-
const url = this.getUrlByMarket(market);
|
|
400
405
|
if (limit === undefined) {
|
|
401
406
|
limit = (market['spot']) ? 50 : 100; // max 100 atm
|
|
402
407
|
if (messageType === 'options') {
|
|
@@ -405,7 +410,11 @@ class gate extends gate$1["default"] {
|
|
|
405
410
|
}
|
|
406
411
|
let payload = [];
|
|
407
412
|
let channel = '';
|
|
408
|
-
if (
|
|
413
|
+
if (isEuUrl) {
|
|
414
|
+
channel = 'spot.order_book_update';
|
|
415
|
+
payload = [marketId, interval];
|
|
416
|
+
}
|
|
417
|
+
else if (market['spot']) {
|
|
409
418
|
channel = 'spot.obu';
|
|
410
419
|
let finalInterval = interval;
|
|
411
420
|
if (limit === 400) {
|
|
@@ -432,26 +441,48 @@ class gate extends gate$1["default"] {
|
|
|
432
441
|
* @description unWatches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
433
442
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
434
443
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
435
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
444
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
436
445
|
*/
|
|
437
446
|
async unWatchOrderBook(symbol, params = {}) {
|
|
438
447
|
await this.loadMarkets();
|
|
439
448
|
const market = this.market(symbol);
|
|
449
|
+
const url = this.getUrlByMarket(market);
|
|
440
450
|
symbol = market['symbol'];
|
|
441
451
|
const marketId = market['id'];
|
|
442
|
-
|
|
452
|
+
const isEuUrl = url.indexOf('gateeu') >= 0;
|
|
453
|
+
const intervalDefault = (market['spot'] && !isEuUrl) ? '50' : '100ms';
|
|
454
|
+
let interval = intervalDefault;
|
|
443
455
|
[interval, params] = this.handleOptionAndParams(params, 'watchOrderBook', 'interval', interval);
|
|
444
456
|
const messageType = this.getTypeByMarket(market);
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
457
|
+
let limit = this.safeInteger(params, 'limit');
|
|
458
|
+
if (limit === undefined) {
|
|
459
|
+
limit = (market['spot']) ? 50 : 100; // max 100 atm
|
|
460
|
+
if (messageType === 'options') {
|
|
461
|
+
limit = 50; // max 50 for options
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
let payload = [];
|
|
465
|
+
let channel = '';
|
|
466
|
+
if (isEuUrl) {
|
|
467
|
+
channel = 'spot.order_book_update';
|
|
468
|
+
payload = [marketId, interval];
|
|
469
|
+
}
|
|
470
|
+
else if (market['spot']) {
|
|
471
|
+
channel = 'spot.obu';
|
|
472
|
+
let finalInterval = interval;
|
|
473
|
+
if (limit === 400) {
|
|
474
|
+
finalInterval = '400';
|
|
475
|
+
}
|
|
476
|
+
payload = ['ob.' + market['id'] + '.' + finalInterval];
|
|
477
|
+
}
|
|
478
|
+
else {
|
|
479
|
+
channel = messageType + '.order_book_update';
|
|
480
|
+
payload = [marketId, interval];
|
|
452
481
|
const stringLimit = limit.toString();
|
|
453
482
|
payload.push(stringLimit);
|
|
454
483
|
}
|
|
484
|
+
const subMessageHash = 'orderbook' + ':' + symbol;
|
|
485
|
+
const messageHash = 'unsubscribe:orderbook' + ':' + symbol;
|
|
455
486
|
return await this.unSubscribePublicMultiple(url, 'orderbook', [symbol], [messageHash], [subMessageHash], payload, channel, params);
|
|
456
487
|
}
|
|
457
488
|
handleOrderBookSubscription(client, message, subscription) {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var gate = require('./gate.js');
|
|
6
|
+
var gateeu$1 = require('../gateeu.js');
|
|
7
|
+
|
|
8
|
+
// ----------------------------------------------------------------------------
|
|
9
|
+
// ---------------------------------------------------------------------------
|
|
10
|
+
class gateeu extends gate["default"] {
|
|
11
|
+
describe() {
|
|
12
|
+
// eslint-disable-next-line new-cap
|
|
13
|
+
const restInstance = new gateeu$1["default"]();
|
|
14
|
+
const restDescribe = restInstance.describe();
|
|
15
|
+
const parentWsDescribe = super.describeData();
|
|
16
|
+
const extended = this.deepExtend(parentWsDescribe, restDescribe);
|
|
17
|
+
return this.deepExtend(extended, {
|
|
18
|
+
'id': 'gateeu',
|
|
19
|
+
'name': 'Gate EU',
|
|
20
|
+
'countries': ['EU'],
|
|
21
|
+
'certified': false,
|
|
22
|
+
'urls': {
|
|
23
|
+
'api': {
|
|
24
|
+
'ws': 'wss://ws.gateeu.com/v4',
|
|
25
|
+
'spot': 'wss://api.gateeu.com/ws/v4/',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
exports["default"] = gateeu;
|
|
@@ -27,7 +27,6 @@ class gemini extends gemini$1["default"] {
|
|
|
27
27
|
'watchOrderBookForSymbols': true,
|
|
28
28
|
'watchOHLCV': true,
|
|
29
29
|
},
|
|
30
|
-
'hostname': 'api.gemini.com',
|
|
31
30
|
'urls': {
|
|
32
31
|
'api': {
|
|
33
32
|
'ws': 'wss://api.gemini.com',
|
|
@@ -358,7 +357,7 @@ class gemini extends gemini$1["default"] {
|
|
|
358
357
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
359
358
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
360
359
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
361
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
360
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
362
361
|
*/
|
|
363
362
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
364
363
|
await this.loadMarkets();
|
|
@@ -413,7 +412,7 @@ class gemini extends gemini$1["default"] {
|
|
|
413
412
|
* @param {string[]} symbols unified array of symbols
|
|
414
413
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
415
414
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
416
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
415
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
417
416
|
*/
|
|
418
417
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
419
418
|
const orderbook = await this.helperForWatchMultipleConstruct('orderbook', symbols, params);
|
package/dist/cjs/src/pro/grvt.js
CHANGED
|
@@ -474,7 +474,7 @@ class grvt extends grvt$1["default"] {
|
|
|
474
474
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
475
475
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
476
476
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
477
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
477
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
478
478
|
*/
|
|
479
479
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
480
480
|
await this.loadMarkets();
|
|
@@ -490,7 +490,7 @@ class grvt extends grvt$1["default"] {
|
|
|
490
490
|
* @param {string[]} symbols unified array of symbols
|
|
491
491
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
492
492
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
493
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
493
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
494
494
|
*/
|
|
495
495
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
496
496
|
await this.loadMarkets();
|
|
@@ -295,7 +295,7 @@ class hashkey extends hashkey$1["default"] {
|
|
|
295
295
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
296
296
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
297
297
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
298
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
298
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
299
299
|
*/
|
|
300
300
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
301
301
|
await this.loadMarkets();
|
|
@@ -211,7 +211,7 @@ class hitbtc extends hitbtc$1["default"] {
|
|
|
211
211
|
* @param {string} [params.method] 'orderbook/full', 'orderbook/{depth}/{speed}', 'orderbook/{depth}/{speed}/batch'
|
|
212
212
|
* @param {int} [params.depth] 5 , 10, or 20 (default)
|
|
213
213
|
* @param {int} [params.speed] 100 (default), 500, or 1000
|
|
214
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
214
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
215
215
|
*/
|
|
216
216
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
217
217
|
const options = this.safeValue(this.options, 'watchOrderBook');
|
|
@@ -61,7 +61,7 @@ class hollaex extends hollaex$1["default"] {
|
|
|
61
61
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
62
62
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
63
63
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
64
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
64
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
65
65
|
*/
|
|
66
66
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
67
67
|
await this.loadMarkets();
|