ccxt 4.5.28 → 4.5.29
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 +21 -5
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/alpaca.js +21 -21
- package/dist/cjs/src/apex.js +20 -20
- package/dist/cjs/src/arkham.js +22 -22
- package/dist/cjs/src/ascendex.js +28 -28
- package/dist/cjs/src/backpack.js +22 -22
- package/dist/cjs/src/base/Exchange.js +48 -38
- package/dist/cjs/src/base/functions/throttle.js +54 -5
- package/dist/cjs/src/bigone.js +19 -19
- package/dist/cjs/src/binance.js +83 -82
- package/dist/cjs/src/bingx.js +46 -46
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +49 -48
- package/dist/cjs/src/bitbns.js +13 -13
- package/dist/cjs/src/bitfinex.js +33 -33
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitget.js +58 -57
- package/dist/cjs/src/bithumb.js +10 -10
- package/dist/cjs/src/bitmart.js +44 -44
- package/dist/cjs/src/bitmex.js +24 -24
- package/dist/cjs/src/bitopro.js +20 -20
- package/dist/cjs/src/bitrue.js +18 -18
- package/dist/cjs/src/bitso.js +20 -20
- package/dist/cjs/src/bitstamp.js +21 -21
- package/dist/cjs/src/bittrade.js +20 -20
- package/dist/cjs/src/bitvavo.js +19 -19
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/blofin.js +26 -26
- package/dist/cjs/src/btcalpha.js +35 -34
- package/dist/cjs/src/btcbox.js +10 -10
- package/dist/cjs/src/btcmarkets.js +16 -16
- package/dist/cjs/src/btcturk.js +10 -10
- package/dist/cjs/src/bullish.js +26 -26
- package/dist/cjs/src/bybit.js +67 -67
- package/dist/cjs/src/cex.js +18 -18
- package/dist/cjs/src/coinbase.js +40 -40
- package/dist/cjs/src/coinbaseexchange.js +22 -22
- package/dist/cjs/src/coinbaseinternational.js +22 -22
- package/dist/cjs/src/coincatch.js +39 -39
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +48 -48
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinmetro.js +14 -14
- package/dist/cjs/src/coinone.js +11 -11
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +8 -8
- package/dist/cjs/src/cryptocom.js +32 -32
- package/dist/cjs/src/cryptomus.js +9 -9
- package/dist/cjs/src/deepcoin.js +33 -33
- package/dist/cjs/src/defx.js +23 -23
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +36 -36
- package/dist/cjs/src/derive.js +19 -19
- package/dist/cjs/src/digifinex.js +36 -36
- package/dist/cjs/src/dydx.js +22 -22
- package/dist/cjs/src/exmo.js +29 -29
- package/dist/cjs/src/foxbit.js +23 -23
- package/dist/cjs/src/gate.js +57 -57
- package/dist/cjs/src/gemini.js +16 -16
- package/dist/cjs/src/hashkey.js +35 -35
- package/dist/cjs/src/hibachi.js +24 -24
- package/dist/cjs/src/hitbtc.js +38 -38
- package/dist/cjs/src/hollaex.js +22 -22
- package/dist/cjs/src/htx.js +50 -50
- package/dist/cjs/src/hyperliquid.js +76 -42
- package/dist/cjs/src/independentreserve.js +13 -13
- package/dist/cjs/src/indodax.js +14 -14
- package/dist/cjs/src/kraken.js +30 -30
- package/dist/cjs/src/krakenfutures.js +21 -21
- package/dist/cjs/src/kucoin.js +44 -44
- package/dist/cjs/src/kucoinfutures.js +42 -40
- package/dist/cjs/src/latoken.js +16 -16
- package/dist/cjs/src/lbank.js +23 -23
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/mercado.js +11 -11
- package/dist/cjs/src/mexc.js +47 -47
- package/dist/cjs/src/modetrade.js +37 -35
- package/dist/cjs/src/ndax.js +19 -19
- package/dist/cjs/src/novadax.js +19 -19
- package/dist/cjs/src/oceanex.js +16 -16
- package/dist/cjs/src/okx.js +83 -83
- package/dist/cjs/src/onetrading.js +34 -33
- package/dist/cjs/src/oxfun.js +25 -25
- package/dist/cjs/src/p2b.js +11 -11
- package/dist/cjs/src/paradex.js +54 -54
- package/dist/cjs/src/paymium.js +20 -21
- package/dist/cjs/src/phemex.js +35 -35
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/apex.js +8 -8
- package/dist/cjs/src/pro/arkham.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/backpack.js +16 -16
- package/dist/cjs/src/pro/binance.js +35 -35
- package/dist/cjs/src/pro/bingx.js +9 -9
- package/dist/cjs/src/pro/bitfinex.js +8 -8
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bithumb.js +3 -3
- package/dist/cjs/src/pro/bitmart.js +388 -31
- package/dist/cjs/src/pro/bitmex.js +9 -9
- package/dist/cjs/src/pro/bitopro.js +5 -5
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrade.js +3 -3
- package/dist/cjs/src/pro/bitvavo.js +19 -19
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/blofin.js +10 -10
- package/dist/cjs/src/pro/bullish.js +6 -6
- package/dist/cjs/src/pro/bybit.js +19 -19
- package/dist/cjs/src/pro/cex.js +13 -13
- package/dist/cjs/src/pro/coinbase.js +13 -13
- package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
- package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
- package/dist/cjs/src/pro/coincatch.js +10 -10
- package/dist/cjs/src/pro/coincheck.js +2 -2
- package/dist/cjs/src/pro/coinex.js +10 -10
- package/dist/cjs/src/pro/coinone.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +20 -20
- package/dist/cjs/src/pro/deepcoin.js +8 -8
- package/dist/cjs/src/pro/defx.js +15 -15
- package/dist/cjs/src/pro/deribit.js +10 -10
- package/dist/cjs/src/pro/derive.js +6 -6
- package/dist/cjs/src/pro/dydx.js +3 -3
- package/dist/cjs/src/pro/exmo.js +7 -7
- package/dist/cjs/src/pro/gate.js +21 -59
- package/dist/cjs/src/pro/gemini.js +6 -6
- package/dist/cjs/src/pro/hashkey.js +6 -6
- package/dist/cjs/src/pro/hitbtc.js +8 -8
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +9 -9
- package/dist/cjs/src/pro/hyperliquid.js +103 -14
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +15 -15
- package/dist/cjs/src/pro/krakenfutures.js +10 -10
- package/dist/cjs/src/pro/kucoin.js +15 -15
- package/dist/cjs/src/pro/kucoinfutures.js +13 -13
- package/dist/cjs/src/pro/lbank.js +5 -5
- package/dist/cjs/src/pro/luno.js +2 -2
- package/dist/cjs/src/pro/mexc.js +13 -13
- package/dist/cjs/src/pro/modetrade.js +8 -8
- package/dist/cjs/src/pro/ndax.js +3 -3
- package/dist/cjs/src/pro/okx.js +25 -25
- package/dist/cjs/src/pro/onetrading.js +6 -6
- package/dist/cjs/src/pro/oxfun.js +13 -13
- package/dist/cjs/src/pro/p2b.js +5 -5
- package/dist/cjs/src/pro/paradex.js +8 -8
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +8 -8
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/toobit.js +9 -9
- package/dist/cjs/src/pro/upbit.js +9 -9
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +13 -13
- package/dist/cjs/src/pro/woofipro.js +20 -20
- package/dist/cjs/src/pro/xt.js +2 -2
- package/dist/cjs/src/probit.js +18 -18
- package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
- package/dist/cjs/src/timex.js +16 -16
- package/dist/cjs/src/tokocrypto.js +17 -17
- package/dist/cjs/src/toobit.js +31 -29
- package/dist/cjs/src/upbit.js +23 -23
- package/dist/cjs/src/wavesexchange.js +86 -85
- package/dist/cjs/src/whitebit.js +44 -44
- package/dist/cjs/src/woo.js +51 -49
- package/dist/cjs/src/woofipro.js +104 -82
- package/dist/cjs/src/xt.js +17 -12
- package/dist/cjs/src/yobit.js +15 -15
- package/dist/cjs/src/zaif.js +38 -9
- package/dist/cjs/src/zebpay.js +35 -20
- package/dist/cjs/src/zonda.js +14 -14
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/alpaca.d.ts +21 -21
- package/js/src/alpaca.js +21 -21
- package/js/src/apex.d.ts +20 -20
- package/js/src/apex.js +20 -20
- package/js/src/arkham.d.ts +22 -22
- package/js/src/arkham.js +22 -22
- package/js/src/ascendex.d.ts +28 -28
- package/js/src/ascendex.js +28 -28
- package/js/src/backpack.d.ts +21 -21
- package/js/src/backpack.js +22 -22
- package/js/src/base/Exchange.d.ts +6 -3
- package/js/src/base/Exchange.js +48 -38
- package/js/src/base/functions/throttle.d.ts +22 -0
- package/js/src/base/functions/throttle.js +54 -5
- package/js/src/bigone.d.ts +19 -19
- package/js/src/bigone.js +19 -19
- package/js/src/binance.d.ts +82 -82
- package/js/src/binance.js +83 -82
- package/js/src/bingx.d.ts +46 -46
- package/js/src/bingx.js +46 -46
- package/js/src/bit2c.d.ts +11 -11
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.d.ts +12 -12
- package/js/src/bitbank.js +49 -48
- package/js/src/bitbns.d.ts +13 -13
- package/js/src/bitbns.js +13 -13
- package/js/src/bitfinex.d.ts +33 -33
- package/js/src/bitfinex.js +33 -33
- package/js/src/bitflyer.d.ts +17 -17
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitget.d.ts +57 -57
- package/js/src/bitget.js +58 -57
- package/js/src/bithumb.d.ts +10 -10
- package/js/src/bithumb.js +10 -10
- package/js/src/bitmart.d.ts +42 -42
- package/js/src/bitmart.js +44 -44
- package/js/src/bitmex.d.ts +24 -24
- package/js/src/bitmex.js +24 -24
- package/js/src/bitopro.d.ts +20 -20
- package/js/src/bitopro.js +20 -20
- package/js/src/bitrue.d.ts +18 -18
- package/js/src/bitrue.js +18 -18
- package/js/src/bitso.d.ts +20 -20
- package/js/src/bitso.js +20 -20
- package/js/src/bitstamp.d.ts +21 -21
- package/js/src/bitstamp.js +21 -21
- package/js/src/bittrade.d.ts +20 -20
- package/js/src/bittrade.js +20 -20
- package/js/src/bitvavo.d.ts +19 -19
- package/js/src/bitvavo.js +19 -19
- package/js/src/blockchaincom.d.ts +20 -20
- package/js/src/blockchaincom.js +20 -20
- package/js/src/blofin.d.ts +26 -26
- package/js/src/blofin.js +26 -26
- package/js/src/btcalpha.d.ts +14 -14
- package/js/src/btcalpha.js +35 -34
- package/js/src/btcbox.d.ts +10 -10
- package/js/src/btcbox.js +10 -10
- package/js/src/btcmarkets.d.ts +16 -16
- package/js/src/btcmarkets.js +16 -16
- package/js/src/btcturk.d.ts +10 -10
- package/js/src/btcturk.js +10 -10
- package/js/src/bullish.d.ts +26 -26
- package/js/src/bullish.js +26 -26
- package/js/src/bybit.d.ts +66 -66
- package/js/src/bybit.js +67 -67
- package/js/src/cex.d.ts +18 -18
- package/js/src/cex.js +18 -18
- package/js/src/coinbase.d.ts +40 -40
- package/js/src/coinbase.js +40 -40
- package/js/src/coinbaseexchange.d.ts +22 -22
- package/js/src/coinbaseexchange.js +22 -22
- package/js/src/coinbaseinternational.d.ts +22 -22
- package/js/src/coinbaseinternational.js +22 -22
- package/js/src/coincatch.d.ts +39 -39
- package/js/src/coincatch.js +39 -39
- package/js/src/coincheck.d.ts +11 -11
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.d.ts +48 -48
- package/js/src/coinex.js +48 -48
- package/js/src/coinmate.d.ts +14 -14
- package/js/src/coinmate.js +14 -14
- package/js/src/coinmetro.d.ts +14 -14
- package/js/src/coinmetro.js +14 -14
- package/js/src/coinone.d.ts +11 -11
- package/js/src/coinone.js +11 -11
- package/js/src/coinsph.d.ts +20 -20
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.d.ts +8 -8
- package/js/src/coinspot.js +8 -8
- package/js/src/cryptocom.d.ts +32 -32
- package/js/src/cryptocom.js +32 -32
- package/js/src/cryptomus.d.ts +9 -9
- package/js/src/cryptomus.js +9 -9
- package/js/src/deepcoin.d.ts +33 -33
- package/js/src/deepcoin.js +33 -33
- package/js/src/defx.d.ts +23 -23
- package/js/src/defx.js +23 -23
- package/js/src/delta.d.ts +29 -29
- package/js/src/delta.js +29 -29
- package/js/src/deribit.d.ts +36 -36
- package/js/src/deribit.js +36 -36
- package/js/src/derive.d.ts +19 -19
- package/js/src/derive.js +19 -19
- package/js/src/digifinex.d.ts +36 -36
- package/js/src/digifinex.js +36 -36
- package/js/src/dydx.d.ts +22 -22
- package/js/src/dydx.js +22 -22
- package/js/src/exmo.d.ts +29 -29
- package/js/src/exmo.js +29 -29
- package/js/src/foxbit.d.ts +23 -23
- package/js/src/foxbit.js +23 -23
- package/js/src/gate.d.ts +57 -57
- package/js/src/gate.js +57 -57
- package/js/src/gemini.d.ts +16 -16
- package/js/src/gemini.js +16 -16
- package/js/src/hashkey.d.ts +35 -35
- package/js/src/hashkey.js +35 -35
- package/js/src/hibachi.d.ts +24 -24
- package/js/src/hibachi.js +24 -24
- package/js/src/hitbtc.d.ts +38 -38
- package/js/src/hitbtc.js +38 -38
- package/js/src/hollaex.d.ts +22 -22
- package/js/src/hollaex.js +22 -22
- package/js/src/htx.d.ts +50 -50
- package/js/src/htx.js +50 -50
- package/js/src/hyperliquid.d.ts +46 -36
- package/js/src/hyperliquid.js +76 -42
- package/js/src/independentreserve.d.ts +13 -13
- package/js/src/independentreserve.js +13 -13
- package/js/src/indodax.d.ts +14 -14
- package/js/src/indodax.js +14 -14
- package/js/src/kraken.d.ts +30 -30
- package/js/src/kraken.js +30 -30
- package/js/src/krakenfutures.d.ts +21 -21
- package/js/src/krakenfutures.js +21 -21
- package/js/src/kucoin.d.ts +44 -44
- package/js/src/kucoin.js +44 -44
- package/js/src/kucoinfutures.d.ts +35 -35
- package/js/src/kucoinfutures.js +42 -40
- package/js/src/latoken.d.ts +16 -16
- package/js/src/latoken.js +16 -16
- package/js/src/lbank.d.ts +23 -23
- package/js/src/lbank.js +23 -23
- package/js/src/luno.d.ts +17 -17
- package/js/src/luno.js +17 -17
- package/js/src/mercado.d.ts +11 -11
- package/js/src/mercado.js +11 -11
- package/js/src/mexc.d.ts +47 -47
- package/js/src/mexc.js +47 -47
- package/js/src/modetrade.d.ts +31 -31
- package/js/src/modetrade.js +37 -35
- package/js/src/ndax.d.ts +19 -19
- package/js/src/ndax.js +19 -19
- package/js/src/novadax.d.ts +19 -19
- package/js/src/novadax.js +19 -19
- package/js/src/oceanex.d.ts +16 -16
- package/js/src/oceanex.js +16 -16
- package/js/src/okx.d.ts +74 -74
- package/js/src/okx.js +83 -83
- package/js/src/onetrading.d.ts +34 -33
- package/js/src/onetrading.js +34 -33
- package/js/src/oxfun.d.ts +25 -25
- package/js/src/oxfun.js +25 -25
- package/js/src/p2b.d.ts +11 -11
- package/js/src/p2b.js +11 -11
- package/js/src/paradex.d.ts +54 -54
- package/js/src/paradex.js +54 -54
- package/js/src/paymium.d.ts +20 -21
- package/js/src/paymium.js +20 -21
- package/js/src/phemex.d.ts +30 -30
- package/js/src/phemex.js +35 -35
- package/js/src/poloniex.d.ts +26 -26
- package/js/src/poloniex.js +27 -27
- package/js/src/pro/alpaca.d.ts +5 -5
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/apex.d.ts +8 -8
- package/js/src/pro/apex.js +8 -8
- package/js/src/pro/arkham.d.ts +5 -5
- package/js/src/pro/arkham.js +5 -5
- package/js/src/pro/ascendex.d.ts +5 -5
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/backpack.d.ts +16 -16
- package/js/src/pro/backpack.js +16 -16
- package/js/src/pro/binance.d.ts +35 -35
- package/js/src/pro/binance.js +35 -35
- package/js/src/pro/bingx.d.ts +9 -9
- package/js/src/pro/bingx.js +9 -9
- package/js/src/pro/bitfinex.d.ts +8 -8
- package/js/src/pro/bitfinex.js +8 -8
- package/js/src/pro/bitget.d.ts +12 -12
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bithumb.d.ts +3 -3
- package/js/src/pro/bithumb.js +3 -3
- package/js/src/pro/bitmart.d.ts +120 -9
- package/js/src/pro/bitmart.js +388 -31
- package/js/src/pro/bitmex.d.ts +9 -9
- package/js/src/pro/bitmex.js +9 -9
- package/js/src/pro/bitopro.d.ts +5 -5
- package/js/src/pro/bitopro.js +5 -5
- package/js/src/pro/bitrue.d.ts +2 -2
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.d.ts +3 -3
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrade.d.ts +3 -3
- package/js/src/pro/bittrade.js +3 -3
- package/js/src/pro/bitvavo.d.ts +19 -19
- package/js/src/pro/bitvavo.js +19 -19
- package/js/src/pro/blockchaincom.d.ts +5 -5
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/blofin.d.ts +10 -10
- package/js/src/pro/blofin.js +10 -10
- package/js/src/pro/bullish.d.ts +6 -6
- package/js/src/pro/bullish.js +6 -6
- package/js/src/pro/bybit.d.ts +19 -19
- package/js/src/pro/bybit.js +19 -19
- package/js/src/pro/cex.d.ts +13 -13
- package/js/src/pro/cex.js +13 -13
- package/js/src/pro/coinbase.d.ts +13 -13
- package/js/src/pro/coinbase.js +13 -13
- package/js/src/pro/coinbaseexchange.d.ts +10 -10
- package/js/src/pro/coinbaseexchange.js +10 -10
- package/js/src/pro/coinbaseinternational.d.ts +8 -8
- package/js/src/pro/coinbaseinternational.js +8 -8
- package/js/src/pro/coincatch.d.ts +10 -10
- package/js/src/pro/coincatch.js +10 -10
- package/js/src/pro/coincheck.d.ts +2 -2
- package/js/src/pro/coincheck.js +2 -2
- package/js/src/pro/coinex.d.ts +10 -10
- package/js/src/pro/coinex.js +10 -10
- package/js/src/pro/coinone.d.ts +3 -3
- package/js/src/pro/coinone.js +3 -3
- package/js/src/pro/cryptocom.d.ts +20 -20
- package/js/src/pro/cryptocom.js +20 -20
- package/js/src/pro/deepcoin.d.ts +8 -8
- package/js/src/pro/deepcoin.js +8 -8
- package/js/src/pro/defx.d.ts +15 -15
- package/js/src/pro/defx.js +15 -15
- package/js/src/pro/deribit.d.ts +10 -10
- package/js/src/pro/deribit.js +10 -10
- package/js/src/pro/derive.d.ts +6 -6
- package/js/src/pro/derive.js +6 -6
- package/js/src/pro/dydx.d.ts +3 -3
- package/js/src/pro/dydx.js +3 -3
- package/js/src/pro/exmo.d.ts +7 -7
- package/js/src/pro/exmo.js +7 -7
- package/js/src/pro/gate.d.ts +22 -23
- package/js/src/pro/gate.js +21 -59
- package/js/src/pro/gemini.d.ts +6 -6
- package/js/src/pro/gemini.js +6 -6
- package/js/src/pro/hashkey.d.ts +6 -6
- package/js/src/pro/hashkey.js +6 -6
- package/js/src/pro/hitbtc.d.ts +8 -8
- package/js/src/pro/hitbtc.js +8 -8
- package/js/src/pro/hollaex.d.ts +5 -5
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.d.ts +9 -9
- package/js/src/pro/htx.js +9 -9
- package/js/src/pro/hyperliquid.d.ts +38 -14
- package/js/src/pro/hyperliquid.js +103 -14
- package/js/src/pro/independentreserve.d.ts +2 -2
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.d.ts +15 -15
- package/js/src/pro/kraken.js +15 -15
- package/js/src/pro/krakenfutures.d.ts +10 -10
- package/js/src/pro/krakenfutures.js +10 -10
- package/js/src/pro/kucoin.d.ts +15 -15
- package/js/src/pro/kucoin.js +15 -15
- package/js/src/pro/kucoinfutures.d.ts +13 -13
- package/js/src/pro/kucoinfutures.js +13 -13
- package/js/src/pro/lbank.d.ts +5 -5
- package/js/src/pro/lbank.js +5 -5
- package/js/src/pro/luno.d.ts +2 -2
- package/js/src/pro/luno.js +2 -2
- package/js/src/pro/mexc.d.ts +13 -13
- package/js/src/pro/mexc.js +13 -13
- package/js/src/pro/modetrade.d.ts +8 -8
- package/js/src/pro/modetrade.js +8 -8
- package/js/src/pro/ndax.d.ts +3 -3
- package/js/src/pro/ndax.js +3 -3
- package/js/src/pro/okx.d.ts +25 -25
- package/js/src/pro/okx.js +25 -25
- package/js/src/pro/onetrading.d.ts +6 -6
- package/js/src/pro/onetrading.js +6 -6
- package/js/src/pro/oxfun.d.ts +13 -13
- package/js/src/pro/oxfun.js +13 -13
- package/js/src/pro/p2b.d.ts +5 -5
- package/js/src/pro/p2b.js +5 -5
- package/js/src/pro/paradex.d.ts +8 -8
- package/js/src/pro/paradex.js +8 -8
- package/js/src/pro/phemex.d.ts +7 -7
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.d.ts +8 -8
- package/js/src/pro/poloniex.js +8 -8
- package/js/src/pro/probit.d.ts +6 -6
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/toobit.d.ts +9 -9
- package/js/src/pro/toobit.js +9 -9
- package/js/src/pro/upbit.d.ts +9 -9
- package/js/src/pro/upbit.js +9 -9
- package/js/src/pro/whitebit.d.ts +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.d.ts +13 -13
- package/js/src/pro/woo.js +13 -13
- package/js/src/pro/woofipro.d.ts +20 -20
- package/js/src/pro/woofipro.js +20 -20
- package/js/src/pro/xt.d.ts +2 -2
- package/js/src/pro/xt.js +2 -2
- package/js/src/probit.d.ts +18 -18
- package/js/src/probit.js +18 -18
- package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
- package/js/src/static_dependencies/ethers/utils/index.js +8 -1
- package/js/src/timex.d.ts +16 -16
- package/js/src/timex.js +16 -16
- package/js/src/tokocrypto.d.ts +17 -17
- package/js/src/tokocrypto.js +17 -17
- package/js/src/toobit.d.ts +27 -27
- package/js/src/toobit.js +31 -29
- package/js/src/upbit.d.ts +23 -23
- package/js/src/upbit.js +23 -23
- package/js/src/wavesexchange.d.ts +15 -15
- package/js/src/wavesexchange.js +86 -85
- package/js/src/whitebit.d.ts +44 -44
- package/js/src/whitebit.js +44 -44
- package/js/src/woo.d.ts +45 -45
- package/js/src/woo.js +51 -49
- package/js/src/woofipro.d.ts +77 -77
- package/js/src/woofipro.js +104 -82
- package/js/src/xt.d.ts +12 -12
- package/js/src/xt.js +17 -12
- package/js/src/yobit.d.ts +15 -15
- package/js/src/yobit.js +15 -15
- package/js/src/zaif.d.ts +9 -9
- package/js/src/zaif.js +38 -9
- package/js/src/zebpay.d.ts +20 -20
- package/js/src/zebpay.js +35 -20
- package/js/src/zonda.d.ts +14 -14
- package/js/src/zonda.js +14 -14
- package/package.json +1 -1
package/js/src/pro/deribit.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export default class deribit extends deribitRest {
|
|
|
10
10
|
* @see https://docs.deribit.com/#user-portfolio-currency
|
|
11
11
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
12
12
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
13
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
13
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
14
14
|
*/
|
|
15
15
|
watchBalance(params?: {}): Promise<Balances>;
|
|
16
16
|
handleBalance(client: Client, message: any): void;
|
|
@@ -22,7 +22,7 @@ export default class deribit extends deribitRest {
|
|
|
22
22
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
23
23
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
24
24
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
25
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
25
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
26
26
|
*/
|
|
27
27
|
watchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
28
28
|
/**
|
|
@@ -33,7 +33,7 @@ export default class deribit extends deribitRest {
|
|
|
33
33
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
34
34
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
35
35
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
36
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
36
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
37
37
|
*/
|
|
38
38
|
watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
39
39
|
handleTicker(client: Client, message: any): void;
|
|
@@ -44,7 +44,7 @@ export default class deribit extends deribitRest {
|
|
|
44
44
|
* @description watches best bid & ask for symbols
|
|
45
45
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
46
46
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
47
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
47
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
48
48
|
*/
|
|
49
49
|
watchBidsAsks(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
50
50
|
handleBidAsk(client: Client, message: any): void;
|
|
@@ -59,7 +59,7 @@ export default class deribit extends deribitRest {
|
|
|
59
59
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
60
60
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
61
61
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
62
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
62
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
63
63
|
*/
|
|
64
64
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
65
65
|
/**
|
|
@@ -71,7 +71,7 @@ export default class deribit extends deribitRest {
|
|
|
71
71
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
72
72
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
73
73
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
74
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
74
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
75
75
|
*/
|
|
76
76
|
watchTradesForSymbols(symbols: string[], since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
77
77
|
handleTrades(client: Client, message: any): void;
|
|
@@ -85,7 +85,7 @@ export default class deribit extends deribitRest {
|
|
|
85
85
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
86
86
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
87
87
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
88
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
88
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
89
89
|
*/
|
|
90
90
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
91
91
|
handleMyTrades(client: Client, message: any): void;
|
|
@@ -98,7 +98,7 @@ export default class deribit extends deribitRest {
|
|
|
98
98
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
99
99
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
100
100
|
* @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
|
|
101
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
101
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
102
102
|
*/
|
|
103
103
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
104
104
|
/**
|
|
@@ -109,7 +109,7 @@ export default class deribit extends deribitRest {
|
|
|
109
109
|
* @param {string[]} symbols unified array of symbols
|
|
110
110
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
111
111
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
112
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
112
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
113
113
|
*/
|
|
114
114
|
watchOrderBookForSymbols(symbols: string[], limit?: Int, params?: {}): Promise<OrderBook>;
|
|
115
115
|
handleOrderBook(client: Client, message: any): void;
|
|
@@ -125,7 +125,7 @@ export default class deribit extends deribitRest {
|
|
|
125
125
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
126
126
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
127
127
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
128
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
128
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
129
129
|
*/
|
|
130
130
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
131
131
|
handleOrders(client: Client, message: any): void;
|
package/js/src/pro/deribit.js
CHANGED
|
@@ -80,7 +80,7 @@ export default class deribit extends deribitRest {
|
|
|
80
80
|
* @see https://docs.deribit.com/#user-portfolio-currency
|
|
81
81
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
82
82
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
83
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
83
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
84
84
|
*/
|
|
85
85
|
async watchBalance(params = {}) {
|
|
86
86
|
await this.authenticate(params);
|
|
@@ -165,7 +165,7 @@ export default class deribit extends deribitRest {
|
|
|
165
165
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
166
166
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
167
167
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
168
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
168
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
169
169
|
*/
|
|
170
170
|
async watchTicker(symbol, params = {}) {
|
|
171
171
|
await this.loadMarkets();
|
|
@@ -197,7 +197,7 @@ export default class deribit extends deribitRest {
|
|
|
197
197
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
198
198
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
199
199
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
200
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
200
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
201
201
|
*/
|
|
202
202
|
async watchTickers(symbols = undefined, params = {}) {
|
|
203
203
|
await this.loadMarkets();
|
|
@@ -277,7 +277,7 @@ export default class deribit extends deribitRest {
|
|
|
277
277
|
* @description watches best bid & ask for symbols
|
|
278
278
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
279
279
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
280
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
280
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
281
281
|
*/
|
|
282
282
|
async watchBidsAsks(symbols = undefined, params = {}) {
|
|
283
283
|
await this.loadMarkets();
|
|
@@ -357,7 +357,7 @@ export default class deribit extends deribitRest {
|
|
|
357
357
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
358
358
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
359
359
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
360
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
360
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
361
361
|
*/
|
|
362
362
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
363
363
|
params['callerMethodName'] = 'watchTrades';
|
|
@@ -372,7 +372,7 @@ export default class deribit extends deribitRest {
|
|
|
372
372
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
373
373
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
374
374
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
375
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
375
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
376
376
|
*/
|
|
377
377
|
async watchTradesForSymbols(symbols, since = undefined, limit = undefined, params = {}) {
|
|
378
378
|
let interval = undefined;
|
|
@@ -442,7 +442,7 @@ export default class deribit extends deribitRest {
|
|
|
442
442
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
443
443
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
444
444
|
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
445
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
445
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
446
446
|
*/
|
|
447
447
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
448
448
|
await this.authenticate(params);
|
|
@@ -526,7 +526,7 @@ export default class deribit extends deribitRest {
|
|
|
526
526
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
527
527
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
528
528
|
* @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
|
|
529
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
529
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
530
530
|
*/
|
|
531
531
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
532
532
|
params['callerMethodName'] = 'watchOrderBook';
|
|
@@ -540,7 +540,7 @@ export default class deribit extends deribitRest {
|
|
|
540
540
|
* @param {string[]} symbols unified array of symbols
|
|
541
541
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
542
542
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
543
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
543
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
544
544
|
*/
|
|
545
545
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
546
546
|
let interval = undefined;
|
|
@@ -685,7 +685,7 @@ export default class deribit extends deribitRest {
|
|
|
685
685
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
686
686
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
687
687
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
688
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
688
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
689
689
|
*/
|
|
690
690
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
691
691
|
await this.loadMarkets();
|
package/js/src/pro/derive.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export default class derive extends deriveRest {
|
|
|
13
13
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
14
14
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
15
15
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
16
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
16
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
17
17
|
*/
|
|
18
18
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
19
19
|
handleOrderBook(client: Client, message: any): void;
|
|
@@ -24,7 +24,7 @@ export default class derive extends deriveRest {
|
|
|
24
24
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
25
25
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
26
26
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
27
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
27
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
28
28
|
*/
|
|
29
29
|
watchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
30
30
|
handleTicker(client: Client, message: any): any;
|
|
@@ -35,7 +35,7 @@ export default class derive extends deriveRest {
|
|
|
35
35
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
36
36
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
37
37
|
* @param {int} [params.limit] orderbook limit, default is undefined
|
|
38
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
38
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
39
39
|
*/
|
|
40
40
|
unWatchOrderBook(symbol: string, params?: {}): Promise<any>;
|
|
41
41
|
/**
|
|
@@ -60,7 +60,7 @@ export default class derive extends deriveRest {
|
|
|
60
60
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
61
61
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
62
62
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
63
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
63
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
64
64
|
*/
|
|
65
65
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
66
66
|
handleTrade(client: Client, message: any): void;
|
|
@@ -76,7 +76,7 @@ export default class derive extends deriveRest {
|
|
|
76
76
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
77
77
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
78
78
|
* @param {string} [params.subaccount_id] *required* the subaccount id
|
|
79
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
79
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
80
80
|
*/
|
|
81
81
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
82
82
|
handleOrder(client: Client, message: any): void;
|
|
@@ -90,7 +90,7 @@ export default class derive extends deriveRest {
|
|
|
90
90
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
91
91
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
92
92
|
* @param {string} [params.subaccount_id] *required* the subaccount id
|
|
93
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
93
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
94
94
|
*/
|
|
95
95
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
96
96
|
handleMyTrade(client: Client, message: any): void;
|
package/js/src/pro/derive.js
CHANGED
|
@@ -76,7 +76,7 @@ export default class derive extends deriveRest {
|
|
|
76
76
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
77
77
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
78
78
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
79
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
79
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
80
80
|
*/
|
|
81
81
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
82
82
|
await this.loadMarkets();
|
|
@@ -143,7 +143,7 @@ export default class derive extends deriveRest {
|
|
|
143
143
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
144
144
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
145
145
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
146
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
146
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
147
147
|
*/
|
|
148
148
|
async watchTicker(symbol, params = {}) {
|
|
149
149
|
await this.loadMarkets();
|
|
@@ -245,7 +245,7 @@ export default class derive extends deriveRest {
|
|
|
245
245
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
246
246
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
247
247
|
* @param {int} [params.limit] orderbook limit, default is undefined
|
|
248
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
248
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
249
249
|
*/
|
|
250
250
|
async unWatchOrderBook(symbol, params = {}) {
|
|
251
251
|
await this.loadMarkets();
|
|
@@ -372,7 +372,7 @@ export default class derive extends deriveRest {
|
|
|
372
372
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
373
373
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
374
374
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
375
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
375
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
376
376
|
*/
|
|
377
377
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
378
378
|
await this.loadMarkets();
|
|
@@ -473,7 +473,7 @@ export default class derive extends deriveRest {
|
|
|
473
473
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
474
474
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
475
475
|
* @param {string} [params.subaccount_id] *required* the subaccount id
|
|
476
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
476
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
477
477
|
*/
|
|
478
478
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
479
479
|
await this.loadMarkets();
|
|
@@ -593,7 +593,7 @@ export default class derive extends deriveRest {
|
|
|
593
593
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
594
594
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
595
595
|
* @param {string} [params.subaccount_id] *required* the subaccount id
|
|
596
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
596
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
597
597
|
*/
|
|
598
598
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
599
599
|
await this.loadMarkets();
|
package/js/src/pro/dydx.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export default class dydx extends dydxRest {
|
|
|
22
22
|
* @see https://docs.dydx.xyz/indexer-client/websockets#trades
|
|
23
23
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
24
24
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
25
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
25
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
26
26
|
*/
|
|
27
27
|
unWatchTrades(symbol: string, params?: {}): Promise<any>;
|
|
28
28
|
handleTrades(client: any, message: any): void;
|
|
@@ -35,7 +35,7 @@ export default class dydx extends dydxRest {
|
|
|
35
35
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
36
36
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
37
37
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
38
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
38
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
39
39
|
*/
|
|
40
40
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
41
41
|
/**
|
|
@@ -45,7 +45,7 @@ export default class dydx extends dydxRest {
|
|
|
45
45
|
* @see https://docs.dydx.xyz/indexer-client/websockets#orders
|
|
46
46
|
* @param {string} symbol unified array of symbols
|
|
47
47
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
48
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
48
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
49
49
|
*/
|
|
50
50
|
unWatchOrderBook(symbol: string, params?: {}): Promise<any>;
|
|
51
51
|
handleOrderBook(client: Client, message: any): void;
|
package/js/src/pro/dydx.js
CHANGED
|
@@ -68,7 +68,7 @@ export default class dydx extends dydxRest {
|
|
|
68
68
|
* @see https://docs.dydx.xyz/indexer-client/websockets#trades
|
|
69
69
|
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
70
70
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
71
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
71
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
72
72
|
*/
|
|
73
73
|
async unWatchTrades(symbol, params = {}) {
|
|
74
74
|
await this.loadMarkets();
|
|
@@ -161,7 +161,7 @@ export default class dydx extends dydxRest {
|
|
|
161
161
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
162
162
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
163
163
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
164
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
164
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
165
165
|
*/
|
|
166
166
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
167
167
|
await this.loadMarkets();
|
|
@@ -183,7 +183,7 @@ export default class dydx extends dydxRest {
|
|
|
183
183
|
* @see https://docs.dydx.xyz/indexer-client/websockets#orders
|
|
184
184
|
* @param {string} symbol unified array of symbols
|
|
185
185
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
186
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
186
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
187
187
|
*/
|
|
188
188
|
async unWatchOrderBook(symbol, params = {}) {
|
|
189
189
|
await this.loadMarkets();
|
package/js/src/pro/exmo.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default class exmo extends exmoRest {
|
|
|
9
9
|
* @name exmo#watchBalance
|
|
10
10
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
11
11
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
12
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
12
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
13
13
|
*/
|
|
14
14
|
watchBalance(params?: {}): Promise<Balances>;
|
|
15
15
|
handleBalance(client: Client, message: any): void;
|
|
@@ -22,7 +22,7 @@ export default class exmo extends exmoRest {
|
|
|
22
22
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
23
23
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
24
24
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
25
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
25
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
26
26
|
*/
|
|
27
27
|
watchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
28
28
|
/**
|
|
@@ -32,7 +32,7 @@ export default class exmo extends exmoRest {
|
|
|
32
32
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
33
33
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
34
34
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
35
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
35
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
36
36
|
*/
|
|
37
37
|
watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
38
38
|
handleTicker(client: Client, message: any): void;
|
|
@@ -44,7 +44,7 @@ export default class exmo extends exmoRest {
|
|
|
44
44
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
45
45
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
46
46
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
47
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
47
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
48
48
|
*/
|
|
49
49
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
50
50
|
handleTrades(client: Client, message: any): void;
|
|
@@ -56,7 +56,7 @@ export default class exmo extends exmoRest {
|
|
|
56
56
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
57
57
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
58
58
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
59
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
59
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
60
60
|
*/
|
|
61
61
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
62
62
|
handleMyTrades(client: Client, message: any): void;
|
|
@@ -67,7 +67,7 @@ export default class exmo extends exmoRest {
|
|
|
67
67
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
68
68
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
69
69
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
70
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
70
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
71
71
|
*/
|
|
72
72
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
73
73
|
handleOrderBook(client: Client, message: any): void;
|
|
@@ -83,7 +83,7 @@ export default class exmo extends exmoRest {
|
|
|
83
83
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
84
84
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
85
85
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
86
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
86
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
87
87
|
*/
|
|
88
88
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
89
89
|
handleOrders(client: Client, message: any): void;
|
package/js/src/pro/exmo.js
CHANGED
|
@@ -50,7 +50,7 @@ export default class exmo extends exmoRest {
|
|
|
50
50
|
* @name exmo#watchBalance
|
|
51
51
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
52
52
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
53
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
53
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
54
54
|
*/
|
|
55
55
|
async watchBalance(params = {}) {
|
|
56
56
|
await this.authenticate(params);
|
|
@@ -207,7 +207,7 @@ export default class exmo extends exmoRest {
|
|
|
207
207
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
208
208
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
209
209
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
210
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
210
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
211
211
|
*/
|
|
212
212
|
async watchTicker(symbol, params = {}) {
|
|
213
213
|
await this.loadMarkets();
|
|
@@ -232,7 +232,7 @@ export default class exmo extends exmoRest {
|
|
|
232
232
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
233
233
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
234
234
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
235
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
235
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
236
236
|
*/
|
|
237
237
|
async watchTickers(symbols = undefined, params = {}) {
|
|
238
238
|
await this.loadMarkets();
|
|
@@ -293,7 +293,7 @@ export default class exmo extends exmoRest {
|
|
|
293
293
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
294
294
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
295
295
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
296
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
296
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
297
297
|
*/
|
|
298
298
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
299
299
|
await this.loadMarkets();
|
|
@@ -357,7 +357,7 @@ export default class exmo extends exmoRest {
|
|
|
357
357
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
358
358
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
359
359
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
360
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
360
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
361
361
|
*/
|
|
362
362
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
363
363
|
await this.loadMarkets();
|
|
@@ -486,7 +486,7 @@ export default class exmo extends exmoRest {
|
|
|
486
486
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
487
487
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
488
488
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
489
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
489
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
490
490
|
*/
|
|
491
491
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
492
492
|
await this.loadMarkets();
|
|
@@ -585,7 +585,7 @@ export default class exmo extends exmoRest {
|
|
|
585
585
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
586
586
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
587
587
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
588
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
588
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
589
589
|
*/
|
|
590
590
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
591
591
|
await this.loadMarkets();
|