ccxt 4.4.30 → 4.4.32
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 +9 -3
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +123 -123
- package/dist/cjs/src/alpaca.js +237 -237
- package/dist/cjs/src/ascendex.js +342 -341
- package/dist/cjs/src/bigone.js +242 -242
- package/dist/cjs/src/binance.js +1339 -1291
- package/dist/cjs/src/bingx.js +639 -639
- package/dist/cjs/src/bit2c.js +111 -111
- package/dist/cjs/src/bitbank.js +142 -142
- package/dist/cjs/src/bitbns.js +140 -140
- package/dist/cjs/src/bitfinex.js +231 -231
- package/dist/cjs/src/bitfinex2.js +403 -403
- package/dist/cjs/src/bitflyer.js +184 -184
- package/dist/cjs/src/bitget.js +848 -846
- package/dist/cjs/src/bithumb.js +125 -124
- package/dist/cjs/src/bitmart.js +525 -525
- package/dist/cjs/src/bitmex.js +317 -317
- package/dist/cjs/src/bitopro.js +221 -221
- package/dist/cjs/src/bitrue.js +315 -315
- package/dist/cjs/src/bitso.js +220 -220
- package/dist/cjs/src/bitstamp.js +251 -251
- package/dist/cjs/src/bitteam.js +183 -183
- package/dist/cjs/src/bitvavo.js +247 -251
- package/dist/cjs/src/bl3p.js +82 -82
- package/dist/cjs/src/blockchaincom.js +211 -211
- package/dist/cjs/src/blofin.js +332 -331
- package/dist/cjs/src/btcalpha.js +166 -166
- package/dist/cjs/src/btcbox.js +108 -108
- package/dist/cjs/src/btcmarkets.js +198 -198
- package/dist/cjs/src/btcturk.js +124 -124
- package/dist/cjs/src/bybit.js +906 -900
- package/dist/cjs/src/cex.js +227 -226
- package/dist/cjs/src/coinbase.js +481 -481
- package/dist/cjs/src/coinbaseexchange.js +274 -274
- package/dist/cjs/src/coinbaseinternational.js +304 -304
- package/dist/cjs/src/coincatch.js +650 -650
- package/dist/cjs/src/coincheck.js +113 -113
- package/dist/cjs/src/coinex.js +611 -601
- package/dist/cjs/src/coinlist.js +304 -303
- package/dist/cjs/src/coinmate.js +162 -161
- package/dist/cjs/src/coinmetro.js +187 -187
- package/dist/cjs/src/coinone.js +124 -123
- package/dist/cjs/src/coinsph.js +237 -237
- package/dist/cjs/src/coinspot.js +82 -82
- package/dist/cjs/src/cryptocom.js +342 -341
- package/dist/cjs/src/currencycom.js +225 -224
- package/dist/cjs/src/delta.js +320 -320
- package/dist/cjs/src/deribit.js +411 -408
- package/dist/cjs/src/digifinex.js +432 -431
- package/dist/cjs/src/exmo.js +328 -327
- package/dist/cjs/src/gate.js +830 -791
- package/dist/cjs/src/gemini.js +199 -198
- package/dist/cjs/src/hashkey.js +520 -517
- package/dist/cjs/src/hitbtc.js +465 -462
- package/dist/cjs/src/hollaex.js +253 -252
- package/dist/cjs/src/htx.js +791 -848
- package/dist/cjs/src/huobijp.js +219 -218
- package/dist/cjs/src/hyperliquid.js +421 -417
- package/dist/cjs/src/idex.js +238 -237
- package/dist/cjs/src/independentreserve.js +133 -132
- package/dist/cjs/src/indodax.js +177 -171
- package/dist/cjs/src/kraken.js +381 -377
- package/dist/cjs/src/krakenfutures.js +285 -279
- package/dist/cjs/src/kucoin.js +632 -622
- package/dist/cjs/src/kucoinfutures.js +533 -457
- package/dist/cjs/src/kuna.js +283 -282
- package/dist/cjs/src/latoken.js +211 -210
- package/dist/cjs/src/lbank.js +268 -267
- package/dist/cjs/src/luno.js +174 -173
- package/dist/cjs/src/lykke.js +172 -171
- package/dist/cjs/src/mercado.js +123 -122
- package/dist/cjs/src/mexc.js +650 -646
- package/dist/cjs/src/ndax.js +229 -228
- package/dist/cjs/src/novadax.js +230 -229
- package/dist/cjs/src/oceanex.js +187 -186
- package/dist/cjs/src/okcoin.js +286 -285
- package/dist/cjs/src/okx.js +909 -904
- package/dist/cjs/src/onetrading.js +218 -218
- package/dist/cjs/src/oxfun.js +335 -334
- package/dist/cjs/src/p2b.js +154 -154
- package/dist/cjs/src/paradex.js +249 -244
- package/dist/cjs/src/paymium.js +101 -101
- package/dist/cjs/src/phemex.js +388 -390
- package/dist/cjs/src/poloniex.js +270 -270
- package/dist/cjs/src/poloniexfutures.js +250 -250
- package/dist/cjs/src/pro/alpaca.js +64 -64
- package/dist/cjs/src/pro/ascendex.js +64 -64
- package/dist/cjs/src/pro/binance.js +546 -543
- package/dist/cjs/src/pro/bingx.js +116 -116
- package/dist/cjs/src/pro/bitfinex.js +42 -42
- package/dist/cjs/src/pro/bitfinex2.js +66 -66
- package/dist/cjs/src/pro/bitget.js +188 -181
- package/dist/cjs/src/pro/bithumb.js +40 -40
- package/dist/cjs/src/pro/bitmart.js +121 -119
- package/dist/cjs/src/pro/bitmex.js +135 -133
- package/dist/cjs/src/pro/bitopro.js +49 -49
- package/dist/cjs/src/pro/bitrue.js +19 -19
- package/dist/cjs/src/pro/bitstamp.js +29 -29
- package/dist/cjs/src/pro/bitvavo.js +299 -301
- package/dist/cjs/src/pro/blockchaincom.js +62 -62
- package/dist/cjs/src/pro/blofin.js +132 -130
- package/dist/cjs/src/pro/bybit.js +317 -313
- package/dist/cjs/src/pro/cex.js +168 -168
- package/dist/cjs/src/pro/coinbase.js +93 -91
- package/dist/cjs/src/pro/coinbaseexchange.js +95 -95
- package/dist/cjs/src/pro/coinbaseinternational.js +111 -111
- package/dist/cjs/src/pro/coincatch.js +150 -143
- package/dist/cjs/src/pro/coincheck.js +21 -21
- package/dist/cjs/src/pro/coinex.js +110 -110
- package/dist/cjs/src/pro/coinone.js +30 -30
- package/dist/cjs/src/pro/cryptocom.js +227 -227
- package/dist/cjs/src/pro/currencycom.js +45 -45
- package/dist/cjs/src/pro/deribit.js +127 -127
- package/dist/cjs/src/pro/exmo.js +66 -66
- package/dist/cjs/src/pro/gate.js +287 -283
- package/dist/cjs/src/pro/gemini.js +74 -74
- package/dist/cjs/src/pro/hashkey.js +87 -85
- package/dist/cjs/src/pro/hitbtc.js +190 -190
- package/dist/cjs/src/pro/hollaex.js +51 -51
- package/dist/cjs/src/pro/htx.js +96 -94
- package/dist/cjs/src/pro/huobijp.js +38 -38
- package/dist/cjs/src/pro/hyperliquid.js +151 -150
- package/dist/cjs/src/pro/idex.js +48 -48
- package/dist/cjs/src/pro/independentreserve.js +19 -19
- package/dist/cjs/src/pro/kraken.js +167 -167
- package/dist/cjs/src/pro/krakenfutures.js +137 -138
- package/dist/cjs/src/pro/kucoin.js +167 -168
- package/dist/cjs/src/pro/kucoinfutures.js +147 -147
- package/dist/cjs/src/pro/lbank.js +95 -95
- package/dist/cjs/src/pro/luno.js +21 -21
- package/dist/cjs/src/pro/mexc.js +102 -103
- package/dist/cjs/src/pro/ndax.js +42 -42
- package/dist/cjs/src/pro/okcoin.js +61 -61
- package/dist/cjs/src/pro/okx.js +332 -330
- package/dist/cjs/src/pro/onetrading.js +71 -71
- package/dist/cjs/src/pro/oxfun.js +193 -191
- package/dist/cjs/src/pro/p2b.js +77 -77
- package/dist/cjs/src/pro/paradex.js +39 -39
- package/dist/cjs/src/pro/phemex.js +94 -94
- package/dist/cjs/src/pro/poloniex.js +171 -171
- package/dist/cjs/src/pro/poloniexfutures.js +62 -62
- package/dist/cjs/src/pro/probit.js +63 -63
- package/dist/cjs/src/pro/upbit.js +80 -80
- package/dist/cjs/src/pro/vertex.js +65 -63
- package/dist/cjs/src/pro/wazirx.js +70 -70
- package/dist/cjs/src/pro/whitebit.js +83 -83
- package/dist/cjs/src/pro/woo.js +106 -104
- package/dist/cjs/src/pro/woofipro.js +105 -103
- package/dist/cjs/src/pro/xt.js +119 -119
- package/dist/cjs/src/probit.js +229 -229
- package/dist/cjs/src/timex.js +198 -197
- package/dist/cjs/src/tokocrypto.js +214 -213
- package/dist/cjs/src/tradeogre.js +92 -91
- package/dist/cjs/src/upbit.js +243 -242
- package/dist/cjs/src/vertex.js +258 -258
- package/dist/cjs/src/wavesexchange.js +176 -172
- package/dist/cjs/src/wazirx.js +168 -168
- package/dist/cjs/src/whitebit.js +361 -361
- package/dist/cjs/src/woo.js +571 -572
- package/dist/cjs/src/woofipro.js +392 -391
- package/dist/cjs/src/xt.js +436 -435
- package/dist/cjs/src/yobit.js +159 -158
- package/dist/cjs/src/zaif.js +103 -103
- package/dist/cjs/src/zonda.js +168 -168
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/ace.d.ts +123 -0
- package/js/src/ace.js +123 -123
- package/js/src/alpaca.d.ts +237 -0
- package/js/src/alpaca.js +237 -237
- package/js/src/ascendex.d.ts +339 -0
- package/js/src/ascendex.js +342 -341
- package/js/src/base/types.d.ts +1 -0
- package/js/src/bigone.d.ts +242 -0
- package/js/src/bigone.js +242 -242
- package/js/src/binance.d.ts +1306 -0
- package/js/src/binance.js +1339 -1291
- package/js/src/bingx.d.ts +639 -0
- package/js/src/bingx.js +639 -639
- package/js/src/bit2c.d.ts +111 -0
- package/js/src/bit2c.js +111 -111
- package/js/src/bitbank.d.ts +142 -0
- package/js/src/bitbank.js +142 -142
- package/js/src/bitbns.d.ts +140 -0
- package/js/src/bitbns.js +140 -140
- package/js/src/bitfinex.d.ts +231 -0
- package/js/src/bitfinex.js +231 -231
- package/js/src/bitfinex2.d.ts +403 -0
- package/js/src/bitfinex2.js +403 -403
- package/js/src/bitflyer.d.ts +184 -0
- package/js/src/bitflyer.js +184 -184
- package/js/src/bitget.d.ts +846 -0
- package/js/src/bitget.js +848 -846
- package/js/src/bithumb.d.ts +125 -0
- package/js/src/bithumb.js +125 -124
- package/js/src/bitmart.d.ts +525 -0
- package/js/src/bitmart.js +525 -525
- package/js/src/bitmex.d.ts +317 -0
- package/js/src/bitmex.js +317 -317
- package/js/src/bitopro.d.ts +221 -0
- package/js/src/bitopro.js +221 -221
- package/js/src/bitrue.d.ts +315 -0
- package/js/src/bitrue.js +315 -315
- package/js/src/bitso.d.ts +220 -0
- package/js/src/bitso.js +220 -220
- package/js/src/bitstamp.d.ts +251 -0
- package/js/src/bitstamp.js +251 -251
- package/js/src/bitteam.d.ts +183 -0
- package/js/src/bitteam.js +183 -183
- package/js/src/bitvavo.d.ts +247 -0
- package/js/src/bitvavo.js +247 -251
- package/js/src/bl3p.d.ts +82 -0
- package/js/src/bl3p.js +82 -82
- package/js/src/blockchaincom.d.ts +211 -0
- package/js/src/blockchaincom.js +211 -211
- package/js/src/blofin.d.ts +332 -0
- package/js/src/blofin.js +332 -331
- package/js/src/btcalpha.d.ts +166 -0
- package/js/src/btcalpha.js +166 -166
- package/js/src/btcbox.d.ts +108 -0
- package/js/src/btcbox.js +108 -108
- package/js/src/btcmarkets.d.ts +198 -0
- package/js/src/btcmarkets.js +198 -198
- package/js/src/btcturk.d.ts +124 -0
- package/js/src/btcturk.js +124 -124
- package/js/src/bybit.d.ts +906 -1
- package/js/src/bybit.js +906 -900
- package/js/src/cex.d.ts +227 -0
- package/js/src/cex.js +227 -226
- package/js/src/coinbase.d.ts +481 -0
- package/js/src/coinbase.js +481 -481
- package/js/src/coinbaseexchange.d.ts +274 -0
- package/js/src/coinbaseexchange.js +274 -274
- package/js/src/coinbaseinternational.d.ts +304 -0
- package/js/src/coinbaseinternational.js +304 -304
- package/js/src/coincatch.d.ts +646 -0
- package/js/src/coincatch.js +650 -650
- package/js/src/coincheck.d.ts +113 -0
- package/js/src/coincheck.js +113 -113
- package/js/src/coinex.d.ts +603 -0
- package/js/src/coinex.js +611 -601
- package/js/src/coinlist.d.ts +304 -0
- package/js/src/coinlist.js +304 -303
- package/js/src/coinmate.d.ts +162 -0
- package/js/src/coinmate.js +162 -161
- package/js/src/coinmetro.d.ts +187 -0
- package/js/src/coinmetro.js +187 -187
- package/js/src/coinone.d.ts +124 -0
- package/js/src/coinone.js +124 -123
- package/js/src/coinsph.d.ts +237 -0
- package/js/src/coinsph.js +237 -237
- package/js/src/coinspot.d.ts +82 -0
- package/js/src/coinspot.js +82 -82
- package/js/src/cryptocom.d.ts +342 -0
- package/js/src/cryptocom.js +342 -341
- package/js/src/currencycom.d.ts +225 -0
- package/js/src/currencycom.js +225 -224
- package/js/src/delta.d.ts +320 -0
- package/js/src/delta.js +320 -320
- package/js/src/deribit.d.ts +411 -0
- package/js/src/deribit.js +411 -408
- package/js/src/digifinex.d.ts +430 -0
- package/js/src/digifinex.js +432 -431
- package/js/src/exmo.d.ts +328 -0
- package/js/src/exmo.js +328 -327
- package/js/src/gate.d.ts +803 -1
- package/js/src/gate.js +830 -791
- package/js/src/gemini.d.ts +199 -0
- package/js/src/gemini.js +199 -198
- package/js/src/hashkey.d.ts +516 -0
- package/js/src/hashkey.js +520 -517
- package/js/src/hitbtc.d.ts +465 -0
- package/js/src/hitbtc.js +465 -462
- package/js/src/hollaex.d.ts +253 -0
- package/js/src/hollaex.js +253 -252
- package/js/src/htx.d.ts +765 -2
- package/js/src/htx.js +791 -848
- package/js/src/huobijp.d.ts +219 -0
- package/js/src/huobijp.js +219 -218
- package/js/src/hyperliquid.d.ts +419 -0
- package/js/src/hyperliquid.js +421 -417
- package/js/src/idex.d.ts +238 -0
- package/js/src/idex.js +238 -237
- package/js/src/independentreserve.d.ts +133 -0
- package/js/src/independentreserve.js +133 -132
- package/js/src/indodax.d.ts +171 -0
- package/js/src/indodax.js +177 -171
- package/js/src/kraken.d.ts +381 -0
- package/js/src/kraken.js +381 -377
- package/js/src/krakenfutures.d.ts +282 -0
- package/js/src/krakenfutures.js +285 -279
- package/js/src/kucoin.d.ts +613 -0
- package/js/src/kucoin.js +632 -622
- package/js/src/kucoinfutures.d.ts +441 -0
- package/js/src/kucoinfutures.js +533 -457
- package/js/src/kuna.d.ts +283 -0
- package/js/src/kuna.js +283 -282
- package/js/src/latoken.d.ts +211 -0
- package/js/src/latoken.js +211 -210
- package/js/src/lbank.d.ts +268 -0
- package/js/src/lbank.js +268 -267
- package/js/src/luno.d.ts +174 -0
- package/js/src/luno.js +174 -173
- package/js/src/lykke.d.ts +172 -0
- package/js/src/lykke.js +172 -171
- package/js/src/mercado.d.ts +123 -0
- package/js/src/mercado.js +123 -122
- package/js/src/mexc.d.ts +647 -0
- package/js/src/mexc.js +650 -646
- package/js/src/ndax.d.ts +229 -0
- package/js/src/ndax.js +229 -228
- package/js/src/novadax.d.ts +230 -0
- package/js/src/novadax.js +230 -229
- package/js/src/oceanex.d.ts +187 -0
- package/js/src/oceanex.js +187 -186
- package/js/src/okcoin.d.ts +286 -0
- package/js/src/okcoin.js +286 -285
- package/js/src/okx.d.ts +907 -0
- package/js/src/okx.js +909 -904
- package/js/src/onetrading.d.ts +218 -0
- package/js/src/onetrading.js +218 -218
- package/js/src/oxfun.d.ts +336 -3
- package/js/src/oxfun.js +335 -334
- package/js/src/p2b.d.ts +154 -0
- package/js/src/p2b.js +154 -154
- package/js/src/paradex.d.ts +241 -0
- package/js/src/paradex.js +249 -244
- package/js/src/paymium.d.ts +101 -0
- package/js/src/paymium.js +101 -101
- package/js/src/phemex.d.ts +366 -0
- package/js/src/phemex.js +388 -390
- package/js/src/poloniex.d.ts +270 -0
- package/js/src/poloniex.js +270 -270
- package/js/src/poloniexfutures.d.ts +250 -0
- package/js/src/poloniexfutures.js +250 -250
- package/js/src/pro/alpaca.d.ts +64 -0
- package/js/src/pro/alpaca.js +64 -64
- package/js/src/pro/ascendex.d.ts +64 -0
- package/js/src/pro/ascendex.js +64 -64
- package/js/src/pro/binance.d.ts +546 -0
- package/js/src/pro/binance.js +546 -543
- package/js/src/pro/bingx.d.ts +116 -0
- package/js/src/pro/bingx.js +116 -116
- package/js/src/pro/bitfinex.d.ts +42 -0
- package/js/src/pro/bitfinex.js +42 -42
- package/js/src/pro/bitfinex2.d.ts +66 -0
- package/js/src/pro/bitfinex2.js +66 -66
- package/js/src/pro/bitget.d.ts +187 -0
- package/js/src/pro/bitget.js +188 -181
- package/js/src/pro/bithumb.d.ts +40 -0
- package/js/src/pro/bithumb.js +40 -40
- package/js/src/pro/bitmart.d.ts +121 -0
- package/js/src/pro/bitmart.js +121 -119
- package/js/src/pro/bitmex.d.ts +135 -0
- package/js/src/pro/bitmex.js +135 -133
- package/js/src/pro/bitopro.d.ts +49 -0
- package/js/src/pro/bitopro.js +49 -49
- package/js/src/pro/bitrue.d.ts +19 -0
- package/js/src/pro/bitrue.js +19 -19
- package/js/src/pro/bitstamp.d.ts +29 -0
- package/js/src/pro/bitstamp.js +29 -29
- package/js/src/pro/bitvavo.d.ts +254 -1
- package/js/src/pro/bitvavo.js +299 -301
- package/js/src/pro/blockchaincom.d.ts +62 -0
- package/js/src/pro/blockchaincom.js +62 -62
- package/js/src/pro/blofin.d.ts +132 -0
- package/js/src/pro/blofin.js +132 -130
- package/js/src/pro/bybit.d.ts +317 -0
- package/js/src/pro/bybit.js +317 -313
- package/js/src/pro/cex.d.ts +168 -0
- package/js/src/pro/cex.js +168 -168
- package/js/src/pro/coinbase.d.ts +93 -0
- package/js/src/pro/coinbase.js +93 -91
- package/js/src/pro/coinbaseexchange.d.ts +95 -0
- package/js/src/pro/coinbaseexchange.js +95 -95
- package/js/src/pro/coinbaseinternational.d.ts +111 -0
- package/js/src/pro/coinbaseinternational.js +111 -111
- package/js/src/pro/coincatch.d.ts +150 -0
- package/js/src/pro/coincatch.js +150 -143
- package/js/src/pro/coincheck.d.ts +21 -0
- package/js/src/pro/coincheck.js +21 -21
- package/js/src/pro/coinex.d.ts +110 -0
- package/js/src/pro/coinex.js +110 -110
- package/js/src/pro/coinone.d.ts +30 -0
- package/js/src/pro/coinone.js +30 -30
- package/js/src/pro/cryptocom.d.ts +227 -0
- package/js/src/pro/cryptocom.js +227 -227
- package/js/src/pro/currencycom.d.ts +45 -0
- package/js/src/pro/currencycom.js +45 -45
- package/js/src/pro/deribit.d.ts +127 -0
- package/js/src/pro/deribit.js +127 -127
- package/js/src/pro/exmo.d.ts +66 -0
- package/js/src/pro/exmo.js +66 -66
- package/js/src/pro/gate.d.ts +287 -0
- package/js/src/pro/gate.js +287 -283
- package/js/src/pro/gemini.d.ts +74 -0
- package/js/src/pro/gemini.js +74 -74
- package/js/src/pro/hashkey.d.ts +87 -0
- package/js/src/pro/hashkey.js +87 -85
- package/js/src/pro/hitbtc.d.ts +190 -0
- package/js/src/pro/hitbtc.js +190 -190
- package/js/src/pro/hollaex.d.ts +51 -0
- package/js/src/pro/hollaex.js +51 -51
- package/js/src/pro/htx.d.ts +96 -0
- package/js/src/pro/htx.js +96 -94
- package/js/src/pro/huobijp.d.ts +38 -0
- package/js/src/pro/huobijp.js +38 -38
- package/js/src/pro/hyperliquid.d.ts +151 -0
- package/js/src/pro/hyperliquid.js +151 -150
- package/js/src/pro/idex.d.ts +48 -0
- package/js/src/pro/idex.js +48 -48
- package/js/src/pro/independentreserve.d.ts +19 -0
- package/js/src/pro/independentreserve.js +19 -19
- package/js/src/pro/kraken.d.ts +167 -0
- package/js/src/pro/kraken.js +167 -167
- package/js/src/pro/krakenfutures.d.ts +137 -0
- package/js/src/pro/krakenfutures.js +137 -138
- package/js/src/pro/kucoin.d.ts +167 -0
- package/js/src/pro/kucoin.js +167 -168
- package/js/src/pro/kucoinfutures.d.ts +147 -0
- package/js/src/pro/kucoinfutures.js +147 -147
- package/js/src/pro/lbank.d.ts +95 -0
- package/js/src/pro/lbank.js +95 -95
- package/js/src/pro/luno.d.ts +21 -0
- package/js/src/pro/luno.js +21 -21
- package/js/src/pro/mexc.d.ts +101 -0
- package/js/src/pro/mexc.js +102 -103
- package/js/src/pro/ndax.d.ts +42 -0
- package/js/src/pro/ndax.js +42 -42
- package/js/src/pro/okcoin.d.ts +61 -0
- package/js/src/pro/okcoin.js +61 -61
- package/js/src/pro/okx.d.ts +332 -0
- package/js/src/pro/okx.js +332 -330
- package/js/src/pro/onetrading.d.ts +71 -0
- package/js/src/pro/onetrading.js +71 -71
- package/js/src/pro/oxfun.d.ts +193 -0
- package/js/src/pro/oxfun.js +193 -191
- package/js/src/pro/p2b.d.ts +77 -0
- package/js/src/pro/p2b.js +77 -77
- package/js/src/pro/paradex.d.ts +39 -0
- package/js/src/pro/paradex.js +39 -39
- package/js/src/pro/phemex.d.ts +94 -0
- package/js/src/pro/phemex.js +94 -94
- package/js/src/pro/poloniex.d.ts +171 -0
- package/js/src/pro/poloniex.js +171 -171
- package/js/src/pro/poloniexfutures.d.ts +62 -0
- package/js/src/pro/poloniexfutures.js +62 -62
- package/js/src/pro/probit.d.ts +63 -0
- package/js/src/pro/probit.js +63 -63
- package/js/src/pro/upbit.d.ts +80 -0
- package/js/src/pro/upbit.js +80 -80
- package/js/src/pro/vertex.d.ts +65 -0
- package/js/src/pro/vertex.js +65 -63
- package/js/src/pro/wazirx.d.ts +70 -0
- package/js/src/pro/wazirx.js +70 -70
- package/js/src/pro/whitebit.d.ts +83 -0
- package/js/src/pro/whitebit.js +83 -83
- package/js/src/pro/woo.d.ts +106 -0
- package/js/src/pro/woo.js +106 -104
- package/js/src/pro/woofipro.d.ts +105 -0
- package/js/src/pro/woofipro.js +105 -103
- package/js/src/pro/xt.d.ts +119 -0
- package/js/src/pro/xt.js +119 -119
- package/js/src/probit.d.ts +229 -0
- package/js/src/probit.js +229 -229
- package/js/src/timex.d.ts +198 -0
- package/js/src/timex.js +198 -197
- package/js/src/tokocrypto.d.ts +214 -0
- package/js/src/tokocrypto.js +214 -213
- package/js/src/tradeogre.d.ts +92 -0
- package/js/src/tradeogre.js +92 -91
- package/js/src/upbit.d.ts +243 -0
- package/js/src/upbit.js +243 -242
- package/js/src/vertex.d.ts +258 -0
- package/js/src/vertex.js +258 -258
- package/js/src/wavesexchange.d.ts +176 -0
- package/js/src/wavesexchange.js +176 -172
- package/js/src/wazirx.d.ts +168 -0
- package/js/src/wazirx.js +168 -168
- package/js/src/whitebit.d.ts +361 -0
- package/js/src/whitebit.js +361 -361
- package/js/src/woo.d.ts +571 -0
- package/js/src/woo.js +571 -572
- package/js/src/woofipro.d.ts +392 -0
- package/js/src/woofipro.js +392 -391
- package/js/src/xt.d.ts +439 -4
- package/js/src/xt.js +436 -435
- package/js/src/yobit.d.ts +159 -0
- package/js/src/yobit.js +159 -158
- package/js/src/zaif.d.ts +103 -0
- package/js/src/zaif.js +103 -103
- package/js/src/zonda.d.ts +168 -0
- package/js/src/zonda.js +168 -168
- package/package.json +1 -1
|
@@ -323,26 +323,26 @@ class currencycom extends currencycom$1 {
|
|
|
323
323
|
});
|
|
324
324
|
return await this.watch(url, messageHash, request, messageHash, subscription);
|
|
325
325
|
}
|
|
326
|
+
/**
|
|
327
|
+
* @method
|
|
328
|
+
* @name currencycom#watchBalance
|
|
329
|
+
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
330
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
331
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
332
|
+
*/
|
|
326
333
|
async watchBalance(params = {}) {
|
|
327
|
-
/**
|
|
328
|
-
* @method
|
|
329
|
-
* @name currencycom#watchBalance
|
|
330
|
-
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
331
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
332
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
333
|
-
*/
|
|
334
334
|
await this.loadMarkets();
|
|
335
335
|
return await this.watchPrivate('/api/v1/account', params);
|
|
336
336
|
}
|
|
337
|
+
/**
|
|
338
|
+
* @method
|
|
339
|
+
* @name currencycom#watchTicker
|
|
340
|
+
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
341
|
+
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
342
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
343
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
344
|
+
*/
|
|
337
345
|
async watchTicker(symbol, params = {}) {
|
|
338
|
-
/**
|
|
339
|
-
* @method
|
|
340
|
-
* @name currencycom#watchTicker
|
|
341
|
-
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
342
|
-
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
343
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
344
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
345
|
-
*/
|
|
346
346
|
await this.loadMarkets();
|
|
347
347
|
const market = this.market(symbol);
|
|
348
348
|
symbol = market['symbol'];
|
|
@@ -363,17 +363,17 @@ class currencycom extends currencycom$1 {
|
|
|
363
363
|
});
|
|
364
364
|
return await this.watch(url, messageHash, request, messageHash, subscription);
|
|
365
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* @method
|
|
368
|
+
* @name currencycom#watchTrades
|
|
369
|
+
* @description get the list of most recent trades for a particular symbol
|
|
370
|
+
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
371
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
372
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
373
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
374
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
375
|
+
*/
|
|
366
376
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
367
|
-
/**
|
|
368
|
-
* @method
|
|
369
|
-
* @name currencycom#watchTrades
|
|
370
|
-
* @description get the list of most recent trades for a particular symbol
|
|
371
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
372
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
373
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
374
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
375
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
376
|
-
*/
|
|
377
377
|
await this.loadMarkets();
|
|
378
378
|
symbol = this.symbol(symbol);
|
|
379
379
|
const trades = await this.watchPublic('trades.subscribe', symbol, params);
|
|
@@ -382,33 +382,33 @@ class currencycom extends currencycom$1 {
|
|
|
382
382
|
}
|
|
383
383
|
return this.filterBySinceLimit(trades, since, limit, 'timestamp', true);
|
|
384
384
|
}
|
|
385
|
+
/**
|
|
386
|
+
* @method
|
|
387
|
+
* @name currencycom#watchOrderBook
|
|
388
|
+
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
389
|
+
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
390
|
+
* @param {int} [limit] the maximum amount of order book entries to return
|
|
391
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
392
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
393
|
+
*/
|
|
385
394
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
386
|
-
/**
|
|
387
|
-
* @method
|
|
388
|
-
* @name currencycom#watchOrderBook
|
|
389
|
-
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
390
|
-
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
391
|
-
* @param {int} [limit] the maximum amount of order book entries to return
|
|
392
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
393
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
394
|
-
*/
|
|
395
395
|
await this.loadMarkets();
|
|
396
396
|
symbol = this.symbol(symbol);
|
|
397
397
|
const orderbook = await this.watchPublic('depthMarketData.subscribe', symbol, params);
|
|
398
398
|
return orderbook.limit();
|
|
399
399
|
}
|
|
400
|
+
/**
|
|
401
|
+
* @method
|
|
402
|
+
* @name currencycom#watchOHLCV
|
|
403
|
+
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
404
|
+
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
405
|
+
* @param {string} timeframe the length of time each candle represents
|
|
406
|
+
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
407
|
+
* @param {int} [limit] the maximum amount of candles to fetch
|
|
408
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
409
|
+
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
410
|
+
*/
|
|
400
411
|
async watchOHLCV(symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
|
|
401
|
-
/**
|
|
402
|
-
* @method
|
|
403
|
-
* @name currencycom#watchOHLCV
|
|
404
|
-
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
405
|
-
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
406
|
-
* @param {string} timeframe the length of time each candle represents
|
|
407
|
-
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
408
|
-
* @param {int} [limit] the maximum amount of candles to fetch
|
|
409
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
410
|
-
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
411
|
-
*/
|
|
412
412
|
await this.loadMarkets();
|
|
413
413
|
symbol = this.symbol(symbol);
|
|
414
414
|
const destination = 'OHLCMarketData.subscribe';
|
|
@@ -71,15 +71,15 @@ class deribit extends deribit$1 {
|
|
|
71
71
|
this.options['requestId'] = requestId;
|
|
72
72
|
return requestId;
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* @method
|
|
76
|
+
* @name deribit#watchBalance
|
|
77
|
+
* @see https://docs.deribit.com/#user-portfolio-currency
|
|
78
|
+
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
79
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
80
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
81
|
+
*/
|
|
74
82
|
async watchBalance(params = {}) {
|
|
75
|
-
/**
|
|
76
|
-
* @method
|
|
77
|
-
* @name deribit#watchBalance
|
|
78
|
-
* @see https://docs.deribit.com/#user-portfolio-currency
|
|
79
|
-
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
80
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
81
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
82
|
-
*/
|
|
83
83
|
await this.authenticate(params);
|
|
84
84
|
const messageHash = 'balance';
|
|
85
85
|
const url = this.urls['api']['ws'];
|
|
@@ -154,17 +154,17 @@ class deribit extends deribit$1 {
|
|
|
154
154
|
const messageHash = 'balance';
|
|
155
155
|
client.resolve(this.balance, messageHash);
|
|
156
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* @method
|
|
159
|
+
* @name deribit#watchTicker
|
|
160
|
+
* @see https://docs.deribit.com/#ticker-instrument_name-interval
|
|
161
|
+
* @description watches a price ticker, a statistical calculation with the information for a specific market.
|
|
162
|
+
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
163
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
164
|
+
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
165
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
166
|
+
*/
|
|
157
167
|
async watchTicker(symbol, params = {}) {
|
|
158
|
-
/**
|
|
159
|
-
* @method
|
|
160
|
-
* @name deribit#watchTicker
|
|
161
|
-
* @see https://docs.deribit.com/#ticker-instrument_name-interval
|
|
162
|
-
* @description watches a price ticker, a statistical calculation with the information for a specific market.
|
|
163
|
-
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
164
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
165
|
-
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
166
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
167
|
-
*/
|
|
168
168
|
await this.loadMarkets();
|
|
169
169
|
const market = this.market(symbol);
|
|
170
170
|
const url = this.urls['api']['ws'];
|
|
@@ -186,17 +186,17 @@ class deribit extends deribit$1 {
|
|
|
186
186
|
const request = this.deepExtend(message, params);
|
|
187
187
|
return await this.watch(url, channel, request, channel, request);
|
|
188
188
|
}
|
|
189
|
+
/**
|
|
190
|
+
* @method
|
|
191
|
+
* @name deribit#watchTickers
|
|
192
|
+
* @see https://docs.deribit.com/#ticker-instrument_name-interval
|
|
193
|
+
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
194
|
+
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
195
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
196
|
+
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
197
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
198
|
+
*/
|
|
189
199
|
async watchTickers(symbols = undefined, params = {}) {
|
|
190
|
-
/**
|
|
191
|
-
* @method
|
|
192
|
-
* @name deribit#watchTickers
|
|
193
|
-
* @see https://docs.deribit.com/#ticker-instrument_name-interval
|
|
194
|
-
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
195
|
-
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
196
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
197
|
-
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
198
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
199
|
-
*/
|
|
200
200
|
await this.loadMarkets();
|
|
201
201
|
symbols = this.marketSymbols(symbols, undefined, false);
|
|
202
202
|
const url = this.urls['api']['ws'];
|
|
@@ -267,16 +267,16 @@ class deribit extends deribit$1 {
|
|
|
267
267
|
this.tickers[symbol] = ticker;
|
|
268
268
|
client.resolve(ticker, messageHash);
|
|
269
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* @method
|
|
272
|
+
* @name deribit#watchBidsAsks
|
|
273
|
+
* @see https://docs.deribit.com/#quote-instrument_name
|
|
274
|
+
* @description watches best bid & ask for symbols
|
|
275
|
+
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
276
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
277
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
278
|
+
*/
|
|
270
279
|
async watchBidsAsks(symbols = undefined, params = {}) {
|
|
271
|
-
/**
|
|
272
|
-
* @method
|
|
273
|
-
* @name deribit#watchBidsAsks
|
|
274
|
-
* @see https://docs.deribit.com/#quote-instrument_name
|
|
275
|
-
* @description watches best bid & ask for symbols
|
|
276
|
-
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
277
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
278
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
279
|
-
*/
|
|
280
280
|
await this.loadMarkets();
|
|
281
281
|
symbols = this.marketSymbols(symbols, undefined, false);
|
|
282
282
|
const url = this.urls['api']['ws'];
|
|
@@ -344,34 +344,34 @@ class deribit extends deribit$1 {
|
|
|
344
344
|
'info': ticker,
|
|
345
345
|
}, market);
|
|
346
346
|
}
|
|
347
|
+
/**
|
|
348
|
+
* @method
|
|
349
|
+
* @name deribit#watchTrades
|
|
350
|
+
* @description get the list of most recent trades for a particular symbol
|
|
351
|
+
* @see https://docs.deribit.com/#trades-instrument_name-interval
|
|
352
|
+
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
353
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
354
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
355
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
356
|
+
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
357
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
358
|
+
*/
|
|
347
359
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
348
|
-
/**
|
|
349
|
-
* @method
|
|
350
|
-
* @name deribit#watchTrades
|
|
351
|
-
* @description get the list of most recent trades for a particular symbol
|
|
352
|
-
* @see https://docs.deribit.com/#trades-instrument_name-interval
|
|
353
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
354
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
355
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
356
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
357
|
-
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
358
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
359
|
-
*/
|
|
360
360
|
params['callerMethodName'] = 'watchTrades';
|
|
361
361
|
return await this.watchTradesForSymbols([symbol], since, limit, params);
|
|
362
362
|
}
|
|
363
|
+
/**
|
|
364
|
+
* @method
|
|
365
|
+
* @name deribit#watchTradesForSymbols
|
|
366
|
+
* @description get the list of most recent trades for a list of symbols
|
|
367
|
+
* @see https://docs.deribit.com/#trades-instrument_name-interval
|
|
368
|
+
* @param {string[]} symbols unified symbol of the market to fetch trades for
|
|
369
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
370
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
371
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
372
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
373
|
+
*/
|
|
363
374
|
async watchTradesForSymbols(symbols, since = undefined, limit = undefined, params = {}) {
|
|
364
|
-
/**
|
|
365
|
-
* @method
|
|
366
|
-
* @name deribit#watchTradesForSymbols
|
|
367
|
-
* @description get the list of most recent trades for a list of symbols
|
|
368
|
-
* @see https://docs.deribit.com/#trades-instrument_name-interval
|
|
369
|
-
* @param {string[]} symbols unified symbol of the market to fetch trades for
|
|
370
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
371
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
372
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
373
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
374
|
-
*/
|
|
375
375
|
let interval = undefined;
|
|
376
376
|
[interval, params] = this.handleOptionAndParams(params, 'watchTradesForSymbols', 'interval', '100ms');
|
|
377
377
|
if (interval === 'raw') {
|
|
@@ -429,19 +429,19 @@ class deribit extends deribit$1 {
|
|
|
429
429
|
const messageHash = 'trades|' + symbol + '|' + interval;
|
|
430
430
|
client.resolve(this.trades[symbol], messageHash);
|
|
431
431
|
}
|
|
432
|
+
/**
|
|
433
|
+
* @method
|
|
434
|
+
* @name deribit#watchMyTrades
|
|
435
|
+
* @description get the list of trades associated with the user
|
|
436
|
+
* @see https://docs.deribit.com/#user-trades-instrument_name-interval
|
|
437
|
+
* @param {string} symbol unified symbol of the market to fetch trades for. Use 'any' to watch all trades
|
|
438
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
439
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
440
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
441
|
+
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
442
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
443
|
+
*/
|
|
432
444
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
433
|
-
/**
|
|
434
|
-
* @method
|
|
435
|
-
* @name deribit#watchMyTrades
|
|
436
|
-
* @description get the list of trades associated with the user
|
|
437
|
-
* @see https://docs.deribit.com/#user-trades-instrument_name-interval
|
|
438
|
-
* @param {string} symbol unified symbol of the market to fetch trades for. Use 'any' to watch all trades
|
|
439
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
440
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
441
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
442
|
-
* @param {str} [params.interval] specify aggregation and frequency of notifications. Possible values: 100ms, raw
|
|
443
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
444
|
-
*/
|
|
445
445
|
await this.authenticate(params);
|
|
446
446
|
if (symbol !== undefined) {
|
|
447
447
|
await this.loadMarkets();
|
|
@@ -512,32 +512,32 @@ class deribit extends deribit$1 {
|
|
|
512
512
|
}
|
|
513
513
|
client.resolve(cachedTrades, channel);
|
|
514
514
|
}
|
|
515
|
+
/**
|
|
516
|
+
* @method
|
|
517
|
+
* @name deribit#watchOrderBook
|
|
518
|
+
* @see https://docs.deribit.com/#book-instrument_name-group-depth-interval
|
|
519
|
+
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
520
|
+
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
521
|
+
* @param {int} [limit] the maximum amount of order book entries to return
|
|
522
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
523
|
+
* @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
|
|
524
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
525
|
+
*/
|
|
515
526
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
516
|
-
/**
|
|
517
|
-
* @method
|
|
518
|
-
* @name deribit#watchOrderBook
|
|
519
|
-
* @see https://docs.deribit.com/#book-instrument_name-group-depth-interval
|
|
520
|
-
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
521
|
-
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
522
|
-
* @param {int} [limit] the maximum amount of order book entries to return
|
|
523
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
524
|
-
* @param {string} [params.interval] Frequency of notifications. Events will be aggregated over this interval. Possible values: 100ms, raw
|
|
525
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
526
|
-
*/
|
|
527
527
|
params['callerMethodName'] = 'watchOrderBook';
|
|
528
528
|
return await this.watchOrderBookForSymbols([symbol], limit, params);
|
|
529
529
|
}
|
|
530
|
+
/**
|
|
531
|
+
* @method
|
|
532
|
+
* @name deribit#watchOrderBookForSymbols
|
|
533
|
+
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
534
|
+
* @see https://docs.deribit.com/#book-instrument_name-group-depth-interval
|
|
535
|
+
* @param {string[]} symbols unified array of symbols
|
|
536
|
+
* @param {int} [limit] the maximum amount of order book entries to return
|
|
537
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
538
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
539
|
+
*/
|
|
530
540
|
async watchOrderBookForSymbols(symbols, limit = undefined, params = {}) {
|
|
531
|
-
/**
|
|
532
|
-
* @method
|
|
533
|
-
* @name deribit#watchOrderBookForSymbols
|
|
534
|
-
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
535
|
-
* @see https://docs.deribit.com/#book-instrument_name-group-depth-interval
|
|
536
|
-
* @param {string[]} symbols unified array of symbols
|
|
537
|
-
* @param {int} [limit] the maximum amount of order book entries to return
|
|
538
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
539
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
540
|
-
*/
|
|
541
541
|
let interval = undefined;
|
|
542
542
|
[interval, params] = this.handleOptionAndParams(params, 'watchOrderBookForSymbols', 'interval', '100ms');
|
|
543
543
|
if (interval === 'raw') {
|
|
@@ -671,18 +671,18 @@ class deribit extends deribit$1 {
|
|
|
671
671
|
this.handleDelta(bookside, deltas[i]);
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
|
+
/**
|
|
675
|
+
* @method
|
|
676
|
+
* @name deribit#watchOrders
|
|
677
|
+
* @see https://docs.deribit.com/#user-orders-instrument_name-raw
|
|
678
|
+
* @description watches information on multiple orders made by the user
|
|
679
|
+
* @param {string} symbol unified market symbol of the market orders were made in
|
|
680
|
+
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
681
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
682
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
683
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
684
|
+
*/
|
|
674
685
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
675
|
-
/**
|
|
676
|
-
* @method
|
|
677
|
-
* @name deribit#watchOrders
|
|
678
|
-
* @see https://docs.deribit.com/#user-orders-instrument_name-raw
|
|
679
|
-
* @description watches information on multiple orders made by the user
|
|
680
|
-
* @param {string} symbol unified market symbol of the market orders were made in
|
|
681
|
-
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
682
|
-
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
683
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
684
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
685
|
-
*/
|
|
686
686
|
await this.loadMarkets();
|
|
687
687
|
await this.authenticate(params);
|
|
688
688
|
if (symbol !== undefined) {
|
|
@@ -765,36 +765,36 @@ class deribit extends deribit$1 {
|
|
|
765
765
|
}
|
|
766
766
|
client.resolve(this.orders, channel);
|
|
767
767
|
}
|
|
768
|
+
/**
|
|
769
|
+
* @method
|
|
770
|
+
* @name deribit#watchOHLCV
|
|
771
|
+
* @see https://docs.deribit.com/#chart-trades-instrument_name-resolution
|
|
772
|
+
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
773
|
+
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
774
|
+
* @param {string} timeframe the length of time each candle represents
|
|
775
|
+
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
776
|
+
* @param {int} [limit] the maximum amount of candles to fetch
|
|
777
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
778
|
+
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
779
|
+
*/
|
|
768
780
|
async watchOHLCV(symbol, timeframe = '1m', since = undefined, limit = undefined, params = {}) {
|
|
769
|
-
/**
|
|
770
|
-
* @method
|
|
771
|
-
* @name deribit#watchOHLCV
|
|
772
|
-
* @see https://docs.deribit.com/#chart-trades-instrument_name-resolution
|
|
773
|
-
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
774
|
-
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
775
|
-
* @param {string} timeframe the length of time each candle represents
|
|
776
|
-
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
777
|
-
* @param {int} [limit] the maximum amount of candles to fetch
|
|
778
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
779
|
-
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
780
|
-
*/
|
|
781
781
|
await this.loadMarkets();
|
|
782
782
|
symbol = this.symbol(symbol);
|
|
783
783
|
const ohlcvs = await this.watchOHLCVForSymbols([[symbol, timeframe]], since, limit, params);
|
|
784
784
|
return ohlcvs[symbol][timeframe];
|
|
785
785
|
}
|
|
786
|
+
/**
|
|
787
|
+
* @method
|
|
788
|
+
* @name deribit#watchOHLCVForSymbols
|
|
789
|
+
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
790
|
+
* @see https://docs.deribit.com/#chart-trades-instrument_name-resolution
|
|
791
|
+
* @param {string[][]} symbolsAndTimeframes array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
|
|
792
|
+
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
793
|
+
* @param {int} [limit] the maximum amount of candles to fetch
|
|
794
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
795
|
+
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
796
|
+
*/
|
|
786
797
|
async watchOHLCVForSymbols(symbolsAndTimeframes, since = undefined, limit = undefined, params = {}) {
|
|
787
|
-
/**
|
|
788
|
-
* @method
|
|
789
|
-
* @name deribit#watchOHLCVForSymbols
|
|
790
|
-
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
791
|
-
* @see https://docs.deribit.com/#chart-trades-instrument_name-resolution
|
|
792
|
-
* @param {string[][]} symbolsAndTimeframes array of arrays containing unified symbols and timeframes to fetch OHLCV data for, example [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]
|
|
793
|
-
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
794
|
-
* @param {int} [limit] the maximum amount of candles to fetch
|
|
795
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
796
|
-
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
797
|
-
*/
|
|
798
798
|
const symbolsLength = symbolsAndTimeframes.length;
|
|
799
799
|
if (symbolsLength === 0 || !Array.isArray(symbolsAndTimeframes[0])) {
|
|
800
800
|
throw new errors.ArgumentsRequired(this.id + " watchOHLCVForSymbols() requires a an array of symbols and timeframes, like [['BTC/USDT', '1m'], ['LTC/USDT', '5m']]");
|
package/dist/cjs/src/pro/exmo.js
CHANGED
|
@@ -40,14 +40,14 @@ class exmo extends exmo$1 {
|
|
|
40
40
|
this.options['requestId'] = requestId;
|
|
41
41
|
return requestId;
|
|
42
42
|
}
|
|
43
|
+
/**
|
|
44
|
+
* @method
|
|
45
|
+
* @name exmo#watchBalance
|
|
46
|
+
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
47
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
48
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
49
|
+
*/
|
|
43
50
|
async watchBalance(params = {}) {
|
|
44
|
-
/**
|
|
45
|
-
* @method
|
|
46
|
-
* @name exmo#watchBalance
|
|
47
|
-
* @description watch balance and get the amount of funds available for trading or funds locked in orders
|
|
48
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
49
|
-
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
|
|
50
|
-
*/
|
|
51
51
|
await this.authenticate(params);
|
|
52
52
|
const [type, query] = this.handleMarketTypeAndParams('watchBalance', undefined, params);
|
|
53
53
|
const messageHash = 'balance:' + type;
|
|
@@ -195,16 +195,16 @@ class exmo extends exmo$1 {
|
|
|
195
195
|
this.balance = this.safeBalance(this.balance);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* @method
|
|
200
|
+
* @name exmo#watchTicker
|
|
201
|
+
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
202
|
+
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
203
|
+
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
204
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
205
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
206
|
+
*/
|
|
198
207
|
async watchTicker(symbol, params = {}) {
|
|
199
|
-
/**
|
|
200
|
-
* @method
|
|
201
|
-
* @name exmo#watchTicker
|
|
202
|
-
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
203
|
-
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
204
|
-
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
205
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
206
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
207
|
-
*/
|
|
208
208
|
await this.loadMarkets();
|
|
209
209
|
const market = this.market(symbol);
|
|
210
210
|
symbol = market['symbol'];
|
|
@@ -220,16 +220,16 @@ class exmo extends exmo$1 {
|
|
|
220
220
|
const request = this.deepExtend(message, params);
|
|
221
221
|
return await this.watch(url, messageHash, request, messageHash, request);
|
|
222
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* @method
|
|
225
|
+
* @name exmo#watchTickers
|
|
226
|
+
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
227
|
+
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
228
|
+
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
229
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
230
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
231
|
+
*/
|
|
223
232
|
async watchTickers(symbols = undefined, params = {}) {
|
|
224
|
-
/**
|
|
225
|
-
* @method
|
|
226
|
-
* @name exmo#watchTickers
|
|
227
|
-
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
228
|
-
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#fd8f47bc-8517-43c0-bb60-1d61a86d4471
|
|
229
|
-
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
230
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
231
|
-
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
232
|
-
*/
|
|
233
233
|
await this.loadMarkets();
|
|
234
234
|
symbols = this.marketSymbols(symbols, undefined, false);
|
|
235
235
|
const messageHashes = [];
|
|
@@ -280,17 +280,17 @@ class exmo extends exmo$1 {
|
|
|
280
280
|
this.tickers[symbol] = parsedTicker;
|
|
281
281
|
client.resolve(parsedTicker, messageHash);
|
|
282
282
|
}
|
|
283
|
+
/**
|
|
284
|
+
* @method
|
|
285
|
+
* @name exmo#watchTrades
|
|
286
|
+
* @description get the list of most recent trades for a particular symbol
|
|
287
|
+
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
288
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
289
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
290
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
291
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
292
|
+
*/
|
|
283
293
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
284
|
-
/**
|
|
285
|
-
* @method
|
|
286
|
-
* @name exmo#watchTrades
|
|
287
|
-
* @description get the list of most recent trades for a particular symbol
|
|
288
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
289
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
290
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
291
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
292
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
293
|
-
*/
|
|
294
294
|
await this.loadMarkets();
|
|
295
295
|
const market = this.market(symbol);
|
|
296
296
|
symbol = market['symbol'];
|
|
@@ -344,17 +344,17 @@ class exmo extends exmo$1 {
|
|
|
344
344
|
this.trades[symbol] = stored;
|
|
345
345
|
client.resolve(this.trades[symbol], messageHash);
|
|
346
346
|
}
|
|
347
|
+
/**
|
|
348
|
+
* @method
|
|
349
|
+
* @name exmo#watchTrades
|
|
350
|
+
* @description get the list of trades associated with the user
|
|
351
|
+
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
352
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
353
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
354
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
355
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
356
|
+
*/
|
|
347
357
|
async watchMyTrades(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
348
|
-
/**
|
|
349
|
-
* @method
|
|
350
|
-
* @name exmo#watchTrades
|
|
351
|
-
* @description get the list of trades associated with the user
|
|
352
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
353
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
354
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
355
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
356
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
357
|
-
*/
|
|
358
358
|
await this.loadMarkets();
|
|
359
359
|
await this.authenticate(params);
|
|
360
360
|
const [type, query] = this.handleMarketTypeAndParams('watchMyTrades', undefined, params);
|
|
@@ -474,16 +474,16 @@ class exmo extends exmo$1 {
|
|
|
474
474
|
}
|
|
475
475
|
client.resolve(myTrades, messageHash);
|
|
476
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* @method
|
|
479
|
+
* @name exmo#watchOrderBook
|
|
480
|
+
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
481
|
+
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
482
|
+
* @param {int} [limit] the maximum amount of order book entries to return
|
|
483
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
484
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
485
|
+
*/
|
|
477
486
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
478
|
-
/**
|
|
479
|
-
* @method
|
|
480
|
-
* @name exmo#watchOrderBook
|
|
481
|
-
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
482
|
-
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
483
|
-
* @param {int} [limit] the maximum amount of order book entries to return
|
|
484
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
485
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
486
|
-
*/
|
|
487
487
|
await this.loadMarkets();
|
|
488
488
|
const market = this.market(symbol);
|
|
489
489
|
symbol = market['symbol'];
|
|
@@ -570,19 +570,19 @@ class exmo extends exmo$1 {
|
|
|
570
570
|
this.handleDelta(bookside, deltas[i]);
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
+
/**
|
|
574
|
+
* @method
|
|
575
|
+
* @name exmo#watchOrders
|
|
576
|
+
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#85f7bc03-b1c9-4cd2-bd22-8fd422272825
|
|
577
|
+
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#95e4ed18-1791-4e6d-83ad-cbfe9be1051c
|
|
578
|
+
* @description watches information on multiple orders made by the user
|
|
579
|
+
* @param {string} symbol unified market symbol of the market orders were made in
|
|
580
|
+
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
581
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
582
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
583
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
584
|
+
*/
|
|
573
585
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
574
|
-
/**
|
|
575
|
-
* @method
|
|
576
|
-
* @name exmo#watchOrders
|
|
577
|
-
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#85f7bc03-b1c9-4cd2-bd22-8fd422272825
|
|
578
|
-
* @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#95e4ed18-1791-4e6d-83ad-cbfe9be1051c
|
|
579
|
-
* @description watches information on multiple orders made by the user
|
|
580
|
-
* @param {string} symbol unified market symbol of the market orders were made in
|
|
581
|
-
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
582
|
-
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
583
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
584
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
585
|
-
*/
|
|
586
586
|
await this.loadMarkets();
|
|
587
587
|
await this.authenticate(params);
|
|
588
588
|
const [type, query] = this.handleMarketTypeAndParams('watchOrders', undefined, params);
|