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/bitmex.js
CHANGED
|
@@ -902,7 +902,7 @@ export default class bitmex extends Exchange {
|
|
|
902
902
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
903
903
|
* @see https://www.bitmex.com/api/explorer/#!/User/User_getMargin
|
|
904
904
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
905
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
905
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
906
906
|
*/
|
|
907
907
|
async fetchBalance(params = {}) {
|
|
908
908
|
await this.loadMarkets();
|
|
@@ -967,7 +967,7 @@ export default class bitmex extends Exchange {
|
|
|
967
967
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
968
968
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
969
969
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
970
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
970
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
971
971
|
*/
|
|
972
972
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
973
973
|
await this.loadMarkets();
|
|
@@ -1012,7 +1012,7 @@ export default class bitmex extends Exchange {
|
|
|
1012
1012
|
* @param {string} id the order id
|
|
1013
1013
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1014
1014
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1015
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1015
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1016
1016
|
*/
|
|
1017
1017
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1018
1018
|
const filter = {
|
|
@@ -1038,7 +1038,7 @@ export default class bitmex extends Exchange {
|
|
|
1038
1038
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1039
1039
|
* @param {int} [params.until] the earliest time in ms to fetch orders for
|
|
1040
1040
|
* @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)
|
|
1041
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1041
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1042
1042
|
*/
|
|
1043
1043
|
async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1044
1044
|
await this.loadMarkets();
|
|
@@ -1083,7 +1083,7 @@ export default class bitmex extends Exchange {
|
|
|
1083
1083
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1084
1084
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1085
1085
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1086
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1086
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1087
1087
|
*/
|
|
1088
1088
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1089
1089
|
const request = {
|
|
@@ -1102,7 +1102,7 @@ export default class bitmex extends Exchange {
|
|
|
1102
1102
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1103
1103
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1104
1104
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1105
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1105
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1106
1106
|
*/
|
|
1107
1107
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1108
1108
|
// Bitmex barfs if you set 'open': false in the filter...
|
|
@@ -1119,7 +1119,7 @@ export default class bitmex extends Exchange {
|
|
|
1119
1119
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1120
1120
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1121
1121
|
* @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)
|
|
1122
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1122
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1123
1123
|
*/
|
|
1124
1124
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1125
1125
|
await this.loadMarkets();
|
|
@@ -1329,7 +1329,7 @@ export default class bitmex extends Exchange {
|
|
|
1329
1329
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
1330
1330
|
* @param {int} [limit] max number of ledger entries to return, default is undefined
|
|
1331
1331
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1332
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
1332
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
1333
1333
|
*/
|
|
1334
1334
|
async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1335
1335
|
await this.loadMarkets();
|
|
@@ -1381,7 +1381,7 @@ export default class bitmex extends Exchange {
|
|
|
1381
1381
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
1382
1382
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
1383
1383
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1384
|
-
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com
|
|
1384
|
+
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1385
1385
|
*/
|
|
1386
1386
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1387
1387
|
await this.loadMarkets();
|
|
@@ -1498,7 +1498,7 @@ export default class bitmex extends Exchange {
|
|
|
1498
1498
|
* @see https://www.bitmex.com/api/explorer/#!/Instrument/Instrument_get
|
|
1499
1499
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1500
1500
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1501
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1501
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1502
1502
|
*/
|
|
1503
1503
|
async fetchTicker(symbol, params = {}) {
|
|
1504
1504
|
await this.loadMarkets();
|
|
@@ -1520,7 +1520,7 @@ export default class bitmex extends Exchange {
|
|
|
1520
1520
|
* @see https://www.bitmex.com/api/explorer/#!/Instrument/Instrument_getActiveAndIndices
|
|
1521
1521
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1522
1522
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1523
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1523
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1524
1524
|
*/
|
|
1525
1525
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1526
1526
|
await this.loadMarkets();
|
|
@@ -1923,7 +1923,7 @@ export default class bitmex extends Exchange {
|
|
|
1923
1923
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
1924
1924
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1925
1925
|
* @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)
|
|
1926
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1926
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1927
1927
|
*/
|
|
1928
1928
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1929
1929
|
await this.loadMarkets();
|
|
@@ -2142,7 +2142,7 @@ export default class bitmex extends Exchange {
|
|
|
2142
2142
|
* @param {string} id order id
|
|
2143
2143
|
* @param {string} symbol not used by bitmex cancelOrder ()
|
|
2144
2144
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2145
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
2145
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2146
2146
|
*/
|
|
2147
2147
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
2148
2148
|
await this.loadMarkets();
|
|
@@ -2174,7 +2174,7 @@ export default class bitmex extends Exchange {
|
|
|
2174
2174
|
* @param {string[]} ids order ids
|
|
2175
2175
|
* @param {string} symbol not used by bitmex cancelOrders ()
|
|
2176
2176
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2177
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
2177
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2178
2178
|
*/
|
|
2179
2179
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
2180
2180
|
// return await this.cancelOrder (ids, symbol, params);
|
|
@@ -2199,7 +2199,7 @@ export default class bitmex extends Exchange {
|
|
|
2199
2199
|
* @see https://www.bitmex.com/api/explorer/#!/Order/Order_cancelAll
|
|
2200
2200
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
2201
2201
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2202
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2202
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2203
2203
|
*/
|
|
2204
2204
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
2205
2205
|
await this.loadMarkets();
|
|
@@ -2281,7 +2281,7 @@ export default class bitmex extends Exchange {
|
|
|
2281
2281
|
* @see https://www.bitmex.com/api/explorer/#!/Position/Position_get
|
|
2282
2282
|
* @param {string[]} [symbols] a list of unified market symbols
|
|
2283
2283
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2284
|
-
* @returns {object} a list of [leverage structures]{@link https://docs.ccxt.com
|
|
2284
|
+
* @returns {object} a list of [leverage structures]{@link https://docs.ccxt.com/?id=leverage-structure}
|
|
2285
2285
|
*/
|
|
2286
2286
|
async fetchLeverages(symbols = undefined, params = {}) {
|
|
2287
2287
|
await this.loadMarkets();
|
|
@@ -2305,7 +2305,7 @@ export default class bitmex extends Exchange {
|
|
|
2305
2305
|
* @see https://www.bitmex.com/api/explorer/#!/Position/Position_get
|
|
2306
2306
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2307
2307
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2308
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
2308
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
2309
2309
|
*/
|
|
2310
2310
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
2311
2311
|
await this.loadMarkets();
|
|
@@ -2567,7 +2567,7 @@ export default class bitmex extends Exchange {
|
|
|
2567
2567
|
* @param {string} address the address to withdraw to
|
|
2568
2568
|
* @param {string} tag
|
|
2569
2569
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2570
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2570
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2571
2571
|
*/
|
|
2572
2572
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2573
2573
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2615,7 +2615,7 @@ export default class bitmex extends Exchange {
|
|
|
2615
2615
|
* @see https://www.bitmex.com/api/explorer/#!/Instrument/Instrument_getActiveAndIndices
|
|
2616
2616
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2617
2617
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2618
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
2618
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rates-structure}, indexed by market symbols
|
|
2619
2619
|
*/
|
|
2620
2620
|
async fetchFundingRates(symbols = undefined, params = {}) {
|
|
2621
2621
|
await this.loadMarkets();
|
|
@@ -2668,14 +2668,14 @@ export default class bitmex extends Exchange {
|
|
|
2668
2668
|
* @see https://www.bitmex.com/api/explorer/#!/Funding/Funding_get
|
|
2669
2669
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
2670
2670
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
2671
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com
|
|
2671
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure} to fetch
|
|
2672
2672
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2673
2673
|
* @param {int} [params.until] timestamp in ms for ending date filter
|
|
2674
2674
|
* @param {bool} [params.reverse] if true, will sort results newest first
|
|
2675
2675
|
* @param {int} [params.start] starting point for results
|
|
2676
2676
|
* @param {string} [params.columns] array of column names to fetch in info, if omitted, will return all columns
|
|
2677
2677
|
* @param {string} [params.filter] generic table filter, send json key/value pairs, such as {"key": "value"}, you can key on individual fields, and do more advanced querying on timestamps, see the [timestamp docs]{@link https://www.bitmex.com/app/restAPI#Timestamp-Filters} for more details
|
|
2678
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
2678
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
2679
2679
|
*/
|
|
2680
2680
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2681
2681
|
await this.loadMarkets();
|
|
@@ -2813,7 +2813,7 @@ export default class bitmex extends Exchange {
|
|
|
2813
2813
|
* @param {string} code unified currency code
|
|
2814
2814
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2815
2815
|
* @param {string} [params.network] deposit chain, can view all chains via this.publicGetWalletAssets, default is eth, unless the currency has a default chain within this.options['networks']
|
|
2816
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2816
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2817
2817
|
*/
|
|
2818
2818
|
async fetchDepositAddress(code, params = {}) {
|
|
2819
2819
|
await this.loadMarkets();
|
|
@@ -2910,7 +2910,7 @@ export default class bitmex extends Exchange {
|
|
|
2910
2910
|
* @see https://www.bitmex.com/api/explorer/#!/Wallet/Wallet_getAssetsConfig
|
|
2911
2911
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
2912
2912
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2913
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
2913
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
2914
2914
|
*/
|
|
2915
2915
|
async fetchDepositWithdrawFees(codes = undefined, params = {}) {
|
|
2916
2916
|
await this.loadMarkets();
|
|
@@ -2970,7 +2970,7 @@ export default class bitmex extends Exchange {
|
|
|
2970
2970
|
* @param {object} [params] exchange specific parameters for the bitmex api endpoint
|
|
2971
2971
|
* @param {int} [params.until] timestamp in ms of the latest liquidation
|
|
2972
2972
|
* @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)
|
|
2973
|
-
* @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com
|
|
2973
|
+
* @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com/?id=liquidation-structure}
|
|
2974
2974
|
*/
|
|
2975
2975
|
async fetchLiquidations(symbol, since = undefined, limit = undefined, params = {}) {
|
|
2976
2976
|
await this.loadMarkets();
|
package/js/src/bitopro.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export default class bitopro extends Exchange {
|
|
|
33
33
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
|
|
34
34
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
35
35
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
36
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
36
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
37
37
|
*/
|
|
38
38
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
39
39
|
/**
|
|
@@ -43,7 +43,7 @@ export default class bitopro extends Exchange {
|
|
|
43
43
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
|
|
44
44
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
45
45
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
46
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
46
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
47
47
|
*/
|
|
48
48
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
49
49
|
/**
|
|
@@ -54,7 +54,7 @@ export default class bitopro extends Exchange {
|
|
|
54
54
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
55
55
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
56
56
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
57
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
57
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
58
58
|
*/
|
|
59
59
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
60
60
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -67,7 +67,7 @@ export default class bitopro extends Exchange {
|
|
|
67
67
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
68
68
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
69
69
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
70
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
70
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
71
71
|
*/
|
|
72
72
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
73
73
|
/**
|
|
@@ -76,7 +76,7 @@ export default class bitopro extends Exchange {
|
|
|
76
76
|
* @description fetch the trading fees for multiple markets
|
|
77
77
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_limitations_and_fees.md
|
|
78
78
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
79
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
79
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
80
80
|
*/
|
|
81
81
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
82
82
|
parseOHLCV(ohlcv: any, market?: Market): OHLCV;
|
|
@@ -101,7 +101,7 @@ export default class bitopro extends Exchange {
|
|
|
101
101
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
102
102
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_account_balance.md
|
|
103
103
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
104
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
104
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
105
105
|
*/
|
|
106
106
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
107
107
|
parseOrderStatus(status: Str): string;
|
|
@@ -118,7 +118,7 @@ export default class bitopro extends Exchange {
|
|
|
118
118
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
119
119
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
120
120
|
* @param {object} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
121
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
121
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
122
122
|
*/
|
|
123
123
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
124
124
|
/**
|
|
@@ -129,7 +129,7 @@ export default class bitopro extends Exchange {
|
|
|
129
129
|
* @param {string} id order id
|
|
130
130
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
131
131
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
132
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
132
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
133
133
|
*/
|
|
134
134
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
135
135
|
parseCancelOrders(data: any): any[];
|
|
@@ -141,7 +141,7 @@ export default class bitopro extends Exchange {
|
|
|
141
141
|
* @param {string[]} ids order ids
|
|
142
142
|
* @param {string} symbol unified market symbol
|
|
143
143
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
144
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
144
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
145
145
|
*/
|
|
146
146
|
cancelOrders(ids: string[], symbol?: Str, params?: {}): Promise<Order[]>;
|
|
147
147
|
/**
|
|
@@ -151,7 +151,7 @@ export default class bitopro extends Exchange {
|
|
|
151
151
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/cancel_all_orders.md
|
|
152
152
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
153
153
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
154
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
154
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
155
155
|
*/
|
|
156
156
|
cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
|
|
157
157
|
/**
|
|
@@ -162,7 +162,7 @@ export default class bitopro extends Exchange {
|
|
|
162
162
|
* @param {string} id the order id
|
|
163
163
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
164
164
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
165
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
165
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
166
166
|
*/
|
|
167
167
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
168
168
|
/**
|
|
@@ -174,7 +174,7 @@ export default class bitopro extends Exchange {
|
|
|
174
174
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
175
175
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
176
176
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
177
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
177
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
178
178
|
*/
|
|
179
179
|
fetchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
180
180
|
/**
|
|
@@ -186,7 +186,7 @@ export default class bitopro extends Exchange {
|
|
|
186
186
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
187
187
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
188
188
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
189
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
189
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
190
190
|
*/
|
|
191
191
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
192
192
|
/**
|
|
@@ -198,7 +198,7 @@ export default class bitopro extends Exchange {
|
|
|
198
198
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
199
199
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
200
200
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
201
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
201
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
202
202
|
*/
|
|
203
203
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
204
204
|
/**
|
|
@@ -210,7 +210,7 @@ export default class bitopro extends Exchange {
|
|
|
210
210
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
211
211
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
212
212
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
213
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
213
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
214
214
|
*/
|
|
215
215
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
216
216
|
parseTransactionStatus(status: Str): string;
|
|
@@ -224,7 +224,7 @@ export default class bitopro extends Exchange {
|
|
|
224
224
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
225
225
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
226
226
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
227
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
227
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
228
228
|
*/
|
|
229
229
|
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
230
230
|
/**
|
|
@@ -236,7 +236,7 @@ export default class bitopro extends Exchange {
|
|
|
236
236
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
237
237
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
238
238
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
239
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
239
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
240
240
|
*/
|
|
241
241
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
242
242
|
/**
|
|
@@ -247,7 +247,7 @@ export default class bitopro extends Exchange {
|
|
|
247
247
|
* @param {string} id withdrawal id
|
|
248
248
|
* @param {string} code unified currency code of the currency withdrawn, default is undefined
|
|
249
249
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
250
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
250
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
251
251
|
*/
|
|
252
252
|
fetchWithdrawal(id: string, code?: Str, params?: {}): Promise<Transaction>;
|
|
253
253
|
/**
|
|
@@ -260,7 +260,7 @@ export default class bitopro extends Exchange {
|
|
|
260
260
|
* @param {string} address the address to withdraw to
|
|
261
261
|
* @param {string} tag
|
|
262
262
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
263
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
263
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
264
264
|
*/
|
|
265
265
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
266
266
|
parseDepositWithdrawFee(fee: any, currency?: Currency): {
|
|
@@ -282,7 +282,7 @@ export default class bitopro extends Exchange {
|
|
|
282
282
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_currency_info.md
|
|
283
283
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
284
284
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
285
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
285
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
286
286
|
*/
|
|
287
287
|
fetchDepositWithdrawFees(codes?: Strings, params?: {}): Promise<any>;
|
|
288
288
|
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
package/js/src/bitopro.js
CHANGED
|
@@ -545,7 +545,7 @@ export default class bitopro extends Exchange {
|
|
|
545
545
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
|
|
546
546
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
547
547
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
548
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
548
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
549
549
|
*/
|
|
550
550
|
async fetchTicker(symbol, params = {}) {
|
|
551
551
|
await this.loadMarkets();
|
|
@@ -577,7 +577,7 @@ export default class bitopro extends Exchange {
|
|
|
577
577
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_ticker_data.md
|
|
578
578
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
579
579
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
580
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
580
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
581
581
|
*/
|
|
582
582
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
583
583
|
await this.loadMarkets();
|
|
@@ -608,7 +608,7 @@ export default class bitopro extends Exchange {
|
|
|
608
608
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
609
609
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
610
610
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
611
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
611
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
612
612
|
*/
|
|
613
613
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
614
614
|
await this.loadMarkets();
|
|
@@ -740,7 +740,7 @@ export default class bitopro extends Exchange {
|
|
|
740
740
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
741
741
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
742
742
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
743
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
743
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
744
744
|
*/
|
|
745
745
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
746
746
|
await this.loadMarkets();
|
|
@@ -770,7 +770,7 @@ export default class bitopro extends Exchange {
|
|
|
770
770
|
* @description fetch the trading fees for multiple markets
|
|
771
771
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_limitations_and_fees.md
|
|
772
772
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
773
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
773
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
774
774
|
*/
|
|
775
775
|
async fetchTradingFees(params = {}) {
|
|
776
776
|
await this.loadMarkets();
|
|
@@ -996,7 +996,7 @@ export default class bitopro extends Exchange {
|
|
|
996
996
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
997
997
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/get_account_balance.md
|
|
998
998
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
999
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
999
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1000
1000
|
*/
|
|
1001
1001
|
async fetchBalance(params = {}) {
|
|
1002
1002
|
await this.loadMarkets();
|
|
@@ -1129,7 +1129,7 @@ export default class bitopro extends Exchange {
|
|
|
1129
1129
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1130
1130
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1131
1131
|
* @param {object} [params.triggerPrice] the price at which a trigger order is triggered at
|
|
1132
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1132
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1133
1133
|
*/
|
|
1134
1134
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1135
1135
|
await this.loadMarkets();
|
|
@@ -1188,7 +1188,7 @@ export default class bitopro extends Exchange {
|
|
|
1188
1188
|
* @param {string} id order id
|
|
1189
1189
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1190
1190
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1191
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1191
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1192
1192
|
*/
|
|
1193
1193
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1194
1194
|
if (symbol === undefined) {
|
|
@@ -1236,7 +1236,7 @@ export default class bitopro extends Exchange {
|
|
|
1236
1236
|
* @param {string[]} ids order ids
|
|
1237
1237
|
* @param {string} symbol unified market symbol
|
|
1238
1238
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1239
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
1239
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1240
1240
|
*/
|
|
1241
1241
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
1242
1242
|
if (symbol === undefined) {
|
|
@@ -1268,7 +1268,7 @@ export default class bitopro extends Exchange {
|
|
|
1268
1268
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/private/cancel_all_orders.md
|
|
1269
1269
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1270
1270
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1271
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1271
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1272
1272
|
*/
|
|
1273
1273
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1274
1274
|
await this.loadMarkets();
|
|
@@ -1305,7 +1305,7 @@ export default class bitopro extends Exchange {
|
|
|
1305
1305
|
* @param {string} id the order id
|
|
1306
1306
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
1307
1307
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1308
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1308
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1309
1309
|
*/
|
|
1310
1310
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1311
1311
|
if (symbol === undefined) {
|
|
@@ -1352,7 +1352,7 @@ export default class bitopro extends Exchange {
|
|
|
1352
1352
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1353
1353
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1354
1354
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1355
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1355
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1356
1356
|
*/
|
|
1357
1357
|
async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1358
1358
|
if (symbol === undefined) {
|
|
@@ -1415,7 +1415,7 @@ export default class bitopro extends Exchange {
|
|
|
1415
1415
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1416
1416
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1417
1417
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1418
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1418
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1419
1419
|
*/
|
|
1420
1420
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1421
1421
|
await this.loadMarkets();
|
|
@@ -1438,7 +1438,7 @@ export default class bitopro extends Exchange {
|
|
|
1438
1438
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1439
1439
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1440
1440
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1441
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1441
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1442
1442
|
*/
|
|
1443
1443
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1444
1444
|
const request = {
|
|
@@ -1455,7 +1455,7 @@ export default class bitopro extends Exchange {
|
|
|
1455
1455
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1456
1456
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1457
1457
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1458
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1458
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1459
1459
|
*/
|
|
1460
1460
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1461
1461
|
if (symbol === undefined) {
|
|
@@ -1594,7 +1594,7 @@ export default class bitopro extends Exchange {
|
|
|
1594
1594
|
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
1595
1595
|
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
1596
1596
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1597
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1597
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1598
1598
|
*/
|
|
1599
1599
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1600
1600
|
if (code === undefined) {
|
|
@@ -1646,7 +1646,7 @@ export default class bitopro extends Exchange {
|
|
|
1646
1646
|
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
1647
1647
|
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
1648
1648
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1649
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1649
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1650
1650
|
*/
|
|
1651
1651
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1652
1652
|
if (code === undefined) {
|
|
@@ -1696,7 +1696,7 @@ export default class bitopro extends Exchange {
|
|
|
1696
1696
|
* @param {string} id withdrawal id
|
|
1697
1697
|
* @param {string} code unified currency code of the currency withdrawn, default is undefined
|
|
1698
1698
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1699
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
1699
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1700
1700
|
*/
|
|
1701
1701
|
async fetchWithdrawal(id, code = undefined, params = {}) {
|
|
1702
1702
|
if (code === undefined) {
|
|
@@ -1738,7 +1738,7 @@ export default class bitopro extends Exchange {
|
|
|
1738
1738
|
* @param {string} address the address to withdraw to
|
|
1739
1739
|
* @param {string} tag
|
|
1740
1740
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1741
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
1741
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1742
1742
|
*/
|
|
1743
1743
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
1744
1744
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -1811,7 +1811,7 @@ export default class bitopro extends Exchange {
|
|
|
1811
1811
|
* @see https://github.com/bitoex/bitopro-offical-api-docs/blob/master/api/v3/public/get_currency_info.md
|
|
1812
1812
|
* @param {string[]|undefined} codes list of unified currency codes
|
|
1813
1813
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1814
|
-
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com
|
|
1814
|
+
* @returns {object} a list of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
1815
1815
|
*/
|
|
1816
1816
|
async fetchDepositWithdrawFees(codes = undefined, params = {}) {
|
|
1817
1817
|
await this.loadMarkets();
|