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/whitebit.js
CHANGED
|
@@ -719,7 +719,7 @@ export default class whitebit extends Exchange {
|
|
|
719
719
|
* @see https://docs.whitebit.com/public/http-v4/#fee
|
|
720
720
|
* @param {string[]|undefined} codes not used by fetchTransactionFees ()
|
|
721
721
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
722
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
722
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
723
723
|
*/
|
|
724
724
|
async fetchTransactionFees(codes = undefined, params = {}) {
|
|
725
725
|
await this.loadMarkets();
|
|
@@ -774,7 +774,7 @@ export default class whitebit extends Exchange {
|
|
|
774
774
|
* @see https://docs.whitebit.com/public/http-v4/#fee
|
|
775
775
|
* @param {string[]|undefined} codes not used by fetchDepositWithdrawFees ()
|
|
776
776
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
777
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
777
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
778
778
|
*/
|
|
779
779
|
async fetchDepositWithdrawFees(codes = undefined, params = {}) {
|
|
780
780
|
await this.loadMarkets();
|
|
@@ -923,7 +923,7 @@ export default class whitebit extends Exchange {
|
|
|
923
923
|
* @description fetch the trading fees for multiple markets
|
|
924
924
|
* @see https://docs.whitebit.com/public/http-v4/#asset-status-list
|
|
925
925
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
926
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
926
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
927
927
|
*/
|
|
928
928
|
async fetchTradingFees(params = {}) {
|
|
929
929
|
await this.loadMarkets();
|
|
@@ -972,7 +972,7 @@ export default class whitebit extends Exchange {
|
|
|
972
972
|
* @see https://docs.whitebit.com/public/http-v4/#market-info
|
|
973
973
|
* @param {string[]|undefined} symbols unified market symbol
|
|
974
974
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
975
|
-
* @returns {object} a [trading limits structure]{@link https://docs.ccxt.com
|
|
975
|
+
* @returns {object} a [trading limits structure]{@link https://docs.ccxt.com/?id=trading-limits-structure}
|
|
976
976
|
*/
|
|
977
977
|
async fetchTradingLimits(symbols = undefined, params = {}) {
|
|
978
978
|
await this.loadMarkets();
|
|
@@ -1082,7 +1082,7 @@ export default class whitebit extends Exchange {
|
|
|
1082
1082
|
* @see https://docs.whitebit.com/public/http-v4/#fee
|
|
1083
1083
|
* @param {string[]|undefined} codes unified currency codes
|
|
1084
1084
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1085
|
-
* @returns {object} a [funding limits structure]{@link https://docs.ccxt.com
|
|
1085
|
+
* @returns {object} a [funding limits structure]{@link https://docs.ccxt.com/?id=funding-limits-structure}
|
|
1086
1086
|
*/
|
|
1087
1087
|
async fetchFundingLimits(codes = undefined, params = {}) {
|
|
1088
1088
|
await this.loadMarkets();
|
|
@@ -1231,7 +1231,7 @@ export default class whitebit extends Exchange {
|
|
|
1231
1231
|
* @see https://docs.whitebit.com/public/http-v4/#market-activity
|
|
1232
1232
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1233
1233
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1234
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1234
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1235
1235
|
*/
|
|
1236
1236
|
async fetchTicker(symbol, params = {}) {
|
|
1237
1237
|
await this.loadMarkets();
|
|
@@ -1352,7 +1352,7 @@ export default class whitebit extends Exchange {
|
|
|
1352
1352
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1353
1353
|
* @param {boolean} [params.checkActive] whether to check active orders (default: true)
|
|
1354
1354
|
* @param {boolean} [params.checkExecuted] whether to check executed orders (default: true)
|
|
1355
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1355
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1356
1356
|
*/
|
|
1357
1357
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1358
1358
|
await this.loadMarkets();
|
|
@@ -1424,7 +1424,7 @@ export default class whitebit extends Exchange {
|
|
|
1424
1424
|
* @param {string[]} [symbols] unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1425
1425
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1426
1426
|
* @param {string} [params.method] either v2PublicGetTicker or v4PublicGetTicker default is v4PublicGetTicker
|
|
1427
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1427
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1428
1428
|
*/
|
|
1429
1429
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1430
1430
|
await this.loadMarkets();
|
|
@@ -1472,7 +1472,7 @@ export default class whitebit extends Exchange {
|
|
|
1472
1472
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1473
1473
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
1474
1474
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1475
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
1475
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
1476
1476
|
*/
|
|
1477
1477
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
1478
1478
|
await this.loadMarkets();
|
|
@@ -1515,7 +1515,7 @@ export default class whitebit extends Exchange {
|
|
|
1515
1515
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1516
1516
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1517
1517
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1518
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1518
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1519
1519
|
*/
|
|
1520
1520
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1521
1521
|
await this.loadMarkets();
|
|
@@ -1547,7 +1547,7 @@ export default class whitebit extends Exchange {
|
|
|
1547
1547
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1548
1548
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1549
1549
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1550
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1550
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1551
1551
|
*/
|
|
1552
1552
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1553
1553
|
await this.loadMarkets();
|
|
@@ -1767,7 +1767,7 @@ export default class whitebit extends Exchange {
|
|
|
1767
1767
|
* @description the latest known information on the availability of the exchange API
|
|
1768
1768
|
* @see https://docs.whitebit.com/public/http-v4/#server-status
|
|
1769
1769
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1770
|
-
* @returns {object} a [status structure]{@link https://docs.ccxt.com
|
|
1770
|
+
* @returns {object} a [status structure]{@link https://docs.ccxt.com/?id=exchange-status-structure}
|
|
1771
1771
|
*/
|
|
1772
1772
|
async fetchStatus(params = {}) {
|
|
1773
1773
|
const response = await this.v4PublicGetPing(params);
|
|
@@ -1810,7 +1810,7 @@ export default class whitebit extends Exchange {
|
|
|
1810
1810
|
* @param {string} side 'buy' or 'sell'
|
|
1811
1811
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
1812
1812
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1813
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1813
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1814
1814
|
*/
|
|
1815
1815
|
async createMarketOrderWithCost(symbol, side, cost, params = {}) {
|
|
1816
1816
|
const req = {
|
|
@@ -1826,7 +1826,7 @@ export default class whitebit extends Exchange {
|
|
|
1826
1826
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
1827
1827
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
1828
1828
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1829
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1829
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1830
1830
|
*/
|
|
1831
1831
|
async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
|
|
1832
1832
|
return await this.createMarketOrderWithCost(symbol, 'buy', cost, params);
|
|
@@ -1851,7 +1851,7 @@ export default class whitebit extends Exchange {
|
|
|
1851
1851
|
* @param {bool} [params.postOnly] If true, the order will only be posted to the order book and not executed immediately
|
|
1852
1852
|
* @param {string} [params.clientOrderId] a unique id for the order
|
|
1853
1853
|
* @param {string} [params.marginMode] 'cross' or 'isolated', for margin trading, uses this.options.defaultMarginMode if not passed, defaults to undefined/None/null
|
|
1854
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1854
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1855
1855
|
*/
|
|
1856
1856
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1857
1857
|
await this.loadMarkets();
|
|
@@ -1955,7 +1955,7 @@ export default class whitebit extends Exchange {
|
|
|
1955
1955
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1956
1956
|
* @param {float} price the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1957
1957
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1958
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1958
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1959
1959
|
*/
|
|
1960
1960
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
1961
1961
|
await this.loadMarkets();
|
|
@@ -2018,7 +2018,7 @@ export default class whitebit extends Exchange {
|
|
|
2018
2018
|
* @param {string} id order id
|
|
2019
2019
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
2020
2020
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2021
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
2021
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2022
2022
|
*/
|
|
2023
2023
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
2024
2024
|
if (symbol === undefined) {
|
|
@@ -2061,7 +2061,7 @@ export default class whitebit extends Exchange {
|
|
|
2061
2061
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2062
2062
|
* @param {string} [params.type] market type, ['swap', 'spot']
|
|
2063
2063
|
* @param {boolean} [params.isMargin] cancel all margin orders
|
|
2064
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2064
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2065
2065
|
*/
|
|
2066
2066
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
2067
2067
|
await this.loadMarkets();
|
|
@@ -2107,7 +2107,7 @@ export default class whitebit extends Exchange {
|
|
|
2107
2107
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
2108
2108
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2109
2109
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2110
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2110
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2111
2111
|
*/
|
|
2112
2112
|
async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2113
2113
|
await this.loadMarkets();
|
|
@@ -2195,7 +2195,7 @@ export default class whitebit extends Exchange {
|
|
|
2195
2195
|
* @see https://docs.whitebit.com/private/http-main-v4/#main-balance
|
|
2196
2196
|
* @see https://docs.whitebit.com/private/http-trade-v4/#trading-balance
|
|
2197
2197
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2198
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
2198
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
2199
2199
|
*/
|
|
2200
2200
|
async fetchBalance(params = {}) {
|
|
2201
2201
|
await this.loadMarkets();
|
|
@@ -2250,7 +2250,7 @@ export default class whitebit extends Exchange {
|
|
|
2250
2250
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
2251
2251
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
2252
2252
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2253
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2253
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2254
2254
|
*/
|
|
2255
2255
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2256
2256
|
await this.loadMarkets();
|
|
@@ -2295,7 +2295,7 @@ export default class whitebit extends Exchange {
|
|
|
2295
2295
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
2296
2296
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
2297
2297
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2298
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2298
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2299
2299
|
*/
|
|
2300
2300
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2301
2301
|
await this.loadMarkets();
|
|
@@ -2461,7 +2461,7 @@ export default class whitebit extends Exchange {
|
|
|
2461
2461
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
2462
2462
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
2463
2463
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2464
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
2464
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
2465
2465
|
*/
|
|
2466
2466
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2467
2467
|
await this.loadMarkets();
|
|
@@ -2509,7 +2509,7 @@ export default class whitebit extends Exchange {
|
|
|
2509
2509
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
2510
2510
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2511
2511
|
* @param {string} [params.transactionMethod] transaction method (1=deposit, 2=withdrawal) - automatically set to '2' for withdrawals
|
|
2512
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
2512
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2513
2513
|
*/
|
|
2514
2514
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2515
2515
|
await this.loadMarkets();
|
|
@@ -2561,7 +2561,7 @@ export default class whitebit extends Exchange {
|
|
|
2561
2561
|
* @param {int} [limit] the maximum number of transactions structures to retrieve
|
|
2562
2562
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2563
2563
|
* @param {string} [params.transactionMethod] transaction method (1=deposit, 2=withdrawal) - automatically set to '1' for deposits
|
|
2564
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
2564
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2565
2565
|
*/
|
|
2566
2566
|
async fetchTransactions(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2567
2567
|
await this.loadMarkets();
|
|
@@ -2610,7 +2610,7 @@ export default class whitebit extends Exchange {
|
|
|
2610
2610
|
* @see https://docs.whitebit.com/private/http-main-v4/#get-cryptocurrency-deposit-address
|
|
2611
2611
|
* @param {string} code unified currency code
|
|
2612
2612
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2613
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2613
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2614
2614
|
*/
|
|
2615
2615
|
async fetchDepositAddress(code, params = {}) {
|
|
2616
2616
|
await this.loadMarkets();
|
|
@@ -2687,7 +2687,7 @@ export default class whitebit extends Exchange {
|
|
|
2687
2687
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2688
2688
|
* @param {string} [params.network] the blockchain network to create a deposit address on
|
|
2689
2689
|
* @param {string} [params.type] address type, available for specific currencies
|
|
2690
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2690
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2691
2691
|
*/
|
|
2692
2692
|
async createDepositAddress(code, params = {}) {
|
|
2693
2693
|
await this.loadMarkets();
|
|
@@ -2738,7 +2738,7 @@ export default class whitebit extends Exchange {
|
|
|
2738
2738
|
* @description fetch all the accounts associated with a profile
|
|
2739
2739
|
* @see https://docs.whitebit.com/private/http-main-v4/#sub-account-list
|
|
2740
2740
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2741
|
-
* @returns {object[]} a list of [account structures]{@link https://docs.ccxt.com
|
|
2741
|
+
* @returns {object[]} a list of [account structures]{@link https://docs.ccxt.com/?id=account-structure}
|
|
2742
2742
|
*/
|
|
2743
2743
|
async fetchAccounts(params = {}) {
|
|
2744
2744
|
await this.loadMarkets();
|
|
@@ -2809,7 +2809,7 @@ export default class whitebit extends Exchange {
|
|
|
2809
2809
|
* @param {string} fromAccount account to transfer from - main, spot, collateral
|
|
2810
2810
|
* @param {string} toAccount account to transfer to - main, spot, collateral
|
|
2811
2811
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2812
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
2812
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
2813
2813
|
*/
|
|
2814
2814
|
async transfer(code, amount, fromAccount, toAccount, params = {}) {
|
|
2815
2815
|
await this.loadMarkets();
|
|
@@ -2856,7 +2856,7 @@ export default class whitebit extends Exchange {
|
|
|
2856
2856
|
* @param {string} address the address to withdraw to
|
|
2857
2857
|
* @param {string} tag
|
|
2858
2858
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2859
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2859
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2860
2860
|
*/
|
|
2861
2861
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2862
2862
|
await this.loadMarkets();
|
|
@@ -2983,7 +2983,7 @@ export default class whitebit extends Exchange {
|
|
|
2983
2983
|
* @param {string} id deposit id
|
|
2984
2984
|
* @param {string} code not used by whitebit fetchDeposit ()
|
|
2985
2985
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2986
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2986
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2987
2987
|
*/
|
|
2988
2988
|
async fetchDeposit(id, code = undefined, params = {}) {
|
|
2989
2989
|
await this.loadMarkets();
|
|
@@ -3049,7 +3049,7 @@ export default class whitebit extends Exchange {
|
|
|
3049
3049
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
3050
3050
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
3051
3051
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3052
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
3052
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
3053
3053
|
*/
|
|
3054
3054
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3055
3055
|
await this.loadMarkets();
|
|
@@ -3117,7 +3117,7 @@ export default class whitebit extends Exchange {
|
|
|
3117
3117
|
* @param {int} [since] the earliest time in ms to fetch borrrow interest for
|
|
3118
3118
|
* @param {int} [limit] the maximum number of structures to retrieve
|
|
3119
3119
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3120
|
-
* @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com
|
|
3120
|
+
* @returns {object[]} a list of [borrow interest structures]{@link https://docs.ccxt.com/?id=borrow-interest-structure}
|
|
3121
3121
|
*/
|
|
3122
3122
|
async fetchBorrowInterest(code = undefined, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3123
3123
|
await this.loadMarkets();
|
|
@@ -3194,7 +3194,7 @@ export default class whitebit extends Exchange {
|
|
|
3194
3194
|
* @see https://docs.whitebit.com/public/http-v4/#available-futures-markets-list
|
|
3195
3195
|
* @param {string} symbol unified market symbol
|
|
3196
3196
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3197
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
3197
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
3198
3198
|
*/
|
|
3199
3199
|
async fetchFundingRate(symbol, params = {}) {
|
|
3200
3200
|
await this.loadMarkets();
|
|
@@ -3209,7 +3209,7 @@ export default class whitebit extends Exchange {
|
|
|
3209
3209
|
* @see https://docs.whitebit.com/public/http-v4/#available-futures-markets-list
|
|
3210
3210
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
3211
3211
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3212
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
3212
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rates-structure}, indexed by market symbols
|
|
3213
3213
|
*/
|
|
3214
3214
|
async fetchFundingRates(symbols = undefined, params = {}) {
|
|
3215
3215
|
await this.loadMarkets();
|
|
@@ -3332,7 +3332,7 @@ export default class whitebit extends Exchange {
|
|
|
3332
3332
|
* @param {int} [limit] the number of entries to return
|
|
3333
3333
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3334
3334
|
* @param {int} [params.until] the latest time in ms to fetch funding history for
|
|
3335
|
-
* @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com
|
|
3335
|
+
* @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/?id=funding-history-structure}
|
|
3336
3336
|
*/
|
|
3337
3337
|
async fetchFundingHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3338
3338
|
await this.loadMarkets();
|
|
@@ -3421,7 +3421,7 @@ export default class whitebit extends Exchange {
|
|
|
3421
3421
|
* @param {string} [params.uniqueId] Can be used for filtering transactions by specific unique id
|
|
3422
3422
|
* @param {int} [params.offset] If you want the request to return entries starting from a particular line, you can use OFFSET clause to tell it where it should start. Default: 0, Min: 0, Max: 10000
|
|
3423
3423
|
* @param {string[]} [params.status] Can be used for filtering transactions by status codes. Caution: You must use this parameter with appropriate transactionMethod and use valid status codes for this method. You can find them below. Example: "status": [3,7]
|
|
3424
|
-
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com
|
|
3424
|
+
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
3425
3425
|
*/
|
|
3426
3426
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3427
3427
|
await this.loadMarkets();
|
|
@@ -3485,7 +3485,7 @@ export default class whitebit extends Exchange {
|
|
|
3485
3485
|
* @param {string} toCode the currency that you want to buy and convert into
|
|
3486
3486
|
* @param {float} amount how much you want to trade in units of the from currency
|
|
3487
3487
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3488
|
-
* @returns {object} a [conversion structure]{@link https://docs.ccxt.com
|
|
3488
|
+
* @returns {object} a [conversion structure]{@link https://docs.ccxt.com/?id=conversion-structure}
|
|
3489
3489
|
*/
|
|
3490
3490
|
async fetchConvertQuote(fromCode, toCode, amount = undefined, params = {}) {
|
|
3491
3491
|
await this.loadMarkets();
|
|
@@ -3521,7 +3521,7 @@ export default class whitebit extends Exchange {
|
|
|
3521
3521
|
* @param {string} toCode the currency that you want to buy and convert into
|
|
3522
3522
|
* @param {float} [amount] how much you want to trade in units of the from currency
|
|
3523
3523
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3524
|
-
* @returns {object} a [conversion structure]{@link https://docs.ccxt.com
|
|
3524
|
+
* @returns {object} a [conversion structure]{@link https://docs.ccxt.com/?id=conversion-structure}
|
|
3525
3525
|
*/
|
|
3526
3526
|
async createConvertTrade(id, fromCode, toCode, amount = undefined, params = {}) {
|
|
3527
3527
|
await this.loadMarkets();
|
|
@@ -3552,7 +3552,7 @@ export default class whitebit extends Exchange {
|
|
|
3552
3552
|
* @param {string} [params.fromTicker] the currency that you sold and converted from
|
|
3553
3553
|
* @param {string} [params.toTicker] the currency that you bought and converted into
|
|
3554
3554
|
* @param {string} [params.quoteId] the quote id of the conversion
|
|
3555
|
-
* @returns {object[]} a list of [conversion structures]{@link https://docs.ccxt.com
|
|
3555
|
+
* @returns {object[]} a list of [conversion structures]{@link https://docs.ccxt.com/?id=conversion-structure}
|
|
3556
3556
|
*/
|
|
3557
3557
|
async fetchConvertTradeHistory(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3558
3558
|
await this.loadMarkets();
|
|
@@ -3665,7 +3665,7 @@ export default class whitebit extends Exchange {
|
|
|
3665
3665
|
* @param {int} [limit] the maximum amount of records to fetch
|
|
3666
3666
|
* @param {object} [params] extra parameters specific to the exchange api endpoint
|
|
3667
3667
|
* @param {int} [params.positionId] the id of the requested position
|
|
3668
|
-
* @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com
|
|
3668
|
+
* @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3669
3669
|
*/
|
|
3670
3670
|
async fetchPositionHistory(symbol, since = undefined, limit = undefined, params = {}) {
|
|
3671
3671
|
await this.loadMarkets();
|
|
@@ -3714,7 +3714,7 @@ export default class whitebit extends Exchange {
|
|
|
3714
3714
|
* @see https://docs.whitebit.com/private/http-trade-v4/#open-positions
|
|
3715
3715
|
* @param {string[]} [symbols] list of unified market symbols
|
|
3716
3716
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3717
|
-
* @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com
|
|
3717
|
+
* @returns {object[]} a list of [position structures]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3718
3718
|
*/
|
|
3719
3719
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
3720
3720
|
await this.loadMarkets();
|
|
@@ -3750,7 +3750,7 @@ export default class whitebit extends Exchange {
|
|
|
3750
3750
|
* @see https://docs.whitebit.com/private/http-trade-v4/#open-positions
|
|
3751
3751
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
3752
3752
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3753
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
3753
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3754
3754
|
*/
|
|
3755
3755
|
async fetchPosition(symbol, params = {}) {
|
|
3756
3756
|
await this.loadMarkets();
|
|
@@ -3869,7 +3869,7 @@ export default class whitebit extends Exchange {
|
|
|
3869
3869
|
* @see https://docs.whitebit.com/private/http-main-v4/#get-plans
|
|
3870
3870
|
* @param {string} code unified currency code
|
|
3871
3871
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3872
|
-
* @returns {object} a [borrow rate structure]{@link https://docs.ccxt.com
|
|
3872
|
+
* @returns {object} a [borrow rate structure]{@link https://docs.ccxt.com/?id=borrow-rate-structure}
|
|
3873
3873
|
*/
|
|
3874
3874
|
async fetchCrossBorrowRate(code, params = {}) {
|
|
3875
3875
|
await this.loadMarkets();
|