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/xt.d.ts
CHANGED
|
@@ -147,7 +147,7 @@ export default class xt extends Exchange {
|
|
|
147
147
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
148
148
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
149
149
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
150
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
150
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
151
151
|
*/
|
|
152
152
|
createMarketBuyOrderWithCost(symbol: string, cost: number, params?: {}): Promise<Order>;
|
|
153
153
|
/**
|
|
@@ -389,7 +389,7 @@ export default class xt extends Exchange {
|
|
|
389
389
|
* @param {float} amount amount of margin to add
|
|
390
390
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
391
391
|
* @param {string} params.positionSide 'LONG' or 'SHORT'
|
|
392
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
392
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=add-margin-structure}
|
|
393
393
|
*/
|
|
394
394
|
addMargin(symbol: string, amount: number, params?: {}): Promise<MarginModification>;
|
|
395
395
|
/**
|
|
@@ -401,7 +401,7 @@ export default class xt extends Exchange {
|
|
|
401
401
|
* @param {float} amount the amount of margin to remove
|
|
402
402
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
403
403
|
* @param {string} params.positionSide 'LONG' or 'SHORT'
|
|
404
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
404
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=reduce-margin-structure}
|
|
405
405
|
*/
|
|
406
406
|
reduceMargin(symbol: string, amount: number, params?: {}): Promise<MarginModification>;
|
|
407
407
|
modifyMarginHelper(symbol: string, amount: any, addOrReduce: any, params?: {}): Promise<MarginModification>;
|
|
@@ -413,7 +413,7 @@ export default class xt extends Exchange {
|
|
|
413
413
|
* @see https://doc.xt.com/#futures_quotesgetLeverageBrackets
|
|
414
414
|
* @param {string} [symbols] a list of unified market symbols
|
|
415
415
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
416
|
-
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com
|
|
416
|
+
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/?id=leverage-tiers-structure}
|
|
417
417
|
*/
|
|
418
418
|
fetchLeverageTiers(symbols?: string[], params?: {}): Promise<LeverageTiers>;
|
|
419
419
|
parseLeverageTiers(response: any, symbols?: any, marketIdKey?: any): LeverageTiers;
|
|
@@ -424,7 +424,7 @@ export default class xt extends Exchange {
|
|
|
424
424
|
* @see https://doc.xt.com/#futures_quotesgetLeverageBracket
|
|
425
425
|
* @param {string} symbol unified market symbol
|
|
426
426
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
427
|
-
* @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com
|
|
427
|
+
* @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/?id=leverage-tiers-structure}
|
|
428
428
|
*/
|
|
429
429
|
fetchMarketLeverageTiers(symbol: string, params?: {}): Promise<LeverageTier[]>;
|
|
430
430
|
parseMarketLeverageTiers(info: any, market?: any): LeverageTier[];
|
|
@@ -448,7 +448,7 @@ export default class xt extends Exchange {
|
|
|
448
448
|
* @see https://doc.xt.com/#futures_quotesgetFundingRate
|
|
449
449
|
* @param {string} symbol unified market symbol
|
|
450
450
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
451
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
451
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
452
452
|
*/
|
|
453
453
|
fetchFundingInterval(symbol: string, params?: {}): Promise<FundingRate>;
|
|
454
454
|
/**
|
|
@@ -458,7 +458,7 @@ export default class xt extends Exchange {
|
|
|
458
458
|
* @see https://doc.xt.com/#futures_quotesgetFundingRate
|
|
459
459
|
* @param {string} symbol unified market symbol
|
|
460
460
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
461
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
461
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
462
462
|
*/
|
|
463
463
|
fetchFundingRate(symbol: string, params?: {}): Promise<FundingRate>;
|
|
464
464
|
parseFundingRate(contract: any, market?: any): FundingRate;
|
|
@@ -471,7 +471,7 @@ export default class xt extends Exchange {
|
|
|
471
471
|
* @param {int} [since] the starting timestamp in milliseconds
|
|
472
472
|
* @param {int} [limit] the number of entries to return
|
|
473
473
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
474
|
-
* @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com
|
|
474
|
+
* @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/?id=funding-history-structure}
|
|
475
475
|
*/
|
|
476
476
|
fetchFundingHistory(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<FundingHistory[]>;
|
|
477
477
|
parseFundingHistory(contract: any, market?: any): {
|
|
@@ -490,7 +490,7 @@ export default class xt extends Exchange {
|
|
|
490
490
|
* @see https://doc.xt.com/#futures_usergetPosition
|
|
491
491
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
492
492
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
493
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
493
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
494
494
|
*/
|
|
495
495
|
fetchPosition(symbol: string, params?: {}): Promise<Position>;
|
|
496
496
|
/**
|
|
@@ -500,7 +500,7 @@ export default class xt extends Exchange {
|
|
|
500
500
|
* @see https://doc.xt.com/#futures_usergetPosition
|
|
501
501
|
* @param {string} [symbols] list of unified market symbols, not supported with xt
|
|
502
502
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
503
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
503
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
504
504
|
*/
|
|
505
505
|
fetchPositions(symbols?: string[], params?: {}): Promise<Position[]>;
|
|
506
506
|
parsePosition(position: any, market?: any): Position;
|
|
@@ -514,7 +514,7 @@ export default class xt extends Exchange {
|
|
|
514
514
|
* @param {string} fromAccount account to transfer from - spot, swap, leverage, finance
|
|
515
515
|
* @param {string} toAccount account to transfer to - spot, swap, leverage, finance
|
|
516
516
|
* @param {object} params extra parameters specific to the whitebit api endpoint
|
|
517
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
517
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
518
518
|
*/
|
|
519
519
|
transfer(code: string, amount: number, fromAccount: string, toAccount: string, params?: {}): Promise<TransferEntry>;
|
|
520
520
|
parseTransfer(transfer: any, currency?: any): {
|
|
@@ -556,7 +556,7 @@ export default class xt extends Exchange {
|
|
|
556
556
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
557
557
|
* @param {float} [params.stopLoss] price to set a stop-loss on an open position
|
|
558
558
|
* @param {float} [params.takeProfit] price to set a take-profit on an open position
|
|
559
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
559
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
560
560
|
*/
|
|
561
561
|
editOrder(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
562
562
|
handleErrors(code: any, reason: any, url: any, method: any, headers: any, body: any, response: any, requestHeaders: any, requestBody: any): any;
|
package/js/src/xt.js
CHANGED
|
@@ -49,6 +49,7 @@ export default class xt extends Exchange {
|
|
|
49
49
|
'createReduceOnlyOrder': true,
|
|
50
50
|
'editOrder': true,
|
|
51
51
|
'fetchAccounts': false,
|
|
52
|
+
'fetchAllGreeks': false,
|
|
52
53
|
'fetchBalance': true,
|
|
53
54
|
'fetchBidsAsks': true,
|
|
54
55
|
'fetchBorrowInterest': false,
|
|
@@ -73,6 +74,7 @@ export default class xt extends Exchange {
|
|
|
73
74
|
'fetchFundingRate': true,
|
|
74
75
|
'fetchFundingRateHistory': true,
|
|
75
76
|
'fetchFundingRates': false,
|
|
77
|
+
'fetchGreeks': false,
|
|
76
78
|
'fetchIndexOHLCV': false,
|
|
77
79
|
'fetchL3OrderBook': false,
|
|
78
80
|
'fetchLedger': true,
|
|
@@ -87,6 +89,8 @@ export default class xt extends Exchange {
|
|
|
87
89
|
'fetchOpenInterest': false,
|
|
88
90
|
'fetchOpenInterestHistory': false,
|
|
89
91
|
'fetchOpenOrders': true,
|
|
92
|
+
'fetchOption': false,
|
|
93
|
+
'fetchOptionChain': false,
|
|
90
94
|
'fetchOrder': true,
|
|
91
95
|
'fetchOrderBook': true,
|
|
92
96
|
'fetchOrderBooks': false,
|
|
@@ -110,6 +114,7 @@ export default class xt extends Exchange {
|
|
|
110
114
|
'fetchTransactions': false,
|
|
111
115
|
'fetchTransfer': false,
|
|
112
116
|
'fetchTransfers': false,
|
|
117
|
+
'fetchVolatilityHistory': false,
|
|
113
118
|
'fetchWithdrawal': false,
|
|
114
119
|
'fetchWithdrawals': true,
|
|
115
120
|
'fetchWithdrawalWhitelist': false,
|
|
@@ -2401,7 +2406,7 @@ export default class xt extends Exchange {
|
|
|
2401
2406
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
2402
2407
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
2403
2408
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2404
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2409
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2405
2410
|
*/
|
|
2406
2411
|
async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
|
|
2407
2412
|
await this.loadMarkets();
|
|
@@ -4160,7 +4165,7 @@ export default class xt extends Exchange {
|
|
|
4160
4165
|
* @param {float} amount amount of margin to add
|
|
4161
4166
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4162
4167
|
* @param {string} params.positionSide 'LONG' or 'SHORT'
|
|
4163
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
4168
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=add-margin-structure}
|
|
4164
4169
|
*/
|
|
4165
4170
|
async addMargin(symbol, amount, params = {}) {
|
|
4166
4171
|
return await this.modifyMarginHelper(symbol, amount, 'ADD', params);
|
|
@@ -4174,7 +4179,7 @@ export default class xt extends Exchange {
|
|
|
4174
4179
|
* @param {float} amount the amount of margin to remove
|
|
4175
4180
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4176
4181
|
* @param {string} params.positionSide 'LONG' or 'SHORT'
|
|
4177
|
-
* @returns {object} a [margin structure]{@link https://docs.ccxt.com
|
|
4182
|
+
* @returns {object} a [margin structure]{@link https://docs.ccxt.com/?id=reduce-margin-structure}
|
|
4178
4183
|
*/
|
|
4179
4184
|
async reduceMargin(symbol, amount, params = {}) {
|
|
4180
4185
|
return await this.modifyMarginHelper(symbol, amount, 'SUB', params);
|
|
@@ -4230,7 +4235,7 @@ export default class xt extends Exchange {
|
|
|
4230
4235
|
* @see https://doc.xt.com/#futures_quotesgetLeverageBrackets
|
|
4231
4236
|
* @param {string} [symbols] a list of unified market symbols
|
|
4232
4237
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4233
|
-
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com
|
|
4238
|
+
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/?id=leverage-tiers-structure}
|
|
4234
4239
|
*/
|
|
4235
4240
|
async fetchLeverageTiers(symbols = undefined, params = {}) {
|
|
4236
4241
|
await this.loadMarkets();
|
|
@@ -4313,7 +4318,7 @@ export default class xt extends Exchange {
|
|
|
4313
4318
|
* @see https://doc.xt.com/#futures_quotesgetLeverageBracket
|
|
4314
4319
|
* @param {string} symbol unified market symbol
|
|
4315
4320
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4316
|
-
* @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com
|
|
4321
|
+
* @returns {object} a [leverage tiers structure]{@link https://docs.ccxt.com/?id=leverage-tiers-structure}
|
|
4317
4322
|
*/
|
|
4318
4323
|
async fetchMarketLeverageTiers(symbol, params = {}) {
|
|
4319
4324
|
await this.loadMarkets();
|
|
@@ -4482,7 +4487,7 @@ export default class xt extends Exchange {
|
|
|
4482
4487
|
* @see https://doc.xt.com/#futures_quotesgetFundingRate
|
|
4483
4488
|
* @param {string} symbol unified market symbol
|
|
4484
4489
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4485
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
4490
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
4486
4491
|
*/
|
|
4487
4492
|
async fetchFundingInterval(symbol, params = {}) {
|
|
4488
4493
|
return await this.fetchFundingRate(symbol, params);
|
|
@@ -4494,7 +4499,7 @@ export default class xt extends Exchange {
|
|
|
4494
4499
|
* @see https://doc.xt.com/#futures_quotesgetFundingRate
|
|
4495
4500
|
* @param {string} symbol unified market symbol
|
|
4496
4501
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4497
|
-
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com
|
|
4502
|
+
* @returns {object} a [funding rate structure]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
4498
4503
|
*/
|
|
4499
4504
|
async fetchFundingRate(symbol, params = {}) {
|
|
4500
4505
|
await this.loadMarkets();
|
|
@@ -4576,7 +4581,7 @@ export default class xt extends Exchange {
|
|
|
4576
4581
|
* @param {int} [since] the starting timestamp in milliseconds
|
|
4577
4582
|
* @param {int} [limit] the number of entries to return
|
|
4578
4583
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4579
|
-
* @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com
|
|
4584
|
+
* @returns {object[]} a list of [funding history structures]{@link https://docs.ccxt.com/?id=funding-history-structure}
|
|
4580
4585
|
*/
|
|
4581
4586
|
async fetchFundingHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
4582
4587
|
await this.loadMarkets();
|
|
@@ -4666,7 +4671,7 @@ export default class xt extends Exchange {
|
|
|
4666
4671
|
* @see https://doc.xt.com/#futures_usergetPosition
|
|
4667
4672
|
* @param {string} symbol unified market symbol of the market the position is held in
|
|
4668
4673
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4669
|
-
* @returns {object} a [position structure]{@link https://docs.ccxt.com
|
|
4674
|
+
* @returns {object} a [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
4670
4675
|
*/
|
|
4671
4676
|
async fetchPosition(symbol, params = {}) {
|
|
4672
4677
|
await this.loadMarkets();
|
|
@@ -4727,7 +4732,7 @@ export default class xt extends Exchange {
|
|
|
4727
4732
|
* @see https://doc.xt.com/#futures_usergetPosition
|
|
4728
4733
|
* @param {string} [symbols] list of unified market symbols, not supported with xt
|
|
4729
4734
|
* @param {object} params extra parameters specific to the xt api endpoint
|
|
4730
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
4735
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
4731
4736
|
*/
|
|
4732
4737
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
4733
4738
|
await this.loadMarkets();
|
|
@@ -4836,7 +4841,7 @@ export default class xt extends Exchange {
|
|
|
4836
4841
|
* @param {string} fromAccount account to transfer from - spot, swap, leverage, finance
|
|
4837
4842
|
* @param {string} toAccount account to transfer to - spot, swap, leverage, finance
|
|
4838
4843
|
* @param {object} params extra parameters specific to the whitebit api endpoint
|
|
4839
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
4844
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
4840
4845
|
*/
|
|
4841
4846
|
async transfer(code, amount, fromAccount, toAccount, params = {}) {
|
|
4842
4847
|
await this.loadMarkets();
|
|
@@ -4950,7 +4955,7 @@ export default class xt extends Exchange {
|
|
|
4950
4955
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
4951
4956
|
* @param {float} [params.stopLoss] price to set a stop-loss on an open position
|
|
4952
4957
|
* @param {float} [params.takeProfit] price to set a take-profit on an open position
|
|
4953
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
4958
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
4954
4959
|
*/
|
|
4955
4960
|
async editOrder(id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
|
|
4956
4961
|
if (amount === undefined) {
|
package/js/src/yobit.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export default class yobit extends Exchange {
|
|
|
13
13
|
* @see https://yobit.net/en/api
|
|
14
14
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
15
15
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
16
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
16
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
17
17
|
*/
|
|
18
18
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
19
19
|
/**
|
|
@@ -33,7 +33,7 @@ export default class yobit extends Exchange {
|
|
|
33
33
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
34
34
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
35
35
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
36
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
36
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
37
37
|
*/
|
|
38
38
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
39
39
|
/**
|
|
@@ -44,7 +44,7 @@ export default class yobit extends Exchange {
|
|
|
44
44
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
45
45
|
* @param {int} [limit] max number of entries per orderbook to return, default is undefined
|
|
46
46
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
47
|
-
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
47
|
+
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbol
|
|
48
48
|
*/
|
|
49
49
|
fetchOrderBooks(symbols?: Strings, limit?: Int, params?: {}): Promise<OrderBooks>;
|
|
50
50
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -57,7 +57,7 @@ export default class yobit extends Exchange {
|
|
|
57
57
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
58
58
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
59
59
|
* @param {object} [params.all] you can set to `true` for convenience to fetch all tickers from this exchange by sending multiple requests
|
|
60
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
60
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
61
61
|
*/
|
|
62
62
|
fetchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
63
63
|
/**
|
|
@@ -67,7 +67,7 @@ export default class yobit extends Exchange {
|
|
|
67
67
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
68
68
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
69
69
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
70
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
70
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
71
71
|
*/
|
|
72
72
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
73
73
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -80,7 +80,7 @@ export default class yobit extends Exchange {
|
|
|
80
80
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
81
81
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
82
82
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
83
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
83
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
84
84
|
*/
|
|
85
85
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
86
86
|
/**
|
|
@@ -89,7 +89,7 @@ export default class yobit extends Exchange {
|
|
|
89
89
|
* @see https://yobit.net/en/api
|
|
90
90
|
* @description fetch the trading fees for multiple markets
|
|
91
91
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
92
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
92
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
93
93
|
*/
|
|
94
94
|
fetchTradingFees(params?: {}): Promise<TradingFees>;
|
|
95
95
|
/**
|
|
@@ -103,7 +103,7 @@ export default class yobit extends Exchange {
|
|
|
103
103
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
104
104
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
105
105
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
106
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
106
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
107
107
|
*/
|
|
108
108
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
109
109
|
/**
|
|
@@ -114,7 +114,7 @@ export default class yobit extends Exchange {
|
|
|
114
114
|
* @param {string} id order id
|
|
115
115
|
* @param {string} symbol not used by yobit cancelOrder ()
|
|
116
116
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
117
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
117
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
118
118
|
*/
|
|
119
119
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
120
120
|
parseOrderStatus(status: Str): string;
|
|
@@ -127,7 +127,7 @@ export default class yobit extends Exchange {
|
|
|
127
127
|
* @param {string} id order id
|
|
128
128
|
* @param {string} symbol not used by yobit fetchOrder
|
|
129
129
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
130
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
130
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
131
131
|
*/
|
|
132
132
|
fetchOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
133
133
|
/**
|
|
@@ -139,7 +139,7 @@ export default class yobit extends Exchange {
|
|
|
139
139
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
140
140
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
141
141
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
142
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
142
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
143
143
|
*/
|
|
144
144
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
145
145
|
/**
|
|
@@ -151,7 +151,7 @@ export default class yobit extends Exchange {
|
|
|
151
151
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
152
152
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
153
153
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
154
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
154
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
155
155
|
*/
|
|
156
156
|
fetchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
157
157
|
/**
|
|
@@ -161,7 +161,7 @@ export default class yobit extends Exchange {
|
|
|
161
161
|
* @description create a currency deposit address
|
|
162
162
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
163
163
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
164
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
164
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
165
165
|
*/
|
|
166
166
|
createDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
167
167
|
/**
|
|
@@ -171,7 +171,7 @@ export default class yobit extends Exchange {
|
|
|
171
171
|
* @see https://yobit.net/en/api
|
|
172
172
|
* @param {string} code unified currency code
|
|
173
173
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
174
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
174
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
175
175
|
*/
|
|
176
176
|
fetchDepositAddress(code: string, params?: {}): Promise<DepositAddress>;
|
|
177
177
|
/**
|
|
@@ -184,7 +184,7 @@ export default class yobit extends Exchange {
|
|
|
184
184
|
* @param {string} address the address to withdraw to
|
|
185
185
|
* @param {string} tag
|
|
186
186
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
187
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
187
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
188
188
|
*/
|
|
189
189
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
190
190
|
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
package/js/src/yobit.js
CHANGED
|
@@ -410,7 +410,7 @@ export default class yobit extends Exchange {
|
|
|
410
410
|
* @see https://yobit.net/en/api
|
|
411
411
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
412
412
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
413
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
413
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
414
414
|
*/
|
|
415
415
|
async fetchBalance(params = {}) {
|
|
416
416
|
await this.loadMarkets();
|
|
@@ -547,7 +547,7 @@ export default class yobit extends Exchange {
|
|
|
547
547
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
548
548
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
549
549
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
550
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
550
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
551
551
|
*/
|
|
552
552
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
553
553
|
await this.loadMarkets();
|
|
@@ -574,7 +574,7 @@ export default class yobit extends Exchange {
|
|
|
574
574
|
* @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
|
|
575
575
|
* @param {int} [limit] max number of entries per orderbook to return, default is undefined
|
|
576
576
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
577
|
-
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
577
|
+
* @returns {object} a dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbol
|
|
578
578
|
*/
|
|
579
579
|
async fetchOrderBooks(symbols = undefined, limit = undefined, params = {}) {
|
|
580
580
|
await this.loadMarkets();
|
|
@@ -671,7 +671,7 @@ export default class yobit extends Exchange {
|
|
|
671
671
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
672
672
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
673
673
|
* @param {object} [params.all] you can set to `true` for convenience to fetch all tickers from this exchange by sending multiple requests
|
|
674
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
674
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
675
675
|
*/
|
|
676
676
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
677
677
|
let allSymbols = undefined;
|
|
@@ -726,7 +726,7 @@ export default class yobit extends Exchange {
|
|
|
726
726
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
727
727
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
728
728
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
729
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
729
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
730
730
|
*/
|
|
731
731
|
async fetchTicker(symbol, params = {}) {
|
|
732
732
|
const tickers = await this.fetchTickers([symbol], params);
|
|
@@ -820,7 +820,7 @@ export default class yobit extends Exchange {
|
|
|
820
820
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
821
821
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
822
822
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
823
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
823
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
824
824
|
*/
|
|
825
825
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
826
826
|
await this.loadMarkets();
|
|
@@ -860,7 +860,7 @@ export default class yobit extends Exchange {
|
|
|
860
860
|
* @see https://yobit.net/en/api
|
|
861
861
|
* @description fetch the trading fees for multiple markets
|
|
862
862
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
863
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
863
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
864
864
|
*/
|
|
865
865
|
async fetchTradingFees(params = {}) {
|
|
866
866
|
await this.loadMarkets();
|
|
@@ -917,7 +917,7 @@ export default class yobit extends Exchange {
|
|
|
917
917
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
918
918
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
919
919
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
920
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
920
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
921
921
|
*/
|
|
922
922
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
923
923
|
if (type === 'market') {
|
|
@@ -964,7 +964,7 @@ export default class yobit extends Exchange {
|
|
|
964
964
|
* @param {string} id order id
|
|
965
965
|
* @param {string} symbol not used by yobit cancelOrder ()
|
|
966
966
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
967
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
967
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
968
968
|
*/
|
|
969
969
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
970
970
|
await this.loadMarkets();
|
|
@@ -1113,7 +1113,7 @@ export default class yobit extends Exchange {
|
|
|
1113
1113
|
* @param {string} id order id
|
|
1114
1114
|
* @param {string} symbol not used by yobit fetchOrder
|
|
1115
1115
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1116
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1116
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1117
1117
|
*/
|
|
1118
1118
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1119
1119
|
await this.loadMarkets();
|
|
@@ -1150,7 +1150,7 @@ export default class yobit extends Exchange {
|
|
|
1150
1150
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1151
1151
|
* @param {int} [limit] the maximum number of open order structures to retrieve
|
|
1152
1152
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1153
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1153
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1154
1154
|
*/
|
|
1155
1155
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1156
1156
|
if (symbol === undefined) {
|
|
@@ -1199,7 +1199,7 @@ export default class yobit extends Exchange {
|
|
|
1199
1199
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1200
1200
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1201
1201
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1202
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1202
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1203
1203
|
*/
|
|
1204
1204
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1205
1205
|
if (symbol === undefined) {
|
|
@@ -1260,7 +1260,7 @@ export default class yobit extends Exchange {
|
|
|
1260
1260
|
* @description create a currency deposit address
|
|
1261
1261
|
* @param {string} code unified currency code of the currency for the deposit address
|
|
1262
1262
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1263
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
1263
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
1264
1264
|
*/
|
|
1265
1265
|
async createDepositAddress(code, params = {}) {
|
|
1266
1266
|
const request = {
|
|
@@ -1284,7 +1284,7 @@ export default class yobit extends Exchange {
|
|
|
1284
1284
|
* @see https://yobit.net/en/api
|
|
1285
1285
|
* @param {string} code unified currency code
|
|
1286
1286
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1287
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
1287
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
1288
1288
|
*/
|
|
1289
1289
|
async fetchDepositAddress(code, params = {}) {
|
|
1290
1290
|
await this.loadMarkets();
|
|
@@ -1324,7 +1324,7 @@ export default class yobit extends Exchange {
|
|
|
1324
1324
|
* @param {string} address the address to withdraw to
|
|
1325
1325
|
* @param {string} tag
|
|
1326
1326
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1327
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
1327
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1328
1328
|
*/
|
|
1329
1329
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
1330
1330
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
package/js/src/zaif.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export default class zaif extends Exchange {
|
|
|
23
23
|
* @see https://zaif-api-document.readthedocs.io/ja/latest/TradingAPI.html#id10
|
|
24
24
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
25
25
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
26
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
26
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
27
27
|
*/
|
|
28
28
|
fetchBalance(params?: {}): Promise<Balances>;
|
|
29
29
|
/**
|
|
@@ -34,7 +34,7 @@ export default class zaif extends Exchange {
|
|
|
34
34
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
35
35
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
36
36
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
37
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
37
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
38
38
|
*/
|
|
39
39
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
40
40
|
parseTicker(ticker: Dict, market?: Market): Ticker;
|
|
@@ -45,7 +45,7 @@ export default class zaif extends Exchange {
|
|
|
45
45
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
46
46
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
47
47
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
48
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
48
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
49
49
|
*/
|
|
50
50
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
51
51
|
parseTrade(trade: Dict, market?: Market): Trade;
|
|
@@ -58,7 +58,7 @@ export default class zaif extends Exchange {
|
|
|
58
58
|
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
59
59
|
* @param {int} [limit] the maximum amount of trades to fetch
|
|
60
60
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
61
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
61
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
62
62
|
*/
|
|
63
63
|
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
64
64
|
/**
|
|
@@ -72,7 +72,7 @@ export default class zaif extends Exchange {
|
|
|
72
72
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
73
73
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
74
74
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
75
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
75
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
76
76
|
*/
|
|
77
77
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
78
78
|
/**
|
|
@@ -83,7 +83,7 @@ export default class zaif extends Exchange {
|
|
|
83
83
|
* @param {string} id order id
|
|
84
84
|
* @param {string} symbol not used by zaif cancelOrder ()
|
|
85
85
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
86
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
86
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
87
87
|
*/
|
|
88
88
|
cancelOrder(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
89
89
|
parseOrder(order: Dict, market?: Market): Order;
|
|
@@ -96,7 +96,7 @@ export default class zaif extends Exchange {
|
|
|
96
96
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
97
97
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
98
98
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
99
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
99
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
100
100
|
*/
|
|
101
101
|
fetchOpenOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
102
102
|
/**
|
|
@@ -108,7 +108,7 @@ export default class zaif extends Exchange {
|
|
|
108
108
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
109
109
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
110
110
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
111
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
111
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
112
112
|
*/
|
|
113
113
|
fetchClosedOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
114
114
|
/**
|
|
@@ -121,7 +121,7 @@ export default class zaif extends Exchange {
|
|
|
121
121
|
* @param {string} address the address to withdraw to
|
|
122
122
|
* @param {string} tag
|
|
123
123
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
124
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
124
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
125
125
|
*/
|
|
126
126
|
withdraw(code: string, amount: number, address: string, tag?: Str, params?: {}): Promise<Transaction>;
|
|
127
127
|
parseTransaction(transaction: Dict, currency?: Currency): Transaction;
|