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
package/js/src/pro/bitstamp.d.ts
CHANGED
|
@@ -3,14 +3,43 @@ import type { Int, Str, OrderBook, Order, Trade } from '../base/types.js';
|
|
|
3
3
|
import Client from '../base/ws/Client.js';
|
|
4
4
|
export default class bitstamp extends bitstampRest {
|
|
5
5
|
describe(): any;
|
|
6
|
+
/**
|
|
7
|
+
* @method
|
|
8
|
+
* @name bitstamp#watchOrderBook
|
|
9
|
+
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
10
|
+
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
11
|
+
* @param {int} [limit] the maximum amount of order book entries to return
|
|
12
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
13
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
14
|
+
*/
|
|
6
15
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
7
16
|
handleOrderBook(client: Client, message: any): void;
|
|
8
17
|
handleDelta(orderbook: any, delta: any): void;
|
|
9
18
|
handleBidAsks(bookSide: any, bidAsks: any): void;
|
|
10
19
|
getCacheIndex(orderbook: any, deltas: any): any;
|
|
20
|
+
/**
|
|
21
|
+
* @method
|
|
22
|
+
* @name bitstamp#watchTrades
|
|
23
|
+
* @description get the list of most recent trades for a particular symbol
|
|
24
|
+
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
25
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
26
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
27
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
28
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
29
|
+
*/
|
|
11
30
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
12
31
|
parseWsTrade(trade: any, market?: any): Trade;
|
|
13
32
|
handleTrade(client: Client, message: any): void;
|
|
33
|
+
/**
|
|
34
|
+
* @method
|
|
35
|
+
* @name bitstamp#watchOrders
|
|
36
|
+
* @description watches information on multiple orders made by the user
|
|
37
|
+
* @param {string} symbol unified market symbol of the market orders were made in
|
|
38
|
+
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
39
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
40
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
41
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
42
|
+
*/
|
|
14
43
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
15
44
|
handleOrders(client: Client, message: any): void;
|
|
16
45
|
parseWsOrder(order: any, market?: any): Order;
|
package/js/src/pro/bitstamp.js
CHANGED
|
@@ -45,16 +45,16 @@ export default class bitstamp extends bitstampRest {
|
|
|
45
45
|
},
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* @method
|
|
50
|
+
* @name bitstamp#watchOrderBook
|
|
51
|
+
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
52
|
+
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
53
|
+
* @param {int} [limit] the maximum amount of order book entries to return
|
|
54
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
55
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
56
|
+
*/
|
|
48
57
|
async watchOrderBook(symbol, limit = undefined, params = {}) {
|
|
49
|
-
/**
|
|
50
|
-
* @method
|
|
51
|
-
* @name bitstamp#watchOrderBook
|
|
52
|
-
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
53
|
-
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
54
|
-
* @param {int} [limit] the maximum amount of order book entries to return
|
|
55
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
56
|
-
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
57
|
-
*/
|
|
58
58
|
await this.loadMarkets();
|
|
59
59
|
const market = this.market(symbol);
|
|
60
60
|
symbol = market['symbol'];
|
|
@@ -156,17 +156,17 @@ export default class bitstamp extends bitstampRest {
|
|
|
156
156
|
}
|
|
157
157
|
return deltas.length;
|
|
158
158
|
}
|
|
159
|
+
/**
|
|
160
|
+
* @method
|
|
161
|
+
* @name bitstamp#watchTrades
|
|
162
|
+
* @description get the list of most recent trades for a particular symbol
|
|
163
|
+
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
164
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
165
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
166
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
167
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
168
|
+
*/
|
|
159
169
|
async watchTrades(symbol, since = undefined, limit = undefined, params = {}) {
|
|
160
|
-
/**
|
|
161
|
-
* @method
|
|
162
|
-
* @name bitstamp#watchTrades
|
|
163
|
-
* @description get the list of most recent trades for a particular symbol
|
|
164
|
-
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
165
|
-
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
166
|
-
* @param {int} [limit] the maximum amount of trades to fetch
|
|
167
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
168
|
-
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
169
|
-
*/
|
|
170
170
|
await this.loadMarkets();
|
|
171
171
|
const market = this.market(symbol);
|
|
172
172
|
symbol = market['symbol'];
|
|
@@ -263,17 +263,17 @@ export default class bitstamp extends bitstampRest {
|
|
|
263
263
|
tradesArray.append(trade);
|
|
264
264
|
client.resolve(tradesArray, messageHash);
|
|
265
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* @method
|
|
268
|
+
* @name bitstamp#watchOrders
|
|
269
|
+
* @description watches information on multiple orders made by the user
|
|
270
|
+
* @param {string} symbol unified market symbol of the market orders were made in
|
|
271
|
+
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
272
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
273
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
274
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
275
|
+
*/
|
|
266
276
|
async watchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
|
|
267
|
-
/**
|
|
268
|
-
* @method
|
|
269
|
-
* @name bitstamp#watchOrders
|
|
270
|
-
* @description watches information on multiple orders made by the user
|
|
271
|
-
* @param {string} symbol unified market symbol of the market orders were made in
|
|
272
|
-
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
273
|
-
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
274
|
-
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
275
|
-
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
276
|
-
*/
|
|
277
277
|
if (symbol === undefined) {
|
|
278
278
|
throw new ArgumentsRequired(this.id + ' watchOrders() requires a symbol argument');
|
|
279
279
|
}
|
package/js/src/pro/bitvavo.d.ts
CHANGED
|
@@ -5,17 +5,74 @@ export default class bitvavo extends bitvavoRest {
|
|
|
5
5
|
describe(): any;
|
|
6
6
|
watchPublic(name: any, symbol: any, params?: {}): Promise<any>;
|
|
7
7
|
watchPublicMultiple(methodName: any, channelName: string, symbols: any, params?: {}): Promise<any>;
|
|
8
|
+
/**
|
|
9
|
+
* @method
|
|
10
|
+
* @name bitvavo#watchTicker
|
|
11
|
+
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
|
|
12
|
+
* @see https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
|
|
13
|
+
* @param {string} symbol unified symbol of the market to fetch the ticker for
|
|
14
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
15
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
16
|
+
*/
|
|
8
17
|
watchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
18
|
+
/**
|
|
19
|
+
* @method
|
|
20
|
+
* @name bitvavo#watchTickers
|
|
21
|
+
* @description watches a price ticker, a statistical calculation with the information calculated over the past 24 hours for all markets of a specific list
|
|
22
|
+
* @see https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
|
|
23
|
+
* @param {string[]} [symbols] unified symbol of the market to fetch the ticker for
|
|
24
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
25
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
26
|
+
*/
|
|
9
27
|
watchTickers(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
10
28
|
handleTicker(client: Client, message: any): void;
|
|
29
|
+
/**
|
|
30
|
+
* @method
|
|
31
|
+
* @name mexc#watchBidsAsks
|
|
32
|
+
* @description watches best bid & ask for symbols
|
|
33
|
+
* @see https://docs.bitvavo.com/#tag/Market-data-subscription-WebSocket/paths/~1subscribeTicker24h/post
|
|
34
|
+
* @param {string[]} symbols unified symbol of the market to fetch the ticker for
|
|
35
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
36
|
+
* @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
|
|
37
|
+
*/
|
|
11
38
|
watchBidsAsks(symbols?: Strings, params?: {}): Promise<Tickers>;
|
|
12
39
|
handleBidAsk(client: Client, message: any): void;
|
|
13
40
|
parseWsBidAsk(ticker: any, market?: any): Ticker;
|
|
41
|
+
/**
|
|
42
|
+
* @method
|
|
43
|
+
* @name bitvavo#watchTrades
|
|
44
|
+
* @description get the list of most recent trades for a particular symbol
|
|
45
|
+
* @param {string} symbol unified symbol of the market to fetch trades for
|
|
46
|
+
* @param {int} [since] timestamp in ms of the earliest trade to fetch
|
|
47
|
+
* @param {int} [limit] the maximum amount of trades to fetch
|
|
48
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
49
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=public-trades}
|
|
50
|
+
*/
|
|
14
51
|
watchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
15
52
|
handleTrade(client: Client, message: any): void;
|
|
53
|
+
/**
|
|
54
|
+
* @method
|
|
55
|
+
* @name bitvavo#watchOHLCV
|
|
56
|
+
* @description watches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
57
|
+
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
58
|
+
* @param {string} timeframe the length of time each candle represents
|
|
59
|
+
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
60
|
+
* @param {int} [limit] the maximum amount of candles to fetch
|
|
61
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
62
|
+
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
63
|
+
*/
|
|
16
64
|
watchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
17
65
|
handleFetchOHLCV(client: Client, message: any): void;
|
|
18
66
|
handleOHLCV(client: Client, message: any): void;
|
|
67
|
+
/**
|
|
68
|
+
* @method
|
|
69
|
+
* @name bitvavo#watchOrderBook
|
|
70
|
+
* @description watches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
|
|
71
|
+
* @param {string} symbol unified symbol of the market to fetch the order book for
|
|
72
|
+
* @param {int} [limit] the maximum amount of order book entries to return
|
|
73
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
74
|
+
* @returns {object} A dictionary of [order book structures]{@link https://docs.ccxt.com/#/?id=order-book-structure} indexed by market symbols
|
|
75
|
+
*/
|
|
19
76
|
watchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
20
77
|
handleDelta(bookside: any, delta: any): void;
|
|
21
78
|
handleDeltas(bookside: any, deltas: any): void;
|
|
@@ -25,37 +82,233 @@ export default class bitvavo extends bitvavoRest {
|
|
|
25
82
|
handleOrderBookSnapshot(client: Client, message: any): void;
|
|
26
83
|
handleOrderBookSubscription(client: Client, message: any, subscription: any): void;
|
|
27
84
|
handleOrderBookSubscriptions(client: Client, message: any, marketIds: any): void;
|
|
85
|
+
/**
|
|
86
|
+
* @method
|
|
87
|
+
* @name bitvavo#watchOrders
|
|
88
|
+
* @description watches information on multiple orders made by the user
|
|
89
|
+
* @param {string} symbol unified market symbol of the market orders were made in
|
|
90
|
+
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
91
|
+
* @param {int} [limit] the maximum number of order structures to retrieve
|
|
92
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
93
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
94
|
+
*/
|
|
28
95
|
watchOrders(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
96
|
+
/**
|
|
97
|
+
* @method
|
|
98
|
+
* @name bitvavo#watchMyTrades
|
|
99
|
+
* @description watches information on multiple trades made by the user
|
|
100
|
+
* @param {string} symbol unified market symbol of the market trades were made in
|
|
101
|
+
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
102
|
+
* @param {int} [limit] the maximum number of trade structures to retrieve
|
|
103
|
+
* @param {object} [params] extra parameters specific to the exchange API endpoint
|
|
104
|
+
* @returns {object[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
105
|
+
*/
|
|
29
106
|
watchMyTrades(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
107
|
+
/**
|
|
108
|
+
* @method
|
|
109
|
+
* @name bitvavo#createOrderWs
|
|
110
|
+
* @description create a trade order
|
|
111
|
+
* @see https://docs.bitvavo.com/#tag/Orders/paths/~1order/post
|
|
112
|
+
* @param {string} symbol unified symbol of the market to create an order in
|
|
113
|
+
* @param {string} type 'market' or 'limit'
|
|
114
|
+
* @param {string} side 'buy' or 'sell'
|
|
115
|
+
* @param {float} amount how much of currency you want to trade in units of base currency
|
|
116
|
+
* @param {float} price the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
117
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
118
|
+
* @param {string} [params.timeInForce] "GTC", "IOC", or "PO"
|
|
119
|
+
* @param {float} [params.stopPrice] The price at which a trigger order is triggered at
|
|
120
|
+
* @param {float} [params.triggerPrice] The price at which a trigger order is triggered at
|
|
121
|
+
* @param {bool} [params.postOnly] If true, the order will only be posted to the order book and not executed immediately
|
|
122
|
+
* @param {float} [params.stopLossPrice] The price at which a stop loss order is triggered at
|
|
123
|
+
* @param {float} [params.takeProfitPrice] The price at which a take profit order is triggered at
|
|
124
|
+
* @param {string} [params.triggerType] "price"
|
|
125
|
+
* @param {string} [params.triggerReference] "lastTrade", "bestBid", "bestAsk", "midPrice" Only for stop orders: Use this to determine which parameter will trigger the order
|
|
126
|
+
* @param {string} [params.selfTradePrevention] "decrementAndCancel", "cancelOldest", "cancelNewest", "cancelBoth"
|
|
127
|
+
* @param {bool} [params.disableMarketProtection] don't cancel if the next fill price is 10% worse than the best fill price
|
|
128
|
+
* @param {bool} [params.responseRequired] Set this to 'false' when only an acknowledgement of success or failure is required, this is faster.
|
|
129
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
130
|
+
*/
|
|
30
131
|
createOrderWs(symbol: string, type: OrderType, side: OrderSide, amount: number, price?: Num, params?: {}): Promise<Order>;
|
|
132
|
+
/**
|
|
133
|
+
* @method
|
|
134
|
+
* @name bitvavo#editOrderWs
|
|
135
|
+
* @description edit a trade order
|
|
136
|
+
* @see https://docs.bitvavo.com/#tag/Orders/paths/~1order/put
|
|
137
|
+
* @param {string} id cancel order id
|
|
138
|
+
* @param {string} symbol unified symbol of the market to create an order in
|
|
139
|
+
* @param {string} type 'market' or 'limit'
|
|
140
|
+
* @param {string} side 'buy' or 'sell'
|
|
141
|
+
* @param {float} [amount] how much of currency you want to trade in units of base currency
|
|
142
|
+
* @param {float} [price] the price at which the order is to be fulfilled, in units of the quote currency, ignored in market orders
|
|
143
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
144
|
+
* @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
145
|
+
*/
|
|
31
146
|
editOrderWs(id: string, symbol: string, type: OrderType, side: OrderSide, amount?: Num, price?: Num, params?: {}): Promise<Order>;
|
|
147
|
+
/**
|
|
148
|
+
* @method
|
|
149
|
+
* @name bitvavo#cancelOrderWs
|
|
150
|
+
* @see https://docs.bitvavo.com/#tag/Orders/paths/~1order/delete
|
|
151
|
+
* @description cancels an open order
|
|
152
|
+
* @param {string} id order id
|
|
153
|
+
* @param {string} symbol unified symbol of the market the order was made in
|
|
154
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
155
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
156
|
+
*/
|
|
32
157
|
cancelOrderWs(id: string, symbol?: Str, params?: {}): Promise<any>;
|
|
158
|
+
/**
|
|
159
|
+
* @method
|
|
160
|
+
* @name bitvavo#cancelAllOrdersWs
|
|
161
|
+
* @see https://docs.bitvavo.com/#tag/Orders/paths/~1orders/delete
|
|
162
|
+
* @description cancel all open orders
|
|
163
|
+
* @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
|
|
164
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
165
|
+
* @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
166
|
+
*/
|
|
33
167
|
cancelAllOrdersWs(symbol?: Str, params?: {}): Promise<any>;
|
|
34
168
|
handleMultipleOrders(client: Client, message: any): void;
|
|
169
|
+
/**
|
|
170
|
+
* @method
|
|
171
|
+
* @name bitvavo#fetchOrderWs
|
|
172
|
+
* @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
|
173
|
+
* @description fetches information on an order made by the user
|
|
174
|
+
* @param {string} id the order id
|
|
175
|
+
* @param {string} symbol unified symbol of the market the order was made in
|
|
176
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
177
|
+
* @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
178
|
+
*/
|
|
35
179
|
fetchOrderWs(id: string, symbol?: Str, params?: {}): Promise<Order>;
|
|
180
|
+
/**
|
|
181
|
+
* @method
|
|
182
|
+
* @name bitvavo#fetchOrdersWs
|
|
183
|
+
* @see https://docs.bitvavo.com/#tag/Orders/paths/~1orders/get
|
|
184
|
+
* @description fetches information on multiple orders made by the user
|
|
185
|
+
* @param {string} symbol unified market symbol of the market orders were made in
|
|
186
|
+
* @param {int} [since] the earliest time in ms to fetch orders for
|
|
187
|
+
* @param {int} [limit] the maximum number of orde structures to retrieve
|
|
188
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
189
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
190
|
+
*/
|
|
36
191
|
fetchOrdersWs(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
192
|
+
requestId(): number;
|
|
37
193
|
watchRequest(action: any, request: any): Promise<any>;
|
|
194
|
+
/**
|
|
195
|
+
* @method
|
|
196
|
+
* @name bitvavo#fetchOpenOrdersWs
|
|
197
|
+
* @description fetch all unfilled currently open orders
|
|
198
|
+
* @param {string} symbol unified market symbol
|
|
199
|
+
* @param {int} [since] the earliest time in ms to fetch open orders for
|
|
200
|
+
* @param {int} [limit] the maximum number of open orders structures to retrieve
|
|
201
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
202
|
+
* @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
|
|
203
|
+
*/
|
|
38
204
|
fetchOpenOrdersWs(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
205
|
+
/**
|
|
206
|
+
* @method
|
|
207
|
+
* @name bitvavo#fetchMyTradesWs
|
|
208
|
+
* @see https://docs.bitvavo.com/#tag/Trades
|
|
209
|
+
* @description fetch all trades made by the user
|
|
210
|
+
* @param {string} symbol unified market symbol
|
|
211
|
+
* @param {int} [since] the earliest time in ms to fetch trades for
|
|
212
|
+
* @param {int} [limit] the maximum number of trades structures to retrieve
|
|
213
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
214
|
+
* @returns {Trade[]} a list of [trade structures]{@link https://docs.ccxt.com/#/?id=trade-structure}
|
|
215
|
+
*/
|
|
39
216
|
fetchMyTradesWs(symbol?: Str, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
40
217
|
handleMyTrades(client: Client, message: any): void;
|
|
218
|
+
/**
|
|
219
|
+
* @method
|
|
220
|
+
* @name bitvavo#withdrawWs
|
|
221
|
+
* @description make a withdrawal
|
|
222
|
+
* @param {string} code unified currency code
|
|
223
|
+
* @param {float} amount the amount to withdraw
|
|
224
|
+
* @param {string} address the address to withdraw to
|
|
225
|
+
* @param {string} tag
|
|
226
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
227
|
+
* @returns {object} a [transaction structure]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
228
|
+
*/
|
|
41
229
|
withdrawWs(code: string, amount: any, address: any, tag?: any, params?: {}): Promise<any>;
|
|
42
230
|
handleWithdraw(client: Client, message: any): void;
|
|
231
|
+
/**
|
|
232
|
+
* @method
|
|
233
|
+
* @name bitvavo#fetchWithdrawalsWs
|
|
234
|
+
* @see https://docs.bitvavo.com/#tag/Account/paths/~1withdrawalHistory/get
|
|
235
|
+
* @description fetch all withdrawals made from an account
|
|
236
|
+
* @param {string} code unified currency code
|
|
237
|
+
* @param {int} [since] the earliest time in ms to fetch withdrawals for
|
|
238
|
+
* @param {int} [limit] the maximum number of withdrawals structures to retrieve
|
|
239
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
240
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
241
|
+
*/
|
|
43
242
|
fetchWithdrawalsWs(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<any>;
|
|
44
243
|
handleWithdraws(client: Client, message: any): void;
|
|
244
|
+
/**
|
|
245
|
+
* @method
|
|
246
|
+
* @name bitvavo#fetchOHLCVWs
|
|
247
|
+
* @see https://docs.bitvavo.com/#tag/Market-Data/paths/~1{market}~1candles/get
|
|
248
|
+
* @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
|
|
249
|
+
* @param {string} symbol unified symbol of the market to fetch OHLCV data for
|
|
250
|
+
* @param {string} timeframe the length of time each candle represents
|
|
251
|
+
* @param {int} [since] timestamp in ms of the earliest candle to fetch
|
|
252
|
+
* @param {int} [limit] the maximum amount of candles to fetch
|
|
253
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
254
|
+
* @returns {int[][]} A list of candles ordered as timestamp, open, high, low, close, volume
|
|
255
|
+
*/
|
|
45
256
|
fetchOHLCVWs(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
257
|
+
/**
|
|
258
|
+
* @method
|
|
259
|
+
* @name bitvavo#fetchDepositsWs
|
|
260
|
+
* @see https://docs.bitvavo.com/#tag/Account/paths/~1depositHistory/get
|
|
261
|
+
* @description fetch all deposits made to an account
|
|
262
|
+
* @param {string} code unified currency code
|
|
263
|
+
* @param {int} [since] the earliest time in ms to fetch deposits for
|
|
264
|
+
* @param {int} [limit] the maximum number of deposits structures to retrieve
|
|
265
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
266
|
+
* @returns {object[]} a list of [transaction structures]{@link https://docs.ccxt.com/#/?id=transaction-structure}
|
|
267
|
+
*/
|
|
46
268
|
fetchDepositsWs(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<any>;
|
|
47
269
|
handleDeposits(client: Client, message: any): void;
|
|
270
|
+
/**
|
|
271
|
+
* @method
|
|
272
|
+
* @name bitvavo#fetchTradingFeesWs
|
|
273
|
+
* @see https://docs.bitvavo.com/#tag/Account/paths/~1account/get
|
|
274
|
+
* @description fetch the trading fees for multiple markets
|
|
275
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
276
|
+
* @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
|
|
277
|
+
*/
|
|
48
278
|
fetchTradingFeesWs(params?: {}): Promise<TradingFees>;
|
|
279
|
+
/**
|
|
280
|
+
* @method
|
|
281
|
+
* @name bitvavo#fetchMarketsWs
|
|
282
|
+
* @see https://docs.bitvavo.com/#tag/General/paths/~1markets/get
|
|
283
|
+
* @description retrieves data on all markets for bitvavo
|
|
284
|
+
* @param {object} [params] extra parameters specific to the exchange api endpoint
|
|
285
|
+
* @returns {object[]} an array of objects representing market data
|
|
286
|
+
*/
|
|
49
287
|
fetchMarketsWs(params?: {}): Promise<any>;
|
|
288
|
+
/**
|
|
289
|
+
* @method
|
|
290
|
+
* @name bitvavo#fetchCurrenciesWs
|
|
291
|
+
* @see https://docs.bitvavo.com/#tag/General/paths/~1assets/get
|
|
292
|
+
* @description fetches all available currencies on an exchange
|
|
293
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
294
|
+
* @returns {object} an associative dictionary of currencies
|
|
295
|
+
*/
|
|
50
296
|
fetchCurrenciesWs(params?: {}): Promise<any>;
|
|
51
297
|
handleFetchCurrencies(client: Client, message: any): void;
|
|
52
298
|
handleTradingFees(client: any, message: any): void;
|
|
299
|
+
/**
|
|
300
|
+
* @method
|
|
301
|
+
* @name bitvavo#fetchBalanceWs
|
|
302
|
+
* @see https://docs.bitvavo.com/#tag/Account/paths/~1balance/get
|
|
303
|
+
* @description query for balance and get the amount of funds available for trading or funds locked in orders
|
|
304
|
+
* @param {object} [params] extra parameters specific to the bitvavo api endpoint
|
|
305
|
+
* @returns {object} a [balance structure]{@link https://docs.ccxt.com/en/latest/manual.html?#balance-structure}
|
|
306
|
+
*/
|
|
53
307
|
fetchBalanceWs(params?: {}): Promise<Balances>;
|
|
54
308
|
handleFetchBalance(client: Client, message: any): void;
|
|
55
309
|
handleSingleOrder(client: Client, message: any): void;
|
|
56
310
|
handleMarkets(client: Client, message: any): void;
|
|
57
311
|
buildMessageHash(action: any, params?: {}): any;
|
|
58
|
-
checkMessageHashDoesNotExist(messageHash: any): void;
|
|
59
312
|
actionAndMarketMessageHash(action: any, params?: {}): string;
|
|
60
313
|
actionAndOrderIdMessageHash(action: any, params?: {}): string;
|
|
61
314
|
handleOrder(client: Client, message: any): void;
|