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/exmo.js
CHANGED
|
@@ -356,7 +356,7 @@ export default class exmo extends Exchange {
|
|
|
356
356
|
* @param {string} symbol unified market symbol
|
|
357
357
|
* @param {float} amount the amount of margin to remove
|
|
358
358
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
359
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
359
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=reduce-margin-structure}
|
|
360
360
|
*/
|
|
361
361
|
async reduceMargin(symbol, amount, params = {}) {
|
|
362
362
|
return await this.modifyMarginHelper(symbol, amount, 'reduce', params);
|
|
@@ -369,7 +369,7 @@ export default class exmo extends Exchange {
|
|
|
369
369
|
* @param {string} symbol unified market symbol
|
|
370
370
|
* @param {float} amount amount of margin to add
|
|
371
371
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
372
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
372
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=add-margin-structure}
|
|
373
373
|
*/
|
|
374
374
|
async addMargin(symbol, amount, params = {}) {
|
|
375
375
|
return await this.modifyMarginHelper(symbol, amount, 'add', params);
|
|
@@ -381,7 +381,7 @@ export default class exmo extends Exchange {
|
|
|
381
381
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#90927062-256c-4b03-900f-2b99131f9a54
|
|
382
382
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#7de7e75c-5833-45a8-b937-c2276d235aaa
|
|
383
383
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
384
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
384
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
385
385
|
*/
|
|
386
386
|
async fetchTradingFees(params = {}) {
|
|
387
387
|
const options = this.safeValue(this.options, 'fetchTradingFees', {});
|
|
@@ -510,7 +510,7 @@ export default class exmo extends Exchange {
|
|
|
510
510
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
|
511
511
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
512
512
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
513
|
-
* @returns {object} a list of [transaction fees structures]{@link https://docs.ccxt.com
|
|
513
|
+
* @returns {object} a list of [transaction fees structures]{@link https://docs.ccxt.com/?id=fees-structure}
|
|
514
514
|
*/
|
|
515
515
|
async fetchTransactionFees(codes = undefined, params = {}) {
|
|
516
516
|
await this.loadMarkets();
|
|
@@ -583,7 +583,7 @@ export default class exmo extends Exchange {
|
|
|
583
583
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
|
|
584
584
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
585
585
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
586
|
-
* @returns {object} a list of [transaction fees structures]{@link https://docs.ccxt.com
|
|
586
|
+
* @returns {object} a list of [transaction fees structures]{@link https://docs.ccxt.com/?id=fees-structure}
|
|
587
587
|
*/
|
|
588
588
|
async fetchDepositWithdrawFees(codes = undefined, params = {}) {
|
|
589
589
|
await this.loadMarkets();
|
|
@@ -1068,7 +1068,7 @@ export default class exmo extends Exchange {
|
|
|
1068
1068
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8388df7-1f9f-4d41-81c4-5a387d171dc6
|
|
1069
1069
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1070
1070
|
* @param {string} [params.marginMode] *isolated* fetches the isolated margin balance
|
|
1071
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1071
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1072
1072
|
*/
|
|
1073
1073
|
async fetchBalance(params = {}) {
|
|
1074
1074
|
await this.loadMarkets();
|
|
@@ -1117,7 +1117,7 @@ export default class exmo extends Exchange {
|
|
|
1117
1117
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1118
1118
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
1119
1119
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1120
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
1120
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
1121
1121
|
*/
|
|
1122
1122
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
1123
1123
|
await this.loadMarkets();
|
|
@@ -1140,7 +1140,7 @@ export default class exmo extends Exchange {
|
|
|
1140
1140
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
1141
1141
|
* @param {int} [limit] max number of entries per orderbook to return, default is undefined
|
|
1142
1142
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1143
|
-
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
1143
|
+
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbol
|
|
1144
1144
|
*/
|
|
1145
1145
|
async fetchOrderBooks(symbols = undefined, limit = undefined, params = {}) {
|
|
1146
1146
|
await this.loadMarkets();
|
|
@@ -1220,7 +1220,7 @@ export default class exmo extends Exchange {
|
|
|
1220
1220
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
|
|
1221
1221
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1222
1222
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1223
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1223
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1224
1224
|
*/
|
|
1225
1225
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1226
1226
|
await this.loadMarkets();
|
|
@@ -1259,7 +1259,7 @@ export default class exmo extends Exchange {
|
|
|
1259
1259
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
|
|
1260
1260
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1261
1261
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1262
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1262
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1263
1263
|
*/
|
|
1264
1264
|
async fetchTicker(symbol, params = {}) {
|
|
1265
1265
|
await this.loadMarkets();
|
|
@@ -1366,7 +1366,7 @@ export default class exmo extends Exchange {
|
|
|
1366
1366
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1367
1367
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1368
1368
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1369
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1369
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1370
1370
|
*/
|
|
1371
1371
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1372
1372
|
await this.loadMarkets();
|
|
@@ -1413,7 +1413,7 @@ export default class exmo extends Exchange {
|
|
|
1413
1413
|
*
|
|
1414
1414
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
1415
1415
|
* @param {int} [params.offset] last deal offset, default = 0
|
|
1416
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1416
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1417
1417
|
*/
|
|
1418
1418
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1419
1419
|
if (symbol === undefined) {
|
|
@@ -1512,7 +1512,7 @@ export default class exmo extends Exchange {
|
|
|
1512
1512
|
* @param {string} side 'buy' or 'sell'
|
|
1513
1513
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
1514
1514
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1515
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1515
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1516
1516
|
*/
|
|
1517
1517
|
async createMarketOrderWithCost(symbol, side, cost, params = {}) {
|
|
1518
1518
|
await this.loadMarkets();
|
|
@@ -1527,7 +1527,7 @@ export default class exmo extends Exchange {
|
|
|
1527
1527
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
1528
1528
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
1529
1529
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1530
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1530
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1531
1531
|
*/
|
|
1532
1532
|
async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
|
|
1533
1533
|
await this.loadMarkets();
|
|
@@ -1542,7 +1542,7 @@ export default class exmo extends Exchange {
|
|
|
1542
1542
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
1543
1543
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
1544
1544
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1545
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1545
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1546
1546
|
*/
|
|
1547
1547
|
async createMarketSellOrderWithCost(symbol, cost, params = {}) {
|
|
1548
1548
|
await this.loadMarkets();
|
|
@@ -1566,7 +1566,7 @@ export default class exmo extends Exchange {
|
|
|
1566
1566
|
* @param {string} [params.timeInForce] *spot only* 'fok', 'ioc' or 'post_only'
|
|
1567
1567
|
* @param {boolean} [params.postOnly] *spot only* true for post only orders
|
|
1568
1568
|
* @param {float} [params.cost] *spot only* *market orders only* the cost of the order in the quote currency for market orders
|
|
1569
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1569
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1570
1570
|
*/
|
|
1571
1571
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1572
1572
|
await this.loadMarkets();
|
|
@@ -1687,7 +1687,7 @@ export default class exmo extends Exchange {
|
|
|
1687
1687
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1688
1688
|
* @param {boolean} [params.trigger] true to cancel a trigger order
|
|
1689
1689
|
* @param {string} [params.marginMode] set to 'cross' or 'isolated' to cancel a margin order
|
|
1690
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1690
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1691
1691
|
*/
|
|
1692
1692
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1693
1693
|
await this.loadMarkets();
|
|
@@ -1736,7 +1736,7 @@ export default class exmo extends Exchange {
|
|
|
1736
1736
|
* @param {string} id order id
|
|
1737
1737
|
* @param {string} symbol not used by exmo fetchOrder
|
|
1738
1738
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1739
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1739
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1740
1740
|
*/
|
|
1741
1741
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1742
1742
|
await this.loadMarkets();
|
|
@@ -1781,7 +1781,7 @@ export default class exmo extends Exchange {
|
|
|
1781
1781
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
1782
1782
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1783
1783
|
* @param {string} [params.marginMode] set to "isolated" to fetch trades for a margin order
|
|
1784
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1784
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1785
1785
|
*/
|
|
1786
1786
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1787
1787
|
let marginMode = undefined;
|
|
@@ -1858,7 +1858,7 @@ export default class exmo extends Exchange {
|
|
|
1858
1858
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1859
1859
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1860
1860
|
* @param {string} [params.marginMode] set to "isolated" for margin orders
|
|
1861
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1861
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1862
1862
|
*/
|
|
1863
1863
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1864
1864
|
await this.loadMarkets();
|
|
@@ -2121,7 +2121,7 @@ export default class exmo extends Exchange {
|
|
|
2121
2121
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
2122
2122
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2123
2123
|
* @param {string} [params.marginMode] set to "isolated" for margin orders
|
|
2124
|
-
* @returns {object} a list of [order structures]{@link https://docs.ccxt.com
|
|
2124
|
+
* @returns {object} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2125
2125
|
*/
|
|
2126
2126
|
async fetchCanceledOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2127
2127
|
await this.loadMarkets();
|
|
@@ -2226,7 +2226,7 @@ export default class exmo extends Exchange {
|
|
|
2226
2226
|
* @param {int} [params.distance] distance for trailing stop orders
|
|
2227
2227
|
* @param {int} [params.expire] expiration timestamp in UTC timezone for the order. order will not be expired if expire is 0
|
|
2228
2228
|
* @param {string} [params.comment] optional comment for order. up to 50 latin symbols, whitespaces, underscores
|
|
2229
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2229
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2230
2230
|
*/
|
|
2231
2231
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
2232
2232
|
await this.loadMarkets();
|
|
@@ -2260,7 +2260,7 @@ export default class exmo extends Exchange {
|
|
|
2260
2260
|
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8f9ced9-7ab6-4383-a6a4-bc54469ba60e
|
|
2261
2261
|
* @param {string} code unified currency code
|
|
2262
2262
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2263
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2263
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2264
2264
|
*/
|
|
2265
2265
|
async fetchDepositAddress(code, params = {}) {
|
|
2266
2266
|
await this.loadMarkets();
|
|
@@ -2310,7 +2310,7 @@ export default class exmo extends Exchange {
|
|
|
2310
2310
|
* @param {string} address the address to withdraw to
|
|
2311
2311
|
* @param {string} tag
|
|
2312
2312
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2313
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2313
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2314
2314
|
*/
|
|
2315
2315
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2316
2316
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2489,7 +2489,7 @@ export default class exmo extends Exchange {
|
|
|
2489
2489
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
2490
2490
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
2491
2491
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2492
|
-
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com
|
|
2492
|
+
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2493
2493
|
*/
|
|
2494
2494
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2495
2495
|
await this.loadMarkets();
|
|
@@ -2543,7 +2543,7 @@ export default class exmo extends Exchange {
|
|
|
2543
2543
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
2544
2544
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
2545
2545
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2546
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
2546
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2547
2547
|
*/
|
|
2548
2548
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2549
2549
|
await this.loadMarkets();
|
|
@@ -2596,7 +2596,7 @@ export default class exmo extends Exchange {
|
|
|
2596
2596
|
* @param {string} id withdrawal id
|
|
2597
2597
|
* @param {string} code unified currency code of the currency withdrawn, default is undefined
|
|
2598
2598
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2599
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2599
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2600
2600
|
*/
|
|
2601
2601
|
async fetchWithdrawal(id, code = undefined, params = {}) {
|
|
2602
2602
|
await this.loadMarkets();
|
|
@@ -2648,7 +2648,7 @@ export default class exmo extends Exchange {
|
|
|
2648
2648
|
* @param {string} id deposit id
|
|
2649
2649
|
* @param {string} code unified currency code, default is undefined
|
|
2650
2650
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2651
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2651
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2652
2652
|
*/
|
|
2653
2653
|
async fetchDeposit(id, code = undefined, params = {}) {
|
|
2654
2654
|
await this.loadMarkets();
|
|
@@ -2701,7 +2701,7 @@ export default class exmo extends Exchange {
|
|
|
2701
2701
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
2702
2702
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
2703
2703
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2704
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
2704
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2705
2705
|
*/
|
|
2706
2706
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2707
2707
|
await this.loadMarkets();
|
package/js/src/foxbit.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export default class foxbit extends Exchange {
|
|
|
23
23
|
* @see https://docs.foxbit.com.br/rest/v3/#tag/Market-Data/operation/MarketsController_ticker
|
|
24
24
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
25
25
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
26
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
26
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
27
27
|
*/
|
|
28
28
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
29
29
|
/**
|
|
@@ -33,7 +33,7 @@ export default class foxbit extends Exchange {
|
|
|
33
33
|
* @see https://docs.foxbit.com.br/rest/v3/#tag/Market-Data/operation/MarketsController_tickers
|
|
34
34
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
35
35
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
36
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
36
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
37
37
|
*/
|
|
38
38
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ export default class foxbit extends Exchange {
|
|
|
42
42
|
* @description fetch the trading fees for multiple markets
|
|
43
43
|
* @see https://docs.foxbit.com.br/rest/v3/#tag/Member-Info/operation/MembersController_listTradingFees
|
|
44
44
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
45
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
45
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
46
46
|
*/
|
|
47
47
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
48
48
|
/**
|
|
@@ -53,7 +53,7 @@ export default class foxbit extends Exchange {
|
|
|
53
53
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
54
54
|
* @param {int} [limit] the maximum amount of order book entries to return, the maximum is 100
|
|
55
55
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
56
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
56
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
57
57
|
*/
|
|
58
58
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
59
59
|
/**
|
|
@@ -65,7 +65,7 @@ export default class foxbit extends Exchange {
|
|
|
65
65
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
66
66
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
67
67
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
68
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
68
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
69
69
|
*/
|
|
70
70
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
71
71
|
/**
|
|
@@ -87,7 +87,7 @@ export default class foxbit extends Exchange {
|
|
|
87
87
|
* @description Query for balance and get the amount of funds available for trading or funds locked in orders.
|
|
88
88
|
* @see https://docs.foxbit.com.br/rest/v3/#tag/Account/operation/AccountsController_all
|
|
89
89
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
90
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
90
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
91
91
|
*/
|
|
92
92
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
93
93
|
/**
|
|
@@ -99,7 +99,7 @@ export default class foxbit extends Exchange {
|
|
|
99
99
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
100
100
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
101
101
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
102
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
102
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
103
103
|
*/
|
|
104
104
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
105
105
|
/**
|
|
@@ -111,7 +111,7 @@ export default class foxbit extends Exchange {
|
|
|
111
111
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
112
112
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
113
113
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
114
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
114
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
115
115
|
*/
|
|
116
116
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
117
117
|
fetchCanceledOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
@@ -131,7 +131,7 @@ export default class foxbit extends Exchange {
|
|
|
131
131
|
* @param {float} [params.triggerPrice] The time in force for the order. One of GTC, FOK, IOC, PO. See .features or foxbit's doc to see more details.
|
|
132
132
|
* @param {bool} [params.postOnly] true or false whether the order is post-only
|
|
133
133
|
* @param {string} [params.clientOrderId] a unique identifier for the order
|
|
134
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
134
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
135
135
|
*/
|
|
136
136
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
137
137
|
/**
|
|
@@ -141,7 +141,7 @@ export default class foxbit extends Exchange {
|
|
|
141
141
|
* @see https://docs.foxbit.com.br/rest/v3/#tag/Trading/operation/createBatch
|
|
142
142
|
* @param {Array} orders list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
|
|
143
143
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
144
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
144
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
145
145
|
*/
|
|
146
146
|
createOrders(orders: OrderRequest[], params?: {}): Promise<Order[]>;
|
|
147
147
|
/**
|
|
@@ -152,7 +152,7 @@ export default class foxbit extends Exchange {
|
|
|
152
152
|
* @param {string} id order id
|
|
153
153
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
154
154
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
155
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
155
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
156
156
|
*/
|
|
157
157
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
158
158
|
/**
|
|
@@ -162,7 +162,7 @@ export default class foxbit extends Exchange {
|
|
|
162
162
|
* @see https://docs.foxbit.com.br/rest/v3/#tag/Trading/operation/OrdersController_cancel
|
|
163
163
|
* @param {string} symbol unified market symbol of the market to cancel orders in
|
|
164
164
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
165
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
165
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
166
166
|
*/
|
|
167
167
|
cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
|
|
168
168
|
/**
|
|
@@ -173,7 +173,7 @@ export default class foxbit extends Exchange {
|
|
|
173
173
|
* @param id
|
|
174
174
|
* @param {string} symbol it is not used in the foxbit API
|
|
175
175
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
176
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
176
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
177
177
|
*/
|
|
178
178
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
179
179
|
/**
|
|
@@ -187,7 +187,7 @@ export default class foxbit extends Exchange {
|
|
|
187
187
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
188
188
|
* @param {string} [params.state] Enum: ACTIVE, CANCELED, FILLED, PARTIALLY_CANCELED, PARTIALLY_FILLED
|
|
189
189
|
* @param {string} [params.side] Enum: BUY, SELL
|
|
190
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
190
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
191
191
|
*/
|
|
192
192
|
fetchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
193
193
|
/**
|
|
@@ -199,7 +199,7 @@ export default class foxbit extends Exchange {
|
|
|
199
199
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
200
200
|
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
201
201
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
202
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
202
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
203
203
|
*/
|
|
204
204
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
205
205
|
/**
|
|
@@ -210,7 +210,7 @@ export default class foxbit extends Exchange {
|
|
|
210
210
|
* @param {string} code unified currency code
|
|
211
211
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
212
212
|
* @param {string} [params.networkCode] the blockchain network to create a deposit address on
|
|
213
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
213
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
214
214
|
*/
|
|
215
215
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
216
216
|
/**
|
|
@@ -222,7 +222,7 @@ export default class foxbit extends Exchange {
|
|
|
222
222
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
223
223
|
* @param {int} [limit] the maximum number of deposit structures to retrieve
|
|
224
224
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
225
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
225
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
226
226
|
*/
|
|
227
227
|
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
228
228
|
/**
|
|
@@ -234,7 +234,7 @@ export default class foxbit extends Exchange {
|
|
|
234
234
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
235
235
|
* @param {int} [limit] the maximum number of withdrawal structures to retrieve
|
|
236
236
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
237
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
237
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
238
238
|
*/
|
|
239
239
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
240
240
|
/**
|
|
@@ -247,7 +247,7 @@ export default class foxbit extends Exchange {
|
|
|
247
247
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
248
248
|
* @param {int} [limit] the maximum number of withdrawal structures to retrieve
|
|
249
249
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
250
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
250
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
251
251
|
*/
|
|
252
252
|
fetchTransactions(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
253
253
|
/**
|
|
@@ -256,7 +256,7 @@ export default class foxbit extends Exchange {
|
|
|
256
256
|
* @description The latest known information on the availability of the exchange API.
|
|
257
257
|
* @see https://status.foxbit.com/
|
|
258
258
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
259
|
-
* @returns {object} a [status structure]{@link https://docs.ccxt.com
|
|
259
|
+
* @returns {object} a [status structure]{@link https://docs.ccxt.com/?id=exchange-status-structure}
|
|
260
260
|
*/
|
|
261
261
|
fetchStatus(params?: {}): Promise<{
|
|
262
262
|
status: string;
|
|
@@ -277,7 +277,7 @@ export default class foxbit extends Exchange {
|
|
|
277
277
|
* @param {float} amount how much of the currency you want to trade in units of the base currency
|
|
278
278
|
* @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders, used as stop_price on stop market orders
|
|
279
279
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
280
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
280
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
281
281
|
*/
|
|
282
282
|
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
283
283
|
/**
|
|
@@ -290,7 +290,7 @@ export default class foxbit extends Exchange {
|
|
|
290
290
|
* @param {string} address the address to withdraw to
|
|
291
291
|
* @param {string} tag
|
|
292
292
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
293
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
293
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
294
294
|
*/
|
|
295
295
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
296
296
|
/**
|
|
@@ -302,7 +302,7 @@ export default class foxbit extends Exchange {
|
|
|
302
302
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
303
303
|
* @param {int} [limit] max number of ledger entrys to return, default is undefined
|
|
304
304
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
305
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
305
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger-structure}
|
|
306
306
|
*/
|
|
307
307
|
fetchLedger(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<import("./base/types.js").LedgerEntry[]>;
|
|
308
308
|
parseMarket(market: Dict): Market;
|