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
|
@@ -698,7 +698,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
698
698
|
* @description fetch all the accounts associated with a profile
|
|
699
699
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccounts
|
|
700
700
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
701
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
701
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
702
702
|
*/
|
|
703
703
|
async fetchAccounts(params = {}) {
|
|
704
704
|
await this.loadMarkets();
|
|
@@ -764,7 +764,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
764
764
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
765
765
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccounts
|
|
766
766
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
767
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
767
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
768
768
|
*/
|
|
769
769
|
async fetchBalance(params = {}) {
|
|
770
770
|
await this.loadMarkets();
|
|
@@ -779,7 +779,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
779
779
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
780
780
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
781
781
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
782
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
782
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
783
783
|
*/
|
|
784
784
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
785
785
|
await this.loadMarkets();
|
|
@@ -898,7 +898,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
898
898
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproduct
|
|
899
899
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
900
900
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
901
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
901
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
902
902
|
*/
|
|
903
903
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
904
904
|
await this.loadMarkets();
|
|
@@ -945,7 +945,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
945
945
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
946
946
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
947
947
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
948
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
948
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
949
949
|
*/
|
|
950
950
|
async fetchTicker(symbol, params = {}) {
|
|
951
951
|
await this.loadMarkets();
|
|
@@ -1063,7 +1063,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1063
1063
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1064
1064
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
1065
1065
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1066
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1066
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1067
1067
|
*/
|
|
1068
1068
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1069
1069
|
if (symbol === undefined) {
|
|
@@ -1102,7 +1102,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1102
1102
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1103
1103
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1104
1104
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1105
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1105
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1106
1106
|
*/
|
|
1107
1107
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1108
1108
|
await this.loadMarkets();
|
|
@@ -1133,7 +1133,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1133
1133
|
* @description fetch the trading fees for multiple markets
|
|
1134
1134
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getfees
|
|
1135
1135
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1136
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
1136
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
1137
1137
|
*/
|
|
1138
1138
|
async fetchTradingFees(params = {}) {
|
|
1139
1139
|
await this.loadMarkets();
|
|
@@ -1357,7 +1357,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1357
1357
|
* @param {string} id the order id
|
|
1358
1358
|
* @param {string} symbol not used by coinbaseexchange fetchOrder
|
|
1359
1359
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1360
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1360
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1361
1361
|
*/
|
|
1362
1362
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1363
1363
|
await this.loadMarkets();
|
|
@@ -1385,7 +1385,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1385
1385
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1386
1386
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
1387
1387
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1388
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1388
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1389
1389
|
*/
|
|
1390
1390
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1391
1391
|
await this.loadMarkets();
|
|
@@ -1409,7 +1409,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1409
1409
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1410
1410
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1411
1411
|
* @param {int} [params.until] the latest time in ms to fetch open orders for
|
|
1412
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1412
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1413
1413
|
*/
|
|
1414
1414
|
async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1415
1415
|
const request = {
|
|
@@ -1428,7 +1428,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1428
1428
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1429
1429
|
* @param {int} [params.until] the latest time in ms to fetch open orders for
|
|
1430
1430
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1431
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1431
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1432
1432
|
*/
|
|
1433
1433
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1434
1434
|
await this.loadMarkets();
|
|
@@ -1467,7 +1467,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1467
1467
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1468
1468
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1469
1469
|
* @param {int} [params.until] the latest time in ms to fetch open orders for
|
|
1470
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1470
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1471
1471
|
*/
|
|
1472
1472
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1473
1473
|
const request = {
|
|
@@ -1486,7 +1486,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1486
1486
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1487
1487
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1488
1488
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1489
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1489
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1490
1490
|
*/
|
|
1491
1491
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1492
1492
|
await this.loadMarkets();
|
|
@@ -1579,7 +1579,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1579
1579
|
* @param {string} id order id
|
|
1580
1580
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1581
1581
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1582
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1582
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1583
1583
|
*/
|
|
1584
1584
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1585
1585
|
await this.loadMarkets();
|
|
@@ -1612,7 +1612,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1612
1612
|
* @description cancel all open orders
|
|
1613
1613
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1614
1614
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1615
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1615
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1616
1616
|
*/
|
|
1617
1617
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1618
1618
|
await this.loadMarkets();
|
|
@@ -1639,7 +1639,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1639
1639
|
* @param {string} address the address to withdraw to
|
|
1640
1640
|
* @param {string} tag
|
|
1641
1641
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1642
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
1642
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1643
1643
|
*/
|
|
1644
1644
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
1645
1645
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1764,7 +1764,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1764
1764
|
* @param {int} [limit] max number of ledger entries to return, default is undefined
|
|
1765
1765
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1766
1766
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
1767
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
1767
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
1768
1768
|
*/
|
|
1769
1769
|
async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1770
1770
|
// https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccountledger
|
|
@@ -1816,7 +1816,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1816
1816
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1817
1817
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1818
1818
|
* @param {string} [params.id] account id, when defined, the endpoint used is '/accounts/{account_id}/transfers/' instead of '/transfers/'
|
|
1819
|
-
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com
|
|
1819
|
+
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1820
1820
|
*/
|
|
1821
1821
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1822
1822
|
await this.loadMarkets();
|
|
@@ -1923,7 +1923,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1923
1923
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1924
1924
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1925
1925
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1926
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1926
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1927
1927
|
*/
|
|
1928
1928
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1929
1929
|
return await this.fetchDepositsWithdrawals(code, since, limit, this.extend({ 'type': 'deposit' }, params));
|
|
@@ -1938,7 +1938,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
1938
1938
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1939
1939
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1940
1940
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1941
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1941
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1942
1942
|
*/
|
|
1943
1943
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1944
1944
|
return await this.fetchDepositsWithdrawals(code, since, limit, this.extend({ 'type': 'withdraw' }, params));
|
|
@@ -2047,7 +2047,7 @@ class coinbaseexchange extends coinbaseexchange$1["default"] {
|
|
|
2047
2047
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_postcoinbaseaccountaddresses
|
|
2048
2048
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
2049
2049
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2050
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2050
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2051
2051
|
*/
|
|
2052
2052
|
async createDepositAddress(code, params = {}) {
|
|
2053
2053
|
await this.loadMarkets();
|
|
@@ -377,7 +377,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
377
377
|
* @description fetch all the accounts associated with a profile
|
|
378
378
|
* @see https://docs.cloud.coinbase.com/intx/reference/getportfolios
|
|
379
379
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
380
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
380
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
381
381
|
*/
|
|
382
382
|
async fetchAccounts(params = {}) {
|
|
383
383
|
await this.loadMarkets();
|
|
@@ -506,10 +506,10 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
506
506
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstrumentfunding
|
|
507
507
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
508
508
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
509
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com
|
|
509
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure} to fetch
|
|
510
510
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
511
511
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
512
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
512
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
513
513
|
*/
|
|
514
514
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
515
515
|
if (symbol === undefined) {
|
|
@@ -596,7 +596,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
596
596
|
* @param {int} [since] the earliest time in ms to fetch funding history for
|
|
597
597
|
* @param {int} [limit] the maximum number of funding history structures to retrieve
|
|
598
598
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
599
|
-
* @returns {object} a [funding history structure]{@link https://docs.ccxt.com
|
|
599
|
+
* @returns {object} a [funding history structure]{@link https://docs.ccxt.com/?id=funding-history-structure}
|
|
600
600
|
*/
|
|
601
601
|
async fetchFundingHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
602
602
|
await this.loadMarkets();
|
|
@@ -674,7 +674,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
674
674
|
* @param {int} [since] the earliest time in ms to fetch transfers for
|
|
675
675
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
676
676
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
677
|
-
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com
|
|
677
|
+
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
678
678
|
*/
|
|
679
679
|
async fetchTransfers(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
680
680
|
await this.loadMarkets();
|
|
@@ -765,7 +765,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
765
765
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
766
766
|
* @param {string} [params.network_arn_id] Identifies the blockchain network (e.g., networks/ethereum-mainnet/assets/313ef8a9-ae5a-5f2f-8a56-572c0e2a4d5a) if not provided will pick default
|
|
767
767
|
* @param {string} [params.network] unified network code to identify the blockchain network
|
|
768
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
768
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
769
769
|
*/
|
|
770
770
|
async createDepositAddress(code, params = {}) {
|
|
771
771
|
await this.loadMarkets();
|
|
@@ -935,7 +935,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
935
935
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
936
936
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
937
937
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
938
|
-
* @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
938
|
+
* @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
939
939
|
*/
|
|
940
940
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
941
941
|
await this.loadMarkets();
|
|
@@ -1005,7 +1005,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1005
1005
|
* @description fetch data on an open position
|
|
1006
1006
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
1007
1007
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1008
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
1008
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
1009
1009
|
*/
|
|
1010
1010
|
async fetchPosition(symbol, params = {}) {
|
|
1011
1011
|
await this.loadMarkets();
|
|
@@ -1091,7 +1091,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1091
1091
|
* @description fetch all open positions
|
|
1092
1092
|
* @param {string[]} [symbols] list of unified market symbols
|
|
1093
1093
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1094
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
1094
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
1095
1095
|
*/
|
|
1096
1096
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
1097
1097
|
await this.loadMarkets();
|
|
@@ -1139,7 +1139,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1139
1139
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
1140
1140
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
1141
1141
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1142
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1142
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1143
1143
|
*/
|
|
1144
1144
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1145
1145
|
await this.loadMarkets();
|
|
@@ -1159,7 +1159,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1159
1159
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
1160
1160
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
1161
1161
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1162
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1162
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1163
1163
|
*/
|
|
1164
1164
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1165
1165
|
await this.loadMarkets();
|
|
@@ -1499,7 +1499,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1499
1499
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstruments
|
|
1500
1500
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1501
1501
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1502
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1502
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1503
1503
|
*/
|
|
1504
1504
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1505
1505
|
await this.loadMarkets();
|
|
@@ -1522,7 +1522,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1522
1522
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstrumentquote
|
|
1523
1523
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1524
1524
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1525
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1525
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1526
1526
|
*/
|
|
1527
1527
|
async fetchTicker(symbol, params = {}) {
|
|
1528
1528
|
await this.loadMarkets();
|
|
@@ -1584,7 +1584,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1584
1584
|
* @see https://docs.cloud.coinbase.com/intx/reference/getportfoliobalances
|
|
1585
1585
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1586
1586
|
* @param {boolean} [params.v3] default false, set true to use v3 api endpoint
|
|
1587
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1587
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1588
1588
|
*/
|
|
1589
1589
|
async fetchBalance(params = {}) {
|
|
1590
1590
|
await this.loadMarkets();
|
|
@@ -1696,7 +1696,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1696
1696
|
* @param {string} [params.tif] 'GTC', 'IOC', 'GTD' default is 'GTC' for limit orders and 'IOC' for market orders
|
|
1697
1697
|
* @param {string} [params.expire_time] The expiration time required for orders with the time in force set to GTT. Must not go beyond 30 days of the current time. Uses ISO-8601 format (e.g., 2023-03-16T23:59:53Z)
|
|
1698
1698
|
* @param {string} [params.stp_mode] Possible values: [NONE, AGGRESSING, BOTH] Specifies the behavior for self match handling. None disables the functionality, new cancels the newest order, and both cancels both orders.
|
|
1699
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1699
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1700
1700
|
*/
|
|
1701
1701
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1702
1702
|
await this.loadMarkets();
|
|
@@ -1868,7 +1868,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1868
1868
|
* @param {string} id order id
|
|
1869
1869
|
* @param {string} symbol not used by coinbaseinternational cancelOrder()
|
|
1870
1870
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1871
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1871
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1872
1872
|
*/
|
|
1873
1873
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1874
1874
|
await this.loadMarkets();
|
|
@@ -1914,7 +1914,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1914
1914
|
* @description cancel all open orders
|
|
1915
1915
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1916
1916
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1917
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1917
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1918
1918
|
*/
|
|
1919
1919
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1920
1920
|
await this.loadMarkets();
|
|
@@ -1944,7 +1944,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1944
1944
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1945
1945
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1946
1946
|
* @param {string} params.clientOrderId client order id
|
|
1947
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1947
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1948
1948
|
*/
|
|
1949
1949
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
1950
1950
|
await this.loadMarkets();
|
|
@@ -1983,7 +1983,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
1983
1983
|
* @param {string} id the order id
|
|
1984
1984
|
* @param {string} symbol unified market symbol that the order was made in
|
|
1985
1985
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1986
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1986
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1987
1987
|
*/
|
|
1988
1988
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1989
1989
|
await this.loadMarkets();
|
|
@@ -2037,7 +2037,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
2037
2037
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2038
2038
|
* @param {int} [params.offset] offset
|
|
2039
2039
|
* @param {string} [params.event_type] The most recent type of event that happened to the order. Allowed values: NEW, TRADE, REPLACED
|
|
2040
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2040
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2041
2041
|
*/
|
|
2042
2042
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2043
2043
|
await this.loadMarkets();
|
|
@@ -2119,7 +2119,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
2119
2119
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2120
2120
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2121
2121
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
2122
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
2122
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
2123
2123
|
*/
|
|
2124
2124
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2125
2125
|
await this.loadMarkets();
|
|
@@ -2211,7 +2211,7 @@ class coinbaseinternational extends coinbaseinternational$1["default"] {
|
|
|
2211
2211
|
* @param {boolean} [params.add_network_fee_to_total] if true, deducts network fee from the portfolio, otherwise deduct fee from the withdrawal
|
|
2212
2212
|
* @param {string} [params.network_arn_id] Identifies the blockchain network (e.g., networks/ethereum-mainnet/assets/313ef8a9-ae5a-5f2f-8a56-572c0e2a4d5a)
|
|
2213
2213
|
* @param {string} [params.nonce] a unique integer representing the withdrawal request
|
|
2214
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2214
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2215
2215
|
*/
|
|
2216
2216
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2217
2217
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|