ccxt 4.5.28 → 4.5.30
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 +24 -7
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +6 -1
- package/dist/cjs/src/abstract/bydfi.js +11 -0
- 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 +47 -47
- 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 +27 -27
- package/dist/cjs/src/bybit.js +69 -67
- package/dist/cjs/src/bydfi.js +2907 -0
- package/dist/cjs/src/cex.js +18 -18
- package/dist/cjs/src/coinbase.js +74 -41
- 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 +25 -25
- package/dist/cjs/src/exmo.js +29 -29
- package/dist/cjs/src/foxbit.js +23 -23
- package/dist/cjs/src/gate.js +60 -59
- 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 +86 -45
- 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 +156 -48
- 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 +13 -11
- 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 +45 -41
- package/dist/cjs/src/pro/bingx.js +14 -12
- 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 +393 -34
- 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 +24 -22
- package/dist/cjs/src/pro/bydfi.js +1077 -0
- 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 +25 -23
- 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 +26 -62
- package/dist/cjs/src/pro/gemini.js +6 -6
- package/dist/cjs/src/pro/hashkey.js +11 -9
- 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 +18 -16
- 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 +13 -11
- 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 +20 -16
- 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 +18 -16
- package/dist/cjs/src/pro/woofipro.js +25 -23
- package/dist/cjs/src/pro/xt.js +7 -5
- 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 +33 -30
- 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 +8 -2
- package/js/ccxt.js +6 -2
- package/js/src/abstract/bydfi.d.ts +52 -0
- package/js/src/abstract/bydfi.js +11 -0
- 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 +47 -47
- 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 +27 -27
- package/js/src/bybit.d.ts +66 -66
- package/js/src/bybit.js +69 -67
- package/js/src/bydfi.d.ts +472 -0
- package/js/src/bydfi.js +2905 -0
- package/js/src/cex.d.ts +18 -18
- package/js/src/cex.js +18 -18
- package/js/src/coinbase.d.ts +51 -40
- package/js/src/coinbase.js +74 -41
- 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 +25 -25
- 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 +60 -59
- 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 +86 -45
- 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 +58 -44
- package/js/src/kucoin.js +156 -48
- 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 +13 -11
- 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 +45 -41
- package/js/src/pro/bingx.d.ts +9 -9
- package/js/src/pro/bingx.js +14 -12
- 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 +393 -34
- 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 +24 -22
- package/js/src/pro/bydfi.d.ts +206 -0
- package/js/src/pro/bydfi.js +1076 -0
- 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 +25 -23
- 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 +26 -62
- 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 +11 -9
- 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 +18 -16
- 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 +13 -11
- 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 +20 -16
- 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 +18 -16
- package/js/src/pro/woofipro.d.ts +20 -20
- package/js/src/pro/woofipro.js +25 -23
- package/js/src/pro/xt.d.ts +2 -2
- package/js/src/pro/xt.js +7 -5
- 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 +33 -30
- 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/woo.js
CHANGED
|
@@ -126,7 +126,7 @@ export default class woo extends wooRest {
|
|
|
126
126
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
127
127
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
128
128
|
* @param {string} [params.method] either (default) 'orderbook' or 'orderbookupdate', default is 'orderbook'
|
|
129
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
129
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
130
130
|
*/
|
|
131
131
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
132
132
|
await this.loadMarkets();
|
|
@@ -163,7 +163,7 @@ export default class woo extends wooRest {
|
|
|
163
163
|
* @see https://docs.woox.io/#orderbook
|
|
164
164
|
* @param {string} symbol unified symbol of the market
|
|
165
165
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
166
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
166
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
167
167
|
*/
|
|
168
168
|
async unWatchOrderBook(symbol, params = {}) {
|
|
169
169
|
await this.loadMarkets();
|
|
@@ -309,7 +309,7 @@ export default class woo extends wooRest {
|
|
|
309
309
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
310
310
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
311
311
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
312
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
312
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
313
313
|
*/
|
|
314
314
|
async watchTicker(symbol, params = {}) {
|
|
315
315
|
await this.loadMarkets();
|
|
@@ -330,7 +330,7 @@ export default class woo extends wooRest {
|
|
|
330
330
|
* @description unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
331
331
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
332
332
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
333
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
333
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
334
334
|
*/
|
|
335
335
|
async unWatchTicker(symbol, params = {}) {
|
|
336
336
|
await this.loadMarkets();
|
|
@@ -413,7 +413,7 @@ export default class woo extends wooRest {
|
|
|
413
413
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
414
414
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
415
415
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
416
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
416
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
417
417
|
*/
|
|
418
418
|
async watchTickers(symbols = undefined, params = {}) {
|
|
419
419
|
await this.loadMarkets();
|
|
@@ -435,7 +435,7 @@ export default class woo extends wooRest {
|
|
|
435
435
|
* @description stops watching a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
436
436
|
* @param {string[]} symbols unified symbol of the market to stop fetching the ticker for
|
|
437
437
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
438
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
438
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
439
439
|
*/
|
|
440
440
|
async unWatchTickers(symbols = undefined, params = {}) {
|
|
441
441
|
await this.loadMarkets();
|
|
@@ -496,7 +496,7 @@ export default class woo extends wooRest {
|
|
|
496
496
|
* @description watches best bid & ask for symbols
|
|
497
497
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
498
498
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
499
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
499
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
500
500
|
*/
|
|
501
501
|
async watchBidsAsks(symbols = undefined, params = {}) {
|
|
502
502
|
await this.loadMarkets();
|
|
@@ -521,7 +521,7 @@ export default class woo extends wooRest {
|
|
|
521
521
|
* @description unWatches best bid & ask for symbols
|
|
522
522
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for (not used by woo)
|
|
523
523
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
524
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
524
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
525
525
|
*/
|
|
526
526
|
async unWatchBidsAsks(symbols = undefined, params = {}) {
|
|
527
527
|
await this.loadMarkets();
|
|
@@ -684,7 +684,7 @@ export default class woo extends wooRest {
|
|
|
684
684
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
685
685
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
686
686
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
687
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
687
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
688
688
|
*/
|
|
689
689
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
690
690
|
await this.loadMarkets();
|
|
@@ -709,7 +709,7 @@ export default class woo extends wooRest {
|
|
|
709
709
|
* @see https://docs.woox.io/#trade
|
|
710
710
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
711
711
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
712
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
712
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
713
713
|
*/
|
|
714
714
|
async unWatchTrades(symbol, params = {}) {
|
|
715
715
|
await this.loadMarkets();
|
|
@@ -893,7 +893,7 @@ export default class woo extends wooRest {
|
|
|
893
893
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
894
894
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
895
895
|
* @param {bool} [params.trigger] true if trigger order
|
|
896
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
896
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
897
897
|
*/
|
|
898
898
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
899
899
|
await this.loadMarkets();
|
|
@@ -928,7 +928,7 @@ export default class woo extends wooRest {
|
|
|
928
928
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
929
929
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
930
930
|
* @param {bool} [params.trigger] true if trigger order
|
|
931
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
931
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
932
932
|
*/
|
|
933
933
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
934
934
|
await this.loadMarkets();
|
|
@@ -1269,9 +1269,11 @@ export default class woo extends wooRest {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
1271
|
// don't remove the future from the .futures cache
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1272
|
+
if (messageHash in client.futures) {
|
|
1273
|
+
const future = client.futures[messageHash];
|
|
1274
|
+
future.resolve(cache);
|
|
1275
|
+
client.resolve(cache, 'positions');
|
|
1276
|
+
}
|
|
1275
1277
|
}
|
|
1276
1278
|
handlePositions(client, message) {
|
|
1277
1279
|
//
|
|
@@ -1325,7 +1327,7 @@ export default class woo extends wooRest {
|
|
|
1325
1327
|
* @name woo#watchBalance
|
|
1326
1328
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
1327
1329
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1328
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1330
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1329
1331
|
*/
|
|
1330
1332
|
async watchBalance(params = {}) {
|
|
1331
1333
|
await this.loadMarkets();
|
package/js/src/pro/woofipro.d.ts
CHANGED
|
@@ -8,23 +8,23 @@ export default class woofipro extends woofiproRest {
|
|
|
8
8
|
/**
|
|
9
9
|
* @method
|
|
10
10
|
* @name woofipro#watchOrderBook
|
|
11
|
-
* @see https://orderly.network/docs/build-on-
|
|
11
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/orderbook
|
|
12
12
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
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;
|
|
20
20
|
/**
|
|
21
21
|
* @method
|
|
22
22
|
* @name woofipro#watchTicker
|
|
23
|
-
* @see https://orderly.network/docs/build-on-
|
|
23
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/24-hour-ticker
|
|
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
|
parseWsTicker(ticker: any, market?: any): Ticker;
|
|
@@ -32,22 +32,22 @@ export default class woofipro extends woofiproRest {
|
|
|
32
32
|
/**
|
|
33
33
|
* @method
|
|
34
34
|
* @name woofipro#watchTickers
|
|
35
|
-
* @see https://orderly.network/docs/build-on-
|
|
35
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/24-hour-tickers
|
|
36
36
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
37
37
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
38
38
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
39
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
39
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
40
40
|
*/
|
|
41
41
|
watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
42
42
|
handleTickers(client: Client, message: any): void;
|
|
43
43
|
/**
|
|
44
44
|
* @method
|
|
45
45
|
* @name woofipro#watchBidsAsks
|
|
46
|
-
* @see https://orderly.network/docs/build-on-
|
|
46
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/bbos
|
|
47
47
|
* @description watches best bid & ask for symbols
|
|
48
48
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
49
49
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
50
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
50
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
51
51
|
*/
|
|
52
52
|
watchBidsAsks(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
53
53
|
handleBidAsk(client: Client, message: any): void;
|
|
@@ -56,7 +56,7 @@ export default class woofipro extends woofiproRest {
|
|
|
56
56
|
* @method
|
|
57
57
|
* @name woofipro#watchOHLCV
|
|
58
58
|
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
59
|
-
* @see https://orderly.network/docs/build-on-
|
|
59
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/k-line
|
|
60
60
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
61
61
|
* @param {string} timeframe the length of time each candle represents
|
|
62
62
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -70,12 +70,12 @@ export default class woofipro extends woofiproRest {
|
|
|
70
70
|
* @method
|
|
71
71
|
* @name woofipro#watchTrades
|
|
72
72
|
* @description watches information on multiple trades made in a market
|
|
73
|
-
* @see https://orderly.network/docs/build-on-
|
|
73
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/trade
|
|
74
74
|
* @param {string} symbol unified market symbol of the market trades were made in
|
|
75
75
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
76
76
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
77
77
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
78
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
78
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
79
79
|
*/
|
|
80
80
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
81
81
|
handleTrade(client: Client, message: any): void;
|
|
@@ -88,28 +88,28 @@ export default class woofipro extends woofiproRest {
|
|
|
88
88
|
* @method
|
|
89
89
|
* @name woofipro#watchOrders
|
|
90
90
|
* @description watches information on multiple orders made by the user
|
|
91
|
-
* @see https://orderly.network/docs/build-on-
|
|
92
|
-
* @see https://orderly.network/docs/build-on-
|
|
91
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/execution-report
|
|
92
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/algo-execution-report
|
|
93
93
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
94
94
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
95
95
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
96
96
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
97
97
|
* @param {bool} [params.trigger] true if trigger order
|
|
98
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
98
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
99
99
|
*/
|
|
100
100
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
101
101
|
/**
|
|
102
102
|
* @method
|
|
103
103
|
* @name woofipro#watchMyTrades
|
|
104
104
|
* @description watches information on multiple trades made by the user
|
|
105
|
-
* @see https://orderly.network/docs/build-on-
|
|
106
|
-
* @see https://orderly.network/docs/build-on-
|
|
105
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/execution-report
|
|
106
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/algo-execution-report
|
|
107
107
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
108
108
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
109
109
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
110
110
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
111
111
|
* @param {bool} [params.trigger] true if trigger order
|
|
112
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
112
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
113
113
|
*/
|
|
114
114
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
115
115
|
parseWsOrder(order: any, market?: any): Order;
|
|
@@ -119,7 +119,7 @@ export default class woofipro extends woofiproRest {
|
|
|
119
119
|
/**
|
|
120
120
|
* @method
|
|
121
121
|
* @name woofipro#watchPositions
|
|
122
|
-
* @see https://orderly.network/docs/build-on-
|
|
122
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/position-push
|
|
123
123
|
* @description watch all open positions
|
|
124
124
|
* @param {string[]} [symbols] list of unified market symbols
|
|
125
125
|
* @param since timestamp in ms of the earliest position to fetch
|
|
@@ -136,9 +136,9 @@ export default class woofipro extends woofiproRest {
|
|
|
136
136
|
* @method
|
|
137
137
|
* @name woofipro#watchBalance
|
|
138
138
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
139
|
-
* @see https://orderly.network/docs/build-on-
|
|
139
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/balance
|
|
140
140
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
141
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
141
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
142
142
|
*/
|
|
143
143
|
watchBalance(params?: {}): Promise<Balances>;
|
|
144
144
|
handleBalance(client: any, message: any): void;
|
package/js/src/pro/woofipro.js
CHANGED
|
@@ -94,12 +94,12 @@ export default class woofipro extends woofiproRest {
|
|
|
94
94
|
/**
|
|
95
95
|
* @method
|
|
96
96
|
* @name woofipro#watchOrderBook
|
|
97
|
-
* @see https://orderly.network/docs/build-on-
|
|
97
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/orderbook
|
|
98
98
|
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
99
99
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
100
100
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
101
101
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
102
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
102
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
103
103
|
*/
|
|
104
104
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
105
105
|
await this.loadMarkets();
|
|
@@ -153,11 +153,11 @@ export default class woofipro extends woofiproRest {
|
|
|
153
153
|
/**
|
|
154
154
|
* @method
|
|
155
155
|
* @name woofipro#watchTicker
|
|
156
|
-
* @see https://orderly.network/docs/build-on-
|
|
156
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/24-hour-ticker
|
|
157
157
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
158
158
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
159
159
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
160
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
160
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
161
161
|
*/
|
|
162
162
|
async watchTicker(symbol, params = {}) {
|
|
163
163
|
await this.loadMarkets();
|
|
@@ -240,11 +240,11 @@ export default class woofipro extends woofiproRest {
|
|
|
240
240
|
/**
|
|
241
241
|
* @method
|
|
242
242
|
* @name woofipro#watchTickers
|
|
243
|
-
* @see https://orderly.network/docs/build-on-
|
|
243
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/24-hour-tickers
|
|
244
244
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
245
245
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
246
246
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
247
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
247
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
248
248
|
*/
|
|
249
249
|
async watchTickers(symbols = undefined, params = {}) {
|
|
250
250
|
await this.loadMarkets();
|
|
@@ -295,11 +295,11 @@ export default class woofipro extends woofiproRest {
|
|
|
295
295
|
/**
|
|
296
296
|
* @method
|
|
297
297
|
* @name woofipro#watchBidsAsks
|
|
298
|
-
* @see https://orderly.network/docs/build-on-
|
|
298
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/bbos
|
|
299
299
|
* @description watches best bid & ask for symbols
|
|
300
300
|
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
301
301
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
302
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
302
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
303
303
|
*/
|
|
304
304
|
async watchBidsAsks(symbols = undefined, params = {}) {
|
|
305
305
|
await this.loadMarkets();
|
|
@@ -361,7 +361,7 @@ export default class woofipro extends woofiproRest {
|
|
|
361
361
|
* @method
|
|
362
362
|
* @name woofipro#watchOHLCV
|
|
363
363
|
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
364
|
-
* @see https://orderly.network/docs/build-on-
|
|
364
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/k-line
|
|
365
365
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
366
366
|
* @param {string} timeframe the length of time each candle represents
|
|
367
367
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -438,12 +438,12 @@ export default class woofipro extends woofiproRest {
|
|
|
438
438
|
* @method
|
|
439
439
|
* @name woofipro#watchTrades
|
|
440
440
|
* @description watches information on multiple trades made in a market
|
|
441
|
-
* @see https://orderly.network/docs/build-on-
|
|
441
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/public/trade
|
|
442
442
|
* @param {string} symbol unified market symbol of the market trades were made in
|
|
443
443
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
444
444
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
445
445
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
446
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
446
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
447
447
|
*/
|
|
448
448
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
449
449
|
await this.loadMarkets();
|
|
@@ -643,14 +643,14 @@ export default class woofipro extends woofiproRest {
|
|
|
643
643
|
* @method
|
|
644
644
|
* @name woofipro#watchOrders
|
|
645
645
|
* @description watches information on multiple orders made by the user
|
|
646
|
-
* @see https://orderly.network/docs/build-on-
|
|
647
|
-
* @see https://orderly.network/docs/build-on-
|
|
646
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/execution-report
|
|
647
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/algo-execution-report
|
|
648
648
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
649
649
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
650
650
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
651
651
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
652
652
|
* @param {bool} [params.trigger] true if trigger order
|
|
653
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
653
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
654
654
|
*/
|
|
655
655
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
656
656
|
await this.loadMarkets();
|
|
@@ -678,14 +678,14 @@ export default class woofipro extends woofiproRest {
|
|
|
678
678
|
* @method
|
|
679
679
|
* @name woofipro#watchMyTrades
|
|
680
680
|
* @description watches information on multiple trades made by the user
|
|
681
|
-
* @see https://orderly.network/docs/build-on-
|
|
682
|
-
* @see https://orderly.network/docs/build-on-
|
|
681
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/execution-report
|
|
682
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/algo-execution-report
|
|
683
683
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
684
684
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
685
685
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
686
686
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
687
687
|
* @param {bool} [params.trigger] true if trigger order
|
|
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 watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
691
691
|
await this.loadMarkets();
|
|
@@ -959,7 +959,7 @@ export default class woofipro extends woofiproRest {
|
|
|
959
959
|
/**
|
|
960
960
|
* @method
|
|
961
961
|
* @name woofipro#watchPositions
|
|
962
|
-
* @see https://orderly.network/docs/build-on-
|
|
962
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/position-push
|
|
963
963
|
* @description watch all open positions
|
|
964
964
|
* @param {string[]} [symbols] list of unified market symbols
|
|
965
965
|
* @param since timestamp in ms of the earliest position to fetch
|
|
@@ -1024,9 +1024,11 @@ export default class woofipro extends woofiproRest {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
1026
|
// don't remove the future from the .futures cache
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1027
|
+
if (messageHash in client.futures) {
|
|
1028
|
+
const future = client.futures[messageHash];
|
|
1029
|
+
future.resolve(cache);
|
|
1030
|
+
client.resolve(cache, 'positions');
|
|
1031
|
+
}
|
|
1030
1032
|
}
|
|
1031
1033
|
handlePositions(client, message) {
|
|
1032
1034
|
//
|
|
@@ -1157,9 +1159,9 @@ export default class woofipro extends woofiproRest {
|
|
|
1157
1159
|
* @method
|
|
1158
1160
|
* @name woofipro#watchBalance
|
|
1159
1161
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
1160
|
-
* @see https://orderly.network/docs/build-on-
|
|
1162
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/balance
|
|
1161
1163
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1162
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1164
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1163
1165
|
*/
|
|
1164
1166
|
async watchBalance(params = {}) {
|
|
1165
1167
|
await this.loadMarkets();
|
package/js/src/pro/xt.d.ts
CHANGED
|
@@ -202,7 +202,7 @@ export default class xt extends xtRest {
|
|
|
202
202
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
203
203
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
204
204
|
* @param {object} params extra parameters specific to the kucoin api endpoint
|
|
205
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
205
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
206
206
|
*/
|
|
207
207
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
208
208
|
/**
|
|
@@ -212,7 +212,7 @@ export default class xt extends xtRest {
|
|
|
212
212
|
* @see https://doc.xt.com/#websocket_privatebalanceChange
|
|
213
213
|
* @see https://doc.xt.com/#futures_user_websocket_v2balance
|
|
214
214
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
215
|
-
* @returns {object[]} a list of [balance structures]{@link https://docs.ccxt.com
|
|
215
|
+
* @returns {object[]} a list of [balance structures]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
216
216
|
*/
|
|
217
217
|
watchBalance(params?: {}): Promise<Balances>;
|
|
218
218
|
/**
|
package/js/src/pro/xt.js
CHANGED
|
@@ -531,7 +531,7 @@ export default class xt extends xtRest {
|
|
|
531
531
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
532
532
|
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
533
533
|
* @param {object} params extra parameters specific to the kucoin api endpoint
|
|
534
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
534
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
535
535
|
*/
|
|
536
536
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
537
537
|
await this.loadMarkets();
|
|
@@ -553,7 +553,7 @@ export default class xt extends xtRest {
|
|
|
553
553
|
* @see https://doc.xt.com/#websocket_privatebalanceChange
|
|
554
554
|
* @see https://doc.xt.com/#futures_user_websocket_v2balance
|
|
555
555
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
556
|
-
* @returns {object[]} a list of [balance structures]{@link https://docs.ccxt.com
|
|
556
|
+
* @returns {object[]} a list of [balance structures]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
557
557
|
*/
|
|
558
558
|
async watchBalance(params = {}) {
|
|
559
559
|
await this.loadMarkets();
|
|
@@ -615,9 +615,11 @@ export default class xt extends xtRest {
|
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
// don't remove the future from the .futures cache
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
618
|
+
if (messageHash in client.futures) {
|
|
619
|
+
const future = client.futures[messageHash];
|
|
620
|
+
future.resolve(cache);
|
|
621
|
+
client.resolve(cache, 'position::contract');
|
|
622
|
+
}
|
|
621
623
|
}
|
|
622
624
|
handlePosition(client, message) {
|
|
623
625
|
//
|
package/js/src/probit.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export default class probit extends Exchange {
|
|
|
32
32
|
* @see https://docs-en.probit.com/reference/balance
|
|
33
33
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
34
34
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
35
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
35
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
36
36
|
*/
|
|
37
37
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
38
38
|
/**
|
|
@@ -43,7 +43,7 @@ export default class probit extends Exchange {
|
|
|
43
43
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
44
44
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
45
45
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
46
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
46
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
47
47
|
*/
|
|
48
48
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
49
49
|
/**
|
|
@@ -53,7 +53,7 @@ export default class probit extends Exchange {
|
|
|
53
53
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
54
54
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
55
55
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
56
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
56
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
57
57
|
*/
|
|
58
58
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
59
59
|
/**
|
|
@@ -63,7 +63,7 @@ export default class probit extends Exchange {
|
|
|
63
63
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
64
64
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
65
65
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
66
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
66
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
67
67
|
*/
|
|
68
68
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
69
69
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -76,7 +76,7 @@ export default class probit extends Exchange {
|
|
|
76
76
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
77
77
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
78
78
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
79
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
79
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
80
80
|
*/
|
|
81
81
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
82
82
|
/**
|
|
@@ -88,7 +88,7 @@ export default class probit extends Exchange {
|
|
|
88
88
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
89
89
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
90
90
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
91
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
91
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
92
92
|
*/
|
|
93
93
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
94
94
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -126,7 +126,7 @@ export default class probit extends Exchange {
|
|
|
126
126
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
127
127
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
128
128
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
129
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
129
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
130
130
|
*/
|
|
131
131
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
132
132
|
/**
|
|
@@ -138,7 +138,7 @@ export default class probit extends Exchange {
|
|
|
138
138
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
139
139
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
140
140
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
141
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
141
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
142
142
|
*/
|
|
143
143
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
144
144
|
/**
|
|
@@ -149,7 +149,7 @@ export default class probit extends Exchange {
|
|
|
149
149
|
* @param {string} id the order id
|
|
150
150
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
151
151
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
152
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
152
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
153
153
|
*/
|
|
154
154
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
155
155
|
parseOrderStatus(status: Str): string;
|
|
@@ -167,7 +167,7 @@ export default class probit extends Exchange {
|
|
|
167
167
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
168
168
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
169
169
|
* @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount for market buy orders
|
|
170
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
170
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
171
171
|
*/
|
|
172
172
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
173
173
|
/**
|
|
@@ -178,7 +178,7 @@ export default class probit extends Exchange {
|
|
|
178
178
|
* @param {string} id order id
|
|
179
179
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
180
180
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
181
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
181
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
182
182
|
*/
|
|
183
183
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
184
184
|
parseDepositAddress(depositAddress: any, currency?: Currency): DepositAddress;
|
|
@@ -189,7 +189,7 @@ export default class probit extends Exchange {
|
|
|
189
189
|
* @description fetch the deposit address for a currency associated with this account
|
|
190
190
|
* @param {string} code unified currency code
|
|
191
191
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
192
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
192
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
193
193
|
*/
|
|
194
194
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
195
195
|
/**
|
|
@@ -199,7 +199,7 @@ export default class probit extends Exchange {
|
|
|
199
199
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
200
200
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
201
201
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
202
|
-
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com
|
|
202
|
+
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com/?id=address-structure}
|
|
203
203
|
*/
|
|
204
204
|
fetchDepositAddresses(codes?: Strings, params?: {}): Promise<DepositAddress[]>;
|
|
205
205
|
/**
|
|
@@ -212,7 +212,7 @@ export default class probit extends Exchange {
|
|
|
212
212
|
* @param {string} address the address to withdraw to
|
|
213
213
|
* @param {string} tag
|
|
214
214
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
215
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
215
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
216
216
|
*/
|
|
217
217
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
218
218
|
/**
|
|
@@ -223,7 +223,7 @@ export default class probit extends Exchange {
|
|
|
223
223
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
224
224
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
225
225
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
226
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
226
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
227
227
|
*/
|
|
228
228
|
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
229
229
|
/**
|
|
@@ -234,7 +234,7 @@ export default class probit extends Exchange {
|
|
|
234
234
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
235
235
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
236
236
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
237
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
237
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
238
238
|
*/
|
|
239
239
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
240
240
|
/**
|
|
@@ -247,7 +247,7 @@ export default class probit extends Exchange {
|
|
|
247
247
|
* @param {int} [limit] the maximum number of transaction structures to retrieve
|
|
248
248
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
249
249
|
* @param {int} [params.until] the latest time in ms to fetch transactions for
|
|
250
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
250
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
251
251
|
*/
|
|
252
252
|
fetchDepositsWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
253
253
|
parseTransaction(transaction: Dict, currency?: Currency): Transaction;
|
|
@@ -259,7 +259,7 @@ export default class probit extends Exchange {
|
|
|
259
259
|
* @description fetch deposit and withdraw fees
|
|
260
260
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
261
261
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
262
|
-
* @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com
|
|
262
|
+
* @returns {object[]} a list of [fees structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
263
263
|
*/
|
|
264
264
|
fetchDepositWithdrawFees(codes?: Strings, params?: {}): Promise<any>;
|
|
265
265
|
parseDepositWithdrawFee(fee: any, currency?: Currency): any;
|