ccxt 4.5.28 → 4.5.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -5
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/alpaca.js +21 -21
- package/dist/cjs/src/apex.js +20 -20
- package/dist/cjs/src/arkham.js +22 -22
- package/dist/cjs/src/ascendex.js +28 -28
- package/dist/cjs/src/backpack.js +22 -22
- package/dist/cjs/src/base/Exchange.js +48 -38
- package/dist/cjs/src/base/functions/throttle.js +54 -5
- package/dist/cjs/src/bigone.js +19 -19
- package/dist/cjs/src/binance.js +83 -82
- package/dist/cjs/src/bingx.js +46 -46
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +49 -48
- package/dist/cjs/src/bitbns.js +13 -13
- package/dist/cjs/src/bitfinex.js +33 -33
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitget.js +58 -57
- package/dist/cjs/src/bithumb.js +10 -10
- package/dist/cjs/src/bitmart.js +44 -44
- package/dist/cjs/src/bitmex.js +24 -24
- package/dist/cjs/src/bitopro.js +20 -20
- package/dist/cjs/src/bitrue.js +18 -18
- package/dist/cjs/src/bitso.js +20 -20
- package/dist/cjs/src/bitstamp.js +21 -21
- package/dist/cjs/src/bittrade.js +20 -20
- package/dist/cjs/src/bitvavo.js +19 -19
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/blofin.js +26 -26
- package/dist/cjs/src/btcalpha.js +35 -34
- package/dist/cjs/src/btcbox.js +10 -10
- package/dist/cjs/src/btcmarkets.js +16 -16
- package/dist/cjs/src/btcturk.js +10 -10
- package/dist/cjs/src/bullish.js +26 -26
- package/dist/cjs/src/bybit.js +67 -67
- package/dist/cjs/src/cex.js +18 -18
- package/dist/cjs/src/coinbase.js +40 -40
- package/dist/cjs/src/coinbaseexchange.js +22 -22
- package/dist/cjs/src/coinbaseinternational.js +22 -22
- package/dist/cjs/src/coincatch.js +39 -39
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +48 -48
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinmetro.js +14 -14
- package/dist/cjs/src/coinone.js +11 -11
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +8 -8
- package/dist/cjs/src/cryptocom.js +32 -32
- package/dist/cjs/src/cryptomus.js +9 -9
- package/dist/cjs/src/deepcoin.js +33 -33
- package/dist/cjs/src/defx.js +23 -23
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +36 -36
- package/dist/cjs/src/derive.js +19 -19
- package/dist/cjs/src/digifinex.js +36 -36
- package/dist/cjs/src/dydx.js +22 -22
- package/dist/cjs/src/exmo.js +29 -29
- package/dist/cjs/src/foxbit.js +23 -23
- package/dist/cjs/src/gate.js +57 -57
- package/dist/cjs/src/gemini.js +16 -16
- package/dist/cjs/src/hashkey.js +35 -35
- package/dist/cjs/src/hibachi.js +24 -24
- package/dist/cjs/src/hitbtc.js +38 -38
- package/dist/cjs/src/hollaex.js +22 -22
- package/dist/cjs/src/htx.js +50 -50
- package/dist/cjs/src/hyperliquid.js +76 -42
- package/dist/cjs/src/independentreserve.js +13 -13
- package/dist/cjs/src/indodax.js +14 -14
- package/dist/cjs/src/kraken.js +30 -30
- package/dist/cjs/src/krakenfutures.js +21 -21
- package/dist/cjs/src/kucoin.js +44 -44
- package/dist/cjs/src/kucoinfutures.js +42 -40
- package/dist/cjs/src/latoken.js +16 -16
- package/dist/cjs/src/lbank.js +23 -23
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/mercado.js +11 -11
- package/dist/cjs/src/mexc.js +47 -47
- package/dist/cjs/src/modetrade.js +37 -35
- package/dist/cjs/src/ndax.js +19 -19
- package/dist/cjs/src/novadax.js +19 -19
- package/dist/cjs/src/oceanex.js +16 -16
- package/dist/cjs/src/okx.js +83 -83
- package/dist/cjs/src/onetrading.js +34 -33
- package/dist/cjs/src/oxfun.js +25 -25
- package/dist/cjs/src/p2b.js +11 -11
- package/dist/cjs/src/paradex.js +54 -54
- package/dist/cjs/src/paymium.js +20 -21
- package/dist/cjs/src/phemex.js +35 -35
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/apex.js +8 -8
- package/dist/cjs/src/pro/arkham.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/backpack.js +16 -16
- package/dist/cjs/src/pro/binance.js +35 -35
- package/dist/cjs/src/pro/bingx.js +9 -9
- package/dist/cjs/src/pro/bitfinex.js +8 -8
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bithumb.js +3 -3
- package/dist/cjs/src/pro/bitmart.js +388 -31
- package/dist/cjs/src/pro/bitmex.js +9 -9
- package/dist/cjs/src/pro/bitopro.js +5 -5
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrade.js +3 -3
- package/dist/cjs/src/pro/bitvavo.js +19 -19
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/blofin.js +10 -10
- package/dist/cjs/src/pro/bullish.js +6 -6
- package/dist/cjs/src/pro/bybit.js +19 -19
- package/dist/cjs/src/pro/cex.js +13 -13
- package/dist/cjs/src/pro/coinbase.js +13 -13
- package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
- package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
- package/dist/cjs/src/pro/coincatch.js +10 -10
- package/dist/cjs/src/pro/coincheck.js +2 -2
- package/dist/cjs/src/pro/coinex.js +10 -10
- package/dist/cjs/src/pro/coinone.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +20 -20
- package/dist/cjs/src/pro/deepcoin.js +8 -8
- package/dist/cjs/src/pro/defx.js +15 -15
- package/dist/cjs/src/pro/deribit.js +10 -10
- package/dist/cjs/src/pro/derive.js +6 -6
- package/dist/cjs/src/pro/dydx.js +3 -3
- package/dist/cjs/src/pro/exmo.js +7 -7
- package/dist/cjs/src/pro/gate.js +21 -59
- package/dist/cjs/src/pro/gemini.js +6 -6
- package/dist/cjs/src/pro/hashkey.js +6 -6
- package/dist/cjs/src/pro/hitbtc.js +8 -8
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +9 -9
- package/dist/cjs/src/pro/hyperliquid.js +103 -14
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +15 -15
- package/dist/cjs/src/pro/krakenfutures.js +10 -10
- package/dist/cjs/src/pro/kucoin.js +15 -15
- package/dist/cjs/src/pro/kucoinfutures.js +13 -13
- package/dist/cjs/src/pro/lbank.js +5 -5
- package/dist/cjs/src/pro/luno.js +2 -2
- package/dist/cjs/src/pro/mexc.js +13 -13
- package/dist/cjs/src/pro/modetrade.js +8 -8
- package/dist/cjs/src/pro/ndax.js +3 -3
- package/dist/cjs/src/pro/okx.js +25 -25
- package/dist/cjs/src/pro/onetrading.js +6 -6
- package/dist/cjs/src/pro/oxfun.js +13 -13
- package/dist/cjs/src/pro/p2b.js +5 -5
- package/dist/cjs/src/pro/paradex.js +8 -8
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +8 -8
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/toobit.js +9 -9
- package/dist/cjs/src/pro/upbit.js +9 -9
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +13 -13
- package/dist/cjs/src/pro/woofipro.js +20 -20
- package/dist/cjs/src/pro/xt.js +2 -2
- package/dist/cjs/src/probit.js +18 -18
- package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
- package/dist/cjs/src/timex.js +16 -16
- package/dist/cjs/src/tokocrypto.js +17 -17
- package/dist/cjs/src/toobit.js +31 -29
- package/dist/cjs/src/upbit.js +23 -23
- package/dist/cjs/src/wavesexchange.js +86 -85
- package/dist/cjs/src/whitebit.js +44 -44
- package/dist/cjs/src/woo.js +51 -49
- package/dist/cjs/src/woofipro.js +104 -82
- package/dist/cjs/src/xt.js +17 -12
- package/dist/cjs/src/yobit.js +15 -15
- package/dist/cjs/src/zaif.js +38 -9
- package/dist/cjs/src/zebpay.js +35 -20
- package/dist/cjs/src/zonda.js +14 -14
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/alpaca.d.ts +21 -21
- package/js/src/alpaca.js +21 -21
- package/js/src/apex.d.ts +20 -20
- package/js/src/apex.js +20 -20
- package/js/src/arkham.d.ts +22 -22
- package/js/src/arkham.js +22 -22
- package/js/src/ascendex.d.ts +28 -28
- package/js/src/ascendex.js +28 -28
- package/js/src/backpack.d.ts +21 -21
- package/js/src/backpack.js +22 -22
- package/js/src/base/Exchange.d.ts +6 -3
- package/js/src/base/Exchange.js +48 -38
- package/js/src/base/functions/throttle.d.ts +22 -0
- package/js/src/base/functions/throttle.js +54 -5
- package/js/src/bigone.d.ts +19 -19
- package/js/src/bigone.js +19 -19
- package/js/src/binance.d.ts +82 -82
- package/js/src/binance.js +83 -82
- package/js/src/bingx.d.ts +46 -46
- package/js/src/bingx.js +46 -46
- package/js/src/bit2c.d.ts +11 -11
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.d.ts +12 -12
- package/js/src/bitbank.js +49 -48
- package/js/src/bitbns.d.ts +13 -13
- package/js/src/bitbns.js +13 -13
- package/js/src/bitfinex.d.ts +33 -33
- package/js/src/bitfinex.js +33 -33
- package/js/src/bitflyer.d.ts +17 -17
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitget.d.ts +57 -57
- package/js/src/bitget.js +58 -57
- package/js/src/bithumb.d.ts +10 -10
- package/js/src/bithumb.js +10 -10
- package/js/src/bitmart.d.ts +42 -42
- package/js/src/bitmart.js +44 -44
- package/js/src/bitmex.d.ts +24 -24
- package/js/src/bitmex.js +24 -24
- package/js/src/bitopro.d.ts +20 -20
- package/js/src/bitopro.js +20 -20
- package/js/src/bitrue.d.ts +18 -18
- package/js/src/bitrue.js +18 -18
- package/js/src/bitso.d.ts +20 -20
- package/js/src/bitso.js +20 -20
- package/js/src/bitstamp.d.ts +21 -21
- package/js/src/bitstamp.js +21 -21
- package/js/src/bittrade.d.ts +20 -20
- package/js/src/bittrade.js +20 -20
- package/js/src/bitvavo.d.ts +19 -19
- package/js/src/bitvavo.js +19 -19
- package/js/src/blockchaincom.d.ts +20 -20
- package/js/src/blockchaincom.js +20 -20
- package/js/src/blofin.d.ts +26 -26
- package/js/src/blofin.js +26 -26
- package/js/src/btcalpha.d.ts +14 -14
- package/js/src/btcalpha.js +35 -34
- package/js/src/btcbox.d.ts +10 -10
- package/js/src/btcbox.js +10 -10
- package/js/src/btcmarkets.d.ts +16 -16
- package/js/src/btcmarkets.js +16 -16
- package/js/src/btcturk.d.ts +10 -10
- package/js/src/btcturk.js +10 -10
- package/js/src/bullish.d.ts +26 -26
- package/js/src/bullish.js +26 -26
- package/js/src/bybit.d.ts +66 -66
- package/js/src/bybit.js +67 -67
- package/js/src/cex.d.ts +18 -18
- package/js/src/cex.js +18 -18
- package/js/src/coinbase.d.ts +40 -40
- package/js/src/coinbase.js +40 -40
- package/js/src/coinbaseexchange.d.ts +22 -22
- package/js/src/coinbaseexchange.js +22 -22
- package/js/src/coinbaseinternational.d.ts +22 -22
- package/js/src/coinbaseinternational.js +22 -22
- package/js/src/coincatch.d.ts +39 -39
- package/js/src/coincatch.js +39 -39
- package/js/src/coincheck.d.ts +11 -11
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.d.ts +48 -48
- package/js/src/coinex.js +48 -48
- package/js/src/coinmate.d.ts +14 -14
- package/js/src/coinmate.js +14 -14
- package/js/src/coinmetro.d.ts +14 -14
- package/js/src/coinmetro.js +14 -14
- package/js/src/coinone.d.ts +11 -11
- package/js/src/coinone.js +11 -11
- package/js/src/coinsph.d.ts +20 -20
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.d.ts +8 -8
- package/js/src/coinspot.js +8 -8
- package/js/src/cryptocom.d.ts +32 -32
- package/js/src/cryptocom.js +32 -32
- package/js/src/cryptomus.d.ts +9 -9
- package/js/src/cryptomus.js +9 -9
- package/js/src/deepcoin.d.ts +33 -33
- package/js/src/deepcoin.js +33 -33
- package/js/src/defx.d.ts +23 -23
- package/js/src/defx.js +23 -23
- package/js/src/delta.d.ts +29 -29
- package/js/src/delta.js +29 -29
- package/js/src/deribit.d.ts +36 -36
- package/js/src/deribit.js +36 -36
- package/js/src/derive.d.ts +19 -19
- package/js/src/derive.js +19 -19
- package/js/src/digifinex.d.ts +36 -36
- package/js/src/digifinex.js +36 -36
- package/js/src/dydx.d.ts +22 -22
- package/js/src/dydx.js +22 -22
- package/js/src/exmo.d.ts +29 -29
- package/js/src/exmo.js +29 -29
- package/js/src/foxbit.d.ts +23 -23
- package/js/src/foxbit.js +23 -23
- package/js/src/gate.d.ts +57 -57
- package/js/src/gate.js +57 -57
- package/js/src/gemini.d.ts +16 -16
- package/js/src/gemini.js +16 -16
- package/js/src/hashkey.d.ts +35 -35
- package/js/src/hashkey.js +35 -35
- package/js/src/hibachi.d.ts +24 -24
- package/js/src/hibachi.js +24 -24
- package/js/src/hitbtc.d.ts +38 -38
- package/js/src/hitbtc.js +38 -38
- package/js/src/hollaex.d.ts +22 -22
- package/js/src/hollaex.js +22 -22
- package/js/src/htx.d.ts +50 -50
- package/js/src/htx.js +50 -50
- package/js/src/hyperliquid.d.ts +46 -36
- package/js/src/hyperliquid.js +76 -42
- package/js/src/independentreserve.d.ts +13 -13
- package/js/src/independentreserve.js +13 -13
- package/js/src/indodax.d.ts +14 -14
- package/js/src/indodax.js +14 -14
- package/js/src/kraken.d.ts +30 -30
- package/js/src/kraken.js +30 -30
- package/js/src/krakenfutures.d.ts +21 -21
- package/js/src/krakenfutures.js +21 -21
- package/js/src/kucoin.d.ts +44 -44
- package/js/src/kucoin.js +44 -44
- package/js/src/kucoinfutures.d.ts +35 -35
- package/js/src/kucoinfutures.js +42 -40
- package/js/src/latoken.d.ts +16 -16
- package/js/src/latoken.js +16 -16
- package/js/src/lbank.d.ts +23 -23
- package/js/src/lbank.js +23 -23
- package/js/src/luno.d.ts +17 -17
- package/js/src/luno.js +17 -17
- package/js/src/mercado.d.ts +11 -11
- package/js/src/mercado.js +11 -11
- package/js/src/mexc.d.ts +47 -47
- package/js/src/mexc.js +47 -47
- package/js/src/modetrade.d.ts +31 -31
- package/js/src/modetrade.js +37 -35
- package/js/src/ndax.d.ts +19 -19
- package/js/src/ndax.js +19 -19
- package/js/src/novadax.d.ts +19 -19
- package/js/src/novadax.js +19 -19
- package/js/src/oceanex.d.ts +16 -16
- package/js/src/oceanex.js +16 -16
- package/js/src/okx.d.ts +74 -74
- package/js/src/okx.js +83 -83
- package/js/src/onetrading.d.ts +34 -33
- package/js/src/onetrading.js +34 -33
- package/js/src/oxfun.d.ts +25 -25
- package/js/src/oxfun.js +25 -25
- package/js/src/p2b.d.ts +11 -11
- package/js/src/p2b.js +11 -11
- package/js/src/paradex.d.ts +54 -54
- package/js/src/paradex.js +54 -54
- package/js/src/paymium.d.ts +20 -21
- package/js/src/paymium.js +20 -21
- package/js/src/phemex.d.ts +30 -30
- package/js/src/phemex.js +35 -35
- package/js/src/poloniex.d.ts +26 -26
- package/js/src/poloniex.js +27 -27
- package/js/src/pro/alpaca.d.ts +5 -5
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/apex.d.ts +8 -8
- package/js/src/pro/apex.js +8 -8
- package/js/src/pro/arkham.d.ts +5 -5
- package/js/src/pro/arkham.js +5 -5
- package/js/src/pro/ascendex.d.ts +5 -5
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/backpack.d.ts +16 -16
- package/js/src/pro/backpack.js +16 -16
- package/js/src/pro/binance.d.ts +35 -35
- package/js/src/pro/binance.js +35 -35
- package/js/src/pro/bingx.d.ts +9 -9
- package/js/src/pro/bingx.js +9 -9
- package/js/src/pro/bitfinex.d.ts +8 -8
- package/js/src/pro/bitfinex.js +8 -8
- package/js/src/pro/bitget.d.ts +12 -12
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bithumb.d.ts +3 -3
- package/js/src/pro/bithumb.js +3 -3
- package/js/src/pro/bitmart.d.ts +120 -9
- package/js/src/pro/bitmart.js +388 -31
- package/js/src/pro/bitmex.d.ts +9 -9
- package/js/src/pro/bitmex.js +9 -9
- package/js/src/pro/bitopro.d.ts +5 -5
- package/js/src/pro/bitopro.js +5 -5
- package/js/src/pro/bitrue.d.ts +2 -2
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.d.ts +3 -3
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrade.d.ts +3 -3
- package/js/src/pro/bittrade.js +3 -3
- package/js/src/pro/bitvavo.d.ts +19 -19
- package/js/src/pro/bitvavo.js +19 -19
- package/js/src/pro/blockchaincom.d.ts +5 -5
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/blofin.d.ts +10 -10
- package/js/src/pro/blofin.js +10 -10
- package/js/src/pro/bullish.d.ts +6 -6
- package/js/src/pro/bullish.js +6 -6
- package/js/src/pro/bybit.d.ts +19 -19
- package/js/src/pro/bybit.js +19 -19
- package/js/src/pro/cex.d.ts +13 -13
- package/js/src/pro/cex.js +13 -13
- package/js/src/pro/coinbase.d.ts +13 -13
- package/js/src/pro/coinbase.js +13 -13
- package/js/src/pro/coinbaseexchange.d.ts +10 -10
- package/js/src/pro/coinbaseexchange.js +10 -10
- package/js/src/pro/coinbaseinternational.d.ts +8 -8
- package/js/src/pro/coinbaseinternational.js +8 -8
- package/js/src/pro/coincatch.d.ts +10 -10
- package/js/src/pro/coincatch.js +10 -10
- package/js/src/pro/coincheck.d.ts +2 -2
- package/js/src/pro/coincheck.js +2 -2
- package/js/src/pro/coinex.d.ts +10 -10
- package/js/src/pro/coinex.js +10 -10
- package/js/src/pro/coinone.d.ts +3 -3
- package/js/src/pro/coinone.js +3 -3
- package/js/src/pro/cryptocom.d.ts +20 -20
- package/js/src/pro/cryptocom.js +20 -20
- package/js/src/pro/deepcoin.d.ts +8 -8
- package/js/src/pro/deepcoin.js +8 -8
- package/js/src/pro/defx.d.ts +15 -15
- package/js/src/pro/defx.js +15 -15
- package/js/src/pro/deribit.d.ts +10 -10
- package/js/src/pro/deribit.js +10 -10
- package/js/src/pro/derive.d.ts +6 -6
- package/js/src/pro/derive.js +6 -6
- package/js/src/pro/dydx.d.ts +3 -3
- package/js/src/pro/dydx.js +3 -3
- package/js/src/pro/exmo.d.ts +7 -7
- package/js/src/pro/exmo.js +7 -7
- package/js/src/pro/gate.d.ts +22 -23
- package/js/src/pro/gate.js +21 -59
- package/js/src/pro/gemini.d.ts +6 -6
- package/js/src/pro/gemini.js +6 -6
- package/js/src/pro/hashkey.d.ts +6 -6
- package/js/src/pro/hashkey.js +6 -6
- package/js/src/pro/hitbtc.d.ts +8 -8
- package/js/src/pro/hitbtc.js +8 -8
- package/js/src/pro/hollaex.d.ts +5 -5
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.d.ts +9 -9
- package/js/src/pro/htx.js +9 -9
- package/js/src/pro/hyperliquid.d.ts +38 -14
- package/js/src/pro/hyperliquid.js +103 -14
- package/js/src/pro/independentreserve.d.ts +2 -2
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.d.ts +15 -15
- package/js/src/pro/kraken.js +15 -15
- package/js/src/pro/krakenfutures.d.ts +10 -10
- package/js/src/pro/krakenfutures.js +10 -10
- package/js/src/pro/kucoin.d.ts +15 -15
- package/js/src/pro/kucoin.js +15 -15
- package/js/src/pro/kucoinfutures.d.ts +13 -13
- package/js/src/pro/kucoinfutures.js +13 -13
- package/js/src/pro/lbank.d.ts +5 -5
- package/js/src/pro/lbank.js +5 -5
- package/js/src/pro/luno.d.ts +2 -2
- package/js/src/pro/luno.js +2 -2
- package/js/src/pro/mexc.d.ts +13 -13
- package/js/src/pro/mexc.js +13 -13
- package/js/src/pro/modetrade.d.ts +8 -8
- package/js/src/pro/modetrade.js +8 -8
- package/js/src/pro/ndax.d.ts +3 -3
- package/js/src/pro/ndax.js +3 -3
- package/js/src/pro/okx.d.ts +25 -25
- package/js/src/pro/okx.js +25 -25
- package/js/src/pro/onetrading.d.ts +6 -6
- package/js/src/pro/onetrading.js +6 -6
- package/js/src/pro/oxfun.d.ts +13 -13
- package/js/src/pro/oxfun.js +13 -13
- package/js/src/pro/p2b.d.ts +5 -5
- package/js/src/pro/p2b.js +5 -5
- package/js/src/pro/paradex.d.ts +8 -8
- package/js/src/pro/paradex.js +8 -8
- package/js/src/pro/phemex.d.ts +7 -7
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.d.ts +8 -8
- package/js/src/pro/poloniex.js +8 -8
- package/js/src/pro/probit.d.ts +6 -6
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/toobit.d.ts +9 -9
- package/js/src/pro/toobit.js +9 -9
- package/js/src/pro/upbit.d.ts +9 -9
- package/js/src/pro/upbit.js +9 -9
- package/js/src/pro/whitebit.d.ts +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.d.ts +13 -13
- package/js/src/pro/woo.js +13 -13
- package/js/src/pro/woofipro.d.ts +20 -20
- package/js/src/pro/woofipro.js +20 -20
- package/js/src/pro/xt.d.ts +2 -2
- package/js/src/pro/xt.js +2 -2
- package/js/src/probit.d.ts +18 -18
- package/js/src/probit.js +18 -18
- package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
- package/js/src/static_dependencies/ethers/utils/index.js +8 -1
- package/js/src/timex.d.ts +16 -16
- package/js/src/timex.js +16 -16
- package/js/src/tokocrypto.d.ts +17 -17
- package/js/src/tokocrypto.js +17 -17
- package/js/src/toobit.d.ts +27 -27
- package/js/src/toobit.js +31 -29
- package/js/src/upbit.d.ts +23 -23
- package/js/src/upbit.js +23 -23
- package/js/src/wavesexchange.d.ts +15 -15
- package/js/src/wavesexchange.js +86 -85
- package/js/src/whitebit.d.ts +44 -44
- package/js/src/whitebit.js +44 -44
- package/js/src/woo.d.ts +45 -45
- package/js/src/woo.js +51 -49
- package/js/src/woofipro.d.ts +77 -77
- package/js/src/woofipro.js +104 -82
- package/js/src/xt.d.ts +12 -12
- package/js/src/xt.js +17 -12
- package/js/src/yobit.d.ts +15 -15
- package/js/src/yobit.js +15 -15
- package/js/src/zaif.d.ts +9 -9
- package/js/src/zaif.js +38 -9
- package/js/src/zebpay.d.ts +20 -20
- package/js/src/zebpay.js +35 -20
- package/js/src/zonda.d.ts +14 -14
- package/js/src/zonda.js +14 -14
- package/package.json +1 -1
package/js/src/upbit.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export default class upbit extends Exchange {
|
|
|
57
57
|
* @see https://global-docs.upbit.com/reference/get-balance
|
|
58
58
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
59
59
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
60
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
60
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
61
61
|
*/
|
|
62
62
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
63
63
|
/**
|
|
@@ -69,7 +69,7 @@ export default class upbit extends Exchange {
|
|
|
69
69
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
70
70
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
71
71
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
72
|
-
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
72
|
+
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbol
|
|
73
73
|
*/
|
|
74
74
|
fetchOrderBooks(symbols?: Strings, limit?: Int, params?: {}): Promise<OrderBooks>;
|
|
75
75
|
/**
|
|
@@ -81,7 +81,7 @@ export default class upbit extends Exchange {
|
|
|
81
81
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
82
82
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
83
83
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
84
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
84
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
85
85
|
*/
|
|
86
86
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
87
87
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -93,7 +93,7 @@ export default class upbit extends Exchange {
|
|
|
93
93
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
94
94
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
95
95
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
96
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
96
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
97
97
|
*/
|
|
98
98
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
99
99
|
/**
|
|
@@ -104,7 +104,7 @@ export default class upbit extends Exchange {
|
|
|
104
104
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
105
105
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
106
106
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
107
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
107
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
108
108
|
*/
|
|
109
109
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
110
110
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -118,7 +118,7 @@ export default class upbit extends Exchange {
|
|
|
118
118
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
119
119
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
120
120
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
121
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
121
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
122
122
|
*/
|
|
123
123
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
124
124
|
/**
|
|
@@ -129,7 +129,7 @@ export default class upbit extends Exchange {
|
|
|
129
129
|
* @description fetch the trading fees for a market
|
|
130
130
|
* @param {string} symbol unified market symbol
|
|
131
131
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
132
|
-
* @returns {object} a [fee structure]{@link https://docs.ccxt.com
|
|
132
|
+
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
133
133
|
*/
|
|
134
134
|
fetchTradingFee(symbol: string, params?: {}): Promise<TradingFeeInterface>;
|
|
135
135
|
/**
|
|
@@ -137,7 +137,7 @@ export default class upbit extends Exchange {
|
|
|
137
137
|
* @name upbit#fetchTradingFees
|
|
138
138
|
* @description fetch the trading fees for markets
|
|
139
139
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
140
|
-
* @returns {object} a [trading fee structure]{@link https://docs.ccxt.com
|
|
140
|
+
* @returns {object} a [trading fee structure]{@link https://docs.ccxt.com/?id=trading-fee-structure}
|
|
141
141
|
*/
|
|
142
142
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
143
143
|
parseOHLCV(ohlcv: any, market?: Market): OHLCV;
|
|
@@ -175,7 +175,7 @@ export default class upbit extends Exchange {
|
|
|
175
175
|
* @param {string} [params.timeInForce] 'IOC' or 'FOK' for limit or best type orders, 'PO' for limit orders. this field is required when the order type is 'best'.
|
|
176
176
|
* @param {string} [params.selfTradePrevention] 'reduce', 'cancel_maker', 'cancel_taker' {@link https://global-docs.upbit.com/docs/smp}
|
|
177
177
|
* @param {boolean} [params.test] If test is true, testOrder will be executed. It allows you to validate the request without creating an actual order. Default is false.
|
|
178
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
178
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
179
179
|
*/
|
|
180
180
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
181
181
|
/**
|
|
@@ -187,7 +187,7 @@ export default class upbit extends Exchange {
|
|
|
187
187
|
* @param {string} id order id
|
|
188
188
|
* @param {string} symbol not used by upbit cancelOrder ()
|
|
189
189
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
190
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
190
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
191
191
|
*/
|
|
192
192
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
193
193
|
/**
|
|
@@ -209,7 +209,7 @@ export default class upbit extends Exchange {
|
|
|
209
209
|
* @param {string} [params.newClientOrderId] the order ID that the user can define.
|
|
210
210
|
* @param {string} [params.newOrdType] this field only accepts limit, price, market, or best. You can refer to the Upbit developer documentation for details on how to use this field.
|
|
211
211
|
* @param {string} [params.selfTradePrevention] 'reduce', 'cancel_maker', 'cancel_taker' {@link https://global-docs.upbit.com/docs/smp}
|
|
212
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
212
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
213
213
|
*/
|
|
214
214
|
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
215
215
|
/**
|
|
@@ -222,7 +222,7 @@ export default class upbit 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 deposits 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
|
/**
|
|
@@ -235,7 +235,7 @@ export default class upbit extends Exchange {
|
|
|
235
235
|
* @param {string} [code] unified currency code of the currency deposited
|
|
236
236
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
237
237
|
* @param {string} [params.txid] withdrawal transaction id, the id argument is reserved for uuid
|
|
238
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
238
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
239
239
|
*/
|
|
240
240
|
fetchDeposit(id: string, code?: Str, params?: {}): Promise<Transaction>;
|
|
241
241
|
/**
|
|
@@ -248,7 +248,7 @@ export default class upbit extends Exchange {
|
|
|
248
248
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
249
249
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
250
250
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
251
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
251
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
252
252
|
*/
|
|
253
253
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
254
254
|
/**
|
|
@@ -261,7 +261,7 @@ export default class upbit extends Exchange {
|
|
|
261
261
|
* @param {string} [code] unified currency code of the currency withdrawn
|
|
262
262
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
263
263
|
* @param {string} [params.txid] withdrawal transaction id, the id argument is reserved for uuid
|
|
264
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
264
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
265
265
|
*/
|
|
266
266
|
fetchWithdrawal(id: string, code?: Str, params?: {}): Promise<Transaction>;
|
|
267
267
|
parseTransactionStatus(status: Str): string;
|
|
@@ -279,7 +279,7 @@ export default class upbit extends Exchange {
|
|
|
279
279
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
280
280
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
281
281
|
* @param {string} [params.state] default is 'wait', set to 'watch' for stop limit orders
|
|
282
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
282
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
283
283
|
*/
|
|
284
284
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
285
285
|
/**
|
|
@@ -293,7 +293,7 @@ export default class upbit extends Exchange {
|
|
|
293
293
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
294
294
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
295
295
|
* @param {int} [params.until] timestamp in ms of the latest order
|
|
296
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
296
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
297
297
|
*/
|
|
298
298
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
299
299
|
/**
|
|
@@ -307,7 +307,7 @@ export default class upbit extends Exchange {
|
|
|
307
307
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
308
308
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
309
309
|
* @param {int} [params.until] timestamp in ms of the latest order
|
|
310
|
-
* @returns {object} a list of [order structures]{@link https://docs.ccxt.com
|
|
310
|
+
* @returns {object} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
311
311
|
*/
|
|
312
312
|
fetchCanceledOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
313
313
|
/**
|
|
@@ -319,7 +319,7 @@ export default class upbit extends Exchange {
|
|
|
319
319
|
* @param {string} id order id
|
|
320
320
|
* @param {string} symbol not used by upbit fetchOrder
|
|
321
321
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
322
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
322
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
323
323
|
*/
|
|
324
324
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
325
325
|
/**
|
|
@@ -330,7 +330,7 @@ export default class upbit extends Exchange {
|
|
|
330
330
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
331
331
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
332
332
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
333
|
-
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com
|
|
333
|
+
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com/?id=address-structure}
|
|
334
334
|
*/
|
|
335
335
|
fetchDepositAddresses(codes?: Strings, params?: {}): Promise<DepositAddress[]>;
|
|
336
336
|
parseDepositAddress(depositAddress: any, currency?: Currency): DepositAddress;
|
|
@@ -343,7 +343,7 @@ export default class upbit extends Exchange {
|
|
|
343
343
|
* @param {string} code unified currency code
|
|
344
344
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
345
345
|
* @param {string} params.network deposit chain, can view all chains via this.publicGetWalletAssets, default is eth, unless the currency has a default chain within this.options['networks']
|
|
346
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
346
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
347
347
|
*/
|
|
348
348
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
349
349
|
/**
|
|
@@ -354,7 +354,7 @@ export default class upbit extends Exchange {
|
|
|
354
354
|
* @description create a currency deposit address
|
|
355
355
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
356
356
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
357
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
357
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
358
358
|
*/
|
|
359
359
|
createDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
360
360
|
/**
|
|
@@ -368,7 +368,7 @@ export default class upbit extends Exchange {
|
|
|
368
368
|
* @param {string} address the address to withdraw to
|
|
369
369
|
* @param {string} tag
|
|
370
370
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
371
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
371
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
372
372
|
*/
|
|
373
373
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
374
374
|
nonce(): number;
|
package/js/src/upbit.js
CHANGED
|
@@ -597,7 +597,7 @@ export default class upbit extends Exchange {
|
|
|
597
597
|
* @see https://global-docs.upbit.com/reference/get-balance
|
|
598
598
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
599
599
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
600
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
600
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
601
601
|
*/
|
|
602
602
|
async fetchBalance(params = {}) {
|
|
603
603
|
await this.loadMarkets();
|
|
@@ -625,7 +625,7 @@ export default class upbit extends Exchange {
|
|
|
625
625
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
626
626
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
627
627
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
628
|
-
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
628
|
+
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbol
|
|
629
629
|
*/
|
|
630
630
|
async fetchOrderBooks(symbols = undefined, limit = undefined, params = {}) {
|
|
631
631
|
await this.loadMarkets();
|
|
@@ -699,7 +699,7 @@ export default class upbit extends Exchange {
|
|
|
699
699
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
700
700
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
701
701
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
702
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
702
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
703
703
|
*/
|
|
704
704
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
705
705
|
const orderbooks = await this.fetchOrderBooks([symbol], limit, params);
|
|
@@ -769,7 +769,7 @@ export default class upbit extends Exchange {
|
|
|
769
769
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
770
770
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
771
771
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
772
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
772
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
773
773
|
*/
|
|
774
774
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
775
775
|
await this.loadMarkets();
|
|
@@ -830,7 +830,7 @@ export default class upbit extends Exchange {
|
|
|
830
830
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
831
831
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
832
832
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
833
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
833
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
834
834
|
*/
|
|
835
835
|
async fetchTicker(symbol, params = {}) {
|
|
836
836
|
const tickers = await this.fetchTickers([symbol], params);
|
|
@@ -918,7 +918,7 @@ export default class upbit extends Exchange {
|
|
|
918
918
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
919
919
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
920
920
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
921
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
921
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
922
922
|
*/
|
|
923
923
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
924
924
|
await this.loadMarkets();
|
|
@@ -963,7 +963,7 @@ export default class upbit extends Exchange {
|
|
|
963
963
|
* @description fetch the trading fees for a market
|
|
964
964
|
* @param {string} symbol unified market symbol
|
|
965
965
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
966
|
-
* @returns {object} a [fee structure]{@link https://docs.ccxt.com
|
|
966
|
+
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
967
967
|
*/
|
|
968
968
|
async fetchTradingFee(symbol, params = {}) {
|
|
969
969
|
await this.loadMarkets();
|
|
@@ -1026,7 +1026,7 @@ export default class upbit extends Exchange {
|
|
|
1026
1026
|
* @name upbit#fetchTradingFees
|
|
1027
1027
|
* @description fetch the trading fees for markets
|
|
1028
1028
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1029
|
-
* @returns {object} a [trading fee structure]{@link https://docs.ccxt.com
|
|
1029
|
+
* @returns {object} a [trading fee structure]{@link https://docs.ccxt.com/?id=trading-fee-structure}
|
|
1030
1030
|
*/
|
|
1031
1031
|
async fetchTradingFees(params = {}) {
|
|
1032
1032
|
await this.loadMarkets();
|
|
@@ -1183,7 +1183,7 @@ export default class upbit extends Exchange {
|
|
|
1183
1183
|
* @param {string} [params.timeInForce] 'IOC' or 'FOK' for limit or best type orders, 'PO' for limit orders. this field is required when the order type is 'best'.
|
|
1184
1184
|
* @param {string} [params.selfTradePrevention] 'reduce', 'cancel_maker', 'cancel_taker' {@link https://global-docs.upbit.com/docs/smp}
|
|
1185
1185
|
* @param {boolean} [params.test] If test is true, testOrder will be executed. It allows you to validate the request without creating an actual order. Default is false.
|
|
1186
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1186
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1187
1187
|
*/
|
|
1188
1188
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1189
1189
|
await this.loadMarkets();
|
|
@@ -1307,7 +1307,7 @@ export default class upbit extends Exchange {
|
|
|
1307
1307
|
* @param {string} id order id
|
|
1308
1308
|
* @param {string} symbol not used by upbit cancelOrder ()
|
|
1309
1309
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1310
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1310
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1311
1311
|
*/
|
|
1312
1312
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1313
1313
|
await this.loadMarkets();
|
|
@@ -1355,7 +1355,7 @@ export default class upbit extends Exchange {
|
|
|
1355
1355
|
* @param {string} [params.newClientOrderId] the order ID that the user can define.
|
|
1356
1356
|
* @param {string} [params.newOrdType] this field only accepts limit, price, market, or best. You can refer to the Upbit developer documentation for details on how to use this field.
|
|
1357
1357
|
* @param {string} [params.selfTradePrevention] 'reduce', 'cancel_maker', 'cancel_taker' {@link https://global-docs.upbit.com/docs/smp}
|
|
1358
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1358
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1359
1359
|
*/
|
|
1360
1360
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
1361
1361
|
await this.loadMarkets();
|
|
@@ -1478,7 +1478,7 @@ export default class upbit extends Exchange {
|
|
|
1478
1478
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1479
1479
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1480
1480
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1481
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1481
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1482
1482
|
*/
|
|
1483
1483
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1484
1484
|
await this.loadMarkets();
|
|
@@ -1523,7 +1523,7 @@ export default class upbit extends Exchange {
|
|
|
1523
1523
|
* @param {string} [code] unified currency code of the currency deposited
|
|
1524
1524
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1525
1525
|
* @param {string} [params.txid] withdrawal transaction id, the id argument is reserved for uuid
|
|
1526
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
1526
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1527
1527
|
*/
|
|
1528
1528
|
async fetchDeposit(id, code = undefined, params = {}) {
|
|
1529
1529
|
await this.loadMarkets();
|
|
@@ -1563,7 +1563,7 @@ export default class upbit extends Exchange {
|
|
|
1563
1563
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1564
1564
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1565
1565
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1566
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1566
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1567
1567
|
*/
|
|
1568
1568
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1569
1569
|
await this.loadMarkets();
|
|
@@ -1608,7 +1608,7 @@ export default class upbit extends Exchange {
|
|
|
1608
1608
|
* @param {string} [code] unified currency code of the currency withdrawn
|
|
1609
1609
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1610
1610
|
* @param {string} [params.txid] withdrawal transaction id, the id argument is reserved for uuid
|
|
1611
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
1611
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1612
1612
|
*/
|
|
1613
1613
|
async fetchWithdrawal(id, code = undefined, params = {}) {
|
|
1614
1614
|
await this.loadMarkets();
|
|
@@ -1897,7 +1897,7 @@ export default class upbit extends Exchange {
|
|
|
1897
1897
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
1898
1898
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1899
1899
|
* @param {string} [params.state] default is 'wait', set to 'watch' for stop limit orders
|
|
1900
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1900
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1901
1901
|
*/
|
|
1902
1902
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1903
1903
|
await this.loadMarkets();
|
|
@@ -1946,7 +1946,7 @@ export default class upbit extends Exchange {
|
|
|
1946
1946
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1947
1947
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1948
1948
|
* @param {int} [params.until] timestamp in ms of the latest order
|
|
1949
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1949
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1950
1950
|
*/
|
|
1951
1951
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1952
1952
|
await this.loadMarkets();
|
|
@@ -2002,7 +2002,7 @@ export default class upbit extends Exchange {
|
|
|
2002
2002
|
* @param {int} [limit] max number of orders to return, default is undefined
|
|
2003
2003
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2004
2004
|
* @param {int} [params.until] timestamp in ms of the latest order
|
|
2005
|
-
* @returns {object} a list of [order structures]{@link https://docs.ccxt.com
|
|
2005
|
+
* @returns {object} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2006
2006
|
*/
|
|
2007
2007
|
async fetchCanceledOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2008
2008
|
await this.loadMarkets();
|
|
@@ -2056,7 +2056,7 @@ export default class upbit extends Exchange {
|
|
|
2056
2056
|
* @param {string} id order id
|
|
2057
2057
|
* @param {string} symbol not used by upbit fetchOrder
|
|
2058
2058
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2059
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
2059
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2060
2060
|
*/
|
|
2061
2061
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
2062
2062
|
await this.loadMarkets();
|
|
@@ -2117,7 +2117,7 @@ export default class upbit extends Exchange {
|
|
|
2117
2117
|
* @description fetch deposit addresses for multiple currencies and chain types
|
|
2118
2118
|
* @param {string[]|undefined} codes list of unified currency codes, default is undefined
|
|
2119
2119
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2120
|
-
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com
|
|
2120
|
+
* @returns {object} a list of [address structures]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2121
2121
|
*/
|
|
2122
2122
|
async fetchDepositAddresses(codes = undefined, params = {}) {
|
|
2123
2123
|
await this.loadMarkets();
|
|
@@ -2175,7 +2175,7 @@ export default class upbit extends Exchange {
|
|
|
2175
2175
|
* @param {string} code unified currency code
|
|
2176
2176
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2177
2177
|
* @param {string} params.network deposit chain, can view all chains via this.publicGetWalletAssets, default is eth, unless the currency has a default chain within this.options['networks']
|
|
2178
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2178
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2179
2179
|
*/
|
|
2180
2180
|
async fetchDepositAddress(code, params = {}) {
|
|
2181
2181
|
await this.loadMarkets();
|
|
@@ -2207,7 +2207,7 @@ export default class upbit extends Exchange {
|
|
|
2207
2207
|
* @description create a currency deposit address
|
|
2208
2208
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
2209
2209
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2210
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2210
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2211
2211
|
*/
|
|
2212
2212
|
async createDepositAddress(code, params = {}) {
|
|
2213
2213
|
await this.loadMarkets();
|
|
@@ -2249,7 +2249,7 @@ export default class upbit extends Exchange {
|
|
|
2249
2249
|
* @param {string} address the address to withdraw to
|
|
2250
2250
|
* @param {string} tag
|
|
2251
2251
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2252
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2252
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2253
2253
|
*/
|
|
2254
2254
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2255
2255
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -31,7 +31,7 @@ export default class wavesexchange extends Exchange {
|
|
|
31
31
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
32
32
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
33
33
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
34
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
34
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
35
35
|
*/
|
|
36
36
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
37
37
|
parseOrderBookSide(bookSide: any, market?: any, limit?: Int): any[];
|
|
@@ -59,7 +59,7 @@ export default class wavesexchange extends Exchange {
|
|
|
59
59
|
* @see https://api.wavesplatform.com/v0/docs/#/pairs/getPairsListAll
|
|
60
60
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
61
61
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
62
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
62
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
63
63
|
*/
|
|
64
64
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
65
65
|
/**
|
|
@@ -68,7 +68,7 @@ export default class wavesexchange extends Exchange {
|
|
|
68
68
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
69
69
|
* @param {string[]} [symbols] unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
70
70
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
71
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
71
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
72
72
|
*/
|
|
73
73
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
74
74
|
/**
|
|
@@ -93,7 +93,7 @@ export default class wavesexchange extends Exchange {
|
|
|
93
93
|
* @description fetch the deposit address for a currency associated with this account
|
|
94
94
|
* @param {string} code unified currency code
|
|
95
95
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
96
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
96
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
97
97
|
*/
|
|
98
98
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
99
99
|
getMatcherPublicKey(): Promise<any>;
|
|
@@ -119,7 +119,7 @@ export default class wavesexchange extends Exchange {
|
|
|
119
119
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
120
120
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
121
121
|
* @param {float} [params.triggerPrice] The price at which a stop order is triggered at
|
|
122
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
122
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
123
123
|
*/
|
|
124
124
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
125
125
|
/**
|
|
@@ -130,7 +130,7 @@ export default class wavesexchange extends Exchange {
|
|
|
130
130
|
* @param {string} id order id
|
|
131
131
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
132
132
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
133
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
133
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
134
134
|
*/
|
|
135
135
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
136
136
|
/**
|
|
@@ -141,7 +141,7 @@ export default class wavesexchange extends Exchange {
|
|
|
141
141
|
* @param {string} id order id
|
|
142
142
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
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
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
147
147
|
/**
|
|
@@ -152,7 +152,7 @@ export default class wavesexchange extends Exchange {
|
|
|
152
152
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
153
153
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
154
154
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
155
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
155
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
156
156
|
*/
|
|
157
157
|
fetchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
158
158
|
/**
|
|
@@ -163,7 +163,7 @@ export default class wavesexchange extends Exchange {
|
|
|
163
163
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
164
164
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
165
165
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
166
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
166
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
167
167
|
*/
|
|
168
168
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
169
169
|
/**
|
|
@@ -174,7 +174,7 @@ export default class wavesexchange extends Exchange {
|
|
|
174
174
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
175
175
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
176
176
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
177
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
177
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
178
178
|
*/
|
|
179
179
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
180
180
|
parseOrderStatus(status: Str): string;
|
|
@@ -186,7 +186,7 @@ export default class wavesexchange extends Exchange {
|
|
|
186
186
|
* @name wavesexchange#fetchBalance
|
|
187
187
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
188
188
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
189
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
189
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
190
190
|
*/
|
|
191
191
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
192
192
|
setUndefinedBalancesToZero(balances: any, key?: string): any;
|
|
@@ -199,7 +199,7 @@ export default class wavesexchange 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 trades 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
|
/**
|
|
@@ -211,7 +211,7 @@ export default class wavesexchange extends Exchange {
|
|
|
211
211
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
212
212
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
213
213
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
214
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
214
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
215
215
|
*/
|
|
216
216
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
217
217
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -224,7 +224,7 @@ export default class wavesexchange extends Exchange {
|
|
|
224
224
|
* @see https://docs.wx.network/en/api/gateways/withdraw/currencies
|
|
225
225
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
226
226
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
227
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
227
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
228
228
|
*/
|
|
229
229
|
fetchDepositWithdrawFees(codes?: Strings, params?: {}): Promise<any>;
|
|
230
230
|
handleErrors(code: int, reason: string, url: string, method: string, headers: Dict, body: string, response: any, requestHeaders: any, requestBody: any): any;
|
|
@@ -237,7 +237,7 @@ export default class wavesexchange extends Exchange {
|
|
|
237
237
|
* @param {string} address the address to withdraw to
|
|
238
238
|
* @param {string} tag
|
|
239
239
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
240
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
240
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
241
241
|
*/
|
|
242
242
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
243
243
|
parseTransaction(transaction: Dict, currency?: Currency): Transaction;
|