ccxt 4.5.28 → 4.5.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -5
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/alpaca.js +21 -21
- package/dist/cjs/src/apex.js +20 -20
- package/dist/cjs/src/arkham.js +22 -22
- package/dist/cjs/src/ascendex.js +28 -28
- package/dist/cjs/src/backpack.js +22 -22
- package/dist/cjs/src/base/Exchange.js +48 -38
- package/dist/cjs/src/base/functions/throttle.js +54 -5
- package/dist/cjs/src/bigone.js +19 -19
- package/dist/cjs/src/binance.js +83 -82
- package/dist/cjs/src/bingx.js +46 -46
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +49 -48
- package/dist/cjs/src/bitbns.js +13 -13
- package/dist/cjs/src/bitfinex.js +33 -33
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitget.js +58 -57
- package/dist/cjs/src/bithumb.js +10 -10
- package/dist/cjs/src/bitmart.js +44 -44
- package/dist/cjs/src/bitmex.js +24 -24
- package/dist/cjs/src/bitopro.js +20 -20
- package/dist/cjs/src/bitrue.js +18 -18
- package/dist/cjs/src/bitso.js +20 -20
- package/dist/cjs/src/bitstamp.js +21 -21
- package/dist/cjs/src/bittrade.js +20 -20
- package/dist/cjs/src/bitvavo.js +19 -19
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/blofin.js +26 -26
- package/dist/cjs/src/btcalpha.js +35 -34
- package/dist/cjs/src/btcbox.js +10 -10
- package/dist/cjs/src/btcmarkets.js +16 -16
- package/dist/cjs/src/btcturk.js +10 -10
- package/dist/cjs/src/bullish.js +26 -26
- package/dist/cjs/src/bybit.js +67 -67
- package/dist/cjs/src/cex.js +18 -18
- package/dist/cjs/src/coinbase.js +40 -40
- package/dist/cjs/src/coinbaseexchange.js +22 -22
- package/dist/cjs/src/coinbaseinternational.js +22 -22
- package/dist/cjs/src/coincatch.js +39 -39
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +48 -48
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinmetro.js +14 -14
- package/dist/cjs/src/coinone.js +11 -11
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +8 -8
- package/dist/cjs/src/cryptocom.js +32 -32
- package/dist/cjs/src/cryptomus.js +9 -9
- package/dist/cjs/src/deepcoin.js +33 -33
- package/dist/cjs/src/defx.js +23 -23
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +36 -36
- package/dist/cjs/src/derive.js +19 -19
- package/dist/cjs/src/digifinex.js +36 -36
- package/dist/cjs/src/dydx.js +22 -22
- package/dist/cjs/src/exmo.js +29 -29
- package/dist/cjs/src/foxbit.js +23 -23
- package/dist/cjs/src/gate.js +57 -57
- package/dist/cjs/src/gemini.js +16 -16
- package/dist/cjs/src/hashkey.js +35 -35
- package/dist/cjs/src/hibachi.js +24 -24
- package/dist/cjs/src/hitbtc.js +38 -38
- package/dist/cjs/src/hollaex.js +22 -22
- package/dist/cjs/src/htx.js +50 -50
- package/dist/cjs/src/hyperliquid.js +76 -42
- package/dist/cjs/src/independentreserve.js +13 -13
- package/dist/cjs/src/indodax.js +14 -14
- package/dist/cjs/src/kraken.js +30 -30
- package/dist/cjs/src/krakenfutures.js +21 -21
- package/dist/cjs/src/kucoin.js +44 -44
- package/dist/cjs/src/kucoinfutures.js +42 -40
- package/dist/cjs/src/latoken.js +16 -16
- package/dist/cjs/src/lbank.js +23 -23
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/mercado.js +11 -11
- package/dist/cjs/src/mexc.js +47 -47
- package/dist/cjs/src/modetrade.js +37 -35
- package/dist/cjs/src/ndax.js +19 -19
- package/dist/cjs/src/novadax.js +19 -19
- package/dist/cjs/src/oceanex.js +16 -16
- package/dist/cjs/src/okx.js +83 -83
- package/dist/cjs/src/onetrading.js +34 -33
- package/dist/cjs/src/oxfun.js +25 -25
- package/dist/cjs/src/p2b.js +11 -11
- package/dist/cjs/src/paradex.js +54 -54
- package/dist/cjs/src/paymium.js +20 -21
- package/dist/cjs/src/phemex.js +35 -35
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/apex.js +8 -8
- package/dist/cjs/src/pro/arkham.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/backpack.js +16 -16
- package/dist/cjs/src/pro/binance.js +35 -35
- package/dist/cjs/src/pro/bingx.js +9 -9
- package/dist/cjs/src/pro/bitfinex.js +8 -8
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bithumb.js +3 -3
- package/dist/cjs/src/pro/bitmart.js +388 -31
- package/dist/cjs/src/pro/bitmex.js +9 -9
- package/dist/cjs/src/pro/bitopro.js +5 -5
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrade.js +3 -3
- package/dist/cjs/src/pro/bitvavo.js +19 -19
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/blofin.js +10 -10
- package/dist/cjs/src/pro/bullish.js +6 -6
- package/dist/cjs/src/pro/bybit.js +19 -19
- package/dist/cjs/src/pro/cex.js +13 -13
- package/dist/cjs/src/pro/coinbase.js +13 -13
- package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
- package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
- package/dist/cjs/src/pro/coincatch.js +10 -10
- package/dist/cjs/src/pro/coincheck.js +2 -2
- package/dist/cjs/src/pro/coinex.js +10 -10
- package/dist/cjs/src/pro/coinone.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +20 -20
- package/dist/cjs/src/pro/deepcoin.js +8 -8
- package/dist/cjs/src/pro/defx.js +15 -15
- package/dist/cjs/src/pro/deribit.js +10 -10
- package/dist/cjs/src/pro/derive.js +6 -6
- package/dist/cjs/src/pro/dydx.js +3 -3
- package/dist/cjs/src/pro/exmo.js +7 -7
- package/dist/cjs/src/pro/gate.js +21 -59
- package/dist/cjs/src/pro/gemini.js +6 -6
- package/dist/cjs/src/pro/hashkey.js +6 -6
- package/dist/cjs/src/pro/hitbtc.js +8 -8
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +9 -9
- package/dist/cjs/src/pro/hyperliquid.js +103 -14
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +15 -15
- package/dist/cjs/src/pro/krakenfutures.js +10 -10
- package/dist/cjs/src/pro/kucoin.js +15 -15
- package/dist/cjs/src/pro/kucoinfutures.js +13 -13
- package/dist/cjs/src/pro/lbank.js +5 -5
- package/dist/cjs/src/pro/luno.js +2 -2
- package/dist/cjs/src/pro/mexc.js +13 -13
- package/dist/cjs/src/pro/modetrade.js +8 -8
- package/dist/cjs/src/pro/ndax.js +3 -3
- package/dist/cjs/src/pro/okx.js +25 -25
- package/dist/cjs/src/pro/onetrading.js +6 -6
- package/dist/cjs/src/pro/oxfun.js +13 -13
- package/dist/cjs/src/pro/p2b.js +5 -5
- package/dist/cjs/src/pro/paradex.js +8 -8
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +8 -8
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/toobit.js +9 -9
- package/dist/cjs/src/pro/upbit.js +9 -9
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +13 -13
- package/dist/cjs/src/pro/woofipro.js +20 -20
- package/dist/cjs/src/pro/xt.js +2 -2
- package/dist/cjs/src/probit.js +18 -18
- package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
- package/dist/cjs/src/timex.js +16 -16
- package/dist/cjs/src/tokocrypto.js +17 -17
- package/dist/cjs/src/toobit.js +31 -29
- package/dist/cjs/src/upbit.js +23 -23
- package/dist/cjs/src/wavesexchange.js +86 -85
- package/dist/cjs/src/whitebit.js +44 -44
- package/dist/cjs/src/woo.js +51 -49
- package/dist/cjs/src/woofipro.js +104 -82
- package/dist/cjs/src/xt.js +17 -12
- package/dist/cjs/src/yobit.js +15 -15
- package/dist/cjs/src/zaif.js +38 -9
- package/dist/cjs/src/zebpay.js +35 -20
- package/dist/cjs/src/zonda.js +14 -14
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/alpaca.d.ts +21 -21
- package/js/src/alpaca.js +21 -21
- package/js/src/apex.d.ts +20 -20
- package/js/src/apex.js +20 -20
- package/js/src/arkham.d.ts +22 -22
- package/js/src/arkham.js +22 -22
- package/js/src/ascendex.d.ts +28 -28
- package/js/src/ascendex.js +28 -28
- package/js/src/backpack.d.ts +21 -21
- package/js/src/backpack.js +22 -22
- package/js/src/base/Exchange.d.ts +6 -3
- package/js/src/base/Exchange.js +48 -38
- package/js/src/base/functions/throttle.d.ts +22 -0
- package/js/src/base/functions/throttle.js +54 -5
- package/js/src/bigone.d.ts +19 -19
- package/js/src/bigone.js +19 -19
- package/js/src/binance.d.ts +82 -82
- package/js/src/binance.js +83 -82
- package/js/src/bingx.d.ts +46 -46
- package/js/src/bingx.js +46 -46
- package/js/src/bit2c.d.ts +11 -11
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.d.ts +12 -12
- package/js/src/bitbank.js +49 -48
- package/js/src/bitbns.d.ts +13 -13
- package/js/src/bitbns.js +13 -13
- package/js/src/bitfinex.d.ts +33 -33
- package/js/src/bitfinex.js +33 -33
- package/js/src/bitflyer.d.ts +17 -17
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitget.d.ts +57 -57
- package/js/src/bitget.js +58 -57
- package/js/src/bithumb.d.ts +10 -10
- package/js/src/bithumb.js +10 -10
- package/js/src/bitmart.d.ts +42 -42
- package/js/src/bitmart.js +44 -44
- package/js/src/bitmex.d.ts +24 -24
- package/js/src/bitmex.js +24 -24
- package/js/src/bitopro.d.ts +20 -20
- package/js/src/bitopro.js +20 -20
- package/js/src/bitrue.d.ts +18 -18
- package/js/src/bitrue.js +18 -18
- package/js/src/bitso.d.ts +20 -20
- package/js/src/bitso.js +20 -20
- package/js/src/bitstamp.d.ts +21 -21
- package/js/src/bitstamp.js +21 -21
- package/js/src/bittrade.d.ts +20 -20
- package/js/src/bittrade.js +20 -20
- package/js/src/bitvavo.d.ts +19 -19
- package/js/src/bitvavo.js +19 -19
- package/js/src/blockchaincom.d.ts +20 -20
- package/js/src/blockchaincom.js +20 -20
- package/js/src/blofin.d.ts +26 -26
- package/js/src/blofin.js +26 -26
- package/js/src/btcalpha.d.ts +14 -14
- package/js/src/btcalpha.js +35 -34
- package/js/src/btcbox.d.ts +10 -10
- package/js/src/btcbox.js +10 -10
- package/js/src/btcmarkets.d.ts +16 -16
- package/js/src/btcmarkets.js +16 -16
- package/js/src/btcturk.d.ts +10 -10
- package/js/src/btcturk.js +10 -10
- package/js/src/bullish.d.ts +26 -26
- package/js/src/bullish.js +26 -26
- package/js/src/bybit.d.ts +66 -66
- package/js/src/bybit.js +67 -67
- package/js/src/cex.d.ts +18 -18
- package/js/src/cex.js +18 -18
- package/js/src/coinbase.d.ts +40 -40
- package/js/src/coinbase.js +40 -40
- package/js/src/coinbaseexchange.d.ts +22 -22
- package/js/src/coinbaseexchange.js +22 -22
- package/js/src/coinbaseinternational.d.ts +22 -22
- package/js/src/coinbaseinternational.js +22 -22
- package/js/src/coincatch.d.ts +39 -39
- package/js/src/coincatch.js +39 -39
- package/js/src/coincheck.d.ts +11 -11
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.d.ts +48 -48
- package/js/src/coinex.js +48 -48
- package/js/src/coinmate.d.ts +14 -14
- package/js/src/coinmate.js +14 -14
- package/js/src/coinmetro.d.ts +14 -14
- package/js/src/coinmetro.js +14 -14
- package/js/src/coinone.d.ts +11 -11
- package/js/src/coinone.js +11 -11
- package/js/src/coinsph.d.ts +20 -20
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.d.ts +8 -8
- package/js/src/coinspot.js +8 -8
- package/js/src/cryptocom.d.ts +32 -32
- package/js/src/cryptocom.js +32 -32
- package/js/src/cryptomus.d.ts +9 -9
- package/js/src/cryptomus.js +9 -9
- package/js/src/deepcoin.d.ts +33 -33
- package/js/src/deepcoin.js +33 -33
- package/js/src/defx.d.ts +23 -23
- package/js/src/defx.js +23 -23
- package/js/src/delta.d.ts +29 -29
- package/js/src/delta.js +29 -29
- package/js/src/deribit.d.ts +36 -36
- package/js/src/deribit.js +36 -36
- package/js/src/derive.d.ts +19 -19
- package/js/src/derive.js +19 -19
- package/js/src/digifinex.d.ts +36 -36
- package/js/src/digifinex.js +36 -36
- package/js/src/dydx.d.ts +22 -22
- package/js/src/dydx.js +22 -22
- package/js/src/exmo.d.ts +29 -29
- package/js/src/exmo.js +29 -29
- package/js/src/foxbit.d.ts +23 -23
- package/js/src/foxbit.js +23 -23
- package/js/src/gate.d.ts +57 -57
- package/js/src/gate.js +57 -57
- package/js/src/gemini.d.ts +16 -16
- package/js/src/gemini.js +16 -16
- package/js/src/hashkey.d.ts +35 -35
- package/js/src/hashkey.js +35 -35
- package/js/src/hibachi.d.ts +24 -24
- package/js/src/hibachi.js +24 -24
- package/js/src/hitbtc.d.ts +38 -38
- package/js/src/hitbtc.js +38 -38
- package/js/src/hollaex.d.ts +22 -22
- package/js/src/hollaex.js +22 -22
- package/js/src/htx.d.ts +50 -50
- package/js/src/htx.js +50 -50
- package/js/src/hyperliquid.d.ts +46 -36
- package/js/src/hyperliquid.js +76 -42
- package/js/src/independentreserve.d.ts +13 -13
- package/js/src/independentreserve.js +13 -13
- package/js/src/indodax.d.ts +14 -14
- package/js/src/indodax.js +14 -14
- package/js/src/kraken.d.ts +30 -30
- package/js/src/kraken.js +30 -30
- package/js/src/krakenfutures.d.ts +21 -21
- package/js/src/krakenfutures.js +21 -21
- package/js/src/kucoin.d.ts +44 -44
- package/js/src/kucoin.js +44 -44
- package/js/src/kucoinfutures.d.ts +35 -35
- package/js/src/kucoinfutures.js +42 -40
- package/js/src/latoken.d.ts +16 -16
- package/js/src/latoken.js +16 -16
- package/js/src/lbank.d.ts +23 -23
- package/js/src/lbank.js +23 -23
- package/js/src/luno.d.ts +17 -17
- package/js/src/luno.js +17 -17
- package/js/src/mercado.d.ts +11 -11
- package/js/src/mercado.js +11 -11
- package/js/src/mexc.d.ts +47 -47
- package/js/src/mexc.js +47 -47
- package/js/src/modetrade.d.ts +31 -31
- package/js/src/modetrade.js +37 -35
- package/js/src/ndax.d.ts +19 -19
- package/js/src/ndax.js +19 -19
- package/js/src/novadax.d.ts +19 -19
- package/js/src/novadax.js +19 -19
- package/js/src/oceanex.d.ts +16 -16
- package/js/src/oceanex.js +16 -16
- package/js/src/okx.d.ts +74 -74
- package/js/src/okx.js +83 -83
- package/js/src/onetrading.d.ts +34 -33
- package/js/src/onetrading.js +34 -33
- package/js/src/oxfun.d.ts +25 -25
- package/js/src/oxfun.js +25 -25
- package/js/src/p2b.d.ts +11 -11
- package/js/src/p2b.js +11 -11
- package/js/src/paradex.d.ts +54 -54
- package/js/src/paradex.js +54 -54
- package/js/src/paymium.d.ts +20 -21
- package/js/src/paymium.js +20 -21
- package/js/src/phemex.d.ts +30 -30
- package/js/src/phemex.js +35 -35
- package/js/src/poloniex.d.ts +26 -26
- package/js/src/poloniex.js +27 -27
- package/js/src/pro/alpaca.d.ts +5 -5
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/apex.d.ts +8 -8
- package/js/src/pro/apex.js +8 -8
- package/js/src/pro/arkham.d.ts +5 -5
- package/js/src/pro/arkham.js +5 -5
- package/js/src/pro/ascendex.d.ts +5 -5
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/backpack.d.ts +16 -16
- package/js/src/pro/backpack.js +16 -16
- package/js/src/pro/binance.d.ts +35 -35
- package/js/src/pro/binance.js +35 -35
- package/js/src/pro/bingx.d.ts +9 -9
- package/js/src/pro/bingx.js +9 -9
- package/js/src/pro/bitfinex.d.ts +8 -8
- package/js/src/pro/bitfinex.js +8 -8
- package/js/src/pro/bitget.d.ts +12 -12
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bithumb.d.ts +3 -3
- package/js/src/pro/bithumb.js +3 -3
- package/js/src/pro/bitmart.d.ts +120 -9
- package/js/src/pro/bitmart.js +388 -31
- package/js/src/pro/bitmex.d.ts +9 -9
- package/js/src/pro/bitmex.js +9 -9
- package/js/src/pro/bitopro.d.ts +5 -5
- package/js/src/pro/bitopro.js +5 -5
- package/js/src/pro/bitrue.d.ts +2 -2
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.d.ts +3 -3
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrade.d.ts +3 -3
- package/js/src/pro/bittrade.js +3 -3
- package/js/src/pro/bitvavo.d.ts +19 -19
- package/js/src/pro/bitvavo.js +19 -19
- package/js/src/pro/blockchaincom.d.ts +5 -5
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/blofin.d.ts +10 -10
- package/js/src/pro/blofin.js +10 -10
- package/js/src/pro/bullish.d.ts +6 -6
- package/js/src/pro/bullish.js +6 -6
- package/js/src/pro/bybit.d.ts +19 -19
- package/js/src/pro/bybit.js +19 -19
- package/js/src/pro/cex.d.ts +13 -13
- package/js/src/pro/cex.js +13 -13
- package/js/src/pro/coinbase.d.ts +13 -13
- package/js/src/pro/coinbase.js +13 -13
- package/js/src/pro/coinbaseexchange.d.ts +10 -10
- package/js/src/pro/coinbaseexchange.js +10 -10
- package/js/src/pro/coinbaseinternational.d.ts +8 -8
- package/js/src/pro/coinbaseinternational.js +8 -8
- package/js/src/pro/coincatch.d.ts +10 -10
- package/js/src/pro/coincatch.js +10 -10
- package/js/src/pro/coincheck.d.ts +2 -2
- package/js/src/pro/coincheck.js +2 -2
- package/js/src/pro/coinex.d.ts +10 -10
- package/js/src/pro/coinex.js +10 -10
- package/js/src/pro/coinone.d.ts +3 -3
- package/js/src/pro/coinone.js +3 -3
- package/js/src/pro/cryptocom.d.ts +20 -20
- package/js/src/pro/cryptocom.js +20 -20
- package/js/src/pro/deepcoin.d.ts +8 -8
- package/js/src/pro/deepcoin.js +8 -8
- package/js/src/pro/defx.d.ts +15 -15
- package/js/src/pro/defx.js +15 -15
- package/js/src/pro/deribit.d.ts +10 -10
- package/js/src/pro/deribit.js +10 -10
- package/js/src/pro/derive.d.ts +6 -6
- package/js/src/pro/derive.js +6 -6
- package/js/src/pro/dydx.d.ts +3 -3
- package/js/src/pro/dydx.js +3 -3
- package/js/src/pro/exmo.d.ts +7 -7
- package/js/src/pro/exmo.js +7 -7
- package/js/src/pro/gate.d.ts +22 -23
- package/js/src/pro/gate.js +21 -59
- package/js/src/pro/gemini.d.ts +6 -6
- package/js/src/pro/gemini.js +6 -6
- package/js/src/pro/hashkey.d.ts +6 -6
- package/js/src/pro/hashkey.js +6 -6
- package/js/src/pro/hitbtc.d.ts +8 -8
- package/js/src/pro/hitbtc.js +8 -8
- package/js/src/pro/hollaex.d.ts +5 -5
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.d.ts +9 -9
- package/js/src/pro/htx.js +9 -9
- package/js/src/pro/hyperliquid.d.ts +38 -14
- package/js/src/pro/hyperliquid.js +103 -14
- package/js/src/pro/independentreserve.d.ts +2 -2
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.d.ts +15 -15
- package/js/src/pro/kraken.js +15 -15
- package/js/src/pro/krakenfutures.d.ts +10 -10
- package/js/src/pro/krakenfutures.js +10 -10
- package/js/src/pro/kucoin.d.ts +15 -15
- package/js/src/pro/kucoin.js +15 -15
- package/js/src/pro/kucoinfutures.d.ts +13 -13
- package/js/src/pro/kucoinfutures.js +13 -13
- package/js/src/pro/lbank.d.ts +5 -5
- package/js/src/pro/lbank.js +5 -5
- package/js/src/pro/luno.d.ts +2 -2
- package/js/src/pro/luno.js +2 -2
- package/js/src/pro/mexc.d.ts +13 -13
- package/js/src/pro/mexc.js +13 -13
- package/js/src/pro/modetrade.d.ts +8 -8
- package/js/src/pro/modetrade.js +8 -8
- package/js/src/pro/ndax.d.ts +3 -3
- package/js/src/pro/ndax.js +3 -3
- package/js/src/pro/okx.d.ts +25 -25
- package/js/src/pro/okx.js +25 -25
- package/js/src/pro/onetrading.d.ts +6 -6
- package/js/src/pro/onetrading.js +6 -6
- package/js/src/pro/oxfun.d.ts +13 -13
- package/js/src/pro/oxfun.js +13 -13
- package/js/src/pro/p2b.d.ts +5 -5
- package/js/src/pro/p2b.js +5 -5
- package/js/src/pro/paradex.d.ts +8 -8
- package/js/src/pro/paradex.js +8 -8
- package/js/src/pro/phemex.d.ts +7 -7
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.d.ts +8 -8
- package/js/src/pro/poloniex.js +8 -8
- package/js/src/pro/probit.d.ts +6 -6
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/toobit.d.ts +9 -9
- package/js/src/pro/toobit.js +9 -9
- package/js/src/pro/upbit.d.ts +9 -9
- package/js/src/pro/upbit.js +9 -9
- package/js/src/pro/whitebit.d.ts +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.d.ts +13 -13
- package/js/src/pro/woo.js +13 -13
- package/js/src/pro/woofipro.d.ts +20 -20
- package/js/src/pro/woofipro.js +20 -20
- package/js/src/pro/xt.d.ts +2 -2
- package/js/src/pro/xt.js +2 -2
- package/js/src/probit.d.ts +18 -18
- package/js/src/probit.js +18 -18
- package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
- package/js/src/static_dependencies/ethers/utils/index.js +8 -1
- package/js/src/timex.d.ts +16 -16
- package/js/src/timex.js +16 -16
- package/js/src/tokocrypto.d.ts +17 -17
- package/js/src/tokocrypto.js +17 -17
- package/js/src/toobit.d.ts +27 -27
- package/js/src/toobit.js +31 -29
- package/js/src/upbit.d.ts +23 -23
- package/js/src/upbit.js +23 -23
- package/js/src/wavesexchange.d.ts +15 -15
- package/js/src/wavesexchange.js +86 -85
- package/js/src/whitebit.d.ts +44 -44
- package/js/src/whitebit.js +44 -44
- package/js/src/woo.d.ts +45 -45
- package/js/src/woo.js +51 -49
- package/js/src/woofipro.d.ts +77 -77
- package/js/src/woofipro.js +104 -82
- package/js/src/xt.d.ts +12 -12
- package/js/src/xt.js +17 -12
- package/js/src/yobit.d.ts +15 -15
- package/js/src/yobit.js +15 -15
- package/js/src/zaif.d.ts +9 -9
- package/js/src/zaif.js +38 -9
- package/js/src/zebpay.d.ts +20 -20
- package/js/src/zebpay.js +35 -20
- package/js/src/zonda.d.ts +14 -14
- package/js/src/zonda.js +14 -14
- package/package.json +1 -1
package/js/src/cryptocom.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export default class cryptocom extends Exchange {
|
|
|
32
32
|
* @see https://exchange-docs.crypto.com/derivatives/index.html#public-get-tickers
|
|
33
33
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
34
34
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
35
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
35
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
36
36
|
*/
|
|
37
37
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
38
38
|
/**
|
|
@@ -42,7 +42,7 @@ export default class cryptocom extends Exchange {
|
|
|
42
42
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
43
43
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
44
44
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
45
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
45
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
46
46
|
*/
|
|
47
47
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
48
48
|
/**
|
|
@@ -56,7 +56,7 @@ export default class cryptocom extends Exchange {
|
|
|
56
56
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
57
57
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
58
58
|
* @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)
|
|
59
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
59
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
60
60
|
*/
|
|
61
61
|
fetchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
62
62
|
/**
|
|
@@ -70,7 +70,7 @@ export default class cryptocom extends Exchange {
|
|
|
70
70
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
71
71
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
72
72
|
* @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)
|
|
73
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
73
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
74
74
|
*/
|
|
75
75
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
76
76
|
/**
|
|
@@ -96,7 +96,7 @@ export default class cryptocom extends Exchange {
|
|
|
96
96
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
97
97
|
* @param {int} [limit] the number of order book entries to return, max 50
|
|
98
98
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
99
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
99
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
100
100
|
*/
|
|
101
101
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
102
102
|
parseBalance(response: any): Balances;
|
|
@@ -106,7 +106,7 @@ export default class cryptocom extends Exchange {
|
|
|
106
106
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
107
107
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-user-balance
|
|
108
108
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
109
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
109
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
110
110
|
*/
|
|
111
111
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
112
112
|
/**
|
|
@@ -117,7 +117,7 @@ export default class cryptocom extends Exchange {
|
|
|
117
117
|
* @param {string} id order id
|
|
118
118
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
119
119
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
120
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
120
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
121
121
|
*/
|
|
122
122
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
123
123
|
createOrderRequest(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): any;
|
|
@@ -137,7 +137,7 @@ export default class cryptocom extends Exchange {
|
|
|
137
137
|
* @param {float} [params.triggerPrice] price to trigger a trigger order
|
|
138
138
|
* @param {float} [params.stopLossPrice] price to trigger a stop-loss trigger order
|
|
139
139
|
* @param {float} [params.takeProfitPrice] price to trigger a take-profit trigger order
|
|
140
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
140
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
141
141
|
*/
|
|
142
142
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
143
143
|
/**
|
|
@@ -148,7 +148,7 @@ export default class cryptocom extends Exchange {
|
|
|
148
148
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-create-order-list-oco
|
|
149
149
|
* @param {Array} orders list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
|
|
150
150
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
151
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
151
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
152
152
|
*/
|
|
153
153
|
createOrders(orders: OrderRequest[], params?: {}): Promise<Order[]>;
|
|
154
154
|
createAdvancedOrderRequest(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): any;
|
|
@@ -165,7 +165,7 @@ export default class cryptocom extends Exchange {
|
|
|
165
165
|
* @param {float} price (mandatory) the price for the order, in units of the quote currency, ignored in market orders
|
|
166
166
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
167
167
|
* @param {string} [params.clientOrderId] the original client order id of the order to edit, required if id is not provided
|
|
168
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
168
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
169
169
|
*/
|
|
170
170
|
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
171
171
|
editOrderRequest(id: string, symbol: string, amount: number, price?: Num, params?: {}): any;
|
|
@@ -176,7 +176,7 @@ export default class cryptocom extends Exchange {
|
|
|
176
176
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
|
|
177
177
|
* @param {string} symbol unified market symbol of the orders to cancel
|
|
178
178
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
179
|
-
* @returns {object} Returns exchange raw message{@link https://docs.ccxt.com
|
|
179
|
+
* @returns {object} Returns exchange raw message{@link https://docs.ccxt.com/?id=order-structure}
|
|
180
180
|
*/
|
|
181
181
|
cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
|
|
182
182
|
/**
|
|
@@ -187,7 +187,7 @@ export default class cryptocom extends Exchange {
|
|
|
187
187
|
* @param {string} id the order id of the order to cancel
|
|
188
188
|
* @param {string} [symbol] unified symbol of the market the order was made in
|
|
189
189
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
190
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
190
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
191
191
|
*/
|
|
192
192
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
193
193
|
/**
|
|
@@ -198,7 +198,7 @@ export default class cryptocom extends Exchange {
|
|
|
198
198
|
* @param {string[]} ids order ids
|
|
199
199
|
* @param {string} symbol unified market symbol
|
|
200
200
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
201
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
201
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
202
202
|
*/
|
|
203
203
|
cancelOrders(ids: string[], symbol?: Str, params?: {}): Promise<Order[]>;
|
|
204
204
|
/**
|
|
@@ -208,7 +208,7 @@ export default class cryptocom extends Exchange {
|
|
|
208
208
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-order-list-list
|
|
209
209
|
* @param {CancellationRequest[]} orders each order should contain the parameters required by cancelOrder namely id and symbol, example [{"id": "a", "symbol": "BTC/USDT"}, {"id": "b", "symbol": "ETH/USDT"}]
|
|
210
210
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
211
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
211
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
212
212
|
*/
|
|
213
213
|
cancelOrdersForSymbols(orders: CancellationRequest[], params?: {}): Promise<Order[]>;
|
|
214
214
|
/**
|
|
@@ -220,7 +220,7 @@ export default class cryptocom extends Exchange {
|
|
|
220
220
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
221
221
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
222
222
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
223
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
223
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
224
224
|
*/
|
|
225
225
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
226
226
|
/**
|
|
@@ -234,7 +234,7 @@ export default class cryptocom extends Exchange {
|
|
|
234
234
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
235
235
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
236
236
|
* @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)
|
|
237
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
237
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
238
238
|
*/
|
|
239
239
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
240
240
|
parseAddress(addressString: any): any[];
|
|
@@ -248,7 +248,7 @@ export default class cryptocom extends Exchange {
|
|
|
248
248
|
* @param {string} address the address to withdraw to
|
|
249
249
|
* @param {string} tag
|
|
250
250
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
251
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
251
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
252
252
|
*/
|
|
253
253
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
254
254
|
/**
|
|
@@ -258,7 +258,7 @@ export default class cryptocom extends Exchange {
|
|
|
258
258
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-deposit-address
|
|
259
259
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
260
260
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
261
|
-
* @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com
|
|
261
|
+
* @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/?id=address-structure} indexed by the network
|
|
262
262
|
*/
|
|
263
263
|
fetchDepositAddressesByNetwork(code: string, params?: {}): Promise<DepositAddress[]>;
|
|
264
264
|
/**
|
|
@@ -268,7 +268,7 @@ export default class cryptocom extends Exchange {
|
|
|
268
268
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-deposit-address
|
|
269
269
|
* @param {string} code unified currency code
|
|
270
270
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
271
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
271
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
272
272
|
*/
|
|
273
273
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
274
274
|
/**
|
|
@@ -281,7 +281,7 @@ export default class cryptocom extends Exchange {
|
|
|
281
281
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
282
282
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
283
283
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
284
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
284
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
285
285
|
*/
|
|
286
286
|
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
287
287
|
/**
|
|
@@ -294,7 +294,7 @@ export default class cryptocom extends Exchange {
|
|
|
294
294
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
295
295
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
296
296
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
297
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
297
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
298
298
|
*/
|
|
299
299
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
300
300
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -315,7 +315,7 @@ export default class cryptocom extends Exchange {
|
|
|
315
315
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-currency-networks
|
|
316
316
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
317
317
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
318
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
318
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
319
319
|
*/
|
|
320
320
|
fetchDepositWithdrawFees(codes?: Strings, params?: {}): Promise<any>;
|
|
321
321
|
/**
|
|
@@ -328,7 +328,7 @@ export default class cryptocom extends Exchange {
|
|
|
328
328
|
* @param {int} [limit] max number of ledger entries to return
|
|
329
329
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
330
330
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
331
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
331
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
332
332
|
*/
|
|
333
333
|
fetchLedger(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<LedgerEntry[]>;
|
|
334
334
|
parseLedgerEntry(item: Dict, currency?: Currency): LedgerEntry;
|
|
@@ -339,7 +339,7 @@ export default class cryptocom extends Exchange {
|
|
|
339
339
|
* @description fetch all the accounts associated with a profile
|
|
340
340
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-accounts
|
|
341
341
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
342
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
342
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
343
343
|
*/
|
|
344
344
|
fetchAccounts(params?: {}): Promise<Account[]>;
|
|
345
345
|
parseAccount(account: any): {
|
|
@@ -358,7 +358,7 @@ export default class cryptocom extends Exchange {
|
|
|
358
358
|
* @param {int} [limit] number of records
|
|
359
359
|
* @param {object} [params] exchange specific params
|
|
360
360
|
* @param {int} [params.type] 'future', 'option'
|
|
361
|
-
* @returns {object[]} a list of [settlement history objects]{@link https://docs.ccxt.com
|
|
361
|
+
* @returns {object[]} a list of [settlement history objects]{@link https://docs.ccxt.com/?id=settlement-history-structure}
|
|
362
362
|
*/
|
|
363
363
|
fetchSettlementHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<any>;
|
|
364
364
|
parseSettlement(settlement: any, market: any): {
|
|
@@ -376,7 +376,7 @@ export default class cryptocom extends Exchange {
|
|
|
376
376
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-valuations
|
|
377
377
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
378
378
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
379
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
379
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
380
380
|
*/
|
|
381
381
|
fetchFundingRate(symbol: string, params?: {}): Promise<FundingRate>;
|
|
382
382
|
parseFundingRate(contract: any, market?: Market): FundingRate;
|
|
@@ -391,7 +391,7 @@ export default class cryptocom extends Exchange {
|
|
|
391
391
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
392
392
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
393
393
|
* @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)
|
|
394
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
394
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
395
395
|
*/
|
|
396
396
|
fetchFundingRateHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<FundingRateHistory[]>;
|
|
397
397
|
/**
|
|
@@ -401,7 +401,7 @@ export default class cryptocom extends Exchange {
|
|
|
401
401
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
|
|
402
402
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
403
403
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
404
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
404
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
405
405
|
*/
|
|
406
406
|
fetchPosition(symbol: string, params?: {}): Promise<Position>;
|
|
407
407
|
/**
|
|
@@ -411,7 +411,7 @@ export default class cryptocom extends Exchange {
|
|
|
411
411
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
|
|
412
412
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
413
413
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
414
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
414
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
415
415
|
*/
|
|
416
416
|
fetchPositions(symbols?: Strings, params?: {}): Promise<Position[]>;
|
|
417
417
|
parsePosition(position: Dict, market?: Market): Position;
|
|
@@ -429,7 +429,7 @@ export default class cryptocom extends Exchange {
|
|
|
429
429
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
430
430
|
* @param {string} [params.type] LIMIT or MARKET
|
|
431
431
|
* @param {number} [params.price] for limit orders only
|
|
432
|
-
* @returns {object[]} [A list of position structures]{@link https://docs.ccxt.com
|
|
432
|
+
* @returns {object[]} [A list of position structures]{@link https://docs.ccxt.com/?id=position-structure}
|
|
433
433
|
*/
|
|
434
434
|
closePosition(symbol: string, side?: OrderSide, params?: {}): Promise<Order>;
|
|
435
435
|
/**
|
|
@@ -439,7 +439,7 @@ export default class cryptocom extends Exchange {
|
|
|
439
439
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-instrument-fee-rate
|
|
440
440
|
* @param {string} symbol unified market symbol
|
|
441
441
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
442
|
-
* @returns {object} a [fee structure]{@link https://docs.ccxt.com
|
|
442
|
+
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
443
443
|
*/
|
|
444
444
|
fetchTradingFee(symbol: string, params?: {}): Promise<TradingFeeInterface>;
|
|
445
445
|
/**
|
|
@@ -448,7 +448,7 @@ export default class cryptocom extends Exchange {
|
|
|
448
448
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-fee-rate
|
|
449
449
|
* @description fetch the trading fees for multiple markets
|
|
450
450
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
451
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
451
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
452
452
|
*/
|
|
453
453
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
454
454
|
parseTradingFees(response: any): Dict;
|
package/js/src/cryptocom.js
CHANGED
|
@@ -867,7 +867,7 @@ export default class cryptocom extends Exchange {
|
|
|
867
867
|
* @see https://exchange-docs.crypto.com/derivatives/index.html#public-get-tickers
|
|
868
868
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
869
869
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
870
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
870
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
871
871
|
*/
|
|
872
872
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
873
873
|
await this.loadMarkets();
|
|
@@ -924,7 +924,7 @@ export default class cryptocom extends Exchange {
|
|
|
924
924
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
925
925
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
926
926
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
927
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
927
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
928
928
|
*/
|
|
929
929
|
async fetchTicker(symbol, params = {}) {
|
|
930
930
|
await this.loadMarkets();
|
|
@@ -943,7 +943,7 @@ export default class cryptocom extends Exchange {
|
|
|
943
943
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
944
944
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
945
945
|
* @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)
|
|
946
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
946
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
947
947
|
*/
|
|
948
948
|
async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
949
949
|
await this.loadMarkets();
|
|
@@ -1024,7 +1024,7 @@ export default class cryptocom extends Exchange {
|
|
|
1024
1024
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1025
1025
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
1026
1026
|
* @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)
|
|
1027
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1027
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1028
1028
|
*/
|
|
1029
1029
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1030
1030
|
await this.loadMarkets();
|
|
@@ -1155,7 +1155,7 @@ export default class cryptocom extends Exchange {
|
|
|
1155
1155
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1156
1156
|
* @param {int} [limit] the number of order book entries to return, max 50
|
|
1157
1157
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1158
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
1158
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
1159
1159
|
*/
|
|
1160
1160
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
1161
1161
|
await this.loadMarkets();
|
|
@@ -1213,7 +1213,7 @@ export default class cryptocom extends Exchange {
|
|
|
1213
1213
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1214
1214
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-user-balance
|
|
1215
1215
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1216
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1216
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1217
1217
|
*/
|
|
1218
1218
|
async fetchBalance(params = {}) {
|
|
1219
1219
|
await this.loadMarkets();
|
|
@@ -1271,7 +1271,7 @@ export default class cryptocom extends Exchange {
|
|
|
1271
1271
|
* @param {string} id order id
|
|
1272
1272
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1273
1273
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1274
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1274
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1275
1275
|
*/
|
|
1276
1276
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1277
1277
|
await this.loadMarkets();
|
|
@@ -1448,7 +1448,7 @@ export default class cryptocom extends Exchange {
|
|
|
1448
1448
|
* @param {float} [params.triggerPrice] price to trigger a trigger order
|
|
1449
1449
|
* @param {float} [params.stopLossPrice] price to trigger a stop-loss trigger order
|
|
1450
1450
|
* @param {float} [params.takeProfitPrice] price to trigger a take-profit trigger order
|
|
1451
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1451
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1452
1452
|
*/
|
|
1453
1453
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1454
1454
|
await this.loadMarkets();
|
|
@@ -1477,7 +1477,7 @@ export default class cryptocom extends Exchange {
|
|
|
1477
1477
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-create-order-list-oco
|
|
1478
1478
|
* @param {Array} orders list of orders to create, each object should contain the parameters required by createOrder, namely symbol, type, side, amount, price and params
|
|
1479
1479
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1480
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1480
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1481
1481
|
*/
|
|
1482
1482
|
async createOrders(orders, params = {}) {
|
|
1483
1483
|
await this.loadMarkets();
|
|
@@ -1693,7 +1693,7 @@ export default class cryptocom extends Exchange {
|
|
|
1693
1693
|
* @param {float} price (mandatory) the price for the order, in units of the quote currency, ignored in market orders
|
|
1694
1694
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1695
1695
|
* @param {string} [params.clientOrderId] the original client order id of the order to edit, required if id is not provided
|
|
1696
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1696
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1697
1697
|
*/
|
|
1698
1698
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
1699
1699
|
await this.loadMarkets();
|
|
@@ -1731,7 +1731,7 @@ export default class cryptocom extends Exchange {
|
|
|
1731
1731
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-all-orders
|
|
1732
1732
|
* @param {string} symbol unified market symbol of the orders to cancel
|
|
1733
1733
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1734
|
-
* @returns {object} Returns exchange raw message{@link https://docs.ccxt.com
|
|
1734
|
+
* @returns {object} Returns exchange raw message{@link https://docs.ccxt.com/?id=order-structure}
|
|
1735
1735
|
*/
|
|
1736
1736
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1737
1737
|
await this.loadMarkets();
|
|
@@ -1752,7 +1752,7 @@ export default class cryptocom extends Exchange {
|
|
|
1752
1752
|
* @param {string} id the order id of the order to cancel
|
|
1753
1753
|
* @param {string} [symbol] unified symbol of the market the order was made in
|
|
1754
1754
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1755
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1755
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1756
1756
|
*/
|
|
1757
1757
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1758
1758
|
await this.loadMarkets();
|
|
@@ -1787,7 +1787,7 @@ export default class cryptocom extends Exchange {
|
|
|
1787
1787
|
* @param {string[]} ids order ids
|
|
1788
1788
|
* @param {string} symbol unified market symbol
|
|
1789
1789
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1790
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
1790
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1791
1791
|
*/
|
|
1792
1792
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
1793
1793
|
if (symbol === undefined) {
|
|
@@ -1819,7 +1819,7 @@ export default class cryptocom extends Exchange {
|
|
|
1819
1819
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-cancel-order-list-list
|
|
1820
1820
|
* @param {CancellationRequest[]} orders each order should contain the parameters required by cancelOrder namely id and symbol, example [{"id": "a", "symbol": "BTC/USDT"}, {"id": "b", "symbol": "ETH/USDT"}]
|
|
1821
1821
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1822
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
1822
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1823
1823
|
*/
|
|
1824
1824
|
async cancelOrdersForSymbols(orders, params = {}) {
|
|
1825
1825
|
await this.loadMarkets();
|
|
@@ -1852,7 +1852,7 @@ export default class cryptocom extends Exchange {
|
|
|
1852
1852
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1853
1853
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
1854
1854
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1855
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1855
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1856
1856
|
*/
|
|
1857
1857
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1858
1858
|
await this.loadMarkets();
|
|
@@ -1915,7 +1915,7 @@ export default class cryptocom extends Exchange {
|
|
|
1915
1915
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1916
1916
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
1917
1917
|
* @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)
|
|
1918
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1918
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1919
1919
|
*/
|
|
1920
1920
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1921
1921
|
await this.loadMarkets();
|
|
@@ -1999,7 +1999,7 @@ export default class cryptocom extends Exchange {
|
|
|
1999
1999
|
* @param {string} address the address to withdraw to
|
|
2000
2000
|
* @param {string} tag
|
|
2001
2001
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2002
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2002
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2003
2003
|
*/
|
|
2004
2004
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2005
2005
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2046,7 +2046,7 @@ export default class cryptocom extends Exchange {
|
|
|
2046
2046
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-deposit-address
|
|
2047
2047
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
2048
2048
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2049
|
-
* @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com
|
|
2049
|
+
* @returns {object} a dictionary of [address structures]{@link https://docs.ccxt.com/?id=address-structure} indexed by the network
|
|
2050
2050
|
*/
|
|
2051
2051
|
async fetchDepositAddressesByNetwork(code, params = {}) {
|
|
2052
2052
|
await this.loadMarkets();
|
|
@@ -2107,7 +2107,7 @@ export default class cryptocom extends Exchange {
|
|
|
2107
2107
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-deposit-address
|
|
2108
2108
|
* @param {string} code unified currency code
|
|
2109
2109
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2110
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2110
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2111
2111
|
*/
|
|
2112
2112
|
async fetchDepositAddress(code, params = {}) {
|
|
2113
2113
|
const network = this.safeStringUpper(params, 'network');
|
|
@@ -2131,7 +2131,7 @@ export default class cryptocom extends Exchange {
|
|
|
2131
2131
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
2132
2132
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2133
2133
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
2134
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
2134
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2135
2135
|
*/
|
|
2136
2136
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2137
2137
|
await this.loadMarkets();
|
|
@@ -2190,7 +2190,7 @@ export default class cryptocom extends Exchange {
|
|
|
2190
2190
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
2191
2191
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2192
2192
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
2193
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
2193
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2194
2194
|
*/
|
|
2195
2195
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2196
2196
|
await this.loadMarkets();
|
|
@@ -2687,7 +2687,7 @@ export default class cryptocom extends Exchange {
|
|
|
2687
2687
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-currency-networks
|
|
2688
2688
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2689
2689
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2690
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
2690
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
2691
2691
|
*/
|
|
2692
2692
|
async fetchDepositWithdrawFees(codes = undefined, params = {}) {
|
|
2693
2693
|
await this.loadMarkets();
|
|
@@ -2706,7 +2706,7 @@ export default class cryptocom extends Exchange {
|
|
|
2706
2706
|
* @param {int} [limit] max number of ledger entries to return
|
|
2707
2707
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2708
2708
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
2709
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
2709
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
2710
2710
|
*/
|
|
2711
2711
|
async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2712
2712
|
await this.loadMarkets();
|
|
@@ -2847,7 +2847,7 @@ export default class cryptocom extends Exchange {
|
|
|
2847
2847
|
* @description fetch all the accounts associated with a profile
|
|
2848
2848
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-accounts
|
|
2849
2849
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2850
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
2850
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
2851
2851
|
*/
|
|
2852
2852
|
async fetchAccounts(params = {}) {
|
|
2853
2853
|
await this.loadMarkets();
|
|
@@ -2932,7 +2932,7 @@ export default class cryptocom extends Exchange {
|
|
|
2932
2932
|
* @param {int} [limit] number of records
|
|
2933
2933
|
* @param {object} [params] exchange specific params
|
|
2934
2934
|
* @param {int} [params.type] 'future', 'option'
|
|
2935
|
-
* @returns {object[]} a list of [settlement history objects]{@link https://docs.ccxt.com
|
|
2935
|
+
* @returns {object[]} a list of [settlement history objects]{@link https://docs.ccxt.com/?id=settlement-history-structure}
|
|
2936
2936
|
*/
|
|
2937
2937
|
async fetchSettlementHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2938
2938
|
await this.loadMarkets();
|
|
@@ -3016,7 +3016,7 @@ export default class cryptocom extends Exchange {
|
|
|
3016
3016
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#public-get-valuations
|
|
3017
3017
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
3018
3018
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3019
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
3019
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
3020
3020
|
*/
|
|
3021
3021
|
async fetchFundingRate(symbol, params = {}) {
|
|
3022
3022
|
await this.loadMarkets();
|
|
@@ -3095,7 +3095,7 @@ export default class cryptocom extends Exchange {
|
|
|
3095
3095
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3096
3096
|
* @param {int} [params.until] timestamp in ms for the ending date filter, default is the current time
|
|
3097
3097
|
* @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)
|
|
3098
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
3098
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
3099
3099
|
*/
|
|
3100
3100
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3101
3101
|
if (symbol === undefined) {
|
|
@@ -3168,7 +3168,7 @@ export default class cryptocom extends Exchange {
|
|
|
3168
3168
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
|
|
3169
3169
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
3170
3170
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3171
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
3171
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3172
3172
|
*/
|
|
3173
3173
|
async fetchPosition(symbol, params = {}) {
|
|
3174
3174
|
await this.loadMarkets();
|
|
@@ -3210,7 +3210,7 @@ export default class cryptocom extends Exchange {
|
|
|
3210
3210
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-positions
|
|
3211
3211
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
3212
3212
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3213
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
3213
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3214
3214
|
*/
|
|
3215
3215
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
3216
3216
|
await this.loadMarkets();
|
|
@@ -3363,7 +3363,7 @@ export default class cryptocom extends Exchange {
|
|
|
3363
3363
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
3364
3364
|
* @param {string} [params.type] LIMIT or MARKET
|
|
3365
3365
|
* @param {number} [params.price] for limit orders only
|
|
3366
|
-
* @returns {object[]} [A list of position structures]{@link https://docs.ccxt.com
|
|
3366
|
+
* @returns {object[]} [A list of position structures]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3367
3367
|
*/
|
|
3368
3368
|
async closePosition(symbol, side = undefined, params = {}) {
|
|
3369
3369
|
await this.loadMarkets();
|
|
@@ -3402,7 +3402,7 @@ export default class cryptocom extends Exchange {
|
|
|
3402
3402
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-instrument-fee-rate
|
|
3403
3403
|
* @param {string} symbol unified market symbol
|
|
3404
3404
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3405
|
-
* @returns {object} a [fee structure]{@link https://docs.ccxt.com
|
|
3405
|
+
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
3406
3406
|
*/
|
|
3407
3407
|
async fetchTradingFee(symbol, params = {}) {
|
|
3408
3408
|
await this.loadMarkets();
|
|
@@ -3435,7 +3435,7 @@ export default class cryptocom extends Exchange {
|
|
|
3435
3435
|
* @see https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#private-get-fee-rate
|
|
3436
3436
|
* @description fetch the trading fees for multiple markets
|
|
3437
3437
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3438
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
3438
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
3439
3439
|
*/
|
|
3440
3440
|
async fetchTradingFees(params = {}) {
|
|
3441
3441
|
await this.loadMarkets();
|