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/hashkey.js
CHANGED
|
@@ -653,7 +653,7 @@ export default class hashkey extends Exchange {
|
|
|
653
653
|
* @description the latest known information on the availability of the exchange API
|
|
654
654
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/test-connectivity
|
|
655
655
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
656
|
-
* @returns {object} a [status structure]{@link https://docs.ccxt.com
|
|
656
|
+
* @returns {object} a [status structure]{@link https://docs.ccxt.com/?id=exchange-status-structure}
|
|
657
657
|
*/
|
|
658
658
|
async fetchStatus(params = {}) {
|
|
659
659
|
const response = await this.publicGetApiV1Ping(params);
|
|
@@ -1239,7 +1239,7 @@ export default class hashkey extends Exchange {
|
|
|
1239
1239
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
1240
1240
|
* @param {int} [limit] the maximum amount of order book entries to return (maximum value is 200)
|
|
1241
1241
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1242
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
1242
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
1243
1243
|
*/
|
|
1244
1244
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
1245
1245
|
await this.loadMarkets();
|
|
@@ -1278,7 +1278,7 @@ export default class hashkey extends Exchange {
|
|
|
1278
1278
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
1279
1279
|
* @param {int} [limit] the maximum amount of trades to fetch (maximum value is 100)
|
|
1280
1280
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1281
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1281
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1282
1282
|
*/
|
|
1283
1283
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1284
1284
|
await this.loadMarkets();
|
|
@@ -1615,7 +1615,7 @@ export default class hashkey extends Exchange {
|
|
|
1615
1615
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/get-24hr-ticker-price-change
|
|
1616
1616
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
1617
1617
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1618
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
1618
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1619
1619
|
*/
|
|
1620
1620
|
async fetchTicker(symbol, params = {}) {
|
|
1621
1621
|
await this.loadMarkets();
|
|
@@ -1650,7 +1650,7 @@ export default class hashkey extends Exchange {
|
|
|
1650
1650
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/get-24hr-ticker-price-change
|
|
1651
1651
|
* @param {string[]} [symbols] unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
1652
1652
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1653
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
1653
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
1654
1654
|
*/
|
|
1655
1655
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
1656
1656
|
await this.loadMarkets();
|
|
@@ -1747,7 +1747,7 @@ export default class hashkey extends Exchange {
|
|
|
1747
1747
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1748
1748
|
* @param {string} [params.accountId] account ID, for Master Key only
|
|
1749
1749
|
* @param {string} [params.type] 'spot' or 'swap' - the type of the market to fetch balance for (default 'spot')
|
|
1750
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1750
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1751
1751
|
*/
|
|
1752
1752
|
async fetchBalance(params = {}) {
|
|
1753
1753
|
await this.loadMarkets();
|
|
@@ -1861,7 +1861,7 @@ export default class hashkey extends Exchange {
|
|
|
1861
1861
|
* @param {string} code unified currency code (default is 'USDT')
|
|
1862
1862
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1863
1863
|
* @param {string} [params.network] network for fetch deposit address (default is 'ETH')
|
|
1864
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
1864
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
1865
1865
|
*/
|
|
1866
1866
|
async fetchDepositAddress(code, params = {}) {
|
|
1867
1867
|
await this.loadMarkets();
|
|
@@ -1930,7 +1930,7 @@ export default class hashkey extends Exchange {
|
|
|
1930
1930
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1931
1931
|
* @param {int} [params.until] the latest time in ms to fetch transfers for (default time now)
|
|
1932
1932
|
* @param {int} [params.fromId] starting ID (To be released)
|
|
1933
|
-
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com
|
|
1933
|
+
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
1934
1934
|
*/
|
|
1935
1935
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1936
1936
|
const methodName = 'fetchDeposits';
|
|
@@ -1979,7 +1979,7 @@ export default class hashkey extends Exchange {
|
|
|
1979
1979
|
* @param {int} [limit] the maximum number of transfer structures to retrieve (default 50, max 200)
|
|
1980
1980
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1981
1981
|
* @param {int} [params.until] the latest time in ms to fetch transfers for (default time now)
|
|
1982
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1982
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1983
1983
|
*/
|
|
1984
1984
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1985
1985
|
const methodName = 'fetchWithdrawals';
|
|
@@ -2038,7 +2038,7 @@ export default class hashkey extends Exchange {
|
|
|
2038
2038
|
* @param {string} [params.network] network for withdraw
|
|
2039
2039
|
* @param {string} [params.clientOrderId] client order id
|
|
2040
2040
|
* @param {string} [params.platform] the platform to withdraw to (hashkey, HashKey HK)
|
|
2041
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2041
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2042
2042
|
*/
|
|
2043
2043
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2044
2044
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2189,7 +2189,7 @@ export default class hashkey extends Exchange {
|
|
|
2189
2189
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2190
2190
|
* @param {string} [params.clientOrderId] a unique id for the transfer
|
|
2191
2191
|
* @param {string} [params.remark] a note for the transfer
|
|
2192
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
2192
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
2193
2193
|
*/
|
|
2194
2194
|
async transfer(code, amount, fromAccount, toAccount, params = {}) {
|
|
2195
2195
|
await this.loadMarkets();
|
|
@@ -2237,7 +2237,7 @@ export default class hashkey extends Exchange {
|
|
|
2237
2237
|
* @description fetch all the accounts associated with a profile
|
|
2238
2238
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/query-sub-account
|
|
2239
2239
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2240
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
2240
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
2241
2241
|
*/
|
|
2242
2242
|
async fetchAccounts(params = {}) {
|
|
2243
2243
|
await this.loadMarkets();
|
|
@@ -2312,7 +2312,7 @@ export default class hashkey extends Exchange {
|
|
|
2312
2312
|
* @param {int} [params.until] the latest time in ms to fetch entries for
|
|
2313
2313
|
* @param {int} [params.flowType] trade, fee, transfer, deposit, withdrawal
|
|
2314
2314
|
* @param {int} [params.accountType] spot, swap, custody
|
|
2315
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
2315
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
2316
2316
|
*/
|
|
2317
2317
|
async fetchLedger(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2318
2318
|
const methodName = 'fetchLedger';
|
|
@@ -2443,7 +2443,7 @@ export default class hashkey extends Exchange {
|
|
|
2443
2443
|
* @param {string} [params.timeInForce] "GTC" or "IOC" or "PO" for spot, 'GTC' or 'FOK' or 'IOC' or 'LIMIT_MAKER' or 'PO' for swap
|
|
2444
2444
|
* @param {string} [params.clientOrderId] a unique id for the order - is mandatory for swap
|
|
2445
2445
|
* @param {float} [params.triggerPrice] *swap markets only* The price at which a trigger order is triggered at
|
|
2446
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2446
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2447
2447
|
*/
|
|
2448
2448
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
2449
2449
|
await this.loadMarkets();
|
|
@@ -2465,7 +2465,7 @@ export default class hashkey extends Exchange {
|
|
|
2465
2465
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
2466
2466
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
2467
2467
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2468
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2468
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2469
2469
|
*/
|
|
2470
2470
|
async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
|
|
2471
2471
|
await this.loadMarkets();
|
|
@@ -2495,7 +2495,7 @@ export default class hashkey extends Exchange {
|
|
|
2495
2495
|
* @param {bool} [params.postOnly] if true, the order will only be posted to the order book and not executed immediately
|
|
2496
2496
|
* @param {string} [params.timeInForce] 'GTC', 'IOC', or 'PO'
|
|
2497
2497
|
* @param {string} [params.clientOrderId] a unique id for the order
|
|
2498
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2498
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2499
2499
|
*/
|
|
2500
2500
|
async createSpotOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
2501
2501
|
const triggerPrice = this.safeString2(params, 'stopPrice', 'triggerPrice');
|
|
@@ -2740,7 +2740,7 @@ export default class hashkey extends Exchange {
|
|
|
2740
2740
|
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
2741
2741
|
* @param {string} [params.timeInForce] 'GTC', 'FOK', 'IOC', 'LIMIT_MAKER' or 'PO'
|
|
2742
2742
|
* @param {string} [params.clientOrderId] a unique id for the order
|
|
2743
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2743
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2744
2744
|
*/
|
|
2745
2745
|
async createSwapOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
2746
2746
|
await this.loadMarkets();
|
|
@@ -2778,7 +2778,7 @@ export default class hashkey extends Exchange {
|
|
|
2778
2778
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/batch-create-new-futures-order
|
|
2779
2779
|
* @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
|
|
2780
2780
|
* @param {object} [params] extra parameters specific to the api endpoint
|
|
2781
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2781
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2782
2782
|
*/
|
|
2783
2783
|
async createOrders(orders, params = {}) {
|
|
2784
2784
|
await this.loadMarkets();
|
|
@@ -2898,7 +2898,7 @@ export default class hashkey extends Exchange {
|
|
|
2898
2898
|
* @param {string} [params.clientOrderId] a unique id for the order that can be used as an alternative for the id
|
|
2899
2899
|
* @param {bool} [params.trigger] *swap markets only* true for canceling a trigger order (default false)
|
|
2900
2900
|
* @param {bool} [params.stop] *swap markets only* an alternative for trigger param
|
|
2901
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
2901
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2902
2902
|
*/
|
|
2903
2903
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
2904
2904
|
const methodName = 'cancelOrder';
|
|
@@ -3033,7 +3033,7 @@ export default class hashkey extends Exchange {
|
|
|
3033
3033
|
* @param {string} [symbol] unified market symbol (not used by hashkey)
|
|
3034
3034
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3035
3035
|
* @param {string} [params.type] 'spot' or 'swap' - the type of the market to fetch entry for (default 'spot')
|
|
3036
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
3036
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3037
3037
|
*/
|
|
3038
3038
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
3039
3039
|
const methodName = 'cancelOrders';
|
|
@@ -3081,7 +3081,7 @@ export default class hashkey extends Exchange {
|
|
|
3081
3081
|
* @param {string} [params.accountId] *spot markets only* account id to fetch the order from
|
|
3082
3082
|
* @param {bool} [params.trigger] *swap markets only* true for fetching a trigger order (default false)
|
|
3083
3083
|
* @param {bool} [params.stop] *swap markets only* an alternative for trigger param
|
|
3084
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
3084
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3085
3085
|
*/
|
|
3086
3086
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
3087
3087
|
const methodName = 'fetchOrder';
|
|
@@ -3190,7 +3190,7 @@ export default class hashkey extends Exchange {
|
|
|
3190
3190
|
* @param {bool} [params.trigger] *swap markets only* true for fetching trigger orders (default false)
|
|
3191
3191
|
* @param {bool} [params.stop] *swap markets only* an alternative for trigger param
|
|
3192
3192
|
* @param {string} [params.accountId] account id to fetch the orders from
|
|
3193
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3193
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3194
3194
|
*/
|
|
3195
3195
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3196
3196
|
const methodName = 'fetchOpenOrders';
|
|
@@ -3227,7 +3227,7 @@ export default class hashkey extends Exchange {
|
|
|
3227
3227
|
* @param {string} [params.orderId] the id of the order to fetch
|
|
3228
3228
|
* @param {string} [params.side] 'buy' or 'sell' - the side of the orders to fetch
|
|
3229
3229
|
* @param {string} [params.accountId] account id to fetch the orders from
|
|
3230
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3230
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3231
3231
|
*/
|
|
3232
3232
|
async fetchOpenSpotOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3233
3233
|
await this.loadMarkets();
|
|
@@ -3297,7 +3297,7 @@ export default class hashkey extends Exchange {
|
|
|
3297
3297
|
* @param {bool} [params.trigger] true for fetching trigger orders (default false)
|
|
3298
3298
|
* @param {bool} [params.stop] an alternative for trigger param
|
|
3299
3299
|
* @param {string} [params.accountId] account id to fetch the orders from
|
|
3300
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3300
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3301
3301
|
*/
|
|
3302
3302
|
async fetchOpenSwapOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3303
3303
|
let methodName = 'fetchOpenSwapOrders';
|
|
@@ -3394,7 +3394,7 @@ export default class hashkey extends Exchange {
|
|
|
3394
3394
|
* @param {bool} [params.trigger] *swap markets only* the id of the order to start from true for fetching trigger orders (default false)
|
|
3395
3395
|
* @param {bool} [params.stop] *swap markets only* the id of the order to start from an alternative for trigger param
|
|
3396
3396
|
* @param {string} [params.accountId] account id to fetch the orders from
|
|
3397
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
3397
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
3398
3398
|
*/
|
|
3399
3399
|
async fetchCanceledAndClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3400
3400
|
const methodName = 'fetchCanceledAndClosedOrders';
|
|
@@ -3754,7 +3754,7 @@ export default class hashkey extends Exchange {
|
|
|
3754
3754
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/get-futures-funding-rate
|
|
3755
3755
|
* @param {string} symbol unified market symbol
|
|
3756
3756
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3757
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
3757
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
3758
3758
|
*/
|
|
3759
3759
|
async fetchFundingRate(symbol, params = {}) {
|
|
3760
3760
|
await this.loadMarkets();
|
|
@@ -3779,7 +3779,7 @@ export default class hashkey extends Exchange {
|
|
|
3779
3779
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/get-futures-funding-rate
|
|
3780
3780
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
3781
3781
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3782
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
3782
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rates-structure}, indexed by market symbols
|
|
3783
3783
|
*/
|
|
3784
3784
|
async fetchFundingRates(symbols = undefined, params = {}) {
|
|
3785
3785
|
await this.loadMarkets();
|
|
@@ -3836,11 +3836,11 @@ export default class hashkey extends Exchange {
|
|
|
3836
3836
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/get-futures-history-funding-rate
|
|
3837
3837
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
3838
3838
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
3839
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com
|
|
3839
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure} to fetch
|
|
3840
3840
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3841
3841
|
* @param {int} [params.fromId] the id of the entry to start from
|
|
3842
3842
|
* @param {int} [params.endId] the id of the entry to end with
|
|
3843
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
3843
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
3844
3844
|
*/
|
|
3845
3845
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
3846
3846
|
await this.loadMarkets();
|
|
@@ -3890,7 +3890,7 @@ export default class hashkey extends Exchange {
|
|
|
3890
3890
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
3891
3891
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3892
3892
|
* @param {string} [params.side] 'LONG' or 'SHORT' - the direction of the position (if not provided, positions for both sides will be returned)
|
|
3893
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
3893
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3894
3894
|
*/
|
|
3895
3895
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
3896
3896
|
const methodName = 'fetchPositions';
|
|
@@ -3915,7 +3915,7 @@ export default class hashkey extends Exchange {
|
|
|
3915
3915
|
* @param {string} symbol unified market symbol
|
|
3916
3916
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3917
3917
|
* @param {string} [params.side] 'LONG' or 'SHORT' - the direction of the position (if not provided, positions for both sides will be returned)
|
|
3918
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
3918
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
3919
3919
|
*/
|
|
3920
3920
|
async fetchPositionsForSymbol(symbol, params = {}) {
|
|
3921
3921
|
await this.loadMarkets();
|
|
@@ -3994,7 +3994,7 @@ export default class hashkey extends Exchange {
|
|
|
3994
3994
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/query-futures-leverage-trade
|
|
3995
3995
|
* @param {string} symbol unified market symbol
|
|
3996
3996
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
3997
|
-
* @returns {object} a [leverage structure]{@link https://docs.ccxt.com
|
|
3997
|
+
* @returns {object} a [leverage structure]{@link https://docs.ccxt.com/?id=leverage-structure}
|
|
3998
3998
|
*/
|
|
3999
3999
|
async fetchLeverage(symbol, params = {}) {
|
|
4000
4000
|
await this.loadMarkets();
|
|
@@ -4063,7 +4063,7 @@ export default class hashkey extends Exchange {
|
|
|
4063
4063
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/exchangeinfo
|
|
4064
4064
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
4065
4065
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4066
|
-
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com
|
|
4066
|
+
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/?id=leverage-tiers-structure}, indexed by market symbols
|
|
4067
4067
|
*/
|
|
4068
4068
|
async fetchLeverageTiers(symbols = undefined, params = {}) {
|
|
4069
4069
|
await this.loadMarkets();
|
|
@@ -4179,7 +4179,7 @@ export default class hashkey extends Exchange {
|
|
|
4179
4179
|
* @see https://hashkeyglobal-apidoc.readme.io/reference/get-futures-commission-rate-request-weight // swap
|
|
4180
4180
|
* @param {string} symbol unified market symbol
|
|
4181
4181
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4182
|
-
* @returns {object} a [fee structure]{@link https://docs.ccxt.com
|
|
4182
|
+
* @returns {object} a [fee structure]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
4183
4183
|
*/
|
|
4184
4184
|
async fetchTradingFee(symbol, params = {}) {
|
|
4185
4185
|
await this.loadMarkets();
|
|
@@ -4212,7 +4212,7 @@ export default class hashkey extends Exchange {
|
|
|
4212
4212
|
* @description *for spot markets only* fetch the trading fees for multiple markets
|
|
4213
4213
|
* @see https://developers.binance.com/docs/wallet/asset/trade-fee
|
|
4214
4214
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4215
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
4215
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
4216
4216
|
*/
|
|
4217
4217
|
async fetchTradingFees(params = {}) {
|
|
4218
4218
|
await this.loadMarkets();
|
package/js/src/hibachi.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export default class hibachi extends Exchange {
|
|
|
25
25
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
26
26
|
* @see https://api-doc.hibachi.xyz/#69aafedb-8274-4e21-bbaf-91dace8b8f31
|
|
27
27
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
28
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
28
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
29
29
|
*/
|
|
30
30
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
31
31
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -49,7 +49,7 @@ export default class hibachi extends Exchange {
|
|
|
49
49
|
* @description fetches a price ticker and the related information for the past 24h
|
|
50
50
|
* @param {string} symbol unified symbol of the market
|
|
51
51
|
* @param {object} [params] extra parameters specific to the hibachi api endpoint
|
|
52
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
52
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
53
53
|
*/
|
|
54
54
|
fetchTicker(symbol: Str, params?: {}): Promise<Ticker>;
|
|
55
55
|
parseOrderStatus(status: string): string;
|
|
@@ -62,7 +62,7 @@ export default class hibachi extends Exchange {
|
|
|
62
62
|
* @param {string} id the order id
|
|
63
63
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
64
64
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
65
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
65
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
66
66
|
*/
|
|
67
67
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
68
68
|
/**
|
|
@@ -70,7 +70,7 @@ export default class hibachi extends Exchange {
|
|
|
70
70
|
* @name hibachi#fetchTradingFees
|
|
71
71
|
* @description fetch the trading fee
|
|
72
72
|
* @param params extra parameters
|
|
73
|
-
* @returns {object} a map of market symbols to [fee structures]{@link https://docs.ccxt.com
|
|
73
|
+
* @returns {object} a map of market symbols to [fee structures]{@link https://docs.ccxt.com/?id=fee-structure}
|
|
74
74
|
*/
|
|
75
75
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
76
76
|
orderMessage(market: any, nonce: number, feeRate: number, type: OrderType, side: OrderSide, amount: number, price?: Num): Uint8Array;
|
|
@@ -86,7 +86,7 @@ export default class hibachi extends Exchange {
|
|
|
86
86
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
87
87
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
88
88
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
89
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
89
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
90
90
|
*/
|
|
91
91
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
92
92
|
/**
|
|
@@ -96,7 +96,7 @@ export default class hibachi extends Exchange {
|
|
|
96
96
|
* @see https://api-doc.hibachi.xyz/#c2840b9b-f02c-44ed-937d-dc2819f135b4
|
|
97
97
|
* @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
|
|
98
98
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
99
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
99
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
100
100
|
*/
|
|
101
101
|
createOrders(orders: OrderRequest[], params?: {}): Promise<Order[]>;
|
|
102
102
|
editOrderRequest(nonce: number, id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): any;
|
|
@@ -112,7 +112,7 @@ export default class hibachi extends Exchange {
|
|
|
112
112
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
113
113
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency
|
|
114
114
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
115
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
115
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
116
116
|
*/
|
|
117
117
|
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
118
118
|
/**
|
|
@@ -122,7 +122,7 @@ export default class hibachi extends Exchange {
|
|
|
122
122
|
* @see https://api-doc.hibachi.xyz/#c2840b9b-f02c-44ed-937d-dc2819f135b4
|
|
123
123
|
* @param {Array} orders list of orders to edit, each object should contain the parameters required by editOrder, namely id, symbol, type, side, amount, price and params
|
|
124
124
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
125
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
125
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
126
126
|
*/
|
|
127
127
|
editOrders(orders: OrderRequest[], params?: {}): Promise<Order[]>;
|
|
128
128
|
cancelOrderRequest(id: string): {
|
|
@@ -137,7 +137,7 @@ export default class hibachi extends Exchange {
|
|
|
137
137
|
* @param {string} id order id
|
|
138
138
|
* @param {string} symbol is unused
|
|
139
139
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
140
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
140
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
141
141
|
*/
|
|
142
142
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
143
143
|
/**
|
|
@@ -148,7 +148,7 @@ export default class hibachi extends Exchange {
|
|
|
148
148
|
* @param {string[]} ids order ids
|
|
149
149
|
* @param {string} [symbol] unified market symbol, unused
|
|
150
150
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
151
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
151
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
152
152
|
*/
|
|
153
153
|
cancelOrders(ids: string[], symbol?: Str, params?: {}): Promise<Order[]>;
|
|
154
154
|
/**
|
|
@@ -158,7 +158,7 @@ export default class hibachi extends Exchange {
|
|
|
158
158
|
* @description cancel all open orders in a market
|
|
159
159
|
* @param {string} symbol unified market symbol
|
|
160
160
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
161
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
161
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
162
162
|
*/
|
|
163
163
|
cancelAllOrders(symbol?: Str, params?: {}): Promise<Order[]>;
|
|
164
164
|
encodeWithdrawMessage(amount: number, maxFees: number, address: string): Uint8Array;
|
|
@@ -172,7 +172,7 @@ export default class hibachi extends Exchange {
|
|
|
172
172
|
* @param {string} address the address to withdraw to
|
|
173
173
|
* @param {string} tag
|
|
174
174
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
175
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
175
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
176
176
|
*/
|
|
177
177
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
178
178
|
nonce(): number;
|
|
@@ -185,7 +185,7 @@ export default class hibachi extends Exchange {
|
|
|
185
185
|
* @param {string} symbol unified symbol of the market
|
|
186
186
|
* @param {int} [limit] currently unused
|
|
187
187
|
* @param {object} [params] extra parameters to be passed -- see documentation link above
|
|
188
|
-
* @returns {object} A dictionary containg [orderbook information]{@link https://docs.ccxt.com
|
|
188
|
+
* @returns {object} A dictionary containg [orderbook information]{@link https://docs.ccxt.com/?id=order-book-structure}
|
|
189
189
|
*/
|
|
190
190
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
191
191
|
/**
|
|
@@ -197,7 +197,7 @@ export default class hibachi extends Exchange {
|
|
|
197
197
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
198
198
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
199
199
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
200
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
200
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
201
201
|
*/
|
|
202
202
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
203
203
|
parseOHLCV(ohlcv: any, market?: Market): OHLCV;
|
|
@@ -210,7 +210,7 @@ export default class hibachi extends Exchange {
|
|
|
210
210
|
* @param {int} [since] milisecond timestamp of the earliest order
|
|
211
211
|
* @param {int} [limit] the maximum number of open orders to return
|
|
212
212
|
* @param {object} [params] extra parameters
|
|
213
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
213
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
214
214
|
*/
|
|
215
215
|
fetchOpenOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
216
216
|
/**
|
|
@@ -233,7 +233,7 @@ export default class hibachi extends Exchange {
|
|
|
233
233
|
* @see https://api-doc.hibachi.xyz/#69aafedb-8274-4e21-bbaf-91dace8b8f31
|
|
234
234
|
* @param {string[]} [symbols] list of unified market symbols
|
|
235
235
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
236
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
236
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
237
237
|
*/
|
|
238
238
|
fetchPositions(symbols?: Strings, params?: {}): Promise<Position[]>;
|
|
239
239
|
parsePosition(position: Dict, market?: Market): Position;
|
|
@@ -256,7 +256,7 @@ export default class hibachi extends Exchange {
|
|
|
256
256
|
* @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
|
|
257
257
|
* @param {int} [limit] max number of ledger entries to return, default is undefined
|
|
258
258
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
259
|
-
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com
|
|
259
|
+
* @returns {object} a [ledger structure]{@link https://docs.ccxt.com/?id=ledger}
|
|
260
260
|
*/
|
|
261
261
|
fetchLedger(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<LedgerEntry[]>;
|
|
262
262
|
/**
|
|
@@ -266,7 +266,7 @@ export default class hibachi extends Exchange {
|
|
|
266
266
|
* @param {string} code unified currency code
|
|
267
267
|
* @param {object} [params] extra parameters for API
|
|
268
268
|
* @param {string} [params.publicKey] your public key, you can get it from UI after creating API key
|
|
269
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
269
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
270
270
|
*/
|
|
271
271
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
272
272
|
parseTransaction(transaction: Dict, currency?: Currency): Transaction;
|
|
@@ -279,7 +279,7 @@ export default class hibachi extends Exchange {
|
|
|
279
279
|
* @param {int} [since] filter by earliest timestamp (ms)
|
|
280
280
|
* @param {int} [limit] maximum number of deposits to be returned
|
|
281
281
|
* @param {object} [params] extra parameters to be passed to API
|
|
282
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
282
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
283
283
|
*/
|
|
284
284
|
fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
285
285
|
/**
|
|
@@ -291,7 +291,7 @@ export default class hibachi extends Exchange {
|
|
|
291
291
|
* @param {int} [since] filter by earliest timestamp (ms)
|
|
292
292
|
* @param {int} [limit] maximum number of deposits to be returned
|
|
293
293
|
* @param {object} [params] extra parameters to be passed to API
|
|
294
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
294
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
295
295
|
*/
|
|
296
296
|
fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
|
|
297
297
|
/**
|
|
@@ -310,7 +310,7 @@ export default class hibachi extends Exchange {
|
|
|
310
310
|
* @see https://api-doc.hibachi.xyz/#bc34e8ae-e094-4802-8d56-3efe3a7bad49
|
|
311
311
|
* @param {string} symbol unified CCXT market symbol
|
|
312
312
|
* @param {object} [params] exchange specific parameters
|
|
313
|
-
* @returns {object} an open interest structure{@link https://docs.ccxt.com
|
|
313
|
+
* @returns {object} an open interest structure{@link https://docs.ccxt.com/?id=open-interest-structure}
|
|
314
314
|
*/
|
|
315
315
|
fetchOpenInterest(symbol: string, params?: {}): Promise<import("./base/types.js").OpenInterest>;
|
|
316
316
|
/**
|
|
@@ -320,7 +320,7 @@ export default class hibachi extends Exchange {
|
|
|
320
320
|
* @see https://api-doc.hibachi.xyz/#bca696ca-b9b2-4072-8864-5d6b8c09807e
|
|
321
321
|
* @param {string} symbol unified market symbol
|
|
322
322
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
323
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
323
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
324
324
|
*/
|
|
325
325
|
fetchFundingRate(symbol: string, params?: {}): Promise<FundingRate>;
|
|
326
326
|
/**
|
|
@@ -330,9 +330,9 @@ export default class hibachi extends Exchange {
|
|
|
330
330
|
* @see https://api-doc.hibachi.xyz/#4abb30c4-e5c7-4b0f-9ade-790111dbfa47
|
|
331
331
|
* @param {string} symbol unified symbol of the market to fetch the funding rate history for
|
|
332
332
|
* @param {int} [since] timestamp in ms of the earliest funding rate to fetch
|
|
333
|
-
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com
|
|
333
|
+
* @param {int} [limit] the maximum amount of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure} to fetch
|
|
334
334
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
335
|
-
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com
|
|
335
|
+
* @returns {object[]} a list of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-history-structure}
|
|
336
336
|
*/
|
|
337
337
|
fetchFundingRateHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<FundingRateHistory[]>;
|
|
338
338
|
}
|