ccxt 4.5.28 → 4.5.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -5
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/alpaca.js +21 -21
- package/dist/cjs/src/apex.js +20 -20
- package/dist/cjs/src/arkham.js +22 -22
- package/dist/cjs/src/ascendex.js +28 -28
- package/dist/cjs/src/backpack.js +22 -22
- package/dist/cjs/src/base/Exchange.js +48 -38
- package/dist/cjs/src/base/functions/throttle.js +54 -5
- package/dist/cjs/src/bigone.js +19 -19
- package/dist/cjs/src/binance.js +83 -82
- package/dist/cjs/src/bingx.js +46 -46
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +49 -48
- package/dist/cjs/src/bitbns.js +13 -13
- package/dist/cjs/src/bitfinex.js +33 -33
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitget.js +58 -57
- package/dist/cjs/src/bithumb.js +10 -10
- package/dist/cjs/src/bitmart.js +44 -44
- package/dist/cjs/src/bitmex.js +24 -24
- package/dist/cjs/src/bitopro.js +20 -20
- package/dist/cjs/src/bitrue.js +18 -18
- package/dist/cjs/src/bitso.js +20 -20
- package/dist/cjs/src/bitstamp.js +21 -21
- package/dist/cjs/src/bittrade.js +20 -20
- package/dist/cjs/src/bitvavo.js +19 -19
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/blofin.js +26 -26
- package/dist/cjs/src/btcalpha.js +35 -34
- package/dist/cjs/src/btcbox.js +10 -10
- package/dist/cjs/src/btcmarkets.js +16 -16
- package/dist/cjs/src/btcturk.js +10 -10
- package/dist/cjs/src/bullish.js +26 -26
- package/dist/cjs/src/bybit.js +67 -67
- package/dist/cjs/src/cex.js +18 -18
- package/dist/cjs/src/coinbase.js +40 -40
- package/dist/cjs/src/coinbaseexchange.js +22 -22
- package/dist/cjs/src/coinbaseinternational.js +22 -22
- package/dist/cjs/src/coincatch.js +39 -39
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +48 -48
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinmetro.js +14 -14
- package/dist/cjs/src/coinone.js +11 -11
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +8 -8
- package/dist/cjs/src/cryptocom.js +32 -32
- package/dist/cjs/src/cryptomus.js +9 -9
- package/dist/cjs/src/deepcoin.js +33 -33
- package/dist/cjs/src/defx.js +23 -23
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +36 -36
- package/dist/cjs/src/derive.js +19 -19
- package/dist/cjs/src/digifinex.js +36 -36
- package/dist/cjs/src/dydx.js +22 -22
- package/dist/cjs/src/exmo.js +29 -29
- package/dist/cjs/src/foxbit.js +23 -23
- package/dist/cjs/src/gate.js +57 -57
- package/dist/cjs/src/gemini.js +16 -16
- package/dist/cjs/src/hashkey.js +35 -35
- package/dist/cjs/src/hibachi.js +24 -24
- package/dist/cjs/src/hitbtc.js +38 -38
- package/dist/cjs/src/hollaex.js +22 -22
- package/dist/cjs/src/htx.js +50 -50
- package/dist/cjs/src/hyperliquid.js +76 -42
- package/dist/cjs/src/independentreserve.js +13 -13
- package/dist/cjs/src/indodax.js +14 -14
- package/dist/cjs/src/kraken.js +30 -30
- package/dist/cjs/src/krakenfutures.js +21 -21
- package/dist/cjs/src/kucoin.js +44 -44
- package/dist/cjs/src/kucoinfutures.js +42 -40
- package/dist/cjs/src/latoken.js +16 -16
- package/dist/cjs/src/lbank.js +23 -23
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/mercado.js +11 -11
- package/dist/cjs/src/mexc.js +47 -47
- package/dist/cjs/src/modetrade.js +37 -35
- package/dist/cjs/src/ndax.js +19 -19
- package/dist/cjs/src/novadax.js +19 -19
- package/dist/cjs/src/oceanex.js +16 -16
- package/dist/cjs/src/okx.js +83 -83
- package/dist/cjs/src/onetrading.js +34 -33
- package/dist/cjs/src/oxfun.js +25 -25
- package/dist/cjs/src/p2b.js +11 -11
- package/dist/cjs/src/paradex.js +54 -54
- package/dist/cjs/src/paymium.js +20 -21
- package/dist/cjs/src/phemex.js +35 -35
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/apex.js +8 -8
- package/dist/cjs/src/pro/arkham.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/backpack.js +16 -16
- package/dist/cjs/src/pro/binance.js +35 -35
- package/dist/cjs/src/pro/bingx.js +9 -9
- package/dist/cjs/src/pro/bitfinex.js +8 -8
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bithumb.js +3 -3
- package/dist/cjs/src/pro/bitmart.js +388 -31
- package/dist/cjs/src/pro/bitmex.js +9 -9
- package/dist/cjs/src/pro/bitopro.js +5 -5
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrade.js +3 -3
- package/dist/cjs/src/pro/bitvavo.js +19 -19
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/blofin.js +10 -10
- package/dist/cjs/src/pro/bullish.js +6 -6
- package/dist/cjs/src/pro/bybit.js +19 -19
- package/dist/cjs/src/pro/cex.js +13 -13
- package/dist/cjs/src/pro/coinbase.js +13 -13
- package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
- package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
- package/dist/cjs/src/pro/coincatch.js +10 -10
- package/dist/cjs/src/pro/coincheck.js +2 -2
- package/dist/cjs/src/pro/coinex.js +10 -10
- package/dist/cjs/src/pro/coinone.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +20 -20
- package/dist/cjs/src/pro/deepcoin.js +8 -8
- package/dist/cjs/src/pro/defx.js +15 -15
- package/dist/cjs/src/pro/deribit.js +10 -10
- package/dist/cjs/src/pro/derive.js +6 -6
- package/dist/cjs/src/pro/dydx.js +3 -3
- package/dist/cjs/src/pro/exmo.js +7 -7
- package/dist/cjs/src/pro/gate.js +21 -59
- package/dist/cjs/src/pro/gemini.js +6 -6
- package/dist/cjs/src/pro/hashkey.js +6 -6
- package/dist/cjs/src/pro/hitbtc.js +8 -8
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +9 -9
- package/dist/cjs/src/pro/hyperliquid.js +103 -14
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +15 -15
- package/dist/cjs/src/pro/krakenfutures.js +10 -10
- package/dist/cjs/src/pro/kucoin.js +15 -15
- package/dist/cjs/src/pro/kucoinfutures.js +13 -13
- package/dist/cjs/src/pro/lbank.js +5 -5
- package/dist/cjs/src/pro/luno.js +2 -2
- package/dist/cjs/src/pro/mexc.js +13 -13
- package/dist/cjs/src/pro/modetrade.js +8 -8
- package/dist/cjs/src/pro/ndax.js +3 -3
- package/dist/cjs/src/pro/okx.js +25 -25
- package/dist/cjs/src/pro/onetrading.js +6 -6
- package/dist/cjs/src/pro/oxfun.js +13 -13
- package/dist/cjs/src/pro/p2b.js +5 -5
- package/dist/cjs/src/pro/paradex.js +8 -8
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +8 -8
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/toobit.js +9 -9
- package/dist/cjs/src/pro/upbit.js +9 -9
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +13 -13
- package/dist/cjs/src/pro/woofipro.js +20 -20
- package/dist/cjs/src/pro/xt.js +2 -2
- package/dist/cjs/src/probit.js +18 -18
- package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
- package/dist/cjs/src/timex.js +16 -16
- package/dist/cjs/src/tokocrypto.js +17 -17
- package/dist/cjs/src/toobit.js +31 -29
- package/dist/cjs/src/upbit.js +23 -23
- package/dist/cjs/src/wavesexchange.js +86 -85
- package/dist/cjs/src/whitebit.js +44 -44
- package/dist/cjs/src/woo.js +51 -49
- package/dist/cjs/src/woofipro.js +104 -82
- package/dist/cjs/src/xt.js +17 -12
- package/dist/cjs/src/yobit.js +15 -15
- package/dist/cjs/src/zaif.js +38 -9
- package/dist/cjs/src/zebpay.js +35 -20
- package/dist/cjs/src/zonda.js +14 -14
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/alpaca.d.ts +21 -21
- package/js/src/alpaca.js +21 -21
- package/js/src/apex.d.ts +20 -20
- package/js/src/apex.js +20 -20
- package/js/src/arkham.d.ts +22 -22
- package/js/src/arkham.js +22 -22
- package/js/src/ascendex.d.ts +28 -28
- package/js/src/ascendex.js +28 -28
- package/js/src/backpack.d.ts +21 -21
- package/js/src/backpack.js +22 -22
- package/js/src/base/Exchange.d.ts +6 -3
- package/js/src/base/Exchange.js +48 -38
- package/js/src/base/functions/throttle.d.ts +22 -0
- package/js/src/base/functions/throttle.js +54 -5
- package/js/src/bigone.d.ts +19 -19
- package/js/src/bigone.js +19 -19
- package/js/src/binance.d.ts +82 -82
- package/js/src/binance.js +83 -82
- package/js/src/bingx.d.ts +46 -46
- package/js/src/bingx.js +46 -46
- package/js/src/bit2c.d.ts +11 -11
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.d.ts +12 -12
- package/js/src/bitbank.js +49 -48
- package/js/src/bitbns.d.ts +13 -13
- package/js/src/bitbns.js +13 -13
- package/js/src/bitfinex.d.ts +33 -33
- package/js/src/bitfinex.js +33 -33
- package/js/src/bitflyer.d.ts +17 -17
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitget.d.ts +57 -57
- package/js/src/bitget.js +58 -57
- package/js/src/bithumb.d.ts +10 -10
- package/js/src/bithumb.js +10 -10
- package/js/src/bitmart.d.ts +42 -42
- package/js/src/bitmart.js +44 -44
- package/js/src/bitmex.d.ts +24 -24
- package/js/src/bitmex.js +24 -24
- package/js/src/bitopro.d.ts +20 -20
- package/js/src/bitopro.js +20 -20
- package/js/src/bitrue.d.ts +18 -18
- package/js/src/bitrue.js +18 -18
- package/js/src/bitso.d.ts +20 -20
- package/js/src/bitso.js +20 -20
- package/js/src/bitstamp.d.ts +21 -21
- package/js/src/bitstamp.js +21 -21
- package/js/src/bittrade.d.ts +20 -20
- package/js/src/bittrade.js +20 -20
- package/js/src/bitvavo.d.ts +19 -19
- package/js/src/bitvavo.js +19 -19
- package/js/src/blockchaincom.d.ts +20 -20
- package/js/src/blockchaincom.js +20 -20
- package/js/src/blofin.d.ts +26 -26
- package/js/src/blofin.js +26 -26
- package/js/src/btcalpha.d.ts +14 -14
- package/js/src/btcalpha.js +35 -34
- package/js/src/btcbox.d.ts +10 -10
- package/js/src/btcbox.js +10 -10
- package/js/src/btcmarkets.d.ts +16 -16
- package/js/src/btcmarkets.js +16 -16
- package/js/src/btcturk.d.ts +10 -10
- package/js/src/btcturk.js +10 -10
- package/js/src/bullish.d.ts +26 -26
- package/js/src/bullish.js +26 -26
- package/js/src/bybit.d.ts +66 -66
- package/js/src/bybit.js +67 -67
- package/js/src/cex.d.ts +18 -18
- package/js/src/cex.js +18 -18
- package/js/src/coinbase.d.ts +40 -40
- package/js/src/coinbase.js +40 -40
- package/js/src/coinbaseexchange.d.ts +22 -22
- package/js/src/coinbaseexchange.js +22 -22
- package/js/src/coinbaseinternational.d.ts +22 -22
- package/js/src/coinbaseinternational.js +22 -22
- package/js/src/coincatch.d.ts +39 -39
- package/js/src/coincatch.js +39 -39
- package/js/src/coincheck.d.ts +11 -11
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.d.ts +48 -48
- package/js/src/coinex.js +48 -48
- package/js/src/coinmate.d.ts +14 -14
- package/js/src/coinmate.js +14 -14
- package/js/src/coinmetro.d.ts +14 -14
- package/js/src/coinmetro.js +14 -14
- package/js/src/coinone.d.ts +11 -11
- package/js/src/coinone.js +11 -11
- package/js/src/coinsph.d.ts +20 -20
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.d.ts +8 -8
- package/js/src/coinspot.js +8 -8
- package/js/src/cryptocom.d.ts +32 -32
- package/js/src/cryptocom.js +32 -32
- package/js/src/cryptomus.d.ts +9 -9
- package/js/src/cryptomus.js +9 -9
- package/js/src/deepcoin.d.ts +33 -33
- package/js/src/deepcoin.js +33 -33
- package/js/src/defx.d.ts +23 -23
- package/js/src/defx.js +23 -23
- package/js/src/delta.d.ts +29 -29
- package/js/src/delta.js +29 -29
- package/js/src/deribit.d.ts +36 -36
- package/js/src/deribit.js +36 -36
- package/js/src/derive.d.ts +19 -19
- package/js/src/derive.js +19 -19
- package/js/src/digifinex.d.ts +36 -36
- package/js/src/digifinex.js +36 -36
- package/js/src/dydx.d.ts +22 -22
- package/js/src/dydx.js +22 -22
- package/js/src/exmo.d.ts +29 -29
- package/js/src/exmo.js +29 -29
- package/js/src/foxbit.d.ts +23 -23
- package/js/src/foxbit.js +23 -23
- package/js/src/gate.d.ts +57 -57
- package/js/src/gate.js +57 -57
- package/js/src/gemini.d.ts +16 -16
- package/js/src/gemini.js +16 -16
- package/js/src/hashkey.d.ts +35 -35
- package/js/src/hashkey.js +35 -35
- package/js/src/hibachi.d.ts +24 -24
- package/js/src/hibachi.js +24 -24
- package/js/src/hitbtc.d.ts +38 -38
- package/js/src/hitbtc.js +38 -38
- package/js/src/hollaex.d.ts +22 -22
- package/js/src/hollaex.js +22 -22
- package/js/src/htx.d.ts +50 -50
- package/js/src/htx.js +50 -50
- package/js/src/hyperliquid.d.ts +46 -36
- package/js/src/hyperliquid.js +76 -42
- package/js/src/independentreserve.d.ts +13 -13
- package/js/src/independentreserve.js +13 -13
- package/js/src/indodax.d.ts +14 -14
- package/js/src/indodax.js +14 -14
- package/js/src/kraken.d.ts +30 -30
- package/js/src/kraken.js +30 -30
- package/js/src/krakenfutures.d.ts +21 -21
- package/js/src/krakenfutures.js +21 -21
- package/js/src/kucoin.d.ts +44 -44
- package/js/src/kucoin.js +44 -44
- package/js/src/kucoinfutures.d.ts +35 -35
- package/js/src/kucoinfutures.js +42 -40
- package/js/src/latoken.d.ts +16 -16
- package/js/src/latoken.js +16 -16
- package/js/src/lbank.d.ts +23 -23
- package/js/src/lbank.js +23 -23
- package/js/src/luno.d.ts +17 -17
- package/js/src/luno.js +17 -17
- package/js/src/mercado.d.ts +11 -11
- package/js/src/mercado.js +11 -11
- package/js/src/mexc.d.ts +47 -47
- package/js/src/mexc.js +47 -47
- package/js/src/modetrade.d.ts +31 -31
- package/js/src/modetrade.js +37 -35
- package/js/src/ndax.d.ts +19 -19
- package/js/src/ndax.js +19 -19
- package/js/src/novadax.d.ts +19 -19
- package/js/src/novadax.js +19 -19
- package/js/src/oceanex.d.ts +16 -16
- package/js/src/oceanex.js +16 -16
- package/js/src/okx.d.ts +74 -74
- package/js/src/okx.js +83 -83
- package/js/src/onetrading.d.ts +34 -33
- package/js/src/onetrading.js +34 -33
- package/js/src/oxfun.d.ts +25 -25
- package/js/src/oxfun.js +25 -25
- package/js/src/p2b.d.ts +11 -11
- package/js/src/p2b.js +11 -11
- package/js/src/paradex.d.ts +54 -54
- package/js/src/paradex.js +54 -54
- package/js/src/paymium.d.ts +20 -21
- package/js/src/paymium.js +20 -21
- package/js/src/phemex.d.ts +30 -30
- package/js/src/phemex.js +35 -35
- package/js/src/poloniex.d.ts +26 -26
- package/js/src/poloniex.js +27 -27
- package/js/src/pro/alpaca.d.ts +5 -5
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/apex.d.ts +8 -8
- package/js/src/pro/apex.js +8 -8
- package/js/src/pro/arkham.d.ts +5 -5
- package/js/src/pro/arkham.js +5 -5
- package/js/src/pro/ascendex.d.ts +5 -5
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/backpack.d.ts +16 -16
- package/js/src/pro/backpack.js +16 -16
- package/js/src/pro/binance.d.ts +35 -35
- package/js/src/pro/binance.js +35 -35
- package/js/src/pro/bingx.d.ts +9 -9
- package/js/src/pro/bingx.js +9 -9
- package/js/src/pro/bitfinex.d.ts +8 -8
- package/js/src/pro/bitfinex.js +8 -8
- package/js/src/pro/bitget.d.ts +12 -12
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bithumb.d.ts +3 -3
- package/js/src/pro/bithumb.js +3 -3
- package/js/src/pro/bitmart.d.ts +120 -9
- package/js/src/pro/bitmart.js +388 -31
- package/js/src/pro/bitmex.d.ts +9 -9
- package/js/src/pro/bitmex.js +9 -9
- package/js/src/pro/bitopro.d.ts +5 -5
- package/js/src/pro/bitopro.js +5 -5
- package/js/src/pro/bitrue.d.ts +2 -2
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.d.ts +3 -3
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrade.d.ts +3 -3
- package/js/src/pro/bittrade.js +3 -3
- package/js/src/pro/bitvavo.d.ts +19 -19
- package/js/src/pro/bitvavo.js +19 -19
- package/js/src/pro/blockchaincom.d.ts +5 -5
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/blofin.d.ts +10 -10
- package/js/src/pro/blofin.js +10 -10
- package/js/src/pro/bullish.d.ts +6 -6
- package/js/src/pro/bullish.js +6 -6
- package/js/src/pro/bybit.d.ts +19 -19
- package/js/src/pro/bybit.js +19 -19
- package/js/src/pro/cex.d.ts +13 -13
- package/js/src/pro/cex.js +13 -13
- package/js/src/pro/coinbase.d.ts +13 -13
- package/js/src/pro/coinbase.js +13 -13
- package/js/src/pro/coinbaseexchange.d.ts +10 -10
- package/js/src/pro/coinbaseexchange.js +10 -10
- package/js/src/pro/coinbaseinternational.d.ts +8 -8
- package/js/src/pro/coinbaseinternational.js +8 -8
- package/js/src/pro/coincatch.d.ts +10 -10
- package/js/src/pro/coincatch.js +10 -10
- package/js/src/pro/coincheck.d.ts +2 -2
- package/js/src/pro/coincheck.js +2 -2
- package/js/src/pro/coinex.d.ts +10 -10
- package/js/src/pro/coinex.js +10 -10
- package/js/src/pro/coinone.d.ts +3 -3
- package/js/src/pro/coinone.js +3 -3
- package/js/src/pro/cryptocom.d.ts +20 -20
- package/js/src/pro/cryptocom.js +20 -20
- package/js/src/pro/deepcoin.d.ts +8 -8
- package/js/src/pro/deepcoin.js +8 -8
- package/js/src/pro/defx.d.ts +15 -15
- package/js/src/pro/defx.js +15 -15
- package/js/src/pro/deribit.d.ts +10 -10
- package/js/src/pro/deribit.js +10 -10
- package/js/src/pro/derive.d.ts +6 -6
- package/js/src/pro/derive.js +6 -6
- package/js/src/pro/dydx.d.ts +3 -3
- package/js/src/pro/dydx.js +3 -3
- package/js/src/pro/exmo.d.ts +7 -7
- package/js/src/pro/exmo.js +7 -7
- package/js/src/pro/gate.d.ts +22 -23
- package/js/src/pro/gate.js +21 -59
- package/js/src/pro/gemini.d.ts +6 -6
- package/js/src/pro/gemini.js +6 -6
- package/js/src/pro/hashkey.d.ts +6 -6
- package/js/src/pro/hashkey.js +6 -6
- package/js/src/pro/hitbtc.d.ts +8 -8
- package/js/src/pro/hitbtc.js +8 -8
- package/js/src/pro/hollaex.d.ts +5 -5
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.d.ts +9 -9
- package/js/src/pro/htx.js +9 -9
- package/js/src/pro/hyperliquid.d.ts +38 -14
- package/js/src/pro/hyperliquid.js +103 -14
- package/js/src/pro/independentreserve.d.ts +2 -2
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.d.ts +15 -15
- package/js/src/pro/kraken.js +15 -15
- package/js/src/pro/krakenfutures.d.ts +10 -10
- package/js/src/pro/krakenfutures.js +10 -10
- package/js/src/pro/kucoin.d.ts +15 -15
- package/js/src/pro/kucoin.js +15 -15
- package/js/src/pro/kucoinfutures.d.ts +13 -13
- package/js/src/pro/kucoinfutures.js +13 -13
- package/js/src/pro/lbank.d.ts +5 -5
- package/js/src/pro/lbank.js +5 -5
- package/js/src/pro/luno.d.ts +2 -2
- package/js/src/pro/luno.js +2 -2
- package/js/src/pro/mexc.d.ts +13 -13
- package/js/src/pro/mexc.js +13 -13
- package/js/src/pro/modetrade.d.ts +8 -8
- package/js/src/pro/modetrade.js +8 -8
- package/js/src/pro/ndax.d.ts +3 -3
- package/js/src/pro/ndax.js +3 -3
- package/js/src/pro/okx.d.ts +25 -25
- package/js/src/pro/okx.js +25 -25
- package/js/src/pro/onetrading.d.ts +6 -6
- package/js/src/pro/onetrading.js +6 -6
- package/js/src/pro/oxfun.d.ts +13 -13
- package/js/src/pro/oxfun.js +13 -13
- package/js/src/pro/p2b.d.ts +5 -5
- package/js/src/pro/p2b.js +5 -5
- package/js/src/pro/paradex.d.ts +8 -8
- package/js/src/pro/paradex.js +8 -8
- package/js/src/pro/phemex.d.ts +7 -7
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.d.ts +8 -8
- package/js/src/pro/poloniex.js +8 -8
- package/js/src/pro/probit.d.ts +6 -6
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/toobit.d.ts +9 -9
- package/js/src/pro/toobit.js +9 -9
- package/js/src/pro/upbit.d.ts +9 -9
- package/js/src/pro/upbit.js +9 -9
- package/js/src/pro/whitebit.d.ts +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.d.ts +13 -13
- package/js/src/pro/woo.js +13 -13
- package/js/src/pro/woofipro.d.ts +20 -20
- package/js/src/pro/woofipro.js +20 -20
- package/js/src/pro/xt.d.ts +2 -2
- package/js/src/pro/xt.js +2 -2
- package/js/src/probit.d.ts +18 -18
- package/js/src/probit.js +18 -18
- package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
- package/js/src/static_dependencies/ethers/utils/index.js +8 -1
- package/js/src/timex.d.ts +16 -16
- package/js/src/timex.js +16 -16
- package/js/src/tokocrypto.d.ts +17 -17
- package/js/src/tokocrypto.js +17 -17
- package/js/src/toobit.d.ts +27 -27
- package/js/src/toobit.js +31 -29
- package/js/src/upbit.d.ts +23 -23
- package/js/src/upbit.js +23 -23
- package/js/src/wavesexchange.d.ts +15 -15
- package/js/src/wavesexchange.js +86 -85
- package/js/src/whitebit.d.ts +44 -44
- package/js/src/whitebit.js +44 -44
- package/js/src/woo.d.ts +45 -45
- package/js/src/woo.js +51 -49
- package/js/src/woofipro.d.ts +77 -77
- package/js/src/woofipro.js +104 -82
- package/js/src/xt.d.ts +12 -12
- package/js/src/xt.js +17 -12
- package/js/src/yobit.d.ts +15 -15
- package/js/src/yobit.js +15 -15
- package/js/src/zaif.d.ts +9 -9
- package/js/src/zaif.js +38 -9
- package/js/src/zebpay.d.ts +20 -20
- package/js/src/zebpay.js +35 -20
- package/js/src/zonda.d.ts +14 -14
- package/js/src/zonda.js +14 -14
- package/package.json +1 -1
package/js/src/bitfinex.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export default class bitfinex extends Exchange {
|
|
|
17
17
|
* @description the latest known information on the availability of the exchange API
|
|
18
18
|
* @see https://docs.bitfinex.com/reference/rest-public-platform-status
|
|
19
19
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
20
|
-
* @returns {object} a [status structure]{@link https://docs.ccxt.com
|
|
20
|
+
* @returns {object} a [status structure]{@link https://docs.ccxt.com/?id=exchange-status-structure}
|
|
21
21
|
*/
|
|
22
22
|
fetchStatus(params?: {}): Promise<{
|
|
23
23
|
status: string;
|
|
@@ -50,7 +50,7 @@ export default class bitfinex extends Exchange {
|
|
|
50
50
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
51
51
|
* @see https://docs.bitfinex.com/reference/rest-auth-wallets
|
|
52
52
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
53
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
53
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
54
54
|
*/
|
|
55
55
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
56
56
|
/**
|
|
@@ -63,7 +63,7 @@ export default class bitfinex extends Exchange {
|
|
|
63
63
|
* @param {string} fromAccount account to transfer from
|
|
64
64
|
* @param {string} toAccount account to transfer to
|
|
65
65
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
66
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
66
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
67
67
|
*/
|
|
68
68
|
transfer(code: string, amount: number, fromAccount: string, toAccount: string, params?: {}): Promise<TransferEntry>;
|
|
69
69
|
parseTransfer(transfer: Dict, currency?: Currency): TransferEntry;
|
|
@@ -77,7 +77,7 @@ export default class bitfinex extends Exchange {
|
|
|
77
77
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
78
78
|
* @param {int} [limit] the maximum amount of order book entries to return, bitfinex only allows 1, 25, or 100
|
|
79
79
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
80
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
80
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
81
81
|
*/
|
|
82
82
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
83
83
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -88,7 +88,7 @@ export default class bitfinex extends Exchange {
|
|
|
88
88
|
* @see https://docs.bitfinex.com/reference/rest-public-tickers
|
|
89
89
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
90
90
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
91
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
91
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
92
92
|
*/
|
|
93
93
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
94
94
|
/**
|
|
@@ -98,7 +98,7 @@ export default class bitfinex extends Exchange {
|
|
|
98
98
|
* @see https://docs.bitfinex.com/reference/rest-public-ticker
|
|
99
99
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
100
100
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
101
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
101
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
102
102
|
*/
|
|
103
103
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
104
104
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -113,7 +113,7 @@ export default class bitfinex extends Exchange {
|
|
|
113
113
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
114
114
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
115
115
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
116
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
116
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
117
117
|
*/
|
|
118
118
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
119
119
|
/**
|
|
@@ -157,7 +157,7 @@ export default class bitfinex extends Exchange {
|
|
|
157
157
|
* @param {string} [params.price_aux_limit] order price for stop limit orders
|
|
158
158
|
* @param {string} [params.price_oco_stop] OCO stop price
|
|
159
159
|
* @param {string} [params.trailingAmount] *swap only* the quote amount to trail away from the current market price
|
|
160
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
160
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
161
161
|
*/
|
|
162
162
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
163
163
|
/**
|
|
@@ -167,7 +167,7 @@ export default class bitfinex extends Exchange {
|
|
|
167
167
|
* @see https://docs.bitfinex.com/reference/rest-auth-order-multi
|
|
168
168
|
* @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
|
|
169
169
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
170
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
170
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
171
171
|
*/
|
|
172
172
|
createOrders(orders: OrderRequest[], params?: {}): Promise<Order[]>;
|
|
173
173
|
/**
|
|
@@ -177,7 +177,7 @@ export default class bitfinex extends Exchange {
|
|
|
177
177
|
* @see https://docs.bitfinex.com/reference/rest-auth-cancel-orders-multiple
|
|
178
178
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
179
179
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
180
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
180
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
181
181
|
*/
|
|
182
182
|
cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
|
|
183
183
|
/**
|
|
@@ -188,7 +188,7 @@ export default class bitfinex extends Exchange {
|
|
|
188
188
|
* @param {string} id order id
|
|
189
189
|
* @param {string} symbol Not used by bitfinex cancelOrder ()
|
|
190
190
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
191
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
191
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
192
192
|
*/
|
|
193
193
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
194
194
|
/**
|
|
@@ -199,7 +199,7 @@ export default class bitfinex extends Exchange {
|
|
|
199
199
|
* @param {string[]} ids order ids
|
|
200
200
|
* @param {string} symbol unified market symbol, default is undefined
|
|
201
201
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
202
|
-
* @returns {object} an array of [order structures]{@link https://docs.ccxt.com
|
|
202
|
+
* @returns {object} an array of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
203
203
|
*/
|
|
204
204
|
cancelOrders(ids: string[], symbol?: Str, params?: {}): Promise<Order[]>;
|
|
205
205
|
/**
|
|
@@ -211,7 +211,7 @@ export default class bitfinex extends Exchange {
|
|
|
211
211
|
* @param {string} id order id
|
|
212
212
|
* @param {string} symbol unified market symbol, default is undefined
|
|
213
213
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
214
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
214
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
215
215
|
*/
|
|
216
216
|
fetchOpenOrder(id: string, symbol?: Str, params?: {}): Promise<any>;
|
|
217
217
|
/**
|
|
@@ -223,7 +223,7 @@ export default class bitfinex extends Exchange {
|
|
|
223
223
|
* @param {string} id order id
|
|
224
224
|
* @param {string} symbol unified market symbol, default is undefined
|
|
225
225
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
226
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
226
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
227
227
|
*/
|
|
228
228
|
fetchClosedOrder(id: string, symbol?: Str, params?: {}): Promise<any>;
|
|
229
229
|
/**
|
|
@@ -236,7 +236,7 @@ export default class bitfinex extends Exchange {
|
|
|
236
236
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
237
237
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
238
238
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
239
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
239
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
240
240
|
*/
|
|
241
241
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
242
242
|
/**
|
|
@@ -251,7 +251,7 @@ export default class bitfinex extends Exchange {
|
|
|
251
251
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
252
252
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
253
253
|
* @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)
|
|
254
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
254
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
255
255
|
*/
|
|
256
256
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
257
257
|
/**
|
|
@@ -264,7 +264,7 @@ export default class bitfinex extends Exchange {
|
|
|
264
264
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
265
265
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
266
266
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
267
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
267
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
268
268
|
*/
|
|
269
269
|
fetchOrderTrades(id: string, symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
270
270
|
/**
|
|
@@ -277,7 +277,7 @@ export default class bitfinex extends Exchange {
|
|
|
277
277
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
278
278
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
279
279
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
280
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
280
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
281
281
|
*/
|
|
282
282
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
283
283
|
/**
|
|
@@ -287,7 +287,7 @@ export default class bitfinex extends Exchange {
|
|
|
287
287
|
* @see https://docs.bitfinex.com/reference/rest-auth-deposit-address
|
|
288
288
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
289
289
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
290
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
290
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
291
291
|
*/
|
|
292
292
|
createDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
293
293
|
/**
|
|
@@ -297,7 +297,7 @@ export default class bitfinex extends Exchange {
|
|
|
297
297
|
* @see https://docs.bitfinex.com/reference/rest-auth-deposit-address
|
|
298
298
|
* @param {string} code unified currency code
|
|
299
299
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
300
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
300
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
301
301
|
*/
|
|
302
302
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
303
303
|
parseTransactionStatus(status: Str): string;
|
|
@@ -308,7 +308,7 @@ export default class bitfinex extends Exchange {
|
|
|
308
308
|
* @description fetch the trading fees for multiple markets
|
|
309
309
|
* @see https://docs.bitfinex.com/reference/rest-auth-summary
|
|
310
310
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
311
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
311
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
312
312
|
*/
|
|
313
313
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
314
314
|
/**
|
|
@@ -321,7 +321,7 @@ export default class bitfinex extends Exchange {
|
|
|
321
321
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
322
322
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
323
323
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
324
|
-
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com
|
|
324
|
+
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
325
325
|
*/
|
|
326
326
|
fetchDepositsWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
327
327
|
/**
|
|
@@ -334,7 +334,7 @@ export default class bitfinex extends Exchange {
|
|
|
334
334
|
* @param {string} address the address to withdraw to
|
|
335
335
|
* @param {string} tag
|
|
336
336
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
337
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
337
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
338
338
|
*/
|
|
339
339
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
340
340
|
/**
|
|
@@ -344,7 +344,7 @@ export default class bitfinex extends Exchange {
|
|
|
344
344
|
* @see https://docs.bitfinex.com/reference/rest-auth-positions
|
|
345
345
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
346
346
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
347
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
347
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
348
348
|
*/
|
|
349
349
|
fetchPositions(symbols?: Strings, params?: {}): Promise<Position[]>;
|
|
350
350
|
parsePosition(position: Dict, market?: Market): Position;
|
|
@@ -369,7 +369,7 @@ export default class bitfinex extends Exchange {
|
|
|
369
369
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
370
370
|
* @param {int} [params.until] timestamp in ms of the latest ledger entry
|
|
371
371
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
372
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
372
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
373
373
|
*/
|
|
374
374
|
fetchLedger(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<LedgerEntry[]>;
|
|
375
375
|
/**
|
|
@@ -379,7 +379,7 @@ export default class bitfinex extends Exchange {
|
|
|
379
379
|
* @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
|
|
380
380
|
* @param {string[]} symbols list of unified market symbols
|
|
381
381
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
382
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
382
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
383
383
|
*/
|
|
384
384
|
fetchFundingRates(symbols?: Strings, params?: {}): Promise<FundingRates>;
|
|
385
385
|
/**
|
|
@@ -393,7 +393,7 @@ export default class bitfinex extends Exchange {
|
|
|
393
393
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
394
394
|
* @param {int} [params.until] timestamp in ms of the latest funding rate
|
|
395
395
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
396
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
396
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
397
397
|
*/
|
|
398
398
|
fetchFundingRateHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<FundingRateHistory[]>;
|
|
399
399
|
parseFundingRate(contract: any, market?: Market): FundingRate;
|
|
@@ -423,7 +423,7 @@ export default class bitfinex extends Exchange {
|
|
|
423
423
|
* @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
|
|
424
424
|
* @param {string[]} [symbols] a list of unified CCXT market symbols
|
|
425
425
|
* @param {object} [params] exchange specific parameters
|
|
426
|
-
* @returns {object[]} a list of [open interest structures]{@link https://docs.ccxt.com
|
|
426
|
+
* @returns {object[]} a list of [open interest structures]{@link https://docs.ccxt.com/?id=open-interest-structure}
|
|
427
427
|
*/
|
|
428
428
|
fetchOpenInterests(symbols?: Strings, params?: {}): Promise<OpenInterests>;
|
|
429
429
|
/**
|
|
@@ -433,7 +433,7 @@ export default class bitfinex extends Exchange {
|
|
|
433
433
|
* @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
|
|
434
434
|
* @param {string} symbol unified CCXT market symbol
|
|
435
435
|
* @param {object} [params] exchange specific parameters
|
|
436
|
-
* @returns {object} an [open interest structure]{@link https://docs.ccxt.com
|
|
436
|
+
* @returns {object} an [open interest structure]{@link https://docs.ccxt.com/?id=open-interest-structure}
|
|
437
437
|
*/
|
|
438
438
|
fetchOpenInterest(symbol: string, params?: {}): Promise<OpenInterest>;
|
|
439
439
|
/**
|
|
@@ -448,7 +448,7 @@ export default class bitfinex extends Exchange {
|
|
|
448
448
|
* @param {object} [params] exchange specific parameters
|
|
449
449
|
* @param {int} [params.until] the time in ms of the latest record to retrieve as a unix timestamp
|
|
450
450
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
451
|
-
* @returns An array of [open interest structures]{@link https://docs.ccxt.com
|
|
451
|
+
* @returns An array of [open interest structures]{@link https://docs.ccxt.com/?id=open-interest-structure}
|
|
452
452
|
*/
|
|
453
453
|
fetchOpenInterestHistory(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OpenInterest[]>;
|
|
454
454
|
parseOpenInterest(interest: any, market?: Market): OpenInterest;
|
|
@@ -463,7 +463,7 @@ export default class bitfinex extends Exchange {
|
|
|
463
463
|
* @param {object} [params] exchange specific parameters
|
|
464
464
|
* @param {int} [params.until] timestamp in ms of the latest liquidation
|
|
465
465
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
466
|
-
* @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com
|
|
466
|
+
* @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com/?id=liquidation-structure}
|
|
467
467
|
*/
|
|
468
468
|
fetchLiquidations(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Liquidation[]>;
|
|
469
469
|
parseLiquidation(liquidation: any, market?: Market): Liquidation;
|
|
@@ -488,7 +488,7 @@ export default class bitfinex extends Exchange {
|
|
|
488
488
|
* @param {string} id the order id
|
|
489
489
|
* @param {string} [symbol] unified symbol of the market the order was made in
|
|
490
490
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
491
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
491
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
492
492
|
*/
|
|
493
493
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
494
494
|
/**
|
|
@@ -510,7 +510,7 @@ export default class bitfinex extends Exchange {
|
|
|
510
510
|
* @param {int} [params.leverage] leverage for a derivative order, supported by derivative symbol orders only, the value should be between 1 and 100 inclusive
|
|
511
511
|
* @param {int} [params.clientOrderId] a unique client order id for the order
|
|
512
512
|
* @param {float} [params.trailingAmount] *swap only* the quote amount to trail away from the current market price
|
|
513
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
513
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
514
514
|
*/
|
|
515
515
|
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
516
516
|
}
|
package/js/src/bitfinex.js
CHANGED
|
@@ -581,7 +581,7 @@ export default class bitfinex extends Exchange {
|
|
|
581
581
|
* @description the latest known information on the availability of the exchange API
|
|
582
582
|
* @see https://docs.bitfinex.com/reference/rest-public-platform-status
|
|
583
583
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
584
|
-
* @returns {object} a [status structure]{@link https://docs.ccxt.com
|
|
584
|
+
* @returns {object} a [status structure]{@link https://docs.ccxt.com/?id=exchange-status-structure}
|
|
585
585
|
*/
|
|
586
586
|
async fetchStatus(params = {}) {
|
|
587
587
|
//
|
|
@@ -942,7 +942,7 @@ export default class bitfinex extends Exchange {
|
|
|
942
942
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
943
943
|
* @see https://docs.bitfinex.com/reference/rest-auth-wallets
|
|
944
944
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
945
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
945
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
946
946
|
*/
|
|
947
947
|
async fetchBalance(params = {}) {
|
|
948
948
|
// this api call does not return the 'used' amount - use the v1 version instead (which also returns zero balances)
|
|
@@ -991,7 +991,7 @@ export default class bitfinex extends Exchange {
|
|
|
991
991
|
* @param {string} fromAccount account to transfer from
|
|
992
992
|
* @param {string} toAccount account to transfer to
|
|
993
993
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
994
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
994
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
995
995
|
*/
|
|
996
996
|
async transfer(code, amount, fromAccount, toAccount, params = {}) {
|
|
997
997
|
// transferring between derivatives wallet and regular wallet is not documented in their API
|
|
@@ -1136,7 +1136,7 @@ export default class bitfinex extends Exchange {
|
|
|
1136
1136
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1137
1137
|
* @param {int} [limit] the maximum amount of order book entries to return, bitfinex only allows 1, 25, or 100
|
|
1138
1138
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1139
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
1139
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
1140
1140
|
*/
|
|
1141
1141
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
1142
1142
|
await this.loadMarkets();
|
|
@@ -1291,7 +1291,7 @@ export default class bitfinex extends Exchange {
|
|
|
1291
1291
|
* @see https://docs.bitfinex.com/reference/rest-public-tickers
|
|
1292
1292
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1293
1293
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1294
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1294
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1295
1295
|
*/
|
|
1296
1296
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1297
1297
|
await this.loadMarkets();
|
|
@@ -1353,7 +1353,7 @@ export default class bitfinex extends Exchange {
|
|
|
1353
1353
|
* @see https://docs.bitfinex.com/reference/rest-public-ticker
|
|
1354
1354
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1355
1355
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1356
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1356
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1357
1357
|
*/
|
|
1358
1358
|
async fetchTicker(symbol, params = {}) {
|
|
1359
1359
|
await this.loadMarkets();
|
|
@@ -1459,7 +1459,7 @@ export default class bitfinex extends Exchange {
|
|
|
1459
1459
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1460
1460
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
1461
1461
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
1462
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1462
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1463
1463
|
*/
|
|
1464
1464
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1465
1465
|
await this.loadMarkets();
|
|
@@ -1790,7 +1790,7 @@ export default class bitfinex extends Exchange {
|
|
|
1790
1790
|
* @param {string} [params.price_aux_limit] order price for stop limit orders
|
|
1791
1791
|
* @param {string} [params.price_oco_stop] OCO stop price
|
|
1792
1792
|
* @param {string} [params.trailingAmount] *swap only* the quote amount to trail away from the current market price
|
|
1793
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1793
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1794
1794
|
*/
|
|
1795
1795
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1796
1796
|
await this.loadMarkets();
|
|
@@ -1862,7 +1862,7 @@ export default class bitfinex extends Exchange {
|
|
|
1862
1862
|
* @see https://docs.bitfinex.com/reference/rest-auth-order-multi
|
|
1863
1863
|
* @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
|
|
1864
1864
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1865
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1865
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1866
1866
|
*/
|
|
1867
1867
|
async createOrders(orders, params = {}) {
|
|
1868
1868
|
await this.loadMarkets();
|
|
@@ -1923,7 +1923,7 @@ export default class bitfinex extends Exchange {
|
|
|
1923
1923
|
* @see https://docs.bitfinex.com/reference/rest-auth-cancel-orders-multiple
|
|
1924
1924
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1925
1925
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1926
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1926
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1927
1927
|
*/
|
|
1928
1928
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1929
1929
|
await this.loadMarkets();
|
|
@@ -1946,7 +1946,7 @@ export default class bitfinex extends Exchange {
|
|
|
1946
1946
|
* @param {string} id order id
|
|
1947
1947
|
* @param {string} symbol Not used by bitfinex cancelOrder ()
|
|
1948
1948
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1949
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1949
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1950
1950
|
*/
|
|
1951
1951
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1952
1952
|
await this.loadMarkets();
|
|
@@ -1985,7 +1985,7 @@ export default class bitfinex extends Exchange {
|
|
|
1985
1985
|
* @param {string[]} ids order ids
|
|
1986
1986
|
* @param {string} symbol unified market symbol, default is undefined
|
|
1987
1987
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1988
|
-
* @returns {object} an array of [order structures]{@link https://docs.ccxt.com
|
|
1988
|
+
* @returns {object} an array of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1989
1989
|
*/
|
|
1990
1990
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
1991
1991
|
await this.loadMarkets();
|
|
@@ -2068,7 +2068,7 @@ export default class bitfinex extends Exchange {
|
|
|
2068
2068
|
* @param {string} id order id
|
|
2069
2069
|
* @param {string} symbol unified market symbol, default is undefined
|
|
2070
2070
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2071
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2071
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2072
2072
|
*/
|
|
2073
2073
|
async fetchOpenOrder(id, symbol = undefined, params = {}) {
|
|
2074
2074
|
const request = {
|
|
@@ -2090,7 +2090,7 @@ export default class bitfinex extends Exchange {
|
|
|
2090
2090
|
* @param {string} id order id
|
|
2091
2091
|
* @param {string} symbol unified market symbol, default is undefined
|
|
2092
2092
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2093
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2093
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2094
2094
|
*/
|
|
2095
2095
|
async fetchClosedOrder(id, symbol = undefined, params = {}) {
|
|
2096
2096
|
const request = {
|
|
@@ -2113,7 +2113,7 @@ export default class bitfinex extends Exchange {
|
|
|
2113
2113
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
2114
2114
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
2115
2115
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2116
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2116
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2117
2117
|
*/
|
|
2118
2118
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2119
2119
|
await this.loadMarkets();
|
|
@@ -2184,7 +2184,7 @@ export default class bitfinex extends Exchange {
|
|
|
2184
2184
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2185
2185
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
2186
2186
|
* @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)
|
|
2187
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2187
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2188
2188
|
*/
|
|
2189
2189
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2190
2190
|
// returns the most recent closed or canceled orders up to circa two weeks ago
|
|
@@ -2266,7 +2266,7 @@ export default class bitfinex extends Exchange {
|
|
|
2266
2266
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
2267
2267
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
2268
2268
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2269
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
2269
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
2270
2270
|
*/
|
|
2271
2271
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2272
2272
|
if (symbol === undefined) {
|
|
@@ -2297,7 +2297,7 @@ export default class bitfinex extends Exchange {
|
|
|
2297
2297
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
2298
2298
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
2299
2299
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2300
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
2300
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
2301
2301
|
*/
|
|
2302
2302
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2303
2303
|
await this.loadMarkets();
|
|
@@ -2333,7 +2333,7 @@ export default class bitfinex extends Exchange {
|
|
|
2333
2333
|
* @see https://docs.bitfinex.com/reference/rest-auth-deposit-address
|
|
2334
2334
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
2335
2335
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2336
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2336
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2337
2337
|
*/
|
|
2338
2338
|
async createDepositAddress(code, params = {}) {
|
|
2339
2339
|
await this.loadMarkets();
|
|
@@ -2349,7 +2349,7 @@ export default class bitfinex extends Exchange {
|
|
|
2349
2349
|
* @see https://docs.bitfinex.com/reference/rest-auth-deposit-address
|
|
2350
2350
|
* @param {string} code unified currency code
|
|
2351
2351
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2352
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
2352
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
2353
2353
|
*/
|
|
2354
2354
|
async fetchDepositAddress(code, params = {}) {
|
|
2355
2355
|
await this.loadMarkets();
|
|
@@ -2566,7 +2566,7 @@ export default class bitfinex extends Exchange {
|
|
|
2566
2566
|
* @description fetch the trading fees for multiple markets
|
|
2567
2567
|
* @see https://docs.bitfinex.com/reference/rest-auth-summary
|
|
2568
2568
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2569
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
2569
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
2570
2570
|
*/
|
|
2571
2571
|
async fetchTradingFees(params = {}) {
|
|
2572
2572
|
await this.loadMarkets();
|
|
@@ -2684,7 +2684,7 @@ export default class bitfinex extends Exchange {
|
|
|
2684
2684
|
* @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
|
|
2685
2685
|
* @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
|
|
2686
2686
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2687
|
-
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com
|
|
2687
|
+
* @returns {object} a list of [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2688
2688
|
*/
|
|
2689
2689
|
async fetchDepositsWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2690
2690
|
await this.loadMarkets();
|
|
@@ -2745,7 +2745,7 @@ export default class bitfinex extends Exchange {
|
|
|
2745
2745
|
* @param {string} address the address to withdraw to
|
|
2746
2746
|
* @param {string} tag
|
|
2747
2747
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2748
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2748
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2749
2749
|
*/
|
|
2750
2750
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2751
2751
|
this.checkAddress(address);
|
|
@@ -2829,7 +2829,7 @@ export default class bitfinex extends Exchange {
|
|
|
2829
2829
|
* @see https://docs.bitfinex.com/reference/rest-auth-positions
|
|
2830
2830
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2831
2831
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2832
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
2832
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
2833
2833
|
*/
|
|
2834
2834
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
2835
2835
|
await this.loadMarkets();
|
|
@@ -3093,7 +3093,7 @@ export default class bitfinex extends Exchange {
|
|
|
3093
3093
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3094
3094
|
* @param {int} [params.until] timestamp in ms of the latest ledger entry
|
|
3095
3095
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3096
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
3096
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
3097
3097
|
*/
|
|
3098
3098
|
async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3099
3099
|
await this.loadMarkets();
|
|
@@ -3149,7 +3149,7 @@ export default class bitfinex extends Exchange {
|
|
|
3149
3149
|
* @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
|
|
3150
3150
|
* @param {string[]} symbols list of unified market symbols
|
|
3151
3151
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3152
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
3152
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
3153
3153
|
*/
|
|
3154
3154
|
async fetchFundingRates(symbols = undefined, params = {}) {
|
|
3155
3155
|
if (symbols === undefined) {
|
|
@@ -3204,7 +3204,7 @@ export default class bitfinex extends Exchange {
|
|
|
3204
3204
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3205
3205
|
* @param {int} [params.until] timestamp in ms of the latest funding rate
|
|
3206
3206
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3207
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
3207
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
3208
3208
|
*/
|
|
3209
3209
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3210
3210
|
if (symbol === undefined) {
|
|
@@ -3381,7 +3381,7 @@ export default class bitfinex extends Exchange {
|
|
|
3381
3381
|
* @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
|
|
3382
3382
|
* @param {string[]} [symbols] a list of unified CCXT market symbols
|
|
3383
3383
|
* @param {object} [params] exchange specific parameters
|
|
3384
|
-
* @returns {object[]} a list of [open interest structures]{@link https://docs.ccxt.com
|
|
3384
|
+
* @returns {object[]} a list of [open interest structures]{@link https://docs.ccxt.com/?id=open-interest-structure}
|
|
3385
3385
|
*/
|
|
3386
3386
|
async fetchOpenInterests(symbols = undefined, params = {}) {
|
|
3387
3387
|
await this.loadMarkets();
|
|
@@ -3433,7 +3433,7 @@ export default class bitfinex extends Exchange {
|
|
|
3433
3433
|
* @see https://docs.bitfinex.com/reference/rest-public-derivatives-status
|
|
3434
3434
|
* @param {string} symbol unified CCXT market symbol
|
|
3435
3435
|
* @param {object} [params] exchange specific parameters
|
|
3436
|
-
* @returns {object} an [open interest structure]{@link https://docs.ccxt.com
|
|
3436
|
+
* @returns {object} an [open interest structure]{@link https://docs.ccxt.com/?id=open-interest-structure}
|
|
3437
3437
|
*/
|
|
3438
3438
|
async fetchOpenInterest(symbol, params = {}) {
|
|
3439
3439
|
await this.loadMarkets();
|
|
@@ -3487,7 +3487,7 @@ export default class bitfinex extends Exchange {
|
|
|
3487
3487
|
* @param {object} [params] exchange specific parameters
|
|
3488
3488
|
* @param {int} [params.until] the time in ms of the latest record to retrieve as a unix timestamp
|
|
3489
3489
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3490
|
-
* @returns An array of [open interest structures]{@link https://docs.ccxt.com
|
|
3490
|
+
* @returns An array of [open interest structures]{@link https://docs.ccxt.com/?id=open-interest-structure}
|
|
3491
3491
|
*/
|
|
3492
3492
|
async fetchOpenInterestHistory(symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
|
|
3493
3493
|
await this.loadMarkets();
|
|
@@ -3622,7 +3622,7 @@ export default class bitfinex extends Exchange {
|
|
|
3622
3622
|
* @param {object} [params] exchange specific parameters
|
|
3623
3623
|
* @param {int} [params.until] timestamp in ms of the latest liquidation
|
|
3624
3624
|
* @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
|
|
3625
|
-
* @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com
|
|
3625
|
+
* @returns {object} an array of [liquidation structures]{@link https://docs.ccxt.com/?id=liquidation-structure}
|
|
3626
3626
|
*/
|
|
3627
3627
|
async fetchLiquidations(symbol, since = undefined, limit = undefined, params = {}) {
|
|
3628
3628
|
await this.loadMarkets();
|
|
@@ -3769,7 +3769,7 @@ export default class bitfinex extends Exchange {
|
|
|
3769
3769
|
* @param {string} id the order id
|
|
3770
3770
|
* @param {string} [symbol] unified symbol of the market the order was made in
|
|
3771
3771
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3772
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
3772
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3773
3773
|
*/
|
|
3774
3774
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
3775
3775
|
await this.loadMarkets();
|
|
@@ -3847,7 +3847,7 @@ export default class bitfinex extends Exchange {
|
|
|
3847
3847
|
* @param {int} [params.leverage] leverage for a derivative order, supported by derivative symbol orders only, the value should be between 1 and 100 inclusive
|
|
3848
3848
|
* @param {int} [params.clientOrderId] a unique client order id for the order
|
|
3849
3849
|
* @param {float} [params.trailingAmount] *swap only* the quote amount to trail away from the current market price
|
|
3850
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
3850
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3851
3851
|
*/
|
|
3852
3852
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
3853
3853
|
await this.loadMarkets();
|