ccxt 4.5.28 → 4.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -7
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +6 -1
- package/dist/cjs/src/abstract/bydfi.js +11 -0
- package/dist/cjs/src/alpaca.js +21 -21
- package/dist/cjs/src/apex.js +20 -20
- package/dist/cjs/src/arkham.js +22 -22
- package/dist/cjs/src/ascendex.js +28 -28
- package/dist/cjs/src/backpack.js +22 -22
- package/dist/cjs/src/base/Exchange.js +48 -38
- package/dist/cjs/src/base/functions/throttle.js +54 -5
- package/dist/cjs/src/bigone.js +19 -19
- package/dist/cjs/src/binance.js +83 -82
- package/dist/cjs/src/bingx.js +47 -47
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +49 -48
- package/dist/cjs/src/bitbns.js +13 -13
- package/dist/cjs/src/bitfinex.js +33 -33
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitget.js +58 -57
- package/dist/cjs/src/bithumb.js +10 -10
- package/dist/cjs/src/bitmart.js +44 -44
- package/dist/cjs/src/bitmex.js +24 -24
- package/dist/cjs/src/bitopro.js +20 -20
- package/dist/cjs/src/bitrue.js +18 -18
- package/dist/cjs/src/bitso.js +20 -20
- package/dist/cjs/src/bitstamp.js +21 -21
- package/dist/cjs/src/bittrade.js +20 -20
- package/dist/cjs/src/bitvavo.js +19 -19
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/blofin.js +26 -26
- package/dist/cjs/src/btcalpha.js +35 -34
- package/dist/cjs/src/btcbox.js +10 -10
- package/dist/cjs/src/btcmarkets.js +16 -16
- package/dist/cjs/src/btcturk.js +10 -10
- package/dist/cjs/src/bullish.js +27 -27
- package/dist/cjs/src/bybit.js +69 -67
- package/dist/cjs/src/bydfi.js +2907 -0
- package/dist/cjs/src/cex.js +18 -18
- package/dist/cjs/src/coinbase.js +74 -41
- package/dist/cjs/src/coinbaseexchange.js +22 -22
- package/dist/cjs/src/coinbaseinternational.js +22 -22
- package/dist/cjs/src/coincatch.js +39 -39
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +48 -48
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinmetro.js +14 -14
- package/dist/cjs/src/coinone.js +11 -11
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +8 -8
- package/dist/cjs/src/cryptocom.js +32 -32
- package/dist/cjs/src/cryptomus.js +9 -9
- package/dist/cjs/src/deepcoin.js +33 -33
- package/dist/cjs/src/defx.js +23 -23
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +36 -36
- package/dist/cjs/src/derive.js +19 -19
- package/dist/cjs/src/digifinex.js +36 -36
- package/dist/cjs/src/dydx.js +25 -25
- package/dist/cjs/src/exmo.js +29 -29
- package/dist/cjs/src/foxbit.js +23 -23
- package/dist/cjs/src/gate.js +60 -59
- package/dist/cjs/src/gemini.js +16 -16
- package/dist/cjs/src/hashkey.js +35 -35
- package/dist/cjs/src/hibachi.js +24 -24
- package/dist/cjs/src/hitbtc.js +38 -38
- package/dist/cjs/src/hollaex.js +22 -22
- package/dist/cjs/src/htx.js +50 -50
- package/dist/cjs/src/hyperliquid.js +86 -45
- package/dist/cjs/src/independentreserve.js +13 -13
- package/dist/cjs/src/indodax.js +14 -14
- package/dist/cjs/src/kraken.js +30 -30
- package/dist/cjs/src/krakenfutures.js +21 -21
- package/dist/cjs/src/kucoin.js +156 -48
- package/dist/cjs/src/kucoinfutures.js +42 -40
- package/dist/cjs/src/latoken.js +16 -16
- package/dist/cjs/src/lbank.js +23 -23
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/mercado.js +11 -11
- package/dist/cjs/src/mexc.js +47 -47
- package/dist/cjs/src/modetrade.js +37 -35
- package/dist/cjs/src/ndax.js +19 -19
- package/dist/cjs/src/novadax.js +19 -19
- package/dist/cjs/src/oceanex.js +16 -16
- package/dist/cjs/src/okx.js +83 -83
- package/dist/cjs/src/onetrading.js +34 -33
- package/dist/cjs/src/oxfun.js +25 -25
- package/dist/cjs/src/p2b.js +11 -11
- package/dist/cjs/src/paradex.js +54 -54
- package/dist/cjs/src/paymium.js +20 -21
- package/dist/cjs/src/phemex.js +35 -35
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/apex.js +13 -11
- package/dist/cjs/src/pro/arkham.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/backpack.js +16 -16
- package/dist/cjs/src/pro/binance.js +45 -41
- package/dist/cjs/src/pro/bingx.js +14 -12
- package/dist/cjs/src/pro/bitfinex.js +8 -8
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bithumb.js +3 -3
- package/dist/cjs/src/pro/bitmart.js +393 -34
- package/dist/cjs/src/pro/bitmex.js +9 -9
- package/dist/cjs/src/pro/bitopro.js +5 -5
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrade.js +3 -3
- package/dist/cjs/src/pro/bitvavo.js +19 -19
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/blofin.js +10 -10
- package/dist/cjs/src/pro/bullish.js +6 -6
- package/dist/cjs/src/pro/bybit.js +24 -22
- package/dist/cjs/src/pro/bydfi.js +1077 -0
- package/dist/cjs/src/pro/cex.js +13 -13
- package/dist/cjs/src/pro/coinbase.js +13 -13
- package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
- package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
- package/dist/cjs/src/pro/coincatch.js +10 -10
- package/dist/cjs/src/pro/coincheck.js +2 -2
- package/dist/cjs/src/pro/coinex.js +10 -10
- package/dist/cjs/src/pro/coinone.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +25 -23
- package/dist/cjs/src/pro/deepcoin.js +8 -8
- package/dist/cjs/src/pro/defx.js +15 -15
- package/dist/cjs/src/pro/deribit.js +10 -10
- package/dist/cjs/src/pro/derive.js +6 -6
- package/dist/cjs/src/pro/dydx.js +3 -3
- package/dist/cjs/src/pro/exmo.js +7 -7
- package/dist/cjs/src/pro/gate.js +26 -62
- package/dist/cjs/src/pro/gemini.js +6 -6
- package/dist/cjs/src/pro/hashkey.js +11 -9
- package/dist/cjs/src/pro/hitbtc.js +8 -8
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +9 -9
- package/dist/cjs/src/pro/hyperliquid.js +103 -14
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +15 -15
- package/dist/cjs/src/pro/krakenfutures.js +10 -10
- package/dist/cjs/src/pro/kucoin.js +15 -15
- package/dist/cjs/src/pro/kucoinfutures.js +18 -16
- package/dist/cjs/src/pro/lbank.js +5 -5
- package/dist/cjs/src/pro/luno.js +2 -2
- package/dist/cjs/src/pro/mexc.js +13 -13
- package/dist/cjs/src/pro/modetrade.js +13 -11
- package/dist/cjs/src/pro/ndax.js +3 -3
- package/dist/cjs/src/pro/okx.js +25 -25
- package/dist/cjs/src/pro/onetrading.js +6 -6
- package/dist/cjs/src/pro/oxfun.js +13 -13
- package/dist/cjs/src/pro/p2b.js +5 -5
- package/dist/cjs/src/pro/paradex.js +8 -8
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +8 -8
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/toobit.js +20 -16
- package/dist/cjs/src/pro/upbit.js +9 -9
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +18 -16
- package/dist/cjs/src/pro/woofipro.js +25 -23
- package/dist/cjs/src/pro/xt.js +7 -5
- package/dist/cjs/src/probit.js +18 -18
- package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
- package/dist/cjs/src/timex.js +16 -16
- package/dist/cjs/src/tokocrypto.js +17 -17
- package/dist/cjs/src/toobit.js +33 -30
- package/dist/cjs/src/upbit.js +23 -23
- package/dist/cjs/src/wavesexchange.js +86 -85
- package/dist/cjs/src/whitebit.js +44 -44
- package/dist/cjs/src/woo.js +51 -49
- package/dist/cjs/src/woofipro.js +104 -82
- package/dist/cjs/src/xt.js +17 -12
- package/dist/cjs/src/yobit.js +15 -15
- package/dist/cjs/src/zaif.js +38 -9
- package/dist/cjs/src/zebpay.js +35 -20
- package/dist/cjs/src/zonda.js +14 -14
- package/js/ccxt.d.ts +8 -2
- package/js/ccxt.js +6 -2
- package/js/src/abstract/bydfi.d.ts +52 -0
- package/js/src/abstract/bydfi.js +11 -0
- package/js/src/alpaca.d.ts +21 -21
- package/js/src/alpaca.js +21 -21
- package/js/src/apex.d.ts +20 -20
- package/js/src/apex.js +20 -20
- package/js/src/arkham.d.ts +22 -22
- package/js/src/arkham.js +22 -22
- package/js/src/ascendex.d.ts +28 -28
- package/js/src/ascendex.js +28 -28
- package/js/src/backpack.d.ts +21 -21
- package/js/src/backpack.js +22 -22
- package/js/src/base/Exchange.d.ts +6 -3
- package/js/src/base/Exchange.js +48 -38
- package/js/src/base/functions/throttle.d.ts +22 -0
- package/js/src/base/functions/throttle.js +54 -5
- package/js/src/bigone.d.ts +19 -19
- package/js/src/bigone.js +19 -19
- package/js/src/binance.d.ts +82 -82
- package/js/src/binance.js +83 -82
- package/js/src/bingx.d.ts +46 -46
- package/js/src/bingx.js +47 -47
- package/js/src/bit2c.d.ts +11 -11
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.d.ts +12 -12
- package/js/src/bitbank.js +49 -48
- package/js/src/bitbns.d.ts +13 -13
- package/js/src/bitbns.js +13 -13
- package/js/src/bitfinex.d.ts +33 -33
- package/js/src/bitfinex.js +33 -33
- package/js/src/bitflyer.d.ts +17 -17
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitget.d.ts +57 -57
- package/js/src/bitget.js +58 -57
- package/js/src/bithumb.d.ts +10 -10
- package/js/src/bithumb.js +10 -10
- package/js/src/bitmart.d.ts +42 -42
- package/js/src/bitmart.js +44 -44
- package/js/src/bitmex.d.ts +24 -24
- package/js/src/bitmex.js +24 -24
- package/js/src/bitopro.d.ts +20 -20
- package/js/src/bitopro.js +20 -20
- package/js/src/bitrue.d.ts +18 -18
- package/js/src/bitrue.js +18 -18
- package/js/src/bitso.d.ts +20 -20
- package/js/src/bitso.js +20 -20
- package/js/src/bitstamp.d.ts +21 -21
- package/js/src/bitstamp.js +21 -21
- package/js/src/bittrade.d.ts +20 -20
- package/js/src/bittrade.js +20 -20
- package/js/src/bitvavo.d.ts +19 -19
- package/js/src/bitvavo.js +19 -19
- package/js/src/blockchaincom.d.ts +20 -20
- package/js/src/blockchaincom.js +20 -20
- package/js/src/blofin.d.ts +26 -26
- package/js/src/blofin.js +26 -26
- package/js/src/btcalpha.d.ts +14 -14
- package/js/src/btcalpha.js +35 -34
- package/js/src/btcbox.d.ts +10 -10
- package/js/src/btcbox.js +10 -10
- package/js/src/btcmarkets.d.ts +16 -16
- package/js/src/btcmarkets.js +16 -16
- package/js/src/btcturk.d.ts +10 -10
- package/js/src/btcturk.js +10 -10
- package/js/src/bullish.d.ts +26 -26
- package/js/src/bullish.js +27 -27
- package/js/src/bybit.d.ts +66 -66
- package/js/src/bybit.js +69 -67
- package/js/src/bydfi.d.ts +472 -0
- package/js/src/bydfi.js +2905 -0
- package/js/src/cex.d.ts +18 -18
- package/js/src/cex.js +18 -18
- package/js/src/coinbase.d.ts +51 -40
- package/js/src/coinbase.js +74 -41
- package/js/src/coinbaseexchange.d.ts +22 -22
- package/js/src/coinbaseexchange.js +22 -22
- package/js/src/coinbaseinternational.d.ts +22 -22
- package/js/src/coinbaseinternational.js +22 -22
- package/js/src/coincatch.d.ts +39 -39
- package/js/src/coincatch.js +39 -39
- package/js/src/coincheck.d.ts +11 -11
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.d.ts +48 -48
- package/js/src/coinex.js +48 -48
- package/js/src/coinmate.d.ts +14 -14
- package/js/src/coinmate.js +14 -14
- package/js/src/coinmetro.d.ts +14 -14
- package/js/src/coinmetro.js +14 -14
- package/js/src/coinone.d.ts +11 -11
- package/js/src/coinone.js +11 -11
- package/js/src/coinsph.d.ts +20 -20
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.d.ts +8 -8
- package/js/src/coinspot.js +8 -8
- package/js/src/cryptocom.d.ts +32 -32
- package/js/src/cryptocom.js +32 -32
- package/js/src/cryptomus.d.ts +9 -9
- package/js/src/cryptomus.js +9 -9
- package/js/src/deepcoin.d.ts +33 -33
- package/js/src/deepcoin.js +33 -33
- package/js/src/defx.d.ts +23 -23
- package/js/src/defx.js +23 -23
- package/js/src/delta.d.ts +29 -29
- package/js/src/delta.js +29 -29
- package/js/src/deribit.d.ts +36 -36
- package/js/src/deribit.js +36 -36
- package/js/src/derive.d.ts +19 -19
- package/js/src/derive.js +19 -19
- package/js/src/digifinex.d.ts +36 -36
- package/js/src/digifinex.js +36 -36
- package/js/src/dydx.d.ts +22 -22
- package/js/src/dydx.js +25 -25
- package/js/src/exmo.d.ts +29 -29
- package/js/src/exmo.js +29 -29
- package/js/src/foxbit.d.ts +23 -23
- package/js/src/foxbit.js +23 -23
- package/js/src/gate.d.ts +57 -57
- package/js/src/gate.js +60 -59
- package/js/src/gemini.d.ts +16 -16
- package/js/src/gemini.js +16 -16
- package/js/src/hashkey.d.ts +35 -35
- package/js/src/hashkey.js +35 -35
- package/js/src/hibachi.d.ts +24 -24
- package/js/src/hibachi.js +24 -24
- package/js/src/hitbtc.d.ts +38 -38
- package/js/src/hitbtc.js +38 -38
- package/js/src/hollaex.d.ts +22 -22
- package/js/src/hollaex.js +22 -22
- package/js/src/htx.d.ts +50 -50
- package/js/src/htx.js +50 -50
- package/js/src/hyperliquid.d.ts +46 -36
- package/js/src/hyperliquid.js +86 -45
- package/js/src/independentreserve.d.ts +13 -13
- package/js/src/independentreserve.js +13 -13
- package/js/src/indodax.d.ts +14 -14
- package/js/src/indodax.js +14 -14
- package/js/src/kraken.d.ts +30 -30
- package/js/src/kraken.js +30 -30
- package/js/src/krakenfutures.d.ts +21 -21
- package/js/src/krakenfutures.js +21 -21
- package/js/src/kucoin.d.ts +58 -44
- package/js/src/kucoin.js +156 -48
- package/js/src/kucoinfutures.d.ts +35 -35
- package/js/src/kucoinfutures.js +42 -40
- package/js/src/latoken.d.ts +16 -16
- package/js/src/latoken.js +16 -16
- package/js/src/lbank.d.ts +23 -23
- package/js/src/lbank.js +23 -23
- package/js/src/luno.d.ts +17 -17
- package/js/src/luno.js +17 -17
- package/js/src/mercado.d.ts +11 -11
- package/js/src/mercado.js +11 -11
- package/js/src/mexc.d.ts +47 -47
- package/js/src/mexc.js +47 -47
- package/js/src/modetrade.d.ts +31 -31
- package/js/src/modetrade.js +37 -35
- package/js/src/ndax.d.ts +19 -19
- package/js/src/ndax.js +19 -19
- package/js/src/novadax.d.ts +19 -19
- package/js/src/novadax.js +19 -19
- package/js/src/oceanex.d.ts +16 -16
- package/js/src/oceanex.js +16 -16
- package/js/src/okx.d.ts +74 -74
- package/js/src/okx.js +83 -83
- package/js/src/onetrading.d.ts +34 -33
- package/js/src/onetrading.js +34 -33
- package/js/src/oxfun.d.ts +25 -25
- package/js/src/oxfun.js +25 -25
- package/js/src/p2b.d.ts +11 -11
- package/js/src/p2b.js +11 -11
- package/js/src/paradex.d.ts +54 -54
- package/js/src/paradex.js +54 -54
- package/js/src/paymium.d.ts +20 -21
- package/js/src/paymium.js +20 -21
- package/js/src/phemex.d.ts +30 -30
- package/js/src/phemex.js +35 -35
- package/js/src/poloniex.d.ts +26 -26
- package/js/src/poloniex.js +27 -27
- package/js/src/pro/alpaca.d.ts +5 -5
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/apex.d.ts +8 -8
- package/js/src/pro/apex.js +13 -11
- package/js/src/pro/arkham.d.ts +5 -5
- package/js/src/pro/arkham.js +5 -5
- package/js/src/pro/ascendex.d.ts +5 -5
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/backpack.d.ts +16 -16
- package/js/src/pro/backpack.js +16 -16
- package/js/src/pro/binance.d.ts +35 -35
- package/js/src/pro/binance.js +45 -41
- package/js/src/pro/bingx.d.ts +9 -9
- package/js/src/pro/bingx.js +14 -12
- package/js/src/pro/bitfinex.d.ts +8 -8
- package/js/src/pro/bitfinex.js +8 -8
- package/js/src/pro/bitget.d.ts +12 -12
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bithumb.d.ts +3 -3
- package/js/src/pro/bithumb.js +3 -3
- package/js/src/pro/bitmart.d.ts +120 -9
- package/js/src/pro/bitmart.js +393 -34
- package/js/src/pro/bitmex.d.ts +9 -9
- package/js/src/pro/bitmex.js +9 -9
- package/js/src/pro/bitopro.d.ts +5 -5
- package/js/src/pro/bitopro.js +5 -5
- package/js/src/pro/bitrue.d.ts +2 -2
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.d.ts +3 -3
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrade.d.ts +3 -3
- package/js/src/pro/bittrade.js +3 -3
- package/js/src/pro/bitvavo.d.ts +19 -19
- package/js/src/pro/bitvavo.js +19 -19
- package/js/src/pro/blockchaincom.d.ts +5 -5
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/blofin.d.ts +10 -10
- package/js/src/pro/blofin.js +10 -10
- package/js/src/pro/bullish.d.ts +6 -6
- package/js/src/pro/bullish.js +6 -6
- package/js/src/pro/bybit.d.ts +19 -19
- package/js/src/pro/bybit.js +24 -22
- package/js/src/pro/bydfi.d.ts +206 -0
- package/js/src/pro/bydfi.js +1076 -0
- package/js/src/pro/cex.d.ts +13 -13
- package/js/src/pro/cex.js +13 -13
- package/js/src/pro/coinbase.d.ts +13 -13
- package/js/src/pro/coinbase.js +13 -13
- package/js/src/pro/coinbaseexchange.d.ts +10 -10
- package/js/src/pro/coinbaseexchange.js +10 -10
- package/js/src/pro/coinbaseinternational.d.ts +8 -8
- package/js/src/pro/coinbaseinternational.js +8 -8
- package/js/src/pro/coincatch.d.ts +10 -10
- package/js/src/pro/coincatch.js +10 -10
- package/js/src/pro/coincheck.d.ts +2 -2
- package/js/src/pro/coincheck.js +2 -2
- package/js/src/pro/coinex.d.ts +10 -10
- package/js/src/pro/coinex.js +10 -10
- package/js/src/pro/coinone.d.ts +3 -3
- package/js/src/pro/coinone.js +3 -3
- package/js/src/pro/cryptocom.d.ts +20 -20
- package/js/src/pro/cryptocom.js +25 -23
- package/js/src/pro/deepcoin.d.ts +8 -8
- package/js/src/pro/deepcoin.js +8 -8
- package/js/src/pro/defx.d.ts +15 -15
- package/js/src/pro/defx.js +15 -15
- package/js/src/pro/deribit.d.ts +10 -10
- package/js/src/pro/deribit.js +10 -10
- package/js/src/pro/derive.d.ts +6 -6
- package/js/src/pro/derive.js +6 -6
- package/js/src/pro/dydx.d.ts +3 -3
- package/js/src/pro/dydx.js +3 -3
- package/js/src/pro/exmo.d.ts +7 -7
- package/js/src/pro/exmo.js +7 -7
- package/js/src/pro/gate.d.ts +22 -23
- package/js/src/pro/gate.js +26 -62
- package/js/src/pro/gemini.d.ts +6 -6
- package/js/src/pro/gemini.js +6 -6
- package/js/src/pro/hashkey.d.ts +6 -6
- package/js/src/pro/hashkey.js +11 -9
- package/js/src/pro/hitbtc.d.ts +8 -8
- package/js/src/pro/hitbtc.js +8 -8
- package/js/src/pro/hollaex.d.ts +5 -5
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.d.ts +9 -9
- package/js/src/pro/htx.js +9 -9
- package/js/src/pro/hyperliquid.d.ts +38 -14
- package/js/src/pro/hyperliquid.js +103 -14
- package/js/src/pro/independentreserve.d.ts +2 -2
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.d.ts +15 -15
- package/js/src/pro/kraken.js +15 -15
- package/js/src/pro/krakenfutures.d.ts +10 -10
- package/js/src/pro/krakenfutures.js +10 -10
- package/js/src/pro/kucoin.d.ts +15 -15
- package/js/src/pro/kucoin.js +15 -15
- package/js/src/pro/kucoinfutures.d.ts +13 -13
- package/js/src/pro/kucoinfutures.js +18 -16
- package/js/src/pro/lbank.d.ts +5 -5
- package/js/src/pro/lbank.js +5 -5
- package/js/src/pro/luno.d.ts +2 -2
- package/js/src/pro/luno.js +2 -2
- package/js/src/pro/mexc.d.ts +13 -13
- package/js/src/pro/mexc.js +13 -13
- package/js/src/pro/modetrade.d.ts +8 -8
- package/js/src/pro/modetrade.js +13 -11
- package/js/src/pro/ndax.d.ts +3 -3
- package/js/src/pro/ndax.js +3 -3
- package/js/src/pro/okx.d.ts +25 -25
- package/js/src/pro/okx.js +25 -25
- package/js/src/pro/onetrading.d.ts +6 -6
- package/js/src/pro/onetrading.js +6 -6
- package/js/src/pro/oxfun.d.ts +13 -13
- package/js/src/pro/oxfun.js +13 -13
- package/js/src/pro/p2b.d.ts +5 -5
- package/js/src/pro/p2b.js +5 -5
- package/js/src/pro/paradex.d.ts +8 -8
- package/js/src/pro/paradex.js +8 -8
- package/js/src/pro/phemex.d.ts +7 -7
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.d.ts +8 -8
- package/js/src/pro/poloniex.js +8 -8
- package/js/src/pro/probit.d.ts +6 -6
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/toobit.d.ts +9 -9
- package/js/src/pro/toobit.js +20 -16
- package/js/src/pro/upbit.d.ts +9 -9
- package/js/src/pro/upbit.js +9 -9
- package/js/src/pro/whitebit.d.ts +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.d.ts +13 -13
- package/js/src/pro/woo.js +18 -16
- package/js/src/pro/woofipro.d.ts +20 -20
- package/js/src/pro/woofipro.js +25 -23
- package/js/src/pro/xt.d.ts +2 -2
- package/js/src/pro/xt.js +7 -5
- package/js/src/probit.d.ts +18 -18
- package/js/src/probit.js +18 -18
- package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
- package/js/src/static_dependencies/ethers/utils/index.js +8 -1
- package/js/src/timex.d.ts +16 -16
- package/js/src/timex.js +16 -16
- package/js/src/tokocrypto.d.ts +17 -17
- package/js/src/tokocrypto.js +17 -17
- package/js/src/toobit.d.ts +27 -27
- package/js/src/toobit.js +33 -30
- package/js/src/upbit.d.ts +23 -23
- package/js/src/upbit.js +23 -23
- package/js/src/wavesexchange.d.ts +15 -15
- package/js/src/wavesexchange.js +86 -85
- package/js/src/whitebit.d.ts +44 -44
- package/js/src/whitebit.js +44 -44
- package/js/src/woo.d.ts +45 -45
- package/js/src/woo.js +51 -49
- package/js/src/woofipro.d.ts +77 -77
- package/js/src/woofipro.js +104 -82
- package/js/src/xt.d.ts +12 -12
- package/js/src/xt.js +17 -12
- package/js/src/yobit.d.ts +15 -15
- package/js/src/yobit.js +15 -15
- package/js/src/zaif.d.ts +9 -9
- package/js/src/zaif.js +38 -9
- package/js/src/zebpay.d.ts +20 -20
- package/js/src/zebpay.js +35 -20
- package/js/src/zonda.d.ts +14 -14
- package/js/src/zonda.js +14 -14
- package/package.json +1 -1
package/js/src/coincatch.js
CHANGED
|
@@ -671,7 +671,7 @@ export default class coincatch extends Exchange {
|
|
|
671
671
|
* @see https://coincatch.github.io/github.io/en/spot/#get-coin-list
|
|
672
672
|
* @param {string[]} [codes] list of unified currency codes
|
|
673
673
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
674
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
674
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
675
675
|
*/
|
|
676
676
|
async fetchDepositWithdrawFees(codes = undefined, params = {}) {
|
|
677
677
|
await this.loadMarkets();
|
|
@@ -1056,7 +1056,7 @@ export default class coincatch extends Exchange {
|
|
|
1056
1056
|
* @see https://coincatch.github.io/github.io/en/mix/#get-single-symbol-ticker
|
|
1057
1057
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1058
1058
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1059
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1059
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1060
1060
|
*/
|
|
1061
1061
|
async fetchTicker(symbol, params = {}) {
|
|
1062
1062
|
await this.loadMarkets();
|
|
@@ -1141,7 +1141,7 @@ export default class coincatch extends Exchange {
|
|
|
1141
1141
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1142
1142
|
* @param {string} [params.type] 'spot' or 'swap' (default 'spot')
|
|
1143
1143
|
* @param {string} [params.productType] 'umcbl' or 'dmcbl' (default 'umcbl') - USDT perpetual contract or Universal margin perpetual contract
|
|
1144
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1144
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1145
1145
|
*/
|
|
1146
1146
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1147
1147
|
const methodName = 'fetchTickers';
|
|
@@ -1316,7 +1316,7 @@ export default class coincatch extends Exchange {
|
|
|
1316
1316
|
* @param {int} [limit] the maximum amount of order book entries to return (maximum and default value is 100)
|
|
1317
1317
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1318
1318
|
* @param {string} [params.precision] 'scale0' (default), 'scale1', 'scale2' or 'scale3' - price accuracy, according to the selected accuracy as the step size to return the cumulative depth
|
|
1319
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
1319
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
1320
1320
|
*/
|
|
1321
1321
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
1322
1322
|
await this.loadMarkets();
|
|
@@ -1488,7 +1488,7 @@ export default class coincatch extends Exchange {
|
|
|
1488
1488
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1489
1489
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1490
1490
|
* @param {int} [params.until] timestamp in ms of the latest entry to fetch
|
|
1491
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1491
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1492
1492
|
*/
|
|
1493
1493
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1494
1494
|
const methodName = 'fetchTrades';
|
|
@@ -1657,7 +1657,7 @@ export default class coincatch extends Exchange {
|
|
|
1657
1657
|
* @see https://coincatch.github.io/github.io/en/mix/#get-current-funding-rate
|
|
1658
1658
|
* @param {string} symbol unified market symbol
|
|
1659
1659
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1660
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
1660
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
1661
1661
|
*/
|
|
1662
1662
|
async fetchFundingRate(symbol, params = {}) {
|
|
1663
1663
|
await this.loadMarkets();
|
|
@@ -1725,7 +1725,7 @@ export default class coincatch extends Exchange {
|
|
|
1725
1725
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1726
1726
|
* @param {int} [params.pageNo] the page number to fetch
|
|
1727
1727
|
* @param {bool} [params.nextPage] whether to query the next page (default false)
|
|
1728
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
1728
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
1729
1729
|
*/
|
|
1730
1730
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1731
1731
|
if (symbol === undefined) {
|
|
@@ -1783,7 +1783,7 @@ export default class coincatch extends Exchange {
|
|
|
1783
1783
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1784
1784
|
* @param {string} [params.type] 'spot' or 'swap' - the type of the market to fetch balance for (default 'spot')
|
|
1785
1785
|
* @param {string} [params.productType] *swap only* 'umcbl' or 'dmcbl' (default 'umcbl')
|
|
1786
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1786
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1787
1787
|
*/
|
|
1788
1788
|
async fetchBalance(params = {}) {
|
|
1789
1789
|
await this.loadMarkets();
|
|
@@ -1912,7 +1912,7 @@ export default class coincatch extends Exchange {
|
|
|
1912
1912
|
* @param {string} toAccount 'spot' or 'swap' or 'mix_usdt' or 'mix_usd' - account to transfer to
|
|
1913
1913
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1914
1914
|
* @param {string} [params.clientOrderId] a unique id for the transfer
|
|
1915
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
1915
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
1916
1916
|
*/
|
|
1917
1917
|
async transfer(code, amount, fromAccount, toAccount, params = {}) {
|
|
1918
1918
|
await this.loadMarkets();
|
|
@@ -1985,7 +1985,7 @@ export default class coincatch extends Exchange {
|
|
|
1985
1985
|
* @param {string} code unified currency code
|
|
1986
1986
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1987
1987
|
* @param {string} [params.network] network for fetch deposit address
|
|
1988
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
1988
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
1989
1989
|
*/
|
|
1990
1990
|
async fetchDepositAddress(code, params = {}) {
|
|
1991
1991
|
await this.loadMarkets();
|
|
@@ -2056,7 +2056,7 @@ export default class coincatch extends Exchange {
|
|
|
2056
2056
|
* @param {int} [params.until] the latest time in ms to fetch transfers for (default time now)
|
|
2057
2057
|
* @param {int} [params.pageNo] pageNo default 1
|
|
2058
2058
|
* @param {int} [params.pageSize] pageSize (default 20, max 100)
|
|
2059
|
-
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com
|
|
2059
|
+
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
2060
2060
|
*/
|
|
2061
2061
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2062
2062
|
const methodName = 'fetchDeposits';
|
|
@@ -2119,7 +2119,7 @@ export default class coincatch extends Exchange {
|
|
|
2119
2119
|
* @param {string} [params.clientOid] clientOid
|
|
2120
2120
|
* @param {string} [params.orderId] The response orderId
|
|
2121
2121
|
* @param {string} [params.idLessThan] Requests the content on the page before this ID (older data), the value input should be the orderId of the corresponding interface.
|
|
2122
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
2122
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2123
2123
|
*/
|
|
2124
2124
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2125
2125
|
const methodName = 'fetchWithdrawals';
|
|
@@ -2160,7 +2160,7 @@ export default class coincatch extends Exchange {
|
|
|
2160
2160
|
* @param {string} params.network network for withdraw (mandatory)
|
|
2161
2161
|
* @param {string} [params.remark] remark
|
|
2162
2162
|
* @param {string} [params.clientOid] custom id
|
|
2163
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2163
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2164
2164
|
*/
|
|
2165
2165
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2166
2166
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2281,7 +2281,7 @@ export default class coincatch extends Exchange {
|
|
|
2281
2281
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
2282
2282
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
2283
2283
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2284
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2284
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2285
2285
|
*/
|
|
2286
2286
|
async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
|
|
2287
2287
|
await this.loadMarkets();
|
|
@@ -2314,7 +2314,7 @@ export default class coincatch extends Exchange {
|
|
|
2314
2314
|
* @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately
|
|
2315
2315
|
* @param {string} [params.timeInForce] 'GTC', 'IOC', 'FOK' or 'PO'
|
|
2316
2316
|
* @param {string} [params.clientOrderId] a unique id for the order - is mandatory for swap
|
|
2317
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2317
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2318
2318
|
*/
|
|
2319
2319
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
2320
2320
|
await this.loadMarkets();
|
|
@@ -2347,7 +2347,7 @@ export default class coincatch extends Exchange {
|
|
|
2347
2347
|
* @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately
|
|
2348
2348
|
* @param {string} [params.timeInForce] 'GTC', 'IOC', 'FOK' or 'PO'
|
|
2349
2349
|
* @param {string} [params.clientOrderId] a unique id for the order (max length 40)
|
|
2350
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2350
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2351
2351
|
*/
|
|
2352
2352
|
async createSpotOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
2353
2353
|
await this.loadMarkets();
|
|
@@ -2523,7 +2523,7 @@ export default class coincatch extends Exchange {
|
|
|
2523
2523
|
* @param {float} [params.takeProfit.triggerPrice] take profit trigger price
|
|
2524
2524
|
* @param {object} [params.stopLoss] *stopLoss object in params* containing the triggerPrice at which the attached stop loss order will be triggered (perpetual swap markets only)
|
|
2525
2525
|
* @param {float} [params.stopLoss.triggerPrice] stop loss trigger price
|
|
2526
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2526
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2527
2527
|
*/
|
|
2528
2528
|
async createSwapOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
2529
2529
|
params['methodName'] = this.safeString(params, 'methodName', 'createSwapOrder');
|
|
@@ -2745,7 +2745,7 @@ export default class coincatch extends Exchange {
|
|
|
2745
2745
|
* @param {float} [takeProfit] the take profit price, in units of the quote currency
|
|
2746
2746
|
* @param {float} [stopLoss] the stop loss price, in units of the quote currency
|
|
2747
2747
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2748
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2748
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2749
2749
|
*/
|
|
2750
2750
|
async createOrderWithTakeProfitAndStopLoss(symbol, type, side, amount, price = undefined, takeProfit = undefined, stopLoss = undefined, params = {}) {
|
|
2751
2751
|
const methodName = 'createOrderWithTakeProfitAndStopLoss';
|
|
@@ -2773,7 +2773,7 @@ export default class coincatch extends Exchange {
|
|
|
2773
2773
|
* @see https://coincatch.github.io/github.io/en/spot/#batch-order
|
|
2774
2774
|
* @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 (max 50 entries)
|
|
2775
2775
|
* @param {object} [params] extra parameters specific to the api endpoint
|
|
2776
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2776
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2777
2777
|
*/
|
|
2778
2778
|
async createOrders(orders, params = {}) {
|
|
2779
2779
|
await this.loadMarkets();
|
|
@@ -2913,7 +2913,7 @@ export default class coincatch extends Exchange {
|
|
|
2913
2913
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
2914
2914
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
2915
2915
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2916
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2916
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2917
2917
|
*/
|
|
2918
2918
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
2919
2919
|
const methodName = 'editOrder';
|
|
@@ -2945,7 +2945,7 @@ export default class coincatch extends Exchange {
|
|
|
2945
2945
|
* @param {string} [params.clientOrderId] a unique id for the order that can be used as an alternative for the id
|
|
2946
2946
|
* @param {string} params.triggerPrice *mandatory* the price that the order is to be triggered at
|
|
2947
2947
|
* @param {float} [params.cost] *market buy only* the quote quantity that can be used as an alternative for the amount
|
|
2948
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2948
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2949
2949
|
*/
|
|
2950
2950
|
async editSpotOrder(id, symbol, type, side, amount, price = undefined, params = {}) {
|
|
2951
2951
|
await this.loadMarkets();
|
|
@@ -3016,7 +3016,7 @@ export default class coincatch extends Exchange {
|
|
|
3016
3016
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3017
3017
|
* @param {string} [params.type] 'spot' or 'swap' - the type of the market to fetch entry for (default 'spot')
|
|
3018
3018
|
* @param {string} [params.clientOrderId] a unique id for the order that can be used as an alternative for the id
|
|
3019
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
3019
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3020
3020
|
*/
|
|
3021
3021
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
3022
3022
|
const methodName = 'fetchOrder';
|
|
@@ -3155,7 +3155,7 @@ export default class coincatch extends Exchange {
|
|
|
3155
3155
|
* @param {string} [params.productType] *swap only* 'umcbl' or 'dmcbl' - the product type of the market to fetch entries for (default 'umcbl')
|
|
3156
3156
|
* @param {string} [params.marginCoin] *swap only* the margin coin of the market to fetch entries for
|
|
3157
3157
|
* @param {string} [params.isPlan] *swap trigger only* 'plan' or 'profit_loss' ('plan' (default) for trigger (plan) orders, 'profit_loss' for stop-loss and take-profit orders)
|
|
3158
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3158
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3159
3159
|
*/
|
|
3160
3160
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3161
3161
|
const methodName = 'fetchOpenOrders';
|
|
@@ -3190,7 +3190,7 @@ export default class coincatch extends Exchange {
|
|
|
3190
3190
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3191
3191
|
* @param {boolean} [params.trigger] true if fetching trigger orders (default false)
|
|
3192
3192
|
* @param {string} [params.lastEndId] *for trigger orders only* the last order id to fetch entries after
|
|
3193
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3193
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3194
3194
|
*/
|
|
3195
3195
|
async fetchOpenSpotOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3196
3196
|
await this.loadMarkets();
|
|
@@ -3295,7 +3295,7 @@ export default class coincatch extends Exchange {
|
|
|
3295
3295
|
* @param {string} [params.isPlan] 'plan' or 'profit_loss' ('plan' (default) for trigger (plan) orders, 'profit_loss' for stop-loss and take-profit orders)
|
|
3296
3296
|
* @param {string} [params.productType] 'umcbl' or 'dmcbl' - the product type of the market to fetch entries for (default 'umcbl')
|
|
3297
3297
|
* @param {string} [params.marginCoin] the margin coin of the market to fetch entries for
|
|
3298
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3298
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3299
3299
|
*/
|
|
3300
3300
|
async fetchOpenSwapOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3301
3301
|
await this.loadMarkets();
|
|
@@ -3431,7 +3431,7 @@ export default class coincatch extends Exchange {
|
|
|
3431
3431
|
* @param {string} [params.isPlan] *swap only* 'plan' or 'profit_loss' ('plan' (default) for trigger (plan) orders, 'profit_loss' for stop-loss and take-profit orders)
|
|
3432
3432
|
* @param {string} [params.type] 'spot' or 'swap' - the type of the market to fetch entries for (default 'spot')
|
|
3433
3433
|
* @param {string} [params.productType] *swap only* 'umcbl' or 'dmcbl' - the product type of the market to fetch entries for (default 'umcbl')
|
|
3434
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3434
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3435
3435
|
*/
|
|
3436
3436
|
async fetchCanceledAndClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3437
3437
|
const methodName = 'fetchCanceledAndClosedOrders';
|
|
@@ -3467,7 +3467,7 @@ export default class coincatch extends Exchange {
|
|
|
3467
3467
|
* @param {int} [params.until] *for trigger orders only* the latest time in ms to fetch orders for
|
|
3468
3468
|
* @param {boolean} [params.trigger] true if fetching trigger orders (default false)
|
|
3469
3469
|
* @param {string} [params.lastEndId] *for trigger orders only* the last order id to fetch entries after
|
|
3470
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3470
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3471
3471
|
*/
|
|
3472
3472
|
async fetchCanceledAndClosedSpotOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3473
3473
|
let methodName = 'fetchCanceledAndClosedSpotOrders';
|
|
@@ -3615,7 +3615,7 @@ export default class coincatch extends Exchange {
|
|
|
3615
3615
|
* @param {boolean} [params.trigger] true if fetching trigger orders (default false)
|
|
3616
3616
|
* @param {string} [params.isPlan] *swap only* 'plan' or 'profit_loss' ('plan' (default) for trigger (plan) orders, 'profit_loss' for stop-loss and take-profit orders)
|
|
3617
3617
|
* @param {string} [params.productType] *swap only* 'umcbl' or 'dmcbl' - the product type of the market to fetch entries for (default 'umcbl')
|
|
3618
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3618
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3619
3619
|
*/
|
|
3620
3620
|
async fetchCanceledAndClosedSwapOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3621
3621
|
let methodName = 'fetchCanceledAndClosedSwapOrders';
|
|
@@ -3774,7 +3774,7 @@ export default class coincatch extends Exchange {
|
|
|
3774
3774
|
* @param {bool} [params.trigger] true for canceling a trigger order (default false)
|
|
3775
3775
|
* @param {bool} [params.stop] *swap only* an alternative for trigger param
|
|
3776
3776
|
* @param {string} [params.planType] *swap trigger only* the type of the plan order to cancel: 'profit_plan' - profit order, 'loss_plan' - loss order, 'normal_plan' - plan order, 'pos_profit' - position profit, 'pos_loss' - position loss, 'moving_plan' - Trailing TP/SL, 'track_plan' - Trailing Stop
|
|
3777
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
3777
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3778
3778
|
*/
|
|
3779
3779
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
3780
3780
|
const methodName = 'cancelOrder';
|
|
@@ -3975,7 +3975,7 @@ export default class coincatch extends Exchange {
|
|
|
3975
3975
|
* @param {string} symbol *is mandatory* unified market symbol
|
|
3976
3976
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3977
3977
|
* @param {string[]} [params.clientOrderIds] client order ids
|
|
3978
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
3978
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3979
3979
|
*/
|
|
3980
3980
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
3981
3981
|
const methodName = 'cancelOrders';
|
|
@@ -4509,7 +4509,7 @@ export default class coincatch extends Exchange {
|
|
|
4509
4509
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
4510
4510
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
4511
4511
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4512
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
4512
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
4513
4513
|
*/
|
|
4514
4514
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
4515
4515
|
const methodName = 'fetchOrderTrades';
|
|
@@ -4529,7 +4529,7 @@ export default class coincatch extends Exchange {
|
|
|
4529
4529
|
* @see https://coincatch.github.io/github.io/en/mix/#get-single-account
|
|
4530
4530
|
* @param {string} symbol unified symbol of the market to fetch the margin mode for
|
|
4531
4531
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4532
|
-
* @returns {object} a [margin mode structure]{@link https://docs.ccxt.com
|
|
4532
|
+
* @returns {object} a [margin mode structure]{@link https://docs.ccxt.com/?id=margin-mode-structure}
|
|
4533
4533
|
*/
|
|
4534
4534
|
async fetchMarginMode(symbol, params = {}) {
|
|
4535
4535
|
await this.loadMarkets();
|
|
@@ -4719,7 +4719,7 @@ export default class coincatch extends Exchange {
|
|
|
4719
4719
|
* @see https://coincatch.github.io/github.io/en/mix/#get-single-account
|
|
4720
4720
|
* @param {string} symbol unified market symbol
|
|
4721
4721
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4722
|
-
* @returns {object} a [leverage structure]{@link https://docs.ccxt.com
|
|
4722
|
+
* @returns {object} a [leverage structure]{@link https://docs.ccxt.com/?id=leverage-structure}
|
|
4723
4723
|
*/
|
|
4724
4724
|
async fetchLeverage(symbol, params = {}) {
|
|
4725
4725
|
await this.loadMarkets();
|
|
@@ -4897,7 +4897,7 @@ export default class coincatch extends Exchange {
|
|
|
4897
4897
|
* @param {float} amount the amount of margin to remove
|
|
4898
4898
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4899
4899
|
* @param {string} [params.side] *for isolated margin mode with hedged position mode only* 'long' or 'short'
|
|
4900
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
4900
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=reduce-margin-structure}
|
|
4901
4901
|
*/
|
|
4902
4902
|
async reduceMargin(symbol, amount, params = {}) {
|
|
4903
4903
|
params['methodName'] = 'reduceMargin';
|
|
@@ -4912,7 +4912,7 @@ export default class coincatch extends Exchange {
|
|
|
4912
4912
|
* @param {float} amount amount of margin to add
|
|
4913
4913
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4914
4914
|
* @param {string} [params.side] *for isolated margin mode with hedged position mode only* 'long' or 'short'
|
|
4915
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
4915
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=add-margin-structure}
|
|
4916
4916
|
*/
|
|
4917
4917
|
async addMargin(symbol, amount, params = {}) {
|
|
4918
4918
|
params['methodName'] = 'addMargin';
|
|
@@ -4926,7 +4926,7 @@ export default class coincatch extends Exchange {
|
|
|
4926
4926
|
* @param {string} symbol unified market symbol of the market the position is held in, default is undefined
|
|
4927
4927
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4928
4928
|
* @param {string} [params.side] 'long' or 'short' *for non-hedged position mode only* (default 'long')
|
|
4929
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
4929
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
4930
4930
|
*/
|
|
4931
4931
|
async fetchPosition(symbol, params = {}) {
|
|
4932
4932
|
const methodName = 'fetchPosition';
|
|
@@ -4952,7 +4952,7 @@ export default class coincatch extends Exchange {
|
|
|
4952
4952
|
* @description fetch all open positions for specific symbol
|
|
4953
4953
|
* @param {string} symbol unified market symbol
|
|
4954
4954
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4955
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
4955
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
4956
4956
|
*/
|
|
4957
4957
|
async fetchPositionsForSymbol(symbol, params = {}) {
|
|
4958
4958
|
await this.loadMarkets();
|
|
@@ -5005,7 +5005,7 @@ export default class coincatch extends Exchange {
|
|
|
5005
5005
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
5006
5006
|
* @param {string} [params.productType] 'umcbl' or 'dmcbl' (default 'umcbl' if symbols are not provided)
|
|
5007
5007
|
* @param {string} [params.marginCoin] the settle currency of the positions, needs to match the productType
|
|
5008
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
5008
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
5009
5009
|
*/
|
|
5010
5010
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
5011
5011
|
const methodName = 'fetchPositions';
|
|
@@ -5194,7 +5194,7 @@ export default class coincatch extends Exchange {
|
|
|
5194
5194
|
* @param {string} [params.business] *swap only*
|
|
5195
5195
|
* @param {string} [params.lastEndId] *swap only*
|
|
5196
5196
|
* @param {bool} [params.next] *swap only*
|
|
5197
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
5197
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
5198
5198
|
*/
|
|
5199
5199
|
async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
5200
5200
|
const methodName = 'fetchLedger';
|
package/js/src/coincheck.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export default class coincheck extends Exchange {
|
|
|
13
13
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
14
14
|
* @see https://coincheck.com/documents/exchange/api#order-transactions-pagination
|
|
15
15
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
16
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
16
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
17
17
|
*/
|
|
18
18
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
19
19
|
/**
|
|
@@ -25,7 +25,7 @@ export default class coincheck extends Exchange {
|
|
|
25
25
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
26
26
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
27
27
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
28
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
28
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
29
29
|
*/
|
|
30
30
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
31
31
|
parseOrder(order: Dict, market?: Market): Order;
|
|
@@ -37,7 +37,7 @@ export default class coincheck extends Exchange {
|
|
|
37
37
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
38
38
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
39
39
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
40
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
40
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
41
41
|
*/
|
|
42
42
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
43
43
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -48,7 +48,7 @@ export default class coincheck extends Exchange {
|
|
|
48
48
|
* @see https://coincheck.com/documents/exchange/api#ticker
|
|
49
49
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
50
50
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
51
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
51
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
52
52
|
*/
|
|
53
53
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
54
54
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -61,7 +61,7 @@ export default class coincheck extends Exchange {
|
|
|
61
61
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
62
62
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
63
63
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
64
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
64
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
65
65
|
*/
|
|
66
66
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
67
67
|
/**
|
|
@@ -73,7 +73,7 @@ export default class coincheck extends Exchange {
|
|
|
73
73
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
74
74
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
75
75
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
76
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
76
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
77
77
|
*/
|
|
78
78
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
79
79
|
/**
|
|
@@ -82,7 +82,7 @@ export default class coincheck extends Exchange {
|
|
|
82
82
|
* @description fetch the trading fees for multiple markets
|
|
83
83
|
* @see https://coincheck.com/documents/exchange/api#account-info
|
|
84
84
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
85
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
85
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
86
86
|
*/
|
|
87
87
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
88
88
|
/**
|
|
@@ -96,7 +96,7 @@ export default class coincheck extends Exchange {
|
|
|
96
96
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
97
97
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
98
98
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
99
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
99
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
100
100
|
*/
|
|
101
101
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
102
102
|
/**
|
|
@@ -107,7 +107,7 @@ export default class coincheck extends Exchange {
|
|
|
107
107
|
* @param {string} id order id
|
|
108
108
|
* @param {string} symbol not used by coincheck cancelOrder ()
|
|
109
109
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
110
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
110
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
111
111
|
*/
|
|
112
112
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
113
113
|
/**
|
|
@@ -119,7 +119,7 @@ export default class coincheck extends Exchange {
|
|
|
119
119
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
120
120
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
121
121
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
122
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
122
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
123
123
|
*/
|
|
124
124
|
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
125
125
|
/**
|
|
@@ -131,7 +131,7 @@ export default class coincheck extends Exchange {
|
|
|
131
131
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
132
132
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
133
133
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
134
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
134
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
135
135
|
*/
|
|
136
136
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
137
137
|
parseTransactionStatus(status: Str): string;
|
package/js/src/coincheck.js
CHANGED
|
@@ -285,7 +285,7 @@ export default class coincheck extends Exchange {
|
|
|
285
285
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
286
286
|
* @see https://coincheck.com/documents/exchange/api#order-transactions-pagination
|
|
287
287
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
288
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
288
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
289
289
|
*/
|
|
290
290
|
async fetchBalance(params = {}) {
|
|
291
291
|
await this.loadMarkets();
|
|
@@ -301,7 +301,7 @@ export default class coincheck extends Exchange {
|
|
|
301
301
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
302
302
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
303
303
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
304
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
304
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
305
305
|
*/
|
|
306
306
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
307
307
|
await this.loadMarkets();
|
|
@@ -375,7 +375,7 @@ export default class coincheck extends Exchange {
|
|
|
375
375
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
376
376
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
377
377
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
378
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
378
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
379
379
|
*/
|
|
380
380
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
381
381
|
await this.loadMarkets();
|
|
@@ -431,7 +431,7 @@ export default class coincheck extends Exchange {
|
|
|
431
431
|
* @see https://coincheck.com/documents/exchange/api#ticker
|
|
432
432
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
433
433
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
434
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
434
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
435
435
|
*/
|
|
436
436
|
async fetchTicker(symbol, params = {}) {
|
|
437
437
|
if (symbol !== 'BTC/JPY') {
|
|
@@ -547,7 +547,7 @@ export default class coincheck extends Exchange {
|
|
|
547
547
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
548
548
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
549
549
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
550
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
550
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
551
551
|
*/
|
|
552
552
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
553
553
|
await this.loadMarkets();
|
|
@@ -591,7 +591,7 @@ export default class coincheck extends Exchange {
|
|
|
591
591
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
592
592
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
593
593
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
594
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
594
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
595
595
|
*/
|
|
596
596
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
597
597
|
await this.loadMarkets();
|
|
@@ -622,7 +622,7 @@ export default class coincheck extends Exchange {
|
|
|
622
622
|
* @description fetch the trading fees for multiple markets
|
|
623
623
|
* @see https://coincheck.com/documents/exchange/api#account-info
|
|
624
624
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
625
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
625
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
626
626
|
*/
|
|
627
627
|
async fetchTradingFees(params = {}) {
|
|
628
628
|
await this.loadMarkets();
|
|
@@ -674,7 +674,7 @@ export default class coincheck extends Exchange {
|
|
|
674
674
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
675
675
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
676
676
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
677
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
677
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
678
678
|
*/
|
|
679
679
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
680
680
|
await this.loadMarkets();
|
|
@@ -716,7 +716,7 @@ export default class coincheck extends Exchange {
|
|
|
716
716
|
* @param {string} id order id
|
|
717
717
|
* @param {string} symbol not used by coincheck cancelOrder ()
|
|
718
718
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
719
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
719
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
720
720
|
*/
|
|
721
721
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
722
722
|
const request = {
|
|
@@ -740,7 +740,7 @@ export default class coincheck extends Exchange {
|
|
|
740
740
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
741
741
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
742
742
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
743
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
743
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
744
744
|
*/
|
|
745
745
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
746
746
|
await this.loadMarkets();
|
|
@@ -789,7 +789,7 @@ export default class coincheck extends Exchange {
|
|
|
789
789
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
790
790
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
791
791
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
792
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
792
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
793
793
|
*/
|
|
794
794
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
795
795
|
await this.loadMarkets();
|