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/whitebit.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export default class whitebit extends whitebitRest {
|
|
|
25
25
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
26
26
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
27
27
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
28
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
28
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
29
29
|
*/
|
|
30
30
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
31
31
|
handleOrderBook(client: Client, message: any): void;
|
|
@@ -38,7 +38,7 @@ export default class whitebit extends whitebitRest {
|
|
|
38
38
|
* @see https://docs.whitebit.com/public/websocket/#market-statistics
|
|
39
39
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
40
40
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
41
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
41
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
42
42
|
*/
|
|
43
43
|
watchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
44
44
|
/**
|
|
@@ -48,7 +48,7 @@ export default class whitebit extends whitebitRest {
|
|
|
48
48
|
* @see https://docs.whitebit.com/public/websocket/#market-statistics
|
|
49
49
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
50
50
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
51
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
51
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
52
52
|
*/
|
|
53
53
|
watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
54
54
|
handleTicker(client: Client, message: any): any;
|
|
@@ -61,7 +61,7 @@ export default class whitebit extends whitebitRest {
|
|
|
61
61
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
62
62
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
63
63
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
64
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
64
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
65
65
|
*/
|
|
66
66
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
67
67
|
handleTrades(client: Client, message: any): void;
|
|
@@ -74,7 +74,7 @@ export default class whitebit extends whitebitRest {
|
|
|
74
74
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
75
75
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
76
76
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
77
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
77
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
78
78
|
*/
|
|
79
79
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
80
80
|
handleMyTrades(client: Client, message: any, subscription?: any): void;
|
|
@@ -88,7 +88,7 @@ export default class whitebit extends whitebitRest {
|
|
|
88
88
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
89
89
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
90
90
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
91
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
91
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
92
92
|
*/
|
|
93
93
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
94
94
|
handleOrder(client: Client, message: any, subscription?: any): void;
|
|
@@ -102,7 +102,7 @@ export default class whitebit extends whitebitRest {
|
|
|
102
102
|
* @see https://docs.whitebit.com/private/websocket/#balance-margin
|
|
103
103
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
104
104
|
* @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
|
|
105
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
105
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
106
106
|
*/
|
|
107
107
|
watchBalance(params?: {}): Promise<Balances>;
|
|
108
108
|
handleBalance(client: Client, message: any): void;
|
package/js/src/pro/whitebit.js
CHANGED
|
@@ -144,7 +144,7 @@ export default class whitebit extends whitebitRest {
|
|
|
144
144
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
145
145
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
146
146
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
147
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
147
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
148
148
|
*/
|
|
149
149
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
150
150
|
await this.loadMarkets();
|
|
@@ -249,7 +249,7 @@ export default class whitebit extends whitebitRest {
|
|
|
249
249
|
* @see https://docs.whitebit.com/public/websocket/#market-statistics
|
|
250
250
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
251
251
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
252
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
252
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
253
253
|
*/
|
|
254
254
|
async watchTicker(symbol, params = {}) {
|
|
255
255
|
await this.loadMarkets();
|
|
@@ -267,7 +267,7 @@ export default class whitebit extends whitebitRest {
|
|
|
267
267
|
* @see https://docs.whitebit.com/public/websocket/#market-statistics
|
|
268
268
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
269
269
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
270
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
270
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
271
271
|
*/
|
|
272
272
|
async watchTickers(symbols = undefined, params = {}) {
|
|
273
273
|
await this.loadMarkets();
|
|
@@ -348,7 +348,7 @@ export default class whitebit extends whitebitRest {
|
|
|
348
348
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
349
349
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
350
350
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
351
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
351
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
352
352
|
*/
|
|
353
353
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
354
354
|
await this.loadMarkets();
|
|
@@ -415,7 +415,7 @@ export default class whitebit extends whitebitRest {
|
|
|
415
415
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
416
416
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
417
417
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
418
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
418
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
419
419
|
*/
|
|
420
420
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
421
421
|
if (symbol === undefined) {
|
|
@@ -515,7 +515,7 @@ export default class whitebit extends whitebitRest {
|
|
|
515
515
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
516
516
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
517
517
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
518
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
518
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
519
519
|
*/
|
|
520
520
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
521
521
|
if (symbol === undefined) {
|
|
@@ -690,7 +690,7 @@ export default class whitebit extends whitebitRest {
|
|
|
690
690
|
* @see https://docs.whitebit.com/private/websocket/#balance-margin
|
|
691
691
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
692
692
|
* @param {str} [params.type] spot or contract if not provided this.options['defaultType'] is used
|
|
693
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
693
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
694
694
|
*/
|
|
695
695
|
async watchBalance(params = {}) {
|
|
696
696
|
await this.loadMarkets();
|
package/js/src/pro/woo.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export default class woo extends wooRest {
|
|
|
16
16
|
* @param {int} [limit] the maximum amount of order book entries to return.
|
|
17
17
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
18
18
|
* @param {string} [params.method] either (default) 'orderbook' or 'orderbookupdate', default is 'orderbook'
|
|
19
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
19
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
20
20
|
*/
|
|
21
21
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
22
22
|
/**
|
|
@@ -27,7 +27,7 @@ export default class woo extends wooRest {
|
|
|
27
27
|
* @see https://docs.woox.io/#orderbook
|
|
28
28
|
* @param {string} symbol unified symbol of the market
|
|
29
29
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
30
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
30
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
31
31
|
*/
|
|
32
32
|
unWatchOrderBook(symbol: string, params?: {}): Promise<any>;
|
|
33
33
|
handleOrderBook(client: Client, message: any): void;
|
|
@@ -42,7 +42,7 @@ export default class woo extends wooRest {
|
|
|
42
42
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
43
43
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
44
44
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
45
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
45
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
46
46
|
*/
|
|
47
47
|
watchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
48
48
|
/**
|
|
@@ -51,7 +51,7 @@ export default class woo extends wooRest {
|
|
|
51
51
|
* @description unWatches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
52
52
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
53
53
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
54
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
54
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
55
55
|
*/
|
|
56
56
|
unWatchTicker(symbol: string, params?: {}): Promise<any>;
|
|
57
57
|
parseWsTicker(ticker: any, market?: any): Ticker;
|
|
@@ -63,7 +63,7 @@ export default class woo extends wooRest {
|
|
|
63
63
|
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
64
64
|
* @param {string[]} symbols 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
|
watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
69
69
|
/**
|
|
@@ -73,7 +73,7 @@ export default class woo extends wooRest {
|
|
|
73
73
|
* @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
|
|
74
74
|
* @param {string[]} symbols unified symbol of the market to stop fetching the ticker for
|
|
75
75
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
76
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
76
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
77
77
|
*/
|
|
78
78
|
unWatchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
79
79
|
handleTickers(client: Client, message: any): void;
|
|
@@ -84,7 +84,7 @@ export default class woo extends wooRest {
|
|
|
84
84
|
* @description watches best bid & ask for symbols
|
|
85
85
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
86
86
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
87
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
87
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
88
88
|
*/
|
|
89
89
|
watchBidsAsks(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
90
90
|
/**
|
|
@@ -94,7 +94,7 @@ export default class woo extends wooRest {
|
|
|
94
94
|
* @description unWatches best bid & ask for symbols
|
|
95
95
|
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for (not used by woo)
|
|
96
96
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
97
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
97
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
98
98
|
*/
|
|
99
99
|
unWatchBidsAsks(symbols?: Strings, params?: {}): Promise<any>;
|
|
100
100
|
handleBidAsk(client: Client, message: any): void;
|
|
@@ -134,7 +134,7 @@ export default class woo extends wooRest {
|
|
|
134
134
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
135
135
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
136
136
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
137
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
137
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
138
138
|
*/
|
|
139
139
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
140
140
|
/**
|
|
@@ -144,7 +144,7 @@ export default class woo extends wooRest {
|
|
|
144
144
|
* @see https://docs.woox.io/#trade
|
|
145
145
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
146
146
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
147
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
147
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
148
148
|
*/
|
|
149
149
|
unWatchTrades(symbol: string, params?: {}): Promise<any>;
|
|
150
150
|
handleTrade(client: Client, message: any): void;
|
|
@@ -164,7 +164,7 @@ export default class woo extends wooRest {
|
|
|
164
164
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
165
165
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
166
166
|
* @param {bool} [params.trigger] true if trigger order
|
|
167
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
167
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
168
168
|
*/
|
|
169
169
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
170
170
|
/**
|
|
@@ -178,7 +178,7 @@ export default class woo extends wooRest {
|
|
|
178
178
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
179
179
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
180
180
|
* @param {bool} [params.trigger] true if trigger order
|
|
181
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
181
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
182
182
|
*/
|
|
183
183
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
184
184
|
parseWsOrder(order: any, market?: any): Order;
|
|
@@ -206,7 +206,7 @@ export default class woo extends wooRest {
|
|
|
206
206
|
* @name woo#watchBalance
|
|
207
207
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
208
208
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
209
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
209
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
210
210
|
*/
|
|
211
211
|
watchBalance(params?: {}): Promise<Balances>;
|
|
212
212
|
handleBalance(client: any, message: any): void;
|
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();
|
|
@@ -1325,7 +1325,7 @@ export default class woo extends wooRest {
|
|
|
1325
1325
|
* @name woo#watchBalance
|
|
1326
1326
|
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
1327
1327
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1328
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1328
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1329
1329
|
*/
|
|
1330
1330
|
async watchBalance(params = {}) {
|
|
1331
1331
|
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
|
|
@@ -1157,9 +1157,9 @@ export default class woofipro extends woofiproRest {
|
|
|
1157
1157
|
* @method
|
|
1158
1158
|
* @name woofipro#watchBalance
|
|
1159
1159
|
* @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-
|
|
1160
|
+
* @see https://orderly.network/docs/build-on-omnichain/evm-api/websocket-api/private/balance
|
|
1161
1161
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1162
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1162
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1163
1163
|
*/
|
|
1164
1164
|
async watchBalance(params = {}) {
|
|
1165
1165
|
await this.loadMarkets();
|