ccxt 4.5.28 → 4.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -7
- package/dist/ccxt.browser.min.js +7 -7
- package/dist/cjs/ccxt.js +6 -1
- package/dist/cjs/src/abstract/bydfi.js +11 -0
- package/dist/cjs/src/alpaca.js +21 -21
- package/dist/cjs/src/apex.js +20 -20
- package/dist/cjs/src/arkham.js +22 -22
- package/dist/cjs/src/ascendex.js +28 -28
- package/dist/cjs/src/backpack.js +22 -22
- package/dist/cjs/src/base/Exchange.js +48 -38
- package/dist/cjs/src/base/functions/throttle.js +54 -5
- package/dist/cjs/src/bigone.js +19 -19
- package/dist/cjs/src/binance.js +83 -82
- package/dist/cjs/src/bingx.js +47 -47
- package/dist/cjs/src/bit2c.js +11 -11
- package/dist/cjs/src/bitbank.js +49 -48
- package/dist/cjs/src/bitbns.js +13 -13
- package/dist/cjs/src/bitfinex.js +33 -33
- package/dist/cjs/src/bitflyer.js +17 -17
- package/dist/cjs/src/bitget.js +58 -57
- package/dist/cjs/src/bithumb.js +10 -10
- package/dist/cjs/src/bitmart.js +44 -44
- package/dist/cjs/src/bitmex.js +24 -24
- package/dist/cjs/src/bitopro.js +20 -20
- package/dist/cjs/src/bitrue.js +18 -18
- package/dist/cjs/src/bitso.js +20 -20
- package/dist/cjs/src/bitstamp.js +21 -21
- package/dist/cjs/src/bittrade.js +20 -20
- package/dist/cjs/src/bitvavo.js +19 -19
- package/dist/cjs/src/blockchaincom.js +20 -20
- package/dist/cjs/src/blofin.js +26 -26
- package/dist/cjs/src/btcalpha.js +35 -34
- package/dist/cjs/src/btcbox.js +10 -10
- package/dist/cjs/src/btcmarkets.js +16 -16
- package/dist/cjs/src/btcturk.js +10 -10
- package/dist/cjs/src/bullish.js +27 -27
- package/dist/cjs/src/bybit.js +69 -67
- package/dist/cjs/src/bydfi.js +2907 -0
- package/dist/cjs/src/cex.js +18 -18
- package/dist/cjs/src/coinbase.js +74 -41
- package/dist/cjs/src/coinbaseexchange.js +22 -22
- package/dist/cjs/src/coinbaseinternational.js +22 -22
- package/dist/cjs/src/coincatch.js +39 -39
- package/dist/cjs/src/coincheck.js +11 -11
- package/dist/cjs/src/coinex.js +48 -48
- package/dist/cjs/src/coinmate.js +14 -14
- package/dist/cjs/src/coinmetro.js +14 -14
- package/dist/cjs/src/coinone.js +11 -11
- package/dist/cjs/src/coinsph.js +20 -20
- package/dist/cjs/src/coinspot.js +8 -8
- package/dist/cjs/src/cryptocom.js +32 -32
- package/dist/cjs/src/cryptomus.js +9 -9
- package/dist/cjs/src/deepcoin.js +33 -33
- package/dist/cjs/src/defx.js +23 -23
- package/dist/cjs/src/delta.js +29 -29
- package/dist/cjs/src/deribit.js +36 -36
- package/dist/cjs/src/derive.js +19 -19
- package/dist/cjs/src/digifinex.js +36 -36
- package/dist/cjs/src/dydx.js +25 -25
- package/dist/cjs/src/exmo.js +29 -29
- package/dist/cjs/src/foxbit.js +23 -23
- package/dist/cjs/src/gate.js +60 -59
- package/dist/cjs/src/gemini.js +16 -16
- package/dist/cjs/src/hashkey.js +35 -35
- package/dist/cjs/src/hibachi.js +24 -24
- package/dist/cjs/src/hitbtc.js +38 -38
- package/dist/cjs/src/hollaex.js +22 -22
- package/dist/cjs/src/htx.js +50 -50
- package/dist/cjs/src/hyperliquid.js +86 -45
- package/dist/cjs/src/independentreserve.js +13 -13
- package/dist/cjs/src/indodax.js +14 -14
- package/dist/cjs/src/kraken.js +30 -30
- package/dist/cjs/src/krakenfutures.js +21 -21
- package/dist/cjs/src/kucoin.js +156 -48
- package/dist/cjs/src/kucoinfutures.js +42 -40
- package/dist/cjs/src/latoken.js +16 -16
- package/dist/cjs/src/lbank.js +23 -23
- package/dist/cjs/src/luno.js +17 -17
- package/dist/cjs/src/mercado.js +11 -11
- package/dist/cjs/src/mexc.js +47 -47
- package/dist/cjs/src/modetrade.js +37 -35
- package/dist/cjs/src/ndax.js +19 -19
- package/dist/cjs/src/novadax.js +19 -19
- package/dist/cjs/src/oceanex.js +16 -16
- package/dist/cjs/src/okx.js +83 -83
- package/dist/cjs/src/onetrading.js +34 -33
- package/dist/cjs/src/oxfun.js +25 -25
- package/dist/cjs/src/p2b.js +11 -11
- package/dist/cjs/src/paradex.js +54 -54
- package/dist/cjs/src/paymium.js +20 -21
- package/dist/cjs/src/phemex.js +35 -35
- package/dist/cjs/src/poloniex.js +27 -27
- package/dist/cjs/src/pro/alpaca.js +5 -5
- package/dist/cjs/src/pro/apex.js +13 -11
- package/dist/cjs/src/pro/arkham.js +5 -5
- package/dist/cjs/src/pro/ascendex.js +5 -5
- package/dist/cjs/src/pro/backpack.js +16 -16
- package/dist/cjs/src/pro/binance.js +45 -41
- package/dist/cjs/src/pro/bingx.js +14 -12
- package/dist/cjs/src/pro/bitfinex.js +8 -8
- package/dist/cjs/src/pro/bitget.js +12 -12
- package/dist/cjs/src/pro/bithumb.js +3 -3
- package/dist/cjs/src/pro/bitmart.js +393 -34
- package/dist/cjs/src/pro/bitmex.js +9 -9
- package/dist/cjs/src/pro/bitopro.js +5 -5
- package/dist/cjs/src/pro/bitrue.js +2 -2
- package/dist/cjs/src/pro/bitstamp.js +3 -3
- package/dist/cjs/src/pro/bittrade.js +3 -3
- package/dist/cjs/src/pro/bitvavo.js +19 -19
- package/dist/cjs/src/pro/blockchaincom.js +5 -5
- package/dist/cjs/src/pro/blofin.js +10 -10
- package/dist/cjs/src/pro/bullish.js +6 -6
- package/dist/cjs/src/pro/bybit.js +24 -22
- package/dist/cjs/src/pro/bydfi.js +1077 -0
- package/dist/cjs/src/pro/cex.js +13 -13
- package/dist/cjs/src/pro/coinbase.js +13 -13
- package/dist/cjs/src/pro/coinbaseexchange.js +10 -10
- package/dist/cjs/src/pro/coinbaseinternational.js +8 -8
- package/dist/cjs/src/pro/coincatch.js +10 -10
- package/dist/cjs/src/pro/coincheck.js +2 -2
- package/dist/cjs/src/pro/coinex.js +10 -10
- package/dist/cjs/src/pro/coinone.js +3 -3
- package/dist/cjs/src/pro/cryptocom.js +25 -23
- package/dist/cjs/src/pro/deepcoin.js +8 -8
- package/dist/cjs/src/pro/defx.js +15 -15
- package/dist/cjs/src/pro/deribit.js +10 -10
- package/dist/cjs/src/pro/derive.js +6 -6
- package/dist/cjs/src/pro/dydx.js +3 -3
- package/dist/cjs/src/pro/exmo.js +7 -7
- package/dist/cjs/src/pro/gate.js +26 -62
- package/dist/cjs/src/pro/gemini.js +6 -6
- package/dist/cjs/src/pro/hashkey.js +11 -9
- package/dist/cjs/src/pro/hitbtc.js +8 -8
- package/dist/cjs/src/pro/hollaex.js +5 -5
- package/dist/cjs/src/pro/htx.js +9 -9
- package/dist/cjs/src/pro/hyperliquid.js +103 -14
- package/dist/cjs/src/pro/independentreserve.js +2 -2
- package/dist/cjs/src/pro/kraken.js +15 -15
- package/dist/cjs/src/pro/krakenfutures.js +10 -10
- package/dist/cjs/src/pro/kucoin.js +15 -15
- package/dist/cjs/src/pro/kucoinfutures.js +18 -16
- package/dist/cjs/src/pro/lbank.js +5 -5
- package/dist/cjs/src/pro/luno.js +2 -2
- package/dist/cjs/src/pro/mexc.js +13 -13
- package/dist/cjs/src/pro/modetrade.js +13 -11
- package/dist/cjs/src/pro/ndax.js +3 -3
- package/dist/cjs/src/pro/okx.js +25 -25
- package/dist/cjs/src/pro/onetrading.js +6 -6
- package/dist/cjs/src/pro/oxfun.js +13 -13
- package/dist/cjs/src/pro/p2b.js +5 -5
- package/dist/cjs/src/pro/paradex.js +8 -8
- package/dist/cjs/src/pro/phemex.js +7 -7
- package/dist/cjs/src/pro/poloniex.js +8 -8
- package/dist/cjs/src/pro/probit.js +6 -6
- package/dist/cjs/src/pro/toobit.js +20 -16
- package/dist/cjs/src/pro/upbit.js +9 -9
- package/dist/cjs/src/pro/whitebit.js +7 -7
- package/dist/cjs/src/pro/woo.js +18 -16
- package/dist/cjs/src/pro/woofipro.js +25 -23
- package/dist/cjs/src/pro/xt.js +7 -5
- package/dist/cjs/src/probit.js +18 -18
- package/dist/cjs/src/static_dependencies/ethers/utils/index.js +11 -0
- package/dist/cjs/src/timex.js +16 -16
- package/dist/cjs/src/tokocrypto.js +17 -17
- package/dist/cjs/src/toobit.js +33 -30
- package/dist/cjs/src/upbit.js +23 -23
- package/dist/cjs/src/wavesexchange.js +86 -85
- package/dist/cjs/src/whitebit.js +44 -44
- package/dist/cjs/src/woo.js +51 -49
- package/dist/cjs/src/woofipro.js +104 -82
- package/dist/cjs/src/xt.js +17 -12
- package/dist/cjs/src/yobit.js +15 -15
- package/dist/cjs/src/zaif.js +38 -9
- package/dist/cjs/src/zebpay.js +35 -20
- package/dist/cjs/src/zonda.js +14 -14
- package/js/ccxt.d.ts +8 -2
- package/js/ccxt.js +6 -2
- package/js/src/abstract/bydfi.d.ts +52 -0
- package/js/src/abstract/bydfi.js +11 -0
- package/js/src/alpaca.d.ts +21 -21
- package/js/src/alpaca.js +21 -21
- package/js/src/apex.d.ts +20 -20
- package/js/src/apex.js +20 -20
- package/js/src/arkham.d.ts +22 -22
- package/js/src/arkham.js +22 -22
- package/js/src/ascendex.d.ts +28 -28
- package/js/src/ascendex.js +28 -28
- package/js/src/backpack.d.ts +21 -21
- package/js/src/backpack.js +22 -22
- package/js/src/base/Exchange.d.ts +6 -3
- package/js/src/base/Exchange.js +48 -38
- package/js/src/base/functions/throttle.d.ts +22 -0
- package/js/src/base/functions/throttle.js +54 -5
- package/js/src/bigone.d.ts +19 -19
- package/js/src/bigone.js +19 -19
- package/js/src/binance.d.ts +82 -82
- package/js/src/binance.js +83 -82
- package/js/src/bingx.d.ts +46 -46
- package/js/src/bingx.js +47 -47
- package/js/src/bit2c.d.ts +11 -11
- package/js/src/bit2c.js +11 -11
- package/js/src/bitbank.d.ts +12 -12
- package/js/src/bitbank.js +49 -48
- package/js/src/bitbns.d.ts +13 -13
- package/js/src/bitbns.js +13 -13
- package/js/src/bitfinex.d.ts +33 -33
- package/js/src/bitfinex.js +33 -33
- package/js/src/bitflyer.d.ts +17 -17
- package/js/src/bitflyer.js +17 -17
- package/js/src/bitget.d.ts +57 -57
- package/js/src/bitget.js +58 -57
- package/js/src/bithumb.d.ts +10 -10
- package/js/src/bithumb.js +10 -10
- package/js/src/bitmart.d.ts +42 -42
- package/js/src/bitmart.js +44 -44
- package/js/src/bitmex.d.ts +24 -24
- package/js/src/bitmex.js +24 -24
- package/js/src/bitopro.d.ts +20 -20
- package/js/src/bitopro.js +20 -20
- package/js/src/bitrue.d.ts +18 -18
- package/js/src/bitrue.js +18 -18
- package/js/src/bitso.d.ts +20 -20
- package/js/src/bitso.js +20 -20
- package/js/src/bitstamp.d.ts +21 -21
- package/js/src/bitstamp.js +21 -21
- package/js/src/bittrade.d.ts +20 -20
- package/js/src/bittrade.js +20 -20
- package/js/src/bitvavo.d.ts +19 -19
- package/js/src/bitvavo.js +19 -19
- package/js/src/blockchaincom.d.ts +20 -20
- package/js/src/blockchaincom.js +20 -20
- package/js/src/blofin.d.ts +26 -26
- package/js/src/blofin.js +26 -26
- package/js/src/btcalpha.d.ts +14 -14
- package/js/src/btcalpha.js +35 -34
- package/js/src/btcbox.d.ts +10 -10
- package/js/src/btcbox.js +10 -10
- package/js/src/btcmarkets.d.ts +16 -16
- package/js/src/btcmarkets.js +16 -16
- package/js/src/btcturk.d.ts +10 -10
- package/js/src/btcturk.js +10 -10
- package/js/src/bullish.d.ts +26 -26
- package/js/src/bullish.js +27 -27
- package/js/src/bybit.d.ts +66 -66
- package/js/src/bybit.js +69 -67
- package/js/src/bydfi.d.ts +472 -0
- package/js/src/bydfi.js +2905 -0
- package/js/src/cex.d.ts +18 -18
- package/js/src/cex.js +18 -18
- package/js/src/coinbase.d.ts +51 -40
- package/js/src/coinbase.js +74 -41
- package/js/src/coinbaseexchange.d.ts +22 -22
- package/js/src/coinbaseexchange.js +22 -22
- package/js/src/coinbaseinternational.d.ts +22 -22
- package/js/src/coinbaseinternational.js +22 -22
- package/js/src/coincatch.d.ts +39 -39
- package/js/src/coincatch.js +39 -39
- package/js/src/coincheck.d.ts +11 -11
- package/js/src/coincheck.js +11 -11
- package/js/src/coinex.d.ts +48 -48
- package/js/src/coinex.js +48 -48
- package/js/src/coinmate.d.ts +14 -14
- package/js/src/coinmate.js +14 -14
- package/js/src/coinmetro.d.ts +14 -14
- package/js/src/coinmetro.js +14 -14
- package/js/src/coinone.d.ts +11 -11
- package/js/src/coinone.js +11 -11
- package/js/src/coinsph.d.ts +20 -20
- package/js/src/coinsph.js +20 -20
- package/js/src/coinspot.d.ts +8 -8
- package/js/src/coinspot.js +8 -8
- package/js/src/cryptocom.d.ts +32 -32
- package/js/src/cryptocom.js +32 -32
- package/js/src/cryptomus.d.ts +9 -9
- package/js/src/cryptomus.js +9 -9
- package/js/src/deepcoin.d.ts +33 -33
- package/js/src/deepcoin.js +33 -33
- package/js/src/defx.d.ts +23 -23
- package/js/src/defx.js +23 -23
- package/js/src/delta.d.ts +29 -29
- package/js/src/delta.js +29 -29
- package/js/src/deribit.d.ts +36 -36
- package/js/src/deribit.js +36 -36
- package/js/src/derive.d.ts +19 -19
- package/js/src/derive.js +19 -19
- package/js/src/digifinex.d.ts +36 -36
- package/js/src/digifinex.js +36 -36
- package/js/src/dydx.d.ts +22 -22
- package/js/src/dydx.js +25 -25
- package/js/src/exmo.d.ts +29 -29
- package/js/src/exmo.js +29 -29
- package/js/src/foxbit.d.ts +23 -23
- package/js/src/foxbit.js +23 -23
- package/js/src/gate.d.ts +57 -57
- package/js/src/gate.js +60 -59
- package/js/src/gemini.d.ts +16 -16
- package/js/src/gemini.js +16 -16
- package/js/src/hashkey.d.ts +35 -35
- package/js/src/hashkey.js +35 -35
- package/js/src/hibachi.d.ts +24 -24
- package/js/src/hibachi.js +24 -24
- package/js/src/hitbtc.d.ts +38 -38
- package/js/src/hitbtc.js +38 -38
- package/js/src/hollaex.d.ts +22 -22
- package/js/src/hollaex.js +22 -22
- package/js/src/htx.d.ts +50 -50
- package/js/src/htx.js +50 -50
- package/js/src/hyperliquid.d.ts +46 -36
- package/js/src/hyperliquid.js +86 -45
- package/js/src/independentreserve.d.ts +13 -13
- package/js/src/independentreserve.js +13 -13
- package/js/src/indodax.d.ts +14 -14
- package/js/src/indodax.js +14 -14
- package/js/src/kraken.d.ts +30 -30
- package/js/src/kraken.js +30 -30
- package/js/src/krakenfutures.d.ts +21 -21
- package/js/src/krakenfutures.js +21 -21
- package/js/src/kucoin.d.ts +58 -44
- package/js/src/kucoin.js +156 -48
- package/js/src/kucoinfutures.d.ts +35 -35
- package/js/src/kucoinfutures.js +42 -40
- package/js/src/latoken.d.ts +16 -16
- package/js/src/latoken.js +16 -16
- package/js/src/lbank.d.ts +23 -23
- package/js/src/lbank.js +23 -23
- package/js/src/luno.d.ts +17 -17
- package/js/src/luno.js +17 -17
- package/js/src/mercado.d.ts +11 -11
- package/js/src/mercado.js +11 -11
- package/js/src/mexc.d.ts +47 -47
- package/js/src/mexc.js +47 -47
- package/js/src/modetrade.d.ts +31 -31
- package/js/src/modetrade.js +37 -35
- package/js/src/ndax.d.ts +19 -19
- package/js/src/ndax.js +19 -19
- package/js/src/novadax.d.ts +19 -19
- package/js/src/novadax.js +19 -19
- package/js/src/oceanex.d.ts +16 -16
- package/js/src/oceanex.js +16 -16
- package/js/src/okx.d.ts +74 -74
- package/js/src/okx.js +83 -83
- package/js/src/onetrading.d.ts +34 -33
- package/js/src/onetrading.js +34 -33
- package/js/src/oxfun.d.ts +25 -25
- package/js/src/oxfun.js +25 -25
- package/js/src/p2b.d.ts +11 -11
- package/js/src/p2b.js +11 -11
- package/js/src/paradex.d.ts +54 -54
- package/js/src/paradex.js +54 -54
- package/js/src/paymium.d.ts +20 -21
- package/js/src/paymium.js +20 -21
- package/js/src/phemex.d.ts +30 -30
- package/js/src/phemex.js +35 -35
- package/js/src/poloniex.d.ts +26 -26
- package/js/src/poloniex.js +27 -27
- package/js/src/pro/alpaca.d.ts +5 -5
- package/js/src/pro/alpaca.js +5 -5
- package/js/src/pro/apex.d.ts +8 -8
- package/js/src/pro/apex.js +13 -11
- package/js/src/pro/arkham.d.ts +5 -5
- package/js/src/pro/arkham.js +5 -5
- package/js/src/pro/ascendex.d.ts +5 -5
- package/js/src/pro/ascendex.js +5 -5
- package/js/src/pro/backpack.d.ts +16 -16
- package/js/src/pro/backpack.js +16 -16
- package/js/src/pro/binance.d.ts +35 -35
- package/js/src/pro/binance.js +45 -41
- package/js/src/pro/bingx.d.ts +9 -9
- package/js/src/pro/bingx.js +14 -12
- package/js/src/pro/bitfinex.d.ts +8 -8
- package/js/src/pro/bitfinex.js +8 -8
- package/js/src/pro/bitget.d.ts +12 -12
- package/js/src/pro/bitget.js +12 -12
- package/js/src/pro/bithumb.d.ts +3 -3
- package/js/src/pro/bithumb.js +3 -3
- package/js/src/pro/bitmart.d.ts +120 -9
- package/js/src/pro/bitmart.js +393 -34
- package/js/src/pro/bitmex.d.ts +9 -9
- package/js/src/pro/bitmex.js +9 -9
- package/js/src/pro/bitopro.d.ts +5 -5
- package/js/src/pro/bitopro.js +5 -5
- package/js/src/pro/bitrue.d.ts +2 -2
- package/js/src/pro/bitrue.js +2 -2
- package/js/src/pro/bitstamp.d.ts +3 -3
- package/js/src/pro/bitstamp.js +3 -3
- package/js/src/pro/bittrade.d.ts +3 -3
- package/js/src/pro/bittrade.js +3 -3
- package/js/src/pro/bitvavo.d.ts +19 -19
- package/js/src/pro/bitvavo.js +19 -19
- package/js/src/pro/blockchaincom.d.ts +5 -5
- package/js/src/pro/blockchaincom.js +5 -5
- package/js/src/pro/blofin.d.ts +10 -10
- package/js/src/pro/blofin.js +10 -10
- package/js/src/pro/bullish.d.ts +6 -6
- package/js/src/pro/bullish.js +6 -6
- package/js/src/pro/bybit.d.ts +19 -19
- package/js/src/pro/bybit.js +24 -22
- package/js/src/pro/bydfi.d.ts +206 -0
- package/js/src/pro/bydfi.js +1076 -0
- package/js/src/pro/cex.d.ts +13 -13
- package/js/src/pro/cex.js +13 -13
- package/js/src/pro/coinbase.d.ts +13 -13
- package/js/src/pro/coinbase.js +13 -13
- package/js/src/pro/coinbaseexchange.d.ts +10 -10
- package/js/src/pro/coinbaseexchange.js +10 -10
- package/js/src/pro/coinbaseinternational.d.ts +8 -8
- package/js/src/pro/coinbaseinternational.js +8 -8
- package/js/src/pro/coincatch.d.ts +10 -10
- package/js/src/pro/coincatch.js +10 -10
- package/js/src/pro/coincheck.d.ts +2 -2
- package/js/src/pro/coincheck.js +2 -2
- package/js/src/pro/coinex.d.ts +10 -10
- package/js/src/pro/coinex.js +10 -10
- package/js/src/pro/coinone.d.ts +3 -3
- package/js/src/pro/coinone.js +3 -3
- package/js/src/pro/cryptocom.d.ts +20 -20
- package/js/src/pro/cryptocom.js +25 -23
- package/js/src/pro/deepcoin.d.ts +8 -8
- package/js/src/pro/deepcoin.js +8 -8
- package/js/src/pro/defx.d.ts +15 -15
- package/js/src/pro/defx.js +15 -15
- package/js/src/pro/deribit.d.ts +10 -10
- package/js/src/pro/deribit.js +10 -10
- package/js/src/pro/derive.d.ts +6 -6
- package/js/src/pro/derive.js +6 -6
- package/js/src/pro/dydx.d.ts +3 -3
- package/js/src/pro/dydx.js +3 -3
- package/js/src/pro/exmo.d.ts +7 -7
- package/js/src/pro/exmo.js +7 -7
- package/js/src/pro/gate.d.ts +22 -23
- package/js/src/pro/gate.js +26 -62
- package/js/src/pro/gemini.d.ts +6 -6
- package/js/src/pro/gemini.js +6 -6
- package/js/src/pro/hashkey.d.ts +6 -6
- package/js/src/pro/hashkey.js +11 -9
- package/js/src/pro/hitbtc.d.ts +8 -8
- package/js/src/pro/hitbtc.js +8 -8
- package/js/src/pro/hollaex.d.ts +5 -5
- package/js/src/pro/hollaex.js +5 -5
- package/js/src/pro/htx.d.ts +9 -9
- package/js/src/pro/htx.js +9 -9
- package/js/src/pro/hyperliquid.d.ts +38 -14
- package/js/src/pro/hyperliquid.js +103 -14
- package/js/src/pro/independentreserve.d.ts +2 -2
- package/js/src/pro/independentreserve.js +2 -2
- package/js/src/pro/kraken.d.ts +15 -15
- package/js/src/pro/kraken.js +15 -15
- package/js/src/pro/krakenfutures.d.ts +10 -10
- package/js/src/pro/krakenfutures.js +10 -10
- package/js/src/pro/kucoin.d.ts +15 -15
- package/js/src/pro/kucoin.js +15 -15
- package/js/src/pro/kucoinfutures.d.ts +13 -13
- package/js/src/pro/kucoinfutures.js +18 -16
- package/js/src/pro/lbank.d.ts +5 -5
- package/js/src/pro/lbank.js +5 -5
- package/js/src/pro/luno.d.ts +2 -2
- package/js/src/pro/luno.js +2 -2
- package/js/src/pro/mexc.d.ts +13 -13
- package/js/src/pro/mexc.js +13 -13
- package/js/src/pro/modetrade.d.ts +8 -8
- package/js/src/pro/modetrade.js +13 -11
- package/js/src/pro/ndax.d.ts +3 -3
- package/js/src/pro/ndax.js +3 -3
- package/js/src/pro/okx.d.ts +25 -25
- package/js/src/pro/okx.js +25 -25
- package/js/src/pro/onetrading.d.ts +6 -6
- package/js/src/pro/onetrading.js +6 -6
- package/js/src/pro/oxfun.d.ts +13 -13
- package/js/src/pro/oxfun.js +13 -13
- package/js/src/pro/p2b.d.ts +5 -5
- package/js/src/pro/p2b.js +5 -5
- package/js/src/pro/paradex.d.ts +8 -8
- package/js/src/pro/paradex.js +8 -8
- package/js/src/pro/phemex.d.ts +7 -7
- package/js/src/pro/phemex.js +7 -7
- package/js/src/pro/poloniex.d.ts +8 -8
- package/js/src/pro/poloniex.js +8 -8
- package/js/src/pro/probit.d.ts +6 -6
- package/js/src/pro/probit.js +6 -6
- package/js/src/pro/toobit.d.ts +9 -9
- package/js/src/pro/toobit.js +20 -16
- package/js/src/pro/upbit.d.ts +9 -9
- package/js/src/pro/upbit.js +9 -9
- package/js/src/pro/whitebit.d.ts +7 -7
- package/js/src/pro/whitebit.js +7 -7
- package/js/src/pro/woo.d.ts +13 -13
- package/js/src/pro/woo.js +18 -16
- package/js/src/pro/woofipro.d.ts +20 -20
- package/js/src/pro/woofipro.js +25 -23
- package/js/src/pro/xt.d.ts +2 -2
- package/js/src/pro/xt.js +7 -5
- package/js/src/probit.d.ts +18 -18
- package/js/src/probit.js +18 -18
- package/js/src/static_dependencies/ethers/utils/index.d.ts +2 -1
- package/js/src/static_dependencies/ethers/utils/index.js +8 -1
- package/js/src/timex.d.ts +16 -16
- package/js/src/timex.js +16 -16
- package/js/src/tokocrypto.d.ts +17 -17
- package/js/src/tokocrypto.js +17 -17
- package/js/src/toobit.d.ts +27 -27
- package/js/src/toobit.js +33 -30
- package/js/src/upbit.d.ts +23 -23
- package/js/src/upbit.js +23 -23
- package/js/src/wavesexchange.d.ts +15 -15
- package/js/src/wavesexchange.js +86 -85
- package/js/src/whitebit.d.ts +44 -44
- package/js/src/whitebit.js +44 -44
- package/js/src/woo.d.ts +45 -45
- package/js/src/woo.js +51 -49
- package/js/src/woofipro.d.ts +77 -77
- package/js/src/woofipro.js +104 -82
- package/js/src/xt.d.ts +12 -12
- package/js/src/xt.js +17 -12
- package/js/src/yobit.d.ts +15 -15
- package/js/src/yobit.js +15 -15
- package/js/src/zaif.d.ts +9 -9
- package/js/src/zaif.js +38 -9
- package/js/src/zebpay.d.ts +20 -20
- package/js/src/zebpay.js +35 -20
- package/js/src/zonda.d.ts +14 -14
- package/js/src/zonda.js +14 -14
- package/package.json +1 -1
|
@@ -400,7 +400,7 @@ class onetrading extends onetrading$1["default"] {
|
|
|
400
400
|
* @method
|
|
401
401
|
* @name onetrading#fetchTime
|
|
402
402
|
* @description fetches the current integer timestamp in milliseconds from the exchange server
|
|
403
|
-
* @see https://docs.onetrading.com
|
|
403
|
+
* @see https://docs.onetrading.com/rest/public/time
|
|
404
404
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
405
405
|
* @returns {int} the current integer timestamp in milliseconds from the exchange server
|
|
406
406
|
*/
|
|
@@ -418,7 +418,7 @@ class onetrading extends onetrading$1["default"] {
|
|
|
418
418
|
* @method
|
|
419
419
|
* @name onetrading#fetchCurrencies
|
|
420
420
|
* @description fetches all available currencies on an exchange
|
|
421
|
-
* @see https://docs.onetrading.com
|
|
421
|
+
* @see https://docs.onetrading.com/rest/public/currencies
|
|
422
422
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
423
423
|
* @returns {object} an associative dictionary of currencies
|
|
424
424
|
*/
|
|
@@ -463,7 +463,7 @@ class onetrading extends onetrading$1["default"] {
|
|
|
463
463
|
* @method
|
|
464
464
|
* @name onetrading#fetchMarkets
|
|
465
465
|
* @description retrieves data on all markets for onetrading
|
|
466
|
-
* @see https://docs.onetrading.com
|
|
466
|
+
* @see https://docs.onetrading.com/rest/public/instruments
|
|
467
467
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
468
468
|
* @returns {object[]} an array of objects representing market data
|
|
469
469
|
*/
|
|
@@ -592,11 +592,11 @@ class onetrading extends onetrading$1["default"] {
|
|
|
592
592
|
* @method
|
|
593
593
|
* @name onetrading#fetchTradingFees
|
|
594
594
|
* @description fetch the trading fees for multiple markets
|
|
595
|
-
* @see https://docs.onetrading.com
|
|
596
|
-
* @see https://docs.onetrading.com
|
|
595
|
+
* @see https://docs.onetrading.com/rest/public/fee-groups
|
|
596
|
+
* @see https://docs.onetrading.com/rest/trading/fees
|
|
597
597
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
598
598
|
* @param {string} [params.method] fetchPrivateTradingFees or fetchPublicTradingFees
|
|
599
|
-
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com
|
|
599
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/?id=fee-structure} indexed by market symbols
|
|
600
600
|
*/
|
|
601
601
|
async fetchTradingFees(params = {}) {
|
|
602
602
|
let method = this.safeString(params, 'method');
|
|
@@ -824,10 +824,10 @@ class onetrading extends onetrading$1["default"] {
|
|
|
824
824
|
* @method
|
|
825
825
|
* @name onetrading#fetchTicker
|
|
826
826
|
* @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
827
|
-
* @see https://docs.onetrading.com
|
|
827
|
+
* @see https://docs.onetrading.com/rest/public/market-ticker-instrument
|
|
828
828
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
829
829
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
830
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
830
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
831
831
|
*/
|
|
832
832
|
async fetchTicker(symbol, params = {}) {
|
|
833
833
|
await this.loadMarkets();
|
|
@@ -860,10 +860,10 @@ class onetrading extends onetrading$1["default"] {
|
|
|
860
860
|
* @method
|
|
861
861
|
* @name onetrading#fetchTickers
|
|
862
862
|
* @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
|
|
863
|
-
* @see https://docs.onetrading.com
|
|
863
|
+
* @see https://docs.onetrading.com/rest/public/market-ticker
|
|
864
864
|
* @param {string[]} [symbols] unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
865
865
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
866
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
866
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
867
867
|
*/
|
|
868
868
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
869
869
|
await this.loadMarkets();
|
|
@@ -901,11 +901,11 @@ class onetrading extends onetrading$1["default"] {
|
|
|
901
901
|
* @method
|
|
902
902
|
* @name onetrading#fetchOrderBook
|
|
903
903
|
* @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
904
|
-
* @see https://docs.onetrading.com
|
|
904
|
+
* @see https://docs.onetrading.com/rest/public/orderbook
|
|
905
905
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
906
906
|
* @param {int} [limit] the maximum amount of order book entries to return
|
|
907
907
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
908
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
908
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
909
909
|
*/
|
|
910
910
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
911
911
|
await this.loadMarkets();
|
|
@@ -1027,7 +1027,7 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1027
1027
|
* @method
|
|
1028
1028
|
* @name onetrading#fetchOHLCV
|
|
1029
1029
|
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
1030
|
-
* @see https://docs.onetrading.com
|
|
1030
|
+
* @see https://docs.onetrading.com/rest/public/candlesticks
|
|
1031
1031
|
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
1032
1032
|
* @param {string} timeframe the length of time each candle represents
|
|
1033
1033
|
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
@@ -1171,9 +1171,9 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1171
1171
|
* @method
|
|
1172
1172
|
* @name onetrading#fetchBalance
|
|
1173
1173
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
1174
|
-
* @see https://docs.onetrading.com
|
|
1174
|
+
* @see https://docs.onetrading.com/rest/trading/balances
|
|
1175
1175
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1176
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1176
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1177
1177
|
*/
|
|
1178
1178
|
async fetchBalance(params = {}) {
|
|
1179
1179
|
await this.loadMarkets();
|
|
@@ -1337,7 +1337,7 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1337
1337
|
* @method
|
|
1338
1338
|
* @name onetrading#createOrder
|
|
1339
1339
|
* @description create a trade order
|
|
1340
|
-
* @see https://docs.onetrading.com
|
|
1340
|
+
* @see https://docs.onetrading.com/rest/trading/create-order
|
|
1341
1341
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
1342
1342
|
* @param {string} type 'limit'
|
|
1343
1343
|
* @param {string} side 'buy' or 'sell'
|
|
@@ -1345,7 +1345,7 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1345
1345
|
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
1346
1346
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1347
1347
|
* @param {float} [params.triggerPrice] onetrading only does stop limit orders and does not do stop market
|
|
1348
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
1348
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1349
1349
|
*/
|
|
1350
1350
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
1351
1351
|
await this.loadMarkets();
|
|
@@ -1412,11 +1412,12 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1412
1412
|
* @method
|
|
1413
1413
|
* @name onetrading#cancelOrder
|
|
1414
1414
|
* @description cancels an open order
|
|
1415
|
-
* @see https://docs.onetrading.com
|
|
1415
|
+
* @see https://docs.onetrading.com/rest/trading/cancel-order-order-id
|
|
1416
|
+
* @see https://docs.onetrading.com/rest/trading/cancel-order-client-id
|
|
1416
1417
|
* @param {string} id order id
|
|
1417
1418
|
* @param {string} symbol not used by bitmex cancelOrder ()
|
|
1418
1419
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1419
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1420
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1420
1421
|
*/
|
|
1421
1422
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
1422
1423
|
await this.loadMarkets();
|
|
@@ -1447,10 +1448,10 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1447
1448
|
* @method
|
|
1448
1449
|
* @name onetrading#cancelAllOrders
|
|
1449
1450
|
* @description cancel all open orders
|
|
1450
|
-
* @see https://docs.onetrading.com
|
|
1451
|
+
* @see https://docs.onetrading.com/rest/trading/cancel-all-orders
|
|
1451
1452
|
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
1452
1453
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1453
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1454
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1454
1455
|
*/
|
|
1455
1456
|
async cancelAllOrders(symbol = undefined, params = {}) {
|
|
1456
1457
|
await this.loadMarkets();
|
|
@@ -1471,11 +1472,11 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1471
1472
|
* @method
|
|
1472
1473
|
* @name onetrading#cancelOrders
|
|
1473
1474
|
* @description cancel multiple orders
|
|
1474
|
-
* @see https://docs.onetrading.com
|
|
1475
|
+
* @see https://docs.onetrading.com/rest/trading/cancel-all-orders
|
|
1475
1476
|
* @param {string[]} ids order ids
|
|
1476
1477
|
* @param {string} symbol unified market symbol, default is undefined
|
|
1477
1478
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1478
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
1479
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1479
1480
|
*/
|
|
1480
1481
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
1481
1482
|
await this.loadMarkets();
|
|
@@ -1495,11 +1496,11 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1495
1496
|
* @method
|
|
1496
1497
|
* @name onetrading#fetchOrder
|
|
1497
1498
|
* @description fetches information on an order made by the user
|
|
1498
|
-
* @see https://docs.onetrading.com
|
|
1499
|
+
* @see https://docs.onetrading.com/rest/trading/get-order-order-id
|
|
1499
1500
|
* @param {string} id the order id
|
|
1500
1501
|
* @param {string} symbol not used by onetrading fetchOrder
|
|
1501
1502
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1502
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
1503
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1503
1504
|
*/
|
|
1504
1505
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
1505
1506
|
await this.loadMarkets();
|
|
@@ -1554,12 +1555,12 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1554
1555
|
* @method
|
|
1555
1556
|
* @name onetrading#fetchOpenOrders
|
|
1556
1557
|
* @description fetch all unfilled currently open orders
|
|
1557
|
-
* @see https://docs.onetrading.com
|
|
1558
|
+
* @see https://docs.onetrading.com/rest/trading/get-orders
|
|
1558
1559
|
* @param {string} symbol unified market symbol
|
|
1559
1560
|
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
1560
1561
|
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
1561
1562
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1562
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1563
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1563
1564
|
*/
|
|
1564
1565
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1565
1566
|
await this.loadMarkets();
|
|
@@ -1675,12 +1676,12 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1675
1676
|
* @method
|
|
1676
1677
|
* @name onetrading#fetchClosedOrders
|
|
1677
1678
|
* @description fetches information on multiple closed orders made by the user
|
|
1678
|
-
* @see https://docs.onetrading.com
|
|
1679
|
+
* @see https://docs.onetrading.com/rest/trading/get-orders
|
|
1679
1680
|
* @param {string} symbol unified market symbol of the market orders were made in
|
|
1680
1681
|
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
1681
1682
|
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
1682
1683
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1683
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1684
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1684
1685
|
*/
|
|
1685
1686
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1686
1687
|
const request = {
|
|
@@ -1692,13 +1693,13 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1692
1693
|
* @method
|
|
1693
1694
|
* @name onetrading#fetchOrderTrades
|
|
1694
1695
|
* @description fetch all the trades made from a single order
|
|
1695
|
-
* @see https://docs.onetrading.com
|
|
1696
|
+
* @see https://docs.onetrading.com/rest/trading/get-trades-for-order
|
|
1696
1697
|
* @param {string} id order id
|
|
1697
1698
|
* @param {string} symbol unified market symbol
|
|
1698
1699
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1699
1700
|
* @param {int} [limit] the maximum number of trades to retrieve
|
|
1700
1701
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1701
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1702
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1702
1703
|
*/
|
|
1703
1704
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1704
1705
|
await this.loadMarkets();
|
|
@@ -1752,12 +1753,12 @@ class onetrading extends onetrading$1["default"] {
|
|
|
1752
1753
|
* @method
|
|
1753
1754
|
* @name onetrading#fetchMyTrades
|
|
1754
1755
|
* @description fetch all trades made by the user
|
|
1755
|
-
* @see https://docs.onetrading.com
|
|
1756
|
+
* @see https://docs.onetrading.com/rest/trading/get-trades
|
|
1756
1757
|
* @param {string} symbol unified market symbol
|
|
1757
1758
|
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
1758
1759
|
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
1759
1760
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1760
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1761
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1761
1762
|
*/
|
|
1762
1763
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1763
1764
|
await this.loadMarkets();
|
package/dist/cjs/src/oxfun.js
CHANGED
|
@@ -726,7 +726,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
726
726
|
* @see https://docs.ox.fun/?json#get-v3-tickers
|
|
727
727
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
728
728
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
729
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
729
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
730
730
|
*/
|
|
731
731
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
732
732
|
await this.loadMarkets();
|
|
@@ -789,7 +789,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
789
789
|
* @see https://docs.ox.fun/?json#get-v3-tickers
|
|
790
790
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
791
791
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
792
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
792
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
793
793
|
*/
|
|
794
794
|
async fetchTicker(symbol, params = {}) {
|
|
795
795
|
await this.loadMarkets();
|
|
@@ -962,7 +962,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
962
962
|
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
963
963
|
* @param {int} [limit] the maximum amount of order book entries to return (default 5, max 100)
|
|
964
964
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
965
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
965
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
966
966
|
*/
|
|
967
967
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
968
968
|
await this.loadMarkets();
|
|
@@ -1009,7 +1009,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1009
1009
|
* @see https://docs.ox.fun/?json#get-v3-funding-estimates
|
|
1010
1010
|
* @param {string[]} symbols unified market symbols
|
|
1011
1011
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1012
|
-
* @returns {Order[]} an array of [funding rate structures]{@link https://docs.ccxt.com
|
|
1012
|
+
* @returns {Order[]} an array of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
1013
1013
|
*/
|
|
1014
1014
|
async fetchFundingRates(symbols = undefined, params = {}) {
|
|
1015
1015
|
await this.loadMarkets();
|
|
@@ -1043,7 +1043,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1043
1043
|
* @see https://docs.ox.fun/?json#get-v3-funding-estimates
|
|
1044
1044
|
* @param {string} symbol unified market symbols
|
|
1045
1045
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1046
|
-
* @returns {Order[]} an array of [funding rate structures]{@link https://docs.ccxt.com
|
|
1046
|
+
* @returns {Order[]} an array of [funding rate structures]{@link https://docs.ccxt.com/?id=funding-rate-structure}
|
|
1047
1047
|
*/
|
|
1048
1048
|
async fetchFundingRate(symbol, params = {}) {
|
|
1049
1049
|
await this.loadMarkets();
|
|
@@ -1098,7 +1098,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1098
1098
|
* @param {int} [limit] the maximum amount of trades to fetch (default 200, max 500)
|
|
1099
1099
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1100
1100
|
* @param {int} [params.until] timestamp in ms of the latest trade to fetch (default now)
|
|
1101
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1101
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1102
1102
|
*/
|
|
1103
1103
|
async fetchFundingRateHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1104
1104
|
await this.loadMarkets();
|
|
@@ -1178,7 +1178,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1178
1178
|
* @param {int} [limit] the maximum amount of trades to fetch (default 200, max 500)
|
|
1179
1179
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1180
1180
|
* @param {int} [params.until] timestamp in ms of the latest trade to fetch (default now)
|
|
1181
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1181
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1182
1182
|
*/
|
|
1183
1183
|
async fetchFundingHistory(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1184
1184
|
await this.loadMarkets();
|
|
@@ -1264,7 +1264,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1264
1264
|
* @see https://docs.ox.fun/?json#get-v3-leverage-tiers
|
|
1265
1265
|
* @param {string[]} [symbols] list of unified market symbols
|
|
1266
1266
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1267
|
-
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com
|
|
1267
|
+
* @returns {object} a dictionary of [leverage tiers structures]{@link https://docs.ccxt.com/?id=leverage-tiers-structure}, indexed by market symbols
|
|
1268
1268
|
*/
|
|
1269
1269
|
async fetchLeverageTiers(symbols = undefined, params = {}) {
|
|
1270
1270
|
await this.loadMarkets();
|
|
@@ -1359,7 +1359,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1359
1359
|
* @param {int} [limit] the maximum amount of trades to fetch (default 200, max 500)
|
|
1360
1360
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1361
1361
|
* @param {int} [params.until] timestamp in ms of the latest trade to fetch (default now)
|
|
1362
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1362
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1363
1363
|
*/
|
|
1364
1364
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
1365
1365
|
await this.loadMarkets();
|
|
@@ -1525,7 +1525,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1525
1525
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1526
1526
|
* @param {string} [params.asset] currency id, if empty the exchange returns info about all currencies
|
|
1527
1527
|
* @param {string} [params.subAcc] Name of sub account. If no subAcc is given, then the response contains only the account linked to the API-Key.
|
|
1528
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
1528
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
1529
1529
|
*/
|
|
1530
1530
|
async fetchBalance(params = {}) {
|
|
1531
1531
|
await this.loadMarkets();
|
|
@@ -1620,7 +1620,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1620
1620
|
* @description fetch subaccounts associated with a profile
|
|
1621
1621
|
* @see https://docs.ox.fun/?json#get-v3-account-names
|
|
1622
1622
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1623
|
-
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com
|
|
1623
|
+
* @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/?id=account-structure} indexed by the account type
|
|
1624
1624
|
*/
|
|
1625
1625
|
async fetchAccounts(params = {}) {
|
|
1626
1626
|
await this.loadMarkets();
|
|
@@ -1665,7 +1665,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1665
1665
|
* @param {string} fromAccount account id to transfer from
|
|
1666
1666
|
* @param {string} toAccount account id to transfer to
|
|
1667
1667
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1668
|
-
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com
|
|
1668
|
+
* @returns {object} a [transfer structure]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
1669
1669
|
*/
|
|
1670
1670
|
async transfer(code, amount, fromAccount, toAccount, params = {}) {
|
|
1671
1671
|
// transferring funds between sub-accounts is restricted to API keys linked to the parent account.
|
|
@@ -1708,7 +1708,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1708
1708
|
* @param {int} [limit] the maximum number of transfer structures to retrieve (default 50, max 200)
|
|
1709
1709
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1710
1710
|
* @param {int} [params.until] the latest time in ms to fetch transfers for (default time now)
|
|
1711
|
-
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com
|
|
1711
|
+
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
1712
1712
|
*/
|
|
1713
1713
|
async fetchTransfers(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1714
1714
|
// API keys linked to the parent account can get all account transfers, while API keys linked to a sub-account can only see transfers where the sub-account is either the "fromAccount" or "toAccount"
|
|
@@ -1796,7 +1796,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1796
1796
|
* @param {string} code unified currency code
|
|
1797
1797
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1798
1798
|
* @param {string} [params.network] network for fetch deposit address
|
|
1799
|
-
* @returns {object} an [address structure]{@link https://docs.ccxt.com
|
|
1799
|
+
* @returns {object} an [address structure]{@link https://docs.ccxt.com/?id=address-structure}
|
|
1800
1800
|
*/
|
|
1801
1801
|
async fetchDepositAddress(code, params = {}) {
|
|
1802
1802
|
const networkCode = this.safeString(params, 'network');
|
|
@@ -1842,7 +1842,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1842
1842
|
* @param {int} [limit] the maximum number of transfer structures to retrieve (default 50, max 200)
|
|
1843
1843
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1844
1844
|
* @param {int} [params.until] the latest time in ms to fetch transfers for (default time now)
|
|
1845
|
-
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com
|
|
1845
|
+
* @returns {object[]} a list of [transfer structures]{@link https://docs.ccxt.com/?id=transfer-structure}
|
|
1846
1846
|
*/
|
|
1847
1847
|
async fetchDeposits(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1848
1848
|
await this.loadMarkets();
|
|
@@ -1897,7 +1897,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
1897
1897
|
* @param {int} [limit] the maximum number of transfer structures to retrieve (default 50, max 200)
|
|
1898
1898
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
1899
1899
|
* @param {int} [params.until] the latest time in ms to fetch transfers for (default time now)
|
|
1900
|
-
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com
|
|
1900
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
1901
1901
|
*/
|
|
1902
1902
|
async fetchWithdrawals(code = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1903
1903
|
await this.loadMarkets();
|
|
@@ -2082,7 +2082,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2082
2082
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
2083
2083
|
* @param {string} [params.tfaType] GOOGLE, or AUTHY_SECRET, or YUBIKEY, for 2FA
|
|
2084
2084
|
* @param {string} [params.code] 2FA code
|
|
2085
|
-
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com
|
|
2085
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/?id=transaction-structure}
|
|
2086
2086
|
*/
|
|
2087
2087
|
async withdraw(code, amount, address, tag = undefined, params = {}) {
|
|
2088
2088
|
[tag, params] = this.handleWithdrawTagAndParams(tag, params);
|
|
@@ -2132,7 +2132,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2132
2132
|
* @param {string[]|undefined} symbols list of unified market symbols
|
|
2133
2133
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2134
2134
|
* @param {boolean} [params.subAcc]
|
|
2135
|
-
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com
|
|
2135
|
+
* @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/?id=position-structure}
|
|
2136
2136
|
*/
|
|
2137
2137
|
async fetchPositions(symbols = undefined, params = {}) {
|
|
2138
2138
|
// Calling this endpoint using an API key pair linked to the parent account with the parameter "subAcc"
|
|
@@ -2262,7 +2262,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2262
2262
|
* @param {string} [params.timeInForce] GTC (default), IOC, FOK, PO, MAKER_ONLY or MAKER_ONLY_REPRICE (reprices order to the best maker only price if the specified price were to lead to a taker trade)
|
|
2263
2263
|
* @param {string} [params.selfTradePrevention] NONE, EXPIRE_MAKER, EXPIRE_TAKER or EXPIRE_BOTH for more info check here {@link https://docs.ox.fun/?json#self-trade-prevention-modes}
|
|
2264
2264
|
* @param {string} [params.displayQuantity] for an iceberg order, pass both quantity and displayQuantity fields in the order request
|
|
2265
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2265
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2266
2266
|
*/
|
|
2267
2267
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
2268
2268
|
await this.loadMarkets();
|
|
@@ -2409,7 +2409,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2409
2409
|
* @param {int} [params.timestamp] *for all orders* in milliseconds. If orders reach the matching engine and the current timestamp exceeds timestamp + recvWindow, then all orders will be rejected.
|
|
2410
2410
|
* @param {int} [params.recvWindow] *for all orders* in milliseconds. If orders reach the matching engine and the current timestamp exceeds timestamp + recvWindow, then all orders will be rejected. If timestamp is provided without recvWindow, then a default recvWindow of 1000ms is used.
|
|
2411
2411
|
* @param {string} [params.responseType] *for all orders* FULL or ACK
|
|
2412
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2412
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2413
2413
|
*/
|
|
2414
2414
|
async createOrders(orders, params = {}) {
|
|
2415
2415
|
await this.loadMarkets();
|
|
@@ -2506,7 +2506,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2506
2506
|
* @param {string} symbol unified symbol of the market to create an order in
|
|
2507
2507
|
* @param {float} cost how much you want to trade in units of the quote currency
|
|
2508
2508
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2509
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
2509
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2510
2510
|
*/
|
|
2511
2511
|
async createMarketBuyOrderWithCost(symbol, cost, params = {}) {
|
|
2512
2512
|
await this.loadMarkets();
|
|
@@ -2528,7 +2528,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2528
2528
|
* @param {string} [symbol] not used by oxfun fetchOrder
|
|
2529
2529
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2530
2530
|
* @param {int} [params.clientOrderId] the client order id of the order
|
|
2531
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
2531
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2532
2532
|
*/
|
|
2533
2533
|
async fetchOrder(id, symbol = undefined, params = {}) {
|
|
2534
2534
|
await this.loadMarkets();
|
|
@@ -2573,7 +2573,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2573
2573
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
2574
2574
|
* @param {int} [params.orderId] a unique id for the order
|
|
2575
2575
|
* @param {int} [params.clientOrderId] the client order id of the order
|
|
2576
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
2576
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2577
2577
|
*/
|
|
2578
2578
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
2579
2579
|
await this.loadMarkets();
|
|
@@ -2598,7 +2598,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2598
2598
|
* @param {int} [params.timestamp] in milliseconds
|
|
2599
2599
|
* @param {int} [params.recvWindow] in milliseconds
|
|
2600
2600
|
* @param {string} [params.responseType] 'FULL' or 'ACK'
|
|
2601
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
2601
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2602
2602
|
*/
|
|
2603
2603
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
2604
2604
|
if (symbol === undefined) {
|
|
@@ -2664,7 +2664,7 @@ class oxfun extends oxfun$1["default"] {
|
|
|
2664
2664
|
* @param {int} [params.timestamp] in milliseconds
|
|
2665
2665
|
* @param {int} [params.recvWindow] in milliseconds
|
|
2666
2666
|
* @param {string} [params.responseType] 'FULL' or 'ACK'
|
|
2667
|
-
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com
|
|
2667
|
+
* @returns {object} an list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
2668
2668
|
*/
|
|
2669
2669
|
async cancelOrders(ids, symbol = undefined, params = {}) {
|
|
2670
2670
|
if (symbol === undefined) {
|
package/dist/cjs/src/p2b.js
CHANGED
|
@@ -437,7 +437,7 @@ class p2b extends p2b$1["default"] {
|
|
|
437
437
|
* @see https://futures-docs.poloniex.com/#get-real-time-ticker-of-all-symbols
|
|
438
438
|
* @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
|
|
439
439
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
440
|
-
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com
|
|
440
|
+
* @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
441
441
|
*/
|
|
442
442
|
async fetchTickers(symbols = undefined, params = {}) {
|
|
443
443
|
await this.loadMarkets();
|
|
@@ -477,7 +477,7 @@ class p2b extends p2b$1["default"] {
|
|
|
477
477
|
* @see https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md#ticker
|
|
478
478
|
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
479
479
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
480
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com
|
|
480
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/?id=ticker-structure}
|
|
481
481
|
*/
|
|
482
482
|
async fetchTicker(symbol, params = {}) {
|
|
483
483
|
await this.loadMarkets();
|
|
@@ -581,7 +581,7 @@ class p2b extends p2b$1["default"] {
|
|
|
581
581
|
*
|
|
582
582
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
583
583
|
* @param {string} [params.interval] 0 (default), 0.00000001, 0.0000001, 0.000001, 0.00001, 0.0001, 0.001, 0.01, 0.1, 1
|
|
584
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com
|
|
584
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/?id=order-book-structure} indexed by market symbols
|
|
585
585
|
*/
|
|
586
586
|
async fetchOrderBook(symbol, limit = undefined, params = {}) {
|
|
587
587
|
await this.loadMarkets();
|
|
@@ -632,7 +632,7 @@ class p2b extends p2b$1["default"] {
|
|
|
632
632
|
* @param {int} [limit] 1-100, default=50
|
|
633
633
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
634
634
|
* @param {int} params.lastId order id
|
|
635
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
635
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
636
636
|
*/
|
|
637
637
|
async fetchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
638
638
|
await this.loadMarkets();
|
|
@@ -816,7 +816,7 @@ class p2b extends p2b$1["default"] {
|
|
|
816
816
|
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
817
817
|
* @see https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md#all-balances
|
|
818
818
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
819
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com
|
|
819
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/?id=balance-structure}
|
|
820
820
|
*/
|
|
821
821
|
async fetchBalance(params = {}) {
|
|
822
822
|
await this.loadMarkets();
|
|
@@ -883,7 +883,7 @@ class p2b extends p2b$1["default"] {
|
|
|
883
883
|
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
884
884
|
* @param {float} price the price at which the order is to be fulfilled, in units of the quote currency
|
|
885
885
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
886
|
-
* @returns {object} an [order structure]{@link https://docs.ccxt.com
|
|
886
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
887
887
|
*/
|
|
888
888
|
async createOrder(symbol, type, side, amount, price = undefined, params = {}) {
|
|
889
889
|
await this.loadMarkets();
|
|
@@ -931,7 +931,7 @@ class p2b extends p2b$1["default"] {
|
|
|
931
931
|
* @param {string} id order id
|
|
932
932
|
* @param {string} symbol unified symbol of the market the order was made in
|
|
933
933
|
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
934
|
-
* @returns {object} An [order structure]{@link https://docs.ccxt.com
|
|
934
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/?id=order-structure}
|
|
935
935
|
*/
|
|
936
936
|
async cancelOrder(id, symbol = undefined, params = {}) {
|
|
937
937
|
if (symbol === undefined) {
|
|
@@ -981,7 +981,7 @@ class p2b extends p2b$1["default"] {
|
|
|
981
981
|
*
|
|
982
982
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
983
983
|
* @param {int} [params.offset] 0-10000, default=0
|
|
984
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
984
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
985
985
|
*/
|
|
986
986
|
async fetchOpenOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
987
987
|
if (symbol === undefined) {
|
|
@@ -1037,7 +1037,7 @@ class p2b extends p2b$1["default"] {
|
|
|
1037
1037
|
*
|
|
1038
1038
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
1039
1039
|
* @param {int} [params.offset] 0-10000, default=0
|
|
1040
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1040
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=trade-structure}
|
|
1041
1041
|
*/
|
|
1042
1042
|
async fetchOrderTrades(id, symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1043
1043
|
await this.loadMarkets();
|
|
@@ -1089,7 +1089,7 @@ class p2b extends p2b$1["default"] {
|
|
|
1089
1089
|
*
|
|
1090
1090
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
1091
1091
|
* @param {int} [params.offset] 0-10000, default=0
|
|
1092
|
-
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com
|
|
1092
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/?id=public-trades}
|
|
1093
1093
|
*/
|
|
1094
1094
|
async fetchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1095
1095
|
if (symbol === undefined) {
|
|
@@ -1165,7 +1165,7 @@ class p2b extends p2b$1["default"] {
|
|
|
1165
1165
|
*
|
|
1166
1166
|
* EXCHANGE SPECIFIC PARAMETERS
|
|
1167
1167
|
* @param {int} [params.offset] 0-10000, default=0
|
|
1168
|
-
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com
|
|
1168
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/?id=order-structure}
|
|
1169
1169
|
*/
|
|
1170
1170
|
async fetchClosedOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
1171
1171
|
await this.loadMarkets();
|