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
|
@@ -699,7 +699,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
699
699
|
* @description fetch all the accounts associated with a profile
|
|
700
700
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccounts
|
|
701
701
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
702
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
702
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
703
703
|
*/
|
|
704
704
|
async fetchAccounts(params = {}) {
|
|
705
705
|
await this.loadMarkets();
|
|
@@ -765,7 +765,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
765
765
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
766
766
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccounts
|
|
767
767
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
768
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
768
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
769
769
|
*/
|
|
770
770
|
async fetchBalance(params = {}) {
|
|
771
771
|
await this.loadMarkets();
|
|
@@ -780,7 +780,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
780
780
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
781
781
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
782
782
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
783
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
783
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
784
784
|
*/
|
|
785
785
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
786
786
|
await this.loadMarkets();
|
|
@@ -899,7 +899,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
899
899
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getproduct
|
|
900
900
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
901
901
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
902
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
902
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
903
903
|
*/
|
|
904
904
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
905
905
|
await this.loadMarkets();
|
|
@@ -946,7 +946,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
946
946
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
947
947
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
948
948
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
949
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
949
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
950
950
|
*/
|
|
951
951
|
async fetchTicker(symbol, params = {}) {
|
|
952
952
|
await this.loadMarkets();
|
|
@@ -1064,7 +1064,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1064
1064
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1065
1065
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
1066
1066
|
* @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)
|
|
1067
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1067
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1068
1068
|
*/
|
|
1069
1069
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1070
1070
|
if (symbol === undefined) {
|
|
@@ -1103,7 +1103,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1103
1103
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1104
1104
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1105
1105
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1106
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1106
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1107
1107
|
*/
|
|
1108
1108
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1109
1109
|
await this.loadMarkets();
|
|
@@ -1134,7 +1134,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1134
1134
|
* @description fetch the trading fees for multiple markets
|
|
1135
1135
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getfees
|
|
1136
1136
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1137
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
1137
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
1138
1138
|
*/
|
|
1139
1139
|
async fetchTradingFees(params = {}) {
|
|
1140
1140
|
await this.loadMarkets();
|
|
@@ -1358,7 +1358,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1358
1358
|
* @param {string} id the order id
|
|
1359
1359
|
* @param {string} symbol not used by coinbaseexchange fetchOrder
|
|
1360
1360
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1361
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1361
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1362
1362
|
*/
|
|
1363
1363
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1364
1364
|
await this.loadMarkets();
|
|
@@ -1386,7 +1386,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1386
1386
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1387
1387
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
1388
1388
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1389
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1389
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1390
1390
|
*/
|
|
1391
1391
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1392
1392
|
await this.loadMarkets();
|
|
@@ -1410,7 +1410,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1410
1410
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1411
1411
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1412
1412
|
* @param {int} [params.until] the latest time in ms to fetch open orders for
|
|
1413
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1413
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1414
1414
|
*/
|
|
1415
1415
|
async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1416
1416
|
const request = {
|
|
@@ -1429,7 +1429,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1429
1429
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1430
1430
|
* @param {int} [params.until] the latest time in ms to fetch open orders for
|
|
1431
1431
|
* @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)
|
|
1432
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1432
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1433
1433
|
*/
|
|
1434
1434
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1435
1435
|
await this.loadMarkets();
|
|
@@ -1468,7 +1468,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1468
1468
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1469
1469
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1470
1470
|
* @param {int} [params.until] the latest time in ms to fetch open orders for
|
|
1471
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1471
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1472
1472
|
*/
|
|
1473
1473
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1474
1474
|
const request = {
|
|
@@ -1487,7 +1487,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1487
1487
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
1488
1488
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1489
1489
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1490
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1490
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1491
1491
|
*/
|
|
1492
1492
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1493
1493
|
await this.loadMarkets();
|
|
@@ -1580,7 +1580,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1580
1580
|
* @param {string} id order id
|
|
1581
1581
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1582
1582
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1583
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1583
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1584
1584
|
*/
|
|
1585
1585
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1586
1586
|
await this.loadMarkets();
|
|
@@ -1613,7 +1613,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1613
1613
|
* @description cancel all open orders
|
|
1614
1614
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1615
1615
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1616
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1616
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1617
1617
|
*/
|
|
1618
1618
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1619
1619
|
await this.loadMarkets();
|
|
@@ -1640,7 +1640,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1640
1640
|
* @param {string} address the address to withdraw to
|
|
1641
1641
|
* @param {string} tag
|
|
1642
1642
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1643
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
1643
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1644
1644
|
*/
|
|
1645
1645
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
1646
1646
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1765,7 +1765,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1765
1765
|
* @param {int} [limit] max number of ledger entries to return, default is undefined
|
|
1766
1766
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1767
1767
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
1768
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
1768
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
1769
1769
|
*/
|
|
1770
1770
|
async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1771
1771
|
// https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_getaccountledger
|
|
@@ -1817,7 +1817,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1817
1817
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1818
1818
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1819
1819
|
* @param {string} [params.id] account id, when defined, the endpoint used is '/accounts/{account_id}/transfers/' instead of '/transfers/'
|
|
1820
|
-
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com
|
|
1820
|
+
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1821
1821
|
*/
|
|
1822
1822
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1823
1823
|
await this.loadMarkets();
|
|
@@ -1924,7 +1924,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1924
1924
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1925
1925
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1926
1926
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1927
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1927
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1928
1928
|
*/
|
|
1929
1929
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1930
1930
|
return await this.fetchDepositsWithdrawals(code, since, limit, this.extend({ 'type': 'deposit' }, params));
|
|
@@ -1939,7 +1939,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
1939
1939
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1940
1940
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1941
1941
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1942
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1942
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1943
1943
|
*/
|
|
1944
1944
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1945
1945
|
return await this.fetchDepositsWithdrawals(code, since, limit, this.extend({ 'type': 'withdraw' }, params));
|
|
@@ -2048,7 +2048,7 @@ export default class coinbaseexchange extends Exchange {
|
|
|
2048
2048
|
* @see https://docs.cloud.coinbase.com/exchange/reference/exchangerestapi_postcoinbaseaccountaddresses
|
|
2049
2049
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
2050
2050
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2051
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2051
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2052
2052
|
*/
|
|
2053
2053
|
async createDepositAddress(code, params = {}) {
|
|
2054
2054
|
await this.loadMarkets();
|
|
@@ -14,7 +14,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
14
14
|
* @description fetch all the accounts associated with a profile
|
|
15
15
|
* @see https://docs.cloud.coinbase.com/intx/reference/getportfolios
|
|
16
16
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
17
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
17
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
18
18
|
*/
|
|
19
19
|
fetchAccounts(params?: {}): Promise<import("./base/types.js").Account[]>;
|
|
20
20
|
parseAccount(account: any): {
|
|
@@ -46,10 +46,10 @@ export default class coinbaseinternational extends Exchange {
|
|
|
46
46
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstrumentfunding
|
|
47
47
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
48
48
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
49
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com
|
|
49
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure} to fetch
|
|
50
50
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
51
51
|
* @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)
|
|
52
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
52
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
53
53
|
*/
|
|
54
54
|
fetchFundingRateHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<FundingRateHistory[]>;
|
|
55
55
|
parseFundingRateHistory(info: any, market?: Market): FundingRateHistory;
|
|
@@ -81,7 +81,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
81
81
|
* @param {int} [since] the earliest time in ms to fetch funding history for
|
|
82
82
|
* @param {int} [limit] the maximum number of funding history structures to retrieve
|
|
83
83
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
84
|
-
* @returns {object} a [funding history structure]{@link https://docs.ccxt.com
|
|
84
|
+
* @returns {object} a [funding history structure]{@link https://docs.ccxt.com/?id=funding-history-structure}
|
|
85
85
|
*/
|
|
86
86
|
fetchFundingHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<import("./base/types.js").FundingHistory[]>;
|
|
87
87
|
parseIncome(income: any, market?: Market): {
|
|
@@ -103,7 +103,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
103
103
|
* @param {int} [since] the earliest time in ms to fetch transfers for
|
|
104
104
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
105
105
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
106
|
-
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com
|
|
106
|
+
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
107
107
|
*/
|
|
108
108
|
fetchTransfers(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<TransferEntry[]>;
|
|
109
109
|
parseTransfer(transfer: Dict, currency?: Currency): TransferEntry;
|
|
@@ -118,7 +118,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
118
118
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
119
119
|
* @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
|
|
120
120
|
* @param {string} [params.network] unified network code to identify the blockchain network
|
|
121
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
121
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
122
122
|
*/
|
|
123
123
|
createDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
124
124
|
findDefaultNetwork(networks: any): any;
|
|
@@ -170,7 +170,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
170
170
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
171
171
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
172
172
|
* @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)
|
|
173
|
-
* @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
173
|
+
* @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
174
174
|
*/
|
|
175
175
|
fetchDepositsWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
176
176
|
/**
|
|
@@ -180,7 +180,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
180
180
|
* @description fetch data on an open position
|
|
181
181
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
182
182
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
183
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
183
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
184
184
|
*/
|
|
185
185
|
fetchPosition(symbol: string, params?: {}): Promise<Position>;
|
|
186
186
|
parsePosition(position: Dict, market?: Market): Position;
|
|
@@ -191,7 +191,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
191
191
|
* @description fetch all open positions
|
|
192
192
|
* @param {string[]} [symbols] list of unified market symbols
|
|
193
193
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
194
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
194
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
195
195
|
*/
|
|
196
196
|
fetchPositions(symbols?: Strings, params?: {}): Promise<Position[]>;
|
|
197
197
|
/**
|
|
@@ -208,7 +208,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
208
208
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
209
209
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
210
210
|
* @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)
|
|
211
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
211
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
212
212
|
*/
|
|
213
213
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
214
214
|
/**
|
|
@@ -224,7 +224,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
224
224
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
225
225
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
226
226
|
* @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)
|
|
227
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
227
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
228
228
|
*/
|
|
229
229
|
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
230
230
|
parseTransactionStatus(status: Str): string;
|
|
@@ -257,7 +257,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
257
257
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstruments
|
|
258
258
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
259
259
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
260
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
260
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
261
261
|
*/
|
|
262
262
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
263
263
|
/**
|
|
@@ -267,7 +267,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
267
267
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstrumentquote
|
|
268
268
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
269
269
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
270
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
270
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
271
271
|
*/
|
|
272
272
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
273
273
|
parseTicker(ticker: object, market?: Market): Ticker;
|
|
@@ -278,7 +278,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
278
278
|
* @see https://docs.cloud.coinbase.com/intx/reference/getportfoliobalances
|
|
279
279
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
280
280
|
* @param {boolean} [params.v3] default false, set true to use v3 api endpoint
|
|
281
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
281
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
282
282
|
*/
|
|
283
283
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
284
284
|
parseBalance(response: any): Balances;
|
|
@@ -313,7 +313,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
313
313
|
* @param {string} [params.tif] 'GTC', 'IOC', 'GTD' default is 'GTC' for limit orders and 'IOC' for market orders
|
|
314
314
|
* @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)
|
|
315
315
|
* @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.
|
|
316
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
316
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
317
317
|
*/
|
|
318
318
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: number, params?: {}): Promise<Order>;
|
|
319
319
|
parseOrder(order: Dict, market?: Market): Order;
|
|
@@ -327,7 +327,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
327
327
|
* @param {string} id order id
|
|
328
328
|
* @param {string} symbol not used by coinbaseinternational cancelOrder()
|
|
329
329
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
330
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
330
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
331
331
|
*/
|
|
332
332
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
333
333
|
/**
|
|
@@ -336,7 +336,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
336
336
|
* @description cancel all open orders
|
|
337
337
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
338
338
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
339
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
339
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
340
340
|
*/
|
|
341
341
|
cancelAllOrders(symbol?: string, params?: {}): Promise<Order[]>;
|
|
342
342
|
/**
|
|
@@ -352,7 +352,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
352
352
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
353
353
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
354
354
|
* @param {string} params.clientOrderId client order id
|
|
355
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
355
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
356
356
|
*/
|
|
357
357
|
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: number, price?: number, params?: {}): Promise<Order>;
|
|
358
358
|
/**
|
|
@@ -363,7 +363,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
363
363
|
* @param {string} id the order id
|
|
364
364
|
* @param {string} symbol unified market symbol that the order was made in
|
|
365
365
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
366
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
366
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
367
367
|
*/
|
|
368
368
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
369
369
|
/**
|
|
@@ -378,7 +378,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
378
378
|
* @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)
|
|
379
379
|
* @param {int} [params.offset] offset
|
|
380
380
|
* @param {string} [params.event_type] The most recent type of event that happened to the order. Allowed values: NEW, TRADE, REPLACED
|
|
381
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
381
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
382
382
|
*/
|
|
383
383
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
384
384
|
/**
|
|
@@ -392,7 +392,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
392
392
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
393
393
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
394
394
|
* @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)
|
|
395
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
395
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
396
396
|
*/
|
|
397
397
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
398
398
|
/**
|
|
@@ -409,7 +409,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
409
409
|
* @param {boolean} [params.add_network_fee_to_total] if true, deducts network fee from the portfolio, otherwise deduct fee from the withdrawal
|
|
410
410
|
* @param {string} [params.network_arn_id] Identifies the blockchain network (e.g., networks/ethereum-mainnet/assets/313ef8a9-ae5a-5f2f-8a56-572c0e2a4d5a)
|
|
411
411
|
* @param {string} [params.nonce] a unique integer representing the withdrawal request
|
|
412
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
412
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
413
413
|
*/
|
|
414
414
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
415
415
|
safeNetwork(network: any): {
|
|
@@ -378,7 +378,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
378
378
|
* @description fetch all the accounts associated with a profile
|
|
379
379
|
* @see https://docs.cloud.coinbase.com/intx/reference/getportfolios
|
|
380
380
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
381
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
381
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
382
382
|
*/
|
|
383
383
|
async fetchAccounts(params = {}) {
|
|
384
384
|
await this.loadMarkets();
|
|
@@ -507,10 +507,10 @@ export default class coinbaseinternational extends Exchange {
|
|
|
507
507
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstrumentfunding
|
|
508
508
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
509
509
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
510
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com
|
|
510
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure} to fetch
|
|
511
511
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
512
512
|
* @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)
|
|
513
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
513
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
514
514
|
*/
|
|
515
515
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
516
516
|
if (symbol === undefined) {
|
|
@@ -597,7 +597,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
597
597
|
* @param {int} [since] the earliest time in ms to fetch funding history for
|
|
598
598
|
* @param {int} [limit] the maximum number of funding history structures to retrieve
|
|
599
599
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
600
|
-
* @returns {object} a [funding history structure]{@link https://docs.ccxt.com
|
|
600
|
+
* @returns {object} a [funding history structure]{@link https://docs.ccxt.com/?id=funding-history-structure}
|
|
601
601
|
*/
|
|
602
602
|
async fetchFundingHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
603
603
|
await this.loadMarkets();
|
|
@@ -675,7 +675,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
675
675
|
* @param {int} [since] the earliest time in ms to fetch transfers for
|
|
676
676
|
* @param {int} [limit] the maximum number of transfers structures to retrieve
|
|
677
677
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
678
|
-
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com
|
|
678
|
+
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
679
679
|
*/
|
|
680
680
|
async fetchTransfers(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
681
681
|
await this.loadMarkets();
|
|
@@ -766,7 +766,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
766
766
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
767
767
|
* @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
|
|
768
768
|
* @param {string} [params.network] unified network code to identify the blockchain network
|
|
769
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
769
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
770
770
|
*/
|
|
771
771
|
async createDepositAddress(code, params = {}) {
|
|
772
772
|
await this.loadMarkets();
|
|
@@ -936,7 +936,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
936
936
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
937
937
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
938
938
|
* @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)
|
|
939
|
-
* @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
939
|
+
* @returns {object} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
940
940
|
*/
|
|
941
941
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
942
942
|
await this.loadMarkets();
|
|
@@ -1006,7 +1006,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1006
1006
|
* @description fetch data on an open position
|
|
1007
1007
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
1008
1008
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1009
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
1009
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
1010
1010
|
*/
|
|
1011
1011
|
async fetchPosition(symbol, params = {}) {
|
|
1012
1012
|
await this.loadMarkets();
|
|
@@ -1092,7 +1092,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1092
1092
|
* @description fetch all open positions
|
|
1093
1093
|
* @param {string[]} [symbols] list of unified market symbols
|
|
1094
1094
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1095
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
1095
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
1096
1096
|
*/
|
|
1097
1097
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
1098
1098
|
await this.loadMarkets();
|
|
@@ -1140,7 +1140,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1140
1140
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
1141
1141
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
1142
1142
|
* @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)
|
|
1143
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1143
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1144
1144
|
*/
|
|
1145
1145
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1146
1146
|
await this.loadMarkets();
|
|
@@ -1160,7 +1160,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1160
1160
|
* @param {string} [params.status] The current status of transfer. Possible values: [PROCESSED, NEW, FAILED, STARTED]
|
|
1161
1161
|
* @param {string} [params.type] The type of transfer Possible values: [DEPOSIT, WITHDRAW, REBATE, STIPEND, INTERNAL, FUNDING]
|
|
1162
1162
|
* @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)
|
|
1163
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1163
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1164
1164
|
*/
|
|
1165
1165
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1166
1166
|
await this.loadMarkets();
|
|
@@ -1500,7 +1500,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1500
1500
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstruments
|
|
1501
1501
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1502
1502
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1503
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1503
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1504
1504
|
*/
|
|
1505
1505
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1506
1506
|
await this.loadMarkets();
|
|
@@ -1523,7 +1523,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1523
1523
|
* @see https://docs.cloud.coinbase.com/intx/reference/getinstrumentquote
|
|
1524
1524
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1525
1525
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1526
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1526
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1527
1527
|
*/
|
|
1528
1528
|
async fetchTicker(symbol, params = {}) {
|
|
1529
1529
|
await this.loadMarkets();
|
|
@@ -1585,7 +1585,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1585
1585
|
* @see https://docs.cloud.coinbase.com/intx/reference/getportfoliobalances
|
|
1586
1586
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1587
1587
|
* @param {boolean} [params.v3] default false, set true to use v3 api endpoint
|
|
1588
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1588
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1589
1589
|
*/
|
|
1590
1590
|
async fetchBalance(params = {}) {
|
|
1591
1591
|
await this.loadMarkets();
|
|
@@ -1697,7 +1697,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1697
1697
|
* @param {string} [params.tif] 'GTC', 'IOC', 'GTD' default is 'GTC' for limit orders and 'IOC' for market orders
|
|
1698
1698
|
* @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)
|
|
1699
1699
|
* @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.
|
|
1700
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1700
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1701
1701
|
*/
|
|
1702
1702
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1703
1703
|
await this.loadMarkets();
|
|
@@ -1869,7 +1869,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1869
1869
|
* @param {string} id order id
|
|
1870
1870
|
* @param {string} symbol not used by coinbaseinternational cancelOrder()
|
|
1871
1871
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1872
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1872
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1873
1873
|
*/
|
|
1874
1874
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1875
1875
|
await this.loadMarkets();
|
|
@@ -1915,7 +1915,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1915
1915
|
* @description cancel all open orders
|
|
1916
1916
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1917
1917
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1918
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1918
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1919
1919
|
*/
|
|
1920
1920
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1921
1921
|
await this.loadMarkets();
|
|
@@ -1945,7 +1945,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1945
1945
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1946
1946
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1947
1947
|
* @param {string} params.clientOrderId client order id
|
|
1948
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1948
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1949
1949
|
*/
|
|
1950
1950
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
1951
1951
|
await this.loadMarkets();
|
|
@@ -1984,7 +1984,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
1984
1984
|
* @param {string} id the order id
|
|
1985
1985
|
* @param {string} symbol unified market symbol that the order was made in
|
|
1986
1986
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1987
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1987
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1988
1988
|
*/
|
|
1989
1989
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1990
1990
|
await this.loadMarkets();
|
|
@@ -2038,7 +2038,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
2038
2038
|
* @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)
|
|
2039
2039
|
* @param {int} [params.offset] offset
|
|
2040
2040
|
* @param {string} [params.event_type] The most recent type of event that happened to the order. Allowed values: NEW, TRADE, REPLACED
|
|
2041
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2041
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2042
2042
|
*/
|
|
2043
2043
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2044
2044
|
await this.loadMarkets();
|
|
@@ -2120,7 +2120,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
2120
2120
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2121
2121
|
* @param {int} [params.until] the latest time in ms to fetch trades for
|
|
2122
2122
|
* @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)
|
|
2123
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
2123
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
2124
2124
|
*/
|
|
2125
2125
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2126
2126
|
await this.loadMarkets();
|
|
@@ -2212,7 +2212,7 @@ export default class coinbaseinternational extends Exchange {
|
|
|
2212
2212
|
* @param {boolean} [params.add_network_fee_to_total] if true, deducts network fee from the portfolio, otherwise deduct fee from the withdrawal
|
|
2213
2213
|
* @param {string} [params.network_arn_id] Identifies the blockchain network (e.g., networks/ethereum-mainnet/assets/313ef8a9-ae5a-5f2f-8a56-572c0e2a4d5a)
|
|
2214
2214
|
* @param {string} [params.nonce] a unique integer representing the withdrawal request
|
|
2215
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2215
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2216
2216
|
*/
|
|
2217
2217
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2218
2218
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|