ccxt 4.1.43 → 4.1.44
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 +3 -3
- package/change.sh +2 -4
- package/dist/ccxt.browser.js +12101 -12298
- package/dist/ccxt.browser.min.js +3 -3
- package/dist/cjs/ccxt.js +1 -1
- package/dist/cjs/src/ace.js +3 -3
- package/dist/cjs/src/ascendex.js +64 -64
- package/dist/cjs/src/bigone.js +107 -107
- package/dist/cjs/src/binance.js +258 -257
- package/dist/cjs/src/bingx.js +117 -117
- package/dist/cjs/src/bit2c.js +4 -4
- package/dist/cjs/src/bitbank.js +19 -19
- package/dist/cjs/src/bitfinex.js +72 -72
- package/dist/cjs/src/bitfinex2.js +59 -59
- package/dist/cjs/src/bitget.js +355 -355
- package/dist/cjs/src/bithumb.js +35 -35
- package/dist/cjs/src/bitmart.js +37 -37
- package/dist/cjs/src/bitmex.js +111 -111
- package/dist/cjs/src/bitopro.js +12 -12
- package/dist/cjs/src/bitpanda.js +8 -8
- package/dist/cjs/src/bitrue.js +17 -17
- package/dist/cjs/src/bitso.js +212 -212
- package/dist/cjs/src/bitstamp.js +95 -95
- package/dist/cjs/src/bittrex.js +28 -28
- package/dist/cjs/src/bitvavo.js +34 -33
- package/dist/cjs/src/bl3p.js +18 -18
- package/dist/cjs/src/blockchaincom.js +24 -24
- package/dist/cjs/src/btcalpha.js +27 -27
- package/dist/cjs/src/btcturk.js +6 -6
- package/dist/cjs/src/bybit.js +46 -247
- package/dist/cjs/src/cex.js +105 -105
- package/dist/cjs/src/coinbase.js +179 -179
- package/dist/cjs/src/coinbasepro.js +113 -113
- package/dist/cjs/src/coincheck.js +21 -21
- package/dist/cjs/src/coinex.js +19 -19
- package/dist/cjs/src/coinfalcon.js +53 -53
- package/dist/cjs/src/coinlist.js +150 -150
- package/dist/cjs/src/coinmate.js +67 -67
- package/dist/cjs/src/coinone.js +9 -9
- package/dist/cjs/src/coinsph.js +108 -108
- package/dist/cjs/src/coinspot.js +28 -28
- package/dist/cjs/src/cryptocom.js +32 -32
- package/dist/cjs/src/currencycom.js +52 -52
- package/dist/cjs/src/delta.js +3 -3
- package/dist/cjs/src/deribit.js +285 -284
- package/dist/cjs/src/exmo.js +41 -41
- package/dist/cjs/src/gate.js +174 -174
- package/dist/cjs/src/gemini.js +4 -4
- package/dist/cjs/src/hitbtc.js +26 -27
- package/dist/cjs/src/hollaex.js +78 -78
- package/dist/cjs/src/huobi.js +267 -267
- package/dist/cjs/src/huobijp.js +125 -125
- package/dist/cjs/src/idex.js +202 -202
- package/dist/cjs/src/kraken.js +161 -161
- package/dist/cjs/src/krakenfutures.js +223 -223
- package/dist/cjs/src/kucoin.js +122 -122
- package/dist/cjs/src/kucoinfutures.js +128 -128
- package/dist/cjs/src/kuna.js +23 -24
- package/dist/cjs/src/latoken.js +70 -70
- package/dist/cjs/src/lbank.js +6 -6
- package/dist/cjs/src/lbank2.js +35 -35
- package/dist/cjs/src/luno.js +5 -5
- package/dist/cjs/src/lykke.js +4 -4
- package/dist/cjs/src/mercado.js +17 -17
- package/dist/cjs/src/mexc.js +172 -172
- package/dist/cjs/src/ndax.js +9 -8
- package/dist/cjs/src/oceanex.js +9 -9
- package/dist/cjs/src/okcoin.js +65 -65
- package/dist/cjs/src/okx.js +67 -67
- package/dist/cjs/src/phemex.js +110 -110
- package/dist/cjs/src/poloniex.js +43 -43
- package/dist/cjs/src/poloniexfutures.js +96 -96
- package/dist/cjs/src/pro/alpaca.js +174 -174
- package/dist/cjs/src/pro/ascendex.js +151 -151
- package/dist/cjs/src/pro/binance.js +278 -278
- package/dist/cjs/src/pro/bingx.js +136 -136
- package/dist/cjs/src/pro/bitfinex.js +38 -38
- package/dist/cjs/src/pro/bitfinex2.js +57 -57
- package/dist/cjs/src/pro/bitget.js +227 -227
- package/dist/cjs/src/pro/bitmart.js +98 -98
- package/dist/cjs/src/pro/bitmex.js +584 -584
- package/dist/cjs/src/pro/bitopro.js +49 -49
- package/dist/cjs/src/pro/bitpanda.js +249 -249
- package/dist/cjs/src/pro/bitrue.js +79 -79
- package/dist/cjs/src/pro/bitstamp.js +59 -59
- package/dist/cjs/src/pro/bittrex.js +107 -107
- package/dist/cjs/src/pro/bitvavo.js +115 -115
- package/dist/cjs/src/pro/blockchaincom.js +169 -169
- package/dist/cjs/src/pro/bybit.js +57 -57
- package/dist/cjs/src/pro/cex.js +199 -199
- package/dist/cjs/src/pro/coinbase.js +4 -4
- package/dist/cjs/src/pro/coinbasepro.js +95 -95
- package/dist/cjs/src/pro/coinex.js +232 -232
- package/dist/cjs/src/pro/cryptocom.js +32 -32
- package/dist/cjs/src/pro/currencycom.js +108 -108
- package/dist/cjs/src/pro/deribit.js +140 -140
- package/dist/cjs/src/pro/exmo.js +72 -72
- package/dist/cjs/src/pro/gate.js +160 -160
- package/dist/cjs/src/pro/gemini.js +135 -135
- package/dist/cjs/src/pro/hitbtc.js +10 -10
- package/dist/cjs/src/pro/hollaex.js +88 -88
- package/dist/cjs/src/pro/huobi.js +277 -277
- package/dist/cjs/src/pro/huobijp.js +71 -71
- package/dist/cjs/src/pro/idex.js +58 -58
- package/dist/cjs/src/pro/independentreserve.js +29 -29
- package/dist/cjs/src/pro/kraken.js +113 -113
- package/dist/cjs/src/pro/krakenfutures.js +58 -58
- package/dist/cjs/src/pro/kucoin.js +95 -95
- package/dist/cjs/src/pro/kucoinfutures.js +100 -100
- package/dist/cjs/src/pro/luno.js +42 -42
- package/dist/cjs/src/pro/mexc.js +98 -98
- package/dist/cjs/src/pro/ndax.js +24 -24
- package/dist/cjs/src/pro/okcoin.js +104 -104
- package/dist/cjs/src/pro/okx.js +161 -161
- package/dist/cjs/src/pro/phemex.js +295 -295
- package/dist/cjs/src/pro/poloniex.js +79 -79
- package/dist/cjs/src/pro/poloniexfutures.js +172 -172
- package/dist/cjs/src/pro/probit.js +87 -87
- package/dist/cjs/src/pro/upbit.js +66 -66
- package/dist/cjs/src/pro/wazirx.js +11 -11
- package/dist/cjs/src/pro/whitebit.js +77 -77
- package/dist/cjs/src/pro/woo.js +78 -78
- package/dist/cjs/src/probit.js +43 -43
- package/dist/cjs/src/tidex.js +9 -9
- package/dist/cjs/src/tokocrypto.js +57 -57
- package/dist/cjs/src/upbit.js +157 -157
- package/dist/cjs/src/wavesexchange.js +125 -125
- package/dist/cjs/src/whitebit.js +63 -63
- package/dist/cjs/src/woo.js +244 -243
- package/dist/cjs/src/yobit.js +9 -9
- package/dist/cjs/src/zonda.js +103 -103
- package/js/ccxt.d.ts +1 -1
- package/js/ccxt.js +1 -1
- package/js/src/abstract/bybit.d.ts +13 -195
- package/js/src/ace.d.ts +9 -9
- package/js/src/ace.js +3 -3
- package/js/src/alpaca.d.ts +3 -3
- package/js/src/ascendex.d.ts +11 -35
- package/js/src/ascendex.js +64 -64
- package/js/src/base/types.d.ts +8 -0
- package/js/src/bigone.d.ts +11 -49
- package/js/src/bigone.js +107 -107
- package/js/src/binance.d.ts +8 -65
- package/js/src/binance.js +258 -257
- package/js/src/bingx.d.ts +10 -34
- package/js/src/bingx.js +117 -117
- package/js/src/bit2c.d.ts +8 -8
- package/js/src/bit2c.js +4 -4
- package/js/src/bitbank.d.ts +10 -50
- package/js/src/bitbank.js +19 -19
- package/js/src/bitbns.d.ts +9 -29
- package/js/src/bitfinex.d.ts +9 -57
- package/js/src/bitfinex.js +72 -72
- package/js/src/bitfinex2.d.ts +5 -29
- package/js/src/bitfinex2.js +59 -59
- package/js/src/bitflyer.d.ts +10 -50
- package/js/src/bitforex.d.ts +8 -8
- package/js/src/bitget.d.ts +7 -27
- package/js/src/bitget.js +355 -355
- package/js/src/bithumb.d.ts +10 -50
- package/js/src/bithumb.js +35 -35
- package/js/src/bitmart.d.ts +11 -68
- package/js/src/bitmart.js +37 -37
- package/js/src/bitmex.d.ts +8 -56
- package/js/src/bitmex.js +111 -111
- package/js/src/bitopro.d.ts +12 -84
- package/js/src/bitopro.js +12 -12
- package/js/src/bitpanda.d.ts +12 -50
- package/js/src/bitpanda.js +8 -8
- package/js/src/bitrue.d.ts +12 -52
- package/js/src/bitrue.js +17 -17
- package/js/src/bitso.d.ts +12 -72
- package/js/src/bitso.js +212 -212
- package/js/src/bitstamp.d.ts +13 -65
- package/js/src/bitstamp.js +95 -95
- package/js/src/bitstamp1.d.ts +8 -8
- package/js/src/bittrex.d.ts +13 -57
- package/js/src/bittrex.js +28 -28
- package/js/src/bitvavo.d.ts +8 -44
- package/js/src/bitvavo.js +34 -33
- package/js/src/bl3p.d.ts +7 -7
- package/js/src/bl3p.js +18 -18
- package/js/src/blockchaincom.d.ts +10 -90
- package/js/src/blockchaincom.js +24 -24
- package/js/src/btcalpha.d.ts +10 -30
- package/js/src/btcalpha.js +27 -27
- package/js/src/btcbox.d.ts +7 -7
- package/js/src/btcmarkets.d.ts +11 -59
- package/js/src/btctradeua.d.ts +7 -7
- package/js/src/btcturk.d.ts +6 -6
- package/js/src/btcturk.js +6 -6
- package/js/src/bybit.d.ts +8 -46
- package/js/src/bybit.js +46 -247
- package/js/src/cex.d.ts +8 -8
- package/js/src/cex.js +105 -105
- package/js/src/coinbase.d.ts +9 -9
- package/js/src/coinbase.js +179 -179
- package/js/src/coinbasepro.d.ts +8 -56
- package/js/src/coinbasepro.js +113 -113
- package/js/src/coincheck.d.ts +9 -29
- package/js/src/coincheck.js +21 -21
- package/js/src/coinex.d.ts +9 -53
- package/js/src/coinex.js +19 -19
- package/js/src/coinfalcon.d.ts +8 -52
- package/js/src/coinfalcon.js +53 -53
- package/js/src/coinlist.d.ts +12 -50
- package/js/src/coinlist.js +150 -150
- package/js/src/coinmate.d.ts +8 -56
- package/js/src/coinmate.js +67 -67
- package/js/src/coinone.d.ts +9 -9
- package/js/src/coinone.js +9 -9
- package/js/src/coinsph.d.ts +13 -73
- package/js/src/coinsph.js +108 -108
- package/js/src/coinspot.d.ts +9 -9
- package/js/src/coinspot.js +28 -28
- package/js/src/cryptocom.d.ts +5 -45
- package/js/src/cryptocom.js +32 -32
- package/js/src/currencycom.d.ts +8 -32
- package/js/src/currencycom.js +52 -52
- package/js/src/delta.d.ts +9 -9
- package/js/src/delta.js +3 -3
- package/js/src/deribit.d.ts +12 -48
- package/js/src/deribit.js +285 -284
- package/js/src/digifinex.d.ts +11 -49
- package/js/src/exmo.d.ts +10 -106
- package/js/src/exmo.js +41 -41
- package/js/src/gate.d.ts +6 -50
- package/js/src/gate.js +174 -174
- package/js/src/gemini.d.ts +8 -46
- package/js/src/gemini.js +4 -4
- package/js/src/hitbtc.d.ts +5 -55
- package/js/src/hitbtc.js +26 -27
- package/js/src/hollaex.d.ts +13 -70
- package/js/src/hollaex.js +78 -78
- package/js/src/huobi.d.ts +6 -52
- package/js/src/huobi.js +267 -267
- package/js/src/huobijp.d.ts +8 -54
- package/js/src/huobijp.js +125 -125
- package/js/src/idex.d.ts +13 -89
- package/js/src/idex.js +202 -202
- package/js/src/independentreserve.d.ts +8 -8
- package/js/src/indodax.d.ts +10 -50
- package/js/src/kraken.d.ts +8 -52
- package/js/src/kraken.js +161 -161
- package/js/src/krakenfutures.d.ts +5 -5
- package/js/src/krakenfutures.js +223 -223
- package/js/src/kucoin.d.ts +6 -46
- package/js/src/kucoin.js +122 -122
- package/js/src/kucoinfutures.d.ts +5 -5
- package/js/src/kucoinfutures.js +128 -128
- package/js/src/kuna.d.ts +13 -105
- package/js/src/kuna.js +24 -24
- package/js/src/latoken.d.ts +8 -32
- package/js/src/latoken.js +70 -70
- package/js/src/lbank.d.ts +10 -64
- package/js/src/lbank.js +6 -6
- package/js/src/lbank2.d.ts +7 -28
- package/js/src/lbank2.js +35 -35
- package/js/src/luno.d.ts +9 -9
- package/js/src/luno.js +5 -5
- package/js/src/lykke.d.ts +11 -49
- package/js/src/lykke.js +4 -4
- package/js/src/mercado.d.ts +7 -47
- package/js/src/mercado.js +17 -17
- package/js/src/mexc.d.ts +11 -49
- package/js/src/mexc.js +172 -172
- package/js/src/ndax.d.ts +11 -47
- package/js/src/ndax.js +9 -8
- package/js/src/novadax.d.ts +12 -60
- package/js/src/oceanex.d.ts +5 -5
- package/js/src/oceanex.js +9 -9
- package/js/src/okcoin.d.ts +10 -54
- package/js/src/okcoin.js +65 -65
- package/js/src/okx.d.ts +9 -97
- package/js/src/okx.js +67 -67
- package/js/src/paymium.d.ts +7 -7
- package/js/src/phemex.d.ts +8 -27
- package/js/src/phemex.js +110 -110
- package/js/src/poloniex.d.ts +8 -56
- package/js/src/poloniex.js +43 -43
- package/js/src/poloniexfutures.d.ts +9 -9
- package/js/src/poloniexfutures.js +96 -96
- package/js/src/pro/alpaca.d.ts +2 -2
- package/js/src/pro/alpaca.js +174 -174
- package/js/src/pro/ascendex.js +151 -151
- package/js/src/pro/binance.d.ts +2 -19
- package/js/src/pro/binance.js +278 -278
- package/js/src/pro/bingx.js +136 -136
- package/js/src/pro/bitfinex.d.ts +2 -2
- package/js/src/pro/bitfinex.js +38 -38
- package/js/src/pro/bitfinex2.js +57 -57
- package/js/src/pro/bitget.js +227 -227
- package/js/src/pro/bitmart.js +98 -98
- package/js/src/pro/bitmex.js +584 -584
- package/js/src/pro/bitopro.js +49 -49
- package/js/src/pro/bitpanda.js +249 -249
- package/js/src/pro/bitrue.js +79 -79
- package/js/src/pro/bitstamp.js +59 -59
- package/js/src/pro/bittrex.js +107 -107
- package/js/src/pro/bitvavo.js +115 -115
- package/js/src/pro/blockchaincom.js +169 -169
- package/js/src/pro/bybit.js +57 -57
- package/js/src/pro/cex.js +199 -199
- package/js/src/pro/coinbase.js +4 -4
- package/js/src/pro/coinbasepro.d.ts +2 -2
- package/js/src/pro/coinbasepro.js +95 -95
- package/js/src/pro/coinex.js +232 -232
- package/js/src/pro/cryptocom.js +32 -32
- package/js/src/pro/currencycom.js +108 -108
- package/js/src/pro/deribit.js +140 -140
- package/js/src/pro/exmo.js +72 -72
- package/js/src/pro/gate.js +160 -160
- package/js/src/pro/gemini.js +135 -135
- package/js/src/pro/hitbtc.js +10 -10
- package/js/src/pro/hollaex.js +88 -88
- package/js/src/pro/huobi.js +277 -277
- package/js/src/pro/huobijp.js +71 -71
- package/js/src/pro/idex.js +58 -58
- package/js/src/pro/independentreserve.js +29 -29
- package/js/src/pro/kraken.js +113 -113
- package/js/src/pro/krakenfutures.js +58 -58
- package/js/src/pro/kucoin.js +95 -95
- package/js/src/pro/kucoinfutures.js +100 -100
- package/js/src/pro/luno.d.ts +2 -2
- package/js/src/pro/luno.js +42 -42
- package/js/src/pro/mexc.js +98 -98
- package/js/src/pro/ndax.js +24 -24
- package/js/src/pro/okcoin.js +104 -104
- package/js/src/pro/okx.js +161 -161
- package/js/src/pro/phemex.js +295 -295
- package/js/src/pro/poloniex.js +79 -79
- package/js/src/pro/poloniexfutures.js +172 -172
- package/js/src/pro/probit.js +87 -87
- package/js/src/pro/upbit.js +66 -66
- package/js/src/pro/wazirx.js +11 -11
- package/js/src/pro/whitebit.js +77 -77
- package/js/src/pro/woo.js +78 -78
- package/js/src/probit.d.ts +11 -49
- package/js/src/probit.js +43 -43
- package/js/src/tidex.d.ts +8 -62
- package/js/src/tidex.js +9 -9
- package/js/src/timex.d.ts +10 -43
- package/js/src/tokocrypto.d.ts +10 -60
- package/js/src/tokocrypto.js +57 -57
- package/js/src/upbit.d.ts +7 -51
- package/js/src/upbit.js +157 -157
- package/js/src/wavesexchange.d.ts +9 -49
- package/js/src/wavesexchange.js +125 -125
- package/js/src/wazirx.d.ts +8 -8
- package/js/src/whitebit.d.ts +8 -54
- package/js/src/whitebit.js +63 -63
- package/js/src/woo.d.ts +9 -47
- package/js/src/woo.js +244 -243
- package/js/src/yobit.d.ts +3 -3
- package/js/src/yobit.js +9 -9
- package/js/src/zaif.d.ts +9 -49
- package/js/src/zonda.d.ts +8 -48
- package/js/src/zonda.js +103 -103
- package/package.json +2 -1
package/js/src/probit.js
CHANGED
|
@@ -540,7 +540,7 @@ export default class probit extends Exchange {
|
|
|
540
540
|
const response = await this.privateGetBalance(params);
|
|
541
541
|
//
|
|
542
542
|
// {
|
|
543
|
-
// data: [
|
|
543
|
+
// "data": [
|
|
544
544
|
// {
|
|
545
545
|
// "currency_id":"XRP",
|
|
546
546
|
// "total":"100",
|
|
@@ -733,7 +733,7 @@ export default class probit extends Exchange {
|
|
|
733
733
|
const response = await this.privateGetTradeHistory(this.extend(request, params));
|
|
734
734
|
//
|
|
735
735
|
// {
|
|
736
|
-
// data: [
|
|
736
|
+
// "data": [
|
|
737
737
|
// {
|
|
738
738
|
// "id":"BTC-USDT:183566",
|
|
739
739
|
// "order_id":"17209376",
|
|
@@ -1118,17 +1118,17 @@ export default class probit extends Exchange {
|
|
|
1118
1118
|
// id,
|
|
1119
1119
|
// user_id,
|
|
1120
1120
|
// market_id,
|
|
1121
|
-
// type:
|
|
1122
|
-
// side:
|
|
1121
|
+
// "type": "orderType",
|
|
1122
|
+
// "side": "side",
|
|
1123
1123
|
// quantity,
|
|
1124
1124
|
// limit_price,
|
|
1125
|
-
// time_in_force:
|
|
1125
|
+
// "time_in_force": "timeInForce",
|
|
1126
1126
|
// filled_cost,
|
|
1127
1127
|
// filled_quantity,
|
|
1128
1128
|
// open_quantity,
|
|
1129
1129
|
// cancelled_quantity,
|
|
1130
|
-
// status:
|
|
1131
|
-
// time:
|
|
1130
|
+
// "status": "orderStatus",
|
|
1131
|
+
// "time": "date",
|
|
1132
1132
|
// client_order_id,
|
|
1133
1133
|
// }
|
|
1134
1134
|
//
|
|
@@ -1245,21 +1245,21 @@ export default class probit extends Exchange {
|
|
|
1245
1245
|
const response = await this.privatePostNewOrder(this.extend(request, query));
|
|
1246
1246
|
//
|
|
1247
1247
|
// {
|
|
1248
|
-
// data: {
|
|
1248
|
+
// "data": {
|
|
1249
1249
|
// id,
|
|
1250
1250
|
// user_id,
|
|
1251
1251
|
// market_id,
|
|
1252
|
-
// type:
|
|
1253
|
-
// side:
|
|
1252
|
+
// "type": "orderType",
|
|
1253
|
+
// "side": "side",
|
|
1254
1254
|
// quantity,
|
|
1255
1255
|
// limit_price,
|
|
1256
|
-
// time_in_force:
|
|
1256
|
+
// "time_in_force": "timeInForce",
|
|
1257
1257
|
// filled_cost,
|
|
1258
1258
|
// filled_quantity,
|
|
1259
1259
|
// open_quantity,
|
|
1260
1260
|
// cancelled_quantity,
|
|
1261
|
-
// status:
|
|
1262
|
-
// time:
|
|
1261
|
+
// "status": "orderStatus",
|
|
1262
|
+
// "time": "date",
|
|
1263
1263
|
// client_order_id,
|
|
1264
1264
|
// }
|
|
1265
1265
|
// }
|
|
@@ -1691,36 +1691,36 @@ export default class probit extends Exchange {
|
|
|
1691
1691
|
parseDepositWithdrawFee(fee, currency = undefined) {
|
|
1692
1692
|
//
|
|
1693
1693
|
// {
|
|
1694
|
-
// id:
|
|
1695
|
-
// display_name: {
|
|
1696
|
-
// show_in_ui: true,
|
|
1697
|
-
// platform: [
|
|
1694
|
+
// "id": "USDT",
|
|
1695
|
+
// "display_name": { "ko-kr": '테더', "en-us": "Tether" },
|
|
1696
|
+
// "show_in_ui": true,
|
|
1697
|
+
// "platform": [
|
|
1698
1698
|
// {
|
|
1699
|
-
// id:
|
|
1700
|
-
// priority:
|
|
1701
|
-
// deposit: true,
|
|
1702
|
-
// withdrawal: true,
|
|
1703
|
-
// currency_id:
|
|
1704
|
-
// precision:
|
|
1705
|
-
// min_confirmation_count:
|
|
1706
|
-
// require_destination_tag: false,
|
|
1707
|
-
// allow_withdrawal_destination_tag: false,
|
|
1708
|
-
// display_name: [Object],
|
|
1709
|
-
// min_deposit_amount:
|
|
1710
|
-
// min_withdrawal_amount:
|
|
1711
|
-
// withdrawal_fee: [Array],
|
|
1712
|
-
// deposit_fee: {},
|
|
1713
|
-
// suspended_reason: '',
|
|
1714
|
-
// deposit_suspended: false,
|
|
1715
|
-
// withdrawal_suspended: false,
|
|
1716
|
-
// platform_currency_display_name: [Object]
|
|
1699
|
+
// "id": "ETH",
|
|
1700
|
+
// "priority": "1",
|
|
1701
|
+
// "deposit": true,
|
|
1702
|
+
// "withdrawal": true,
|
|
1703
|
+
// "currency_id": "USDT",
|
|
1704
|
+
// "precision": "6",
|
|
1705
|
+
// "min_confirmation_count": "15",
|
|
1706
|
+
// "require_destination_tag": false,
|
|
1707
|
+
// "allow_withdrawal_destination_tag": false,
|
|
1708
|
+
// "display_name": [Object],
|
|
1709
|
+
// "min_deposit_amount": "0",
|
|
1710
|
+
// "min_withdrawal_amount": "1",
|
|
1711
|
+
// "withdrawal_fee": [Array],
|
|
1712
|
+
// "deposit_fee": {},
|
|
1713
|
+
// "suspended_reason": '',
|
|
1714
|
+
// "deposit_suspended": false,
|
|
1715
|
+
// "withdrawal_suspended": false,
|
|
1716
|
+
// "platform_currency_display_name": [Object]
|
|
1717
1717
|
// },
|
|
1718
1718
|
// ],
|
|
1719
|
-
// internal_transfer: { suspended_reason: null, suspended: false },
|
|
1720
|
-
// stakeable: false,
|
|
1721
|
-
// unstakeable: false,
|
|
1722
|
-
// auto_stake: false,
|
|
1723
|
-
// auto_stake_amount:
|
|
1719
|
+
// "internal_transfer": { suspended_reason: null, suspended: false },
|
|
1720
|
+
// "stakeable": false,
|
|
1721
|
+
// "unstakeable": false,
|
|
1722
|
+
// "auto_stake": false,
|
|
1723
|
+
// "auto_stake_amount": "0"
|
|
1724
1724
|
// }
|
|
1725
1725
|
//
|
|
1726
1726
|
const depositWithdrawFee = this.depositWithdrawFee({});
|
|
@@ -1820,9 +1820,9 @@ export default class probit extends Exchange {
|
|
|
1820
1820
|
const response = await this.accountsPostToken(this.extend(request, params));
|
|
1821
1821
|
//
|
|
1822
1822
|
// {
|
|
1823
|
-
// access_token:
|
|
1824
|
-
// token_type:
|
|
1825
|
-
// expires_in: 900
|
|
1823
|
+
// "access_token": "0ttDv/2hTTn3bLi8GP1gKaneiEQ6+0hOBenPrxNQt2s=",
|
|
1824
|
+
// "token_type": "bearer",
|
|
1825
|
+
// "expires_in": 900
|
|
1826
1826
|
// }
|
|
1827
1827
|
//
|
|
1828
1828
|
const expiresIn = this.safeInteger(response, 'expires_in');
|
package/js/src/tidex.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Exchange from './abstract/tidex.js';
|
|
2
|
-
import { Dictionary, Int, Order, OrderBook, OrderSide, OrderType, Ticker } from './base/types.js';
|
|
2
|
+
import { Balances, Dictionary, Int, Order, OrderBook, OrderSide, OrderType, Ticker, Trade, Transaction } from './base/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* @class tidex
|
|
5
5
|
* @extends Exchange
|
|
@@ -8,78 +8,24 @@ export default class tidex extends Exchange {
|
|
|
8
8
|
describe(): any;
|
|
9
9
|
fetchCurrencies(params?: {}): Promise<{}>;
|
|
10
10
|
fetchMarkets(params?: {}): Promise<any[]>;
|
|
11
|
-
parseBalance(response: any):
|
|
12
|
-
fetchBalance(params?: {}): Promise<
|
|
11
|
+
parseBalance(response: any): Balances;
|
|
12
|
+
fetchBalance(params?: {}): Promise<Balances>;
|
|
13
13
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<OrderBook>;
|
|
14
14
|
fetchOrderBooks(symbols?: string[], limit?: Int, params?: {}): Promise<Dictionary<OrderBook>>;
|
|
15
15
|
parseTicker(ticker: any, market?: any): Ticker;
|
|
16
16
|
fetchTickers(symbols?: string[], params?: {}): Promise<Dictionary<Ticker>>;
|
|
17
17
|
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
18
|
-
parseTrade(trade: any, market?: any):
|
|
19
|
-
|
|
20
|
-
order: string;
|
|
21
|
-
timestamp: number;
|
|
22
|
-
datetime: string;
|
|
23
|
-
symbol: any;
|
|
24
|
-
type: string;
|
|
25
|
-
side: string;
|
|
26
|
-
takerOrMaker: any;
|
|
27
|
-
price: number;
|
|
28
|
-
amount: number;
|
|
29
|
-
cost: number;
|
|
30
|
-
fee: any;
|
|
31
|
-
info: any;
|
|
32
|
-
};
|
|
33
|
-
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<import("./base/types.js").Trade[]>;
|
|
18
|
+
parseTrade(trade: any, market?: any): Trade;
|
|
19
|
+
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
34
20
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: any, price?: any, params?: {}): Promise<Order>;
|
|
35
21
|
cancelOrder(id: string, symbol?: string, params?: {}): Promise<any>;
|
|
36
22
|
parseOrderStatus(status: any): string;
|
|
37
23
|
parseOrder(order: any, market?: any): Order;
|
|
38
24
|
fetchOrder(id: string, symbol?: string, params?: {}): Promise<Order>;
|
|
39
25
|
fetchOpenOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
40
|
-
fetchMyTrades(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<
|
|
41
|
-
withdraw(code: string, amount: any, address: any, tag?: any, params?: {}): Promise<
|
|
42
|
-
|
|
43
|
-
txid: any;
|
|
44
|
-
timestamp: any;
|
|
45
|
-
datetime: any;
|
|
46
|
-
network: any;
|
|
47
|
-
addressFrom: any;
|
|
48
|
-
address: any;
|
|
49
|
-
addressTo: any;
|
|
50
|
-
amount: any;
|
|
51
|
-
type: any;
|
|
52
|
-
currency: any;
|
|
53
|
-
status: any;
|
|
54
|
-
updated: any;
|
|
55
|
-
tagFrom: any;
|
|
56
|
-
tag: any;
|
|
57
|
-
tagTo: any;
|
|
58
|
-
comment: any;
|
|
59
|
-
fee: any;
|
|
60
|
-
info: any;
|
|
61
|
-
}>;
|
|
62
|
-
parseTransaction(transaction: any, currency?: any): {
|
|
63
|
-
id: string;
|
|
64
|
-
txid: any;
|
|
65
|
-
timestamp: any;
|
|
66
|
-
datetime: any;
|
|
67
|
-
network: any;
|
|
68
|
-
addressFrom: any;
|
|
69
|
-
address: any;
|
|
70
|
-
addressTo: any;
|
|
71
|
-
amount: any;
|
|
72
|
-
type: any;
|
|
73
|
-
currency: any;
|
|
74
|
-
status: any;
|
|
75
|
-
updated: any;
|
|
76
|
-
tagFrom: any;
|
|
77
|
-
tag: any;
|
|
78
|
-
tagTo: any;
|
|
79
|
-
comment: any;
|
|
80
|
-
fee: any;
|
|
81
|
-
info: any;
|
|
82
|
-
};
|
|
26
|
+
fetchMyTrades(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
27
|
+
withdraw(code: string, amount: any, address: any, tag?: any, params?: {}): Promise<Transaction>;
|
|
28
|
+
parseTransaction(transaction: any, currency?: any): Transaction;
|
|
83
29
|
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
|
84
30
|
url: any;
|
|
85
31
|
method: string;
|
package/js/src/tidex.js
CHANGED
|
@@ -471,15 +471,15 @@ export default class tidex extends Exchange {
|
|
|
471
471
|
parseTicker(ticker, market = undefined) {
|
|
472
472
|
//
|
|
473
473
|
// {
|
|
474
|
-
// high: 0.03497582,
|
|
475
|
-
// low: 0.03248474,
|
|
476
|
-
// avg: 0.03373028,
|
|
477
|
-
// vol: 120.11485715062999,
|
|
478
|
-
// vol_cur: 3572.24914074,
|
|
479
|
-
// last: 0.0337611,
|
|
480
|
-
// buy: 0.0337442,
|
|
481
|
-
// sell: 0.03377798,
|
|
482
|
-
// updated: 1537522009
|
|
474
|
+
// "high": 0.03497582,
|
|
475
|
+
// "low": 0.03248474,
|
|
476
|
+
// "avg": 0.03373028,
|
|
477
|
+
// "vol": 120.11485715062999,
|
|
478
|
+
// "vol_cur": 3572.24914074,
|
|
479
|
+
// "last": 0.0337611,
|
|
480
|
+
// "buy": 0.0337442,
|
|
481
|
+
// "sell": 0.03377798,
|
|
482
|
+
// "updated": 1537522009
|
|
483
483
|
// }
|
|
484
484
|
//
|
|
485
485
|
const timestamp = this.safeTimestamp(ticker, 'updated');
|
package/js/src/timex.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Exchange from './abstract/timex.js';
|
|
2
|
-
import { Int, OHLCV, Order, OrderSide, OrderType } from './base/types.js';
|
|
2
|
+
import { Balances, Int, OHLCV, Order, OrderSide, OrderType, Ticker, Trade, Transaction } from './base/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* @class timex
|
|
5
5
|
* @extends Exchange
|
|
@@ -11,33 +11,14 @@ export default class timex extends Exchange {
|
|
|
11
11
|
fetchDeposits(code?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
|
|
12
12
|
fetchWithdrawals(code?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
|
|
13
13
|
getCurrencyByAddress(address: any): any;
|
|
14
|
-
parseTransaction(transaction: any, currency?: any):
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
txid: string;
|
|
18
|
-
timestamp: number;
|
|
19
|
-
datetime: string;
|
|
20
|
-
network: any;
|
|
21
|
-
address: any;
|
|
22
|
-
addressTo: string;
|
|
23
|
-
addressFrom: string;
|
|
24
|
-
tag: any;
|
|
25
|
-
tagTo: any;
|
|
26
|
-
tagFrom: any;
|
|
27
|
-
type: any;
|
|
28
|
-
amount: number;
|
|
29
|
-
currency: any;
|
|
30
|
-
status: string;
|
|
31
|
-
updated: any;
|
|
32
|
-
fee: any;
|
|
33
|
-
};
|
|
34
|
-
fetchTickers(symbols?: string[], params?: {}): Promise<import("./base/types.js").Dictionary<import("./base/types.js").Ticker>>;
|
|
35
|
-
fetchTicker(symbol: string, params?: {}): Promise<import("./base/types.js").Ticker>;
|
|
14
|
+
parseTransaction(transaction: any, currency?: any): Transaction;
|
|
15
|
+
fetchTickers(symbols?: string[], params?: {}): Promise<import("./base/types.js").Dictionary<Ticker>>;
|
|
16
|
+
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
36
17
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<import("./base/types.js").OrderBook>;
|
|
37
|
-
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<
|
|
18
|
+
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
38
19
|
fetchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
39
|
-
parseBalance(response: any):
|
|
40
|
-
fetchBalance(params?: {}): Promise<
|
|
20
|
+
parseBalance(response: any): Balances;
|
|
21
|
+
fetchBalance(params?: {}): Promise<Balances>;
|
|
41
22
|
createOrder(symbol: string, type: OrderType, side: OrderSide, amount: any, price?: any, params?: {}): Promise<Order>;
|
|
42
23
|
editOrder(id: string, symbol: any, type: any, side: any, amount?: any, price?: any, params?: {}): Promise<Order>;
|
|
43
24
|
cancelOrder(id: string, symbol?: string, params?: {}): Promise<any>;
|
|
@@ -45,7 +26,7 @@ export default class timex extends Exchange {
|
|
|
45
26
|
fetchOrder(id: string, symbol?: string, params?: {}): Promise<Order>;
|
|
46
27
|
fetchOpenOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
47
28
|
fetchClosedOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
48
|
-
fetchMyTrades(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<
|
|
29
|
+
fetchMyTrades(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
49
30
|
parseTradingFee(fee: any, market?: any): {
|
|
50
31
|
info: any;
|
|
51
32
|
symbol: any;
|
|
@@ -132,22 +113,8 @@ export default class timex extends Exchange {
|
|
|
132
113
|
};
|
|
133
114
|
networks: {};
|
|
134
115
|
};
|
|
135
|
-
parseTicker(ticker: any, market?: any):
|
|
136
|
-
parseTrade(trade: any, market?: any):
|
|
137
|
-
info: any;
|
|
138
|
-
id: string;
|
|
139
|
-
timestamp: number;
|
|
140
|
-
datetime: string;
|
|
141
|
-
symbol: any;
|
|
142
|
-
order: any;
|
|
143
|
-
type: any;
|
|
144
|
-
side: string;
|
|
145
|
-
price: number;
|
|
146
|
-
amount: number;
|
|
147
|
-
cost: number;
|
|
148
|
-
takerOrMaker: string;
|
|
149
|
-
fee: any;
|
|
150
|
-
};
|
|
116
|
+
parseTicker(ticker: any, market?: any): Ticker;
|
|
117
|
+
parseTrade(trade: any, market?: any): Trade;
|
|
151
118
|
parseOHLCV(ohlcv: any, market?: any): OHLCV;
|
|
152
119
|
parseOrder(order: any, market?: any): Order;
|
|
153
120
|
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
package/js/src/tokocrypto.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Exchange from './abstract/tokocrypto.js';
|
|
2
|
-
import { Int, OHLCV, Order, OrderSide, OrderType } from './base/types.js';
|
|
2
|
+
import { Int, OHLCV, Order, OrderSide, OrderType, Ticker, Trade, Transaction } from './base/types.js';
|
|
3
3
|
/**
|
|
4
4
|
* @class tokocrypto
|
|
5
5
|
* @extends Exchange
|
|
@@ -10,13 +10,13 @@ export default class tokocrypto extends Exchange {
|
|
|
10
10
|
fetchTime(params?: {}): Promise<number>;
|
|
11
11
|
fetchMarkets(params?: {}): Promise<any[]>;
|
|
12
12
|
fetchOrderBook(symbol: string, limit?: Int, params?: {}): Promise<import("./base/types.js").OrderBook>;
|
|
13
|
-
parseTrade(trade: any, market?: any):
|
|
14
|
-
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<
|
|
15
|
-
parseTicker(ticker: any, market?: any):
|
|
16
|
-
fetchTickers(symbols?: string[], params?: {}): Promise<import("./base/types.js").Dictionary<
|
|
13
|
+
parseTrade(trade: any, market?: any): Trade;
|
|
14
|
+
fetchTrades(symbol: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
15
|
+
parseTicker(ticker: any, market?: any): Ticker;
|
|
16
|
+
fetchTickers(symbols?: string[], params?: {}): Promise<import("./base/types.js").Dictionary<Ticker>>;
|
|
17
17
|
getMarketIdByType(market: any): any;
|
|
18
|
-
fetchTicker(symbol: string, params?: {}): Promise<
|
|
19
|
-
fetchBidsAsks(symbols?: string[], params?: {}): Promise<import("./base/types.js").Dictionary<
|
|
18
|
+
fetchTicker(symbol: string, params?: {}): Promise<Ticker>;
|
|
19
|
+
fetchBidsAsks(symbols?: string[], params?: {}): Promise<import("./base/types.js").Dictionary<Ticker>>;
|
|
20
20
|
parseOHLCV(ohlcv: any, market?: any): OHLCV;
|
|
21
21
|
fetchOHLCV(symbol: string, timeframe?: string, since?: Int, limit?: Int, params?: {}): Promise<OHLCV[]>;
|
|
22
22
|
fetchBalance(params?: {}): Promise<import("./base/types.js").Balances>;
|
|
@@ -30,7 +30,7 @@ export default class tokocrypto extends Exchange {
|
|
|
30
30
|
fetchOpenOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
31
31
|
fetchClosedOrders(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Order[]>;
|
|
32
32
|
cancelOrder(id: string, symbol?: string, params?: {}): Promise<Order>;
|
|
33
|
-
fetchMyTrades(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<
|
|
33
|
+
fetchMyTrades(symbol?: string, since?: Int, limit?: Int, params?: {}): Promise<Trade[]>;
|
|
34
34
|
fetchDepositAddress(code: string, params?: {}): Promise<{
|
|
35
35
|
currency: string;
|
|
36
36
|
address: string;
|
|
@@ -41,58 +41,8 @@ export default class tokocrypto extends Exchange {
|
|
|
41
41
|
fetchDeposits(code?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
|
|
42
42
|
fetchWithdrawals(code?: string, since?: Int, limit?: Int, params?: {}): Promise<any>;
|
|
43
43
|
parseTransactionStatusByType(status: any, type?: any): string;
|
|
44
|
-
parseTransaction(transaction: any, currency?: any):
|
|
45
|
-
|
|
46
|
-
id: string;
|
|
47
|
-
txid: string;
|
|
48
|
-
type: string;
|
|
49
|
-
currency: any;
|
|
50
|
-
network: string;
|
|
51
|
-
amount: number;
|
|
52
|
-
status: string;
|
|
53
|
-
timestamp: any;
|
|
54
|
-
datetime: string;
|
|
55
|
-
address: string;
|
|
56
|
-
addressFrom: any;
|
|
57
|
-
addressTo: string;
|
|
58
|
-
tag: string;
|
|
59
|
-
tagFrom: any;
|
|
60
|
-
tagTo: string;
|
|
61
|
-
updated: number;
|
|
62
|
-
comment: any;
|
|
63
|
-
internal: boolean;
|
|
64
|
-
fee: {
|
|
65
|
-
currency: any;
|
|
66
|
-
cost: any;
|
|
67
|
-
rate: any;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
withdraw(code: string, amount: any, address: any, tag?: any, params?: {}): Promise<{
|
|
71
|
-
info: any;
|
|
72
|
-
id: string;
|
|
73
|
-
txid: string;
|
|
74
|
-
type: string;
|
|
75
|
-
currency: any;
|
|
76
|
-
network: string;
|
|
77
|
-
amount: number;
|
|
78
|
-
status: string;
|
|
79
|
-
timestamp: any;
|
|
80
|
-
datetime: string;
|
|
81
|
-
address: string;
|
|
82
|
-
addressFrom: any;
|
|
83
|
-
addressTo: string;
|
|
84
|
-
tag: string;
|
|
85
|
-
tagFrom: any;
|
|
86
|
-
tagTo: string;
|
|
87
|
-
updated: number;
|
|
88
|
-
comment: any;
|
|
89
|
-
internal: boolean;
|
|
90
|
-
fee: {
|
|
91
|
-
currency: any;
|
|
92
|
-
cost: any;
|
|
93
|
-
rate: any;
|
|
94
|
-
};
|
|
95
|
-
}>;
|
|
44
|
+
parseTransaction(transaction: any, currency?: any): Transaction;
|
|
45
|
+
withdraw(code: string, amount: any, address: any, tag?: any, params?: {}): Promise<Transaction>;
|
|
96
46
|
sign(path: any, api?: string, method?: string, params?: {}, headers?: any, body?: any): {
|
|
97
47
|
url: any;
|
|
98
48
|
method: string;
|
package/js/src/tokocrypto.js
CHANGED
|
@@ -1072,48 +1072,48 @@ export default class tokocrypto extends Exchange {
|
|
|
1072
1072
|
parseTicker(ticker, market = undefined) {
|
|
1073
1073
|
//
|
|
1074
1074
|
// {
|
|
1075
|
-
// symbol:
|
|
1076
|
-
// priceChange:
|
|
1077
|
-
// priceChangePercent:
|
|
1078
|
-
// weightedAvgPrice:
|
|
1079
|
-
// prevClosePrice:
|
|
1080
|
-
// lastPrice:
|
|
1081
|
-
// lastQty:
|
|
1082
|
-
// bidPrice:
|
|
1083
|
-
// bidQty:
|
|
1084
|
-
// askPrice:
|
|
1085
|
-
// askQty:
|
|
1086
|
-
// openPrice:
|
|
1087
|
-
// highPrice:
|
|
1088
|
-
// lowPrice:
|
|
1089
|
-
// volume:
|
|
1090
|
-
// quoteVolume:
|
|
1091
|
-
// openTime: 1601469986932,
|
|
1092
|
-
// closeTime: 1601556386932,
|
|
1093
|
-
// firstId: 196098772,
|
|
1094
|
-
// lastId: 196186315,
|
|
1095
|
-
// count: 87544
|
|
1075
|
+
// "symbol": "ETHBTC",
|
|
1076
|
+
// "priceChange": "0.00068700",
|
|
1077
|
+
// "priceChangePercent": "2.075",
|
|
1078
|
+
// "weightedAvgPrice": "0.03342681",
|
|
1079
|
+
// "prevClosePrice": "0.03310300",
|
|
1080
|
+
// "lastPrice": "0.03378900",
|
|
1081
|
+
// "lastQty": "0.07700000",
|
|
1082
|
+
// "bidPrice": "0.03378900",
|
|
1083
|
+
// "bidQty": "7.16800000",
|
|
1084
|
+
// "askPrice": "0.03379000",
|
|
1085
|
+
// "askQty": "24.00000000",
|
|
1086
|
+
// "openPrice": "0.03310200",
|
|
1087
|
+
// "highPrice": "0.03388900",
|
|
1088
|
+
// "lowPrice": "0.03306900",
|
|
1089
|
+
// "volume": "205478.41000000",
|
|
1090
|
+
// "quoteVolume": "6868.48826294",
|
|
1091
|
+
// "openTime": 1601469986932,
|
|
1092
|
+
// "closeTime": 1601556386932,
|
|
1093
|
+
// "firstId": 196098772,
|
|
1094
|
+
// "lastId": 196186315,
|
|
1095
|
+
// "count": 87544
|
|
1096
1096
|
// }
|
|
1097
1097
|
//
|
|
1098
1098
|
// coinm
|
|
1099
1099
|
// {
|
|
1100
|
-
// baseVolume:
|
|
1101
|
-
// closeTime:
|
|
1102
|
-
// count:
|
|
1103
|
-
// firstId:
|
|
1104
|
-
// highPrice:
|
|
1105
|
-
// lastId:
|
|
1106
|
-
// lastPrice:
|
|
1107
|
-
// lastQty:
|
|
1108
|
-
// lowPrice:
|
|
1109
|
-
// openPrice:
|
|
1110
|
-
// openTime:
|
|
1111
|
-
// pair:
|
|
1112
|
-
// priceChange:
|
|
1113
|
-
// priceChangePercent:
|
|
1114
|
-
// symbol:
|
|
1115
|
-
// volume:
|
|
1116
|
-
// weightedAvgPrice:
|
|
1100
|
+
// "baseVolume": "214549.95171161",
|
|
1101
|
+
// "closeTime": "1621965286847",
|
|
1102
|
+
// "count": "1283779",
|
|
1103
|
+
// "firstId": "152560106",
|
|
1104
|
+
// "highPrice": "39938.3",
|
|
1105
|
+
// "lastId": "153843955",
|
|
1106
|
+
// "lastPrice": "37993.4",
|
|
1107
|
+
// "lastQty": "1",
|
|
1108
|
+
// "lowPrice": "36457.2",
|
|
1109
|
+
// "openPrice": "37783.4",
|
|
1110
|
+
// "openTime": "1621878840000",
|
|
1111
|
+
// "pair": "BTCUSD",
|
|
1112
|
+
// "priceChange": "210.0",
|
|
1113
|
+
// "priceChangePercent": "0.556",
|
|
1114
|
+
// "symbol": "BTCUSD_PERP",
|
|
1115
|
+
// "volume": "81990451",
|
|
1116
|
+
// "weightedAvgPrice": "38215.08713747"
|
|
1117
1117
|
// }
|
|
1118
1118
|
//
|
|
1119
1119
|
const timestamp = this.safeInteger(ticker, 'closeTime');
|
|
@@ -1424,25 +1424,25 @@ export default class tokocrypto extends Exchange {
|
|
|
1424
1424
|
// }
|
|
1425
1425
|
// createOrder
|
|
1426
1426
|
// {
|
|
1427
|
-
// orderId:
|
|
1428
|
-
// bOrderListId:
|
|
1429
|
-
// clientId:
|
|
1430
|
-
// bOrderId:
|
|
1431
|
-
// symbol:
|
|
1432
|
-
// symbolType:
|
|
1433
|
-
// side:
|
|
1434
|
-
// type:
|
|
1435
|
-
// price:
|
|
1436
|
-
// origQty:
|
|
1437
|
-
// origQuoteQty:
|
|
1438
|
-
// executedQty:
|
|
1439
|
-
// executedPrice:
|
|
1440
|
-
// executedQuoteQty:
|
|
1441
|
-
// timeInForce:
|
|
1442
|
-
// stopPrice:
|
|
1443
|
-
// icebergQty:
|
|
1444
|
-
// status:
|
|
1445
|
-
// createTime:
|
|
1427
|
+
// "orderId": "145265071",
|
|
1428
|
+
// "bOrderListId": "0",
|
|
1429
|
+
// "clientId": "49c09c3c2cd54419a59c05441f517b3c",
|
|
1430
|
+
// "bOrderId": "35247529",
|
|
1431
|
+
// "symbol": "USDT_BIDR",
|
|
1432
|
+
// "symbolType": "1",
|
|
1433
|
+
// "side": "0",
|
|
1434
|
+
// "type": "1",
|
|
1435
|
+
// "price": "11915",
|
|
1436
|
+
// "origQty": "2",
|
|
1437
|
+
// "origQuoteQty": "23830.00",
|
|
1438
|
+
// "executedQty": "0.00000000",
|
|
1439
|
+
// "executedPrice": "0",
|
|
1440
|
+
// "executedQuoteQty": "0.00",
|
|
1441
|
+
// "timeInForce": "1",
|
|
1442
|
+
// "stopPrice": "0",
|
|
1443
|
+
// "icebergQty": "0",
|
|
1444
|
+
// "status": "0",
|
|
1445
|
+
// "createTime": "1662711074372"
|
|
1446
1446
|
// }
|
|
1447
1447
|
//
|
|
1448
1448
|
// createOrder with { "newOrderRespType": "FULL" }
|