ccxt 4.2.46 → 4.2.48

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.
@@ -134,6 +134,9 @@ class hollaex extends hollaex$1 {
134
134
  'trades': 1,
135
135
  'chart': 1,
136
136
  'charts': 1,
137
+ 'minicharts': 1,
138
+ 'oracle/prices': 1,
139
+ 'quick-trade': 1,
137
140
  // TradingView
138
141
  'udf/config': 1,
139
142
  'udf/history': 1,
@@ -209,6 +212,7 @@ class hollaex extends hollaex$1 {
209
212
  * @method
210
213
  * @name hollaex#fetchMarkets
211
214
  * @description retrieves data on all markets for hollaex
215
+ * @see https://apidocs.hollaex.com/#constants
212
216
  * @param {object} [params] extra parameters specific to the exchange API endpoint
213
217
  * @returns {object[]} an array of objects representing market data
214
218
  */
@@ -411,6 +415,7 @@ class hollaex extends hollaex$1 {
411
415
  * @method
412
416
  * @name hollaex#fetchOrderBooks
413
417
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
418
+ * @see https://apidocs.hollaex.com/#orderbooks
414
419
  * @param {string[]|undefined} symbols not used by hollaex fetchOrderBooks ()
415
420
  * @param {int} [limit] not used by hollaex fetchOrderBooks ()
416
421
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -434,6 +439,7 @@ class hollaex extends hollaex$1 {
434
439
  * @method
435
440
  * @name hollaex#fetchOrderBook
436
441
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
442
+ * @see https://apidocs.hollaex.com/#orderbook
437
443
  * @param {string} symbol unified symbol of the market to fetch the order book for
438
444
  * @param {int} [limit] the maximum amount of order book entries to return
439
445
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -444,7 +450,7 @@ class hollaex extends hollaex$1 {
444
450
  const request = {
445
451
  'symbol': market['id'],
446
452
  };
447
- const response = await this.publicGetOrderbooks(this.extend(request, params));
453
+ const response = await this.publicGetOrderbook(this.extend(request, params));
448
454
  //
449
455
  // {
450
456
  // "btc-usdt": {
@@ -473,6 +479,7 @@ class hollaex extends hollaex$1 {
473
479
  * @method
474
480
  * @name hollaex#fetchTicker
475
481
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
482
+ * @see https://apidocs.hollaex.com/#ticker
476
483
  * @param {string} symbol unified symbol of the market to fetch the ticker for
477
484
  * @param {object} [params] extra parameters specific to the exchange API endpoint
478
485
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -501,6 +508,7 @@ class hollaex extends hollaex$1 {
501
508
  * @method
502
509
  * @name hollaex#fetchTickers
503
510
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
511
+ * @see https://apidocs.hollaex.com/#tickers
504
512
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
505
513
  * @param {object} [params] extra parameters specific to the exchange API endpoint
506
514
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -598,6 +606,7 @@ class hollaex extends hollaex$1 {
598
606
  * @method
599
607
  * @name hollaex#fetchTrades
600
608
  * @description get the list of most recent trades for a particular symbol
609
+ * @see https://apidocs.hollaex.com/#trades
601
610
  * @param {string} symbol unified symbol of the market to fetch trades for
602
611
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
603
612
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -686,6 +695,7 @@ class hollaex extends hollaex$1 {
686
695
  * @method
687
696
  * @name hollaex#fetchTradingFees
688
697
  * @description fetch the trading fees for multiple markets
698
+ * @see https://apidocs.hollaex.com/#tiers
689
699
  * @param {object} [params] extra parameters specific to the exchange API endpoint
690
700
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
691
701
  */
@@ -745,6 +755,7 @@ class hollaex extends hollaex$1 {
745
755
  * @method
746
756
  * @name hollaex#fetchOHLCV
747
757
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
758
+ * @see https://apidocs.hollaex.com/#chart
748
759
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
749
760
  * @param {string} timeframe the length of time each candle represents
750
761
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -839,6 +850,7 @@ class hollaex extends hollaex$1 {
839
850
  * @method
840
851
  * @name hollaex#fetchBalance
841
852
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
853
+ * @see https://apidocs.hollaex.com/#get-balance
842
854
  * @param {object} [params] extra parameters specific to the exchange API endpoint
843
855
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
844
856
  */
@@ -863,6 +875,7 @@ class hollaex extends hollaex$1 {
863
875
  * @method
864
876
  * @name hollaex#fetchOpenOrder
865
877
  * @description fetch an open order by it's id
878
+ * @see https://apidocs.hollaex.com/#get-order
866
879
  * @param {string} id order id
867
880
  * @param {string} symbol not used by hollaex fetchOpenOrder ()
868
881
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -904,6 +917,7 @@ class hollaex extends hollaex$1 {
904
917
  * @method
905
918
  * @name hollaex#fetchOpenOrders
906
919
  * @description fetch all unfilled currently open orders
920
+ * @see https://apidocs.hollaex.com/#get-all-orders
907
921
  * @param {string} symbol unified market symbol
908
922
  * @param {int} [since] the earliest time in ms to fetch open orders for
909
923
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -920,6 +934,7 @@ class hollaex extends hollaex$1 {
920
934
  * @method
921
935
  * @name hollaex#fetchClosedOrders
922
936
  * @description fetches information on multiple closed orders made by the user
937
+ * @see https://apidocs.hollaex.com/#get-all-orders
923
938
  * @param {string} symbol unified market symbol of the market orders were made in
924
939
  * @param {int} [since] the earliest time in ms to fetch orders for
925
940
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -936,6 +951,7 @@ class hollaex extends hollaex$1 {
936
951
  * @method
937
952
  * @name hollaex#fetchOrder
938
953
  * @description fetches information on an order made by the user
954
+ * @see https://apidocs.hollaex.com/#get-order
939
955
  * @param {string} symbol unified symbol of the market the order was made in
940
956
  * @param {object} [params] extra parameters specific to the exchange API endpoint
941
957
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -978,6 +994,7 @@ class hollaex extends hollaex$1 {
978
994
  * @method
979
995
  * @name hollaex#fetchOrders
980
996
  * @description fetches information on multiple orders made by the user
997
+ * @see https://apidocs.hollaex.com/#get-all-orders
981
998
  * @param {string} symbol unified market symbol of the market orders were made in
982
999
  * @param {int} [since] the earliest time in ms to fetch orders for
983
1000
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -1122,6 +1139,7 @@ class hollaex extends hollaex$1 {
1122
1139
  * @method
1123
1140
  * @name hollaex#createOrder
1124
1141
  * @description create a trade order
1142
+ * @see https://apidocs.hollaex.com/#create-order
1125
1143
  * @param {string} symbol unified symbol of the market to create an order in
1126
1144
  * @param {string} type 'market' or 'limit'
1127
1145
  * @param {string} side 'buy' or 'sell'
@@ -1190,6 +1208,7 @@ class hollaex extends hollaex$1 {
1190
1208
  * @method
1191
1209
  * @name hollaex#cancelOrder
1192
1210
  * @description cancels an open order
1211
+ * @see https://apidocs.hollaex.com/#cancel-order
1193
1212
  * @param {string} id order id
1194
1213
  * @param {string} symbol unified symbol of the market the order was made in
1195
1214
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1220,6 +1239,7 @@ class hollaex extends hollaex$1 {
1220
1239
  * @method
1221
1240
  * @name hollaex#cancelAllOrders
1222
1241
  * @description cancel all open orders in a market
1242
+ * @see https://apidocs.hollaex.com/#cancel-all-orders
1223
1243
  * @param {string} symbol unified market symbol of the market to cancel orders in
1224
1244
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1225
1245
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1255,6 +1275,7 @@ class hollaex extends hollaex$1 {
1255
1275
  * @method
1256
1276
  * @name hollaex#fetchMyTrades
1257
1277
  * @description fetch all trades made by the user
1278
+ * @see https://apidocs.hollaex.com/#get-trades
1258
1279
  * @param {string} symbol unified market symbol
1259
1280
  * @param {int} [since] the earliest time in ms to fetch trades for
1260
1281
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -1336,6 +1357,7 @@ class hollaex extends hollaex$1 {
1336
1357
  * @method
1337
1358
  * @name hollaex#fetchDepositAddresses
1338
1359
  * @description fetch deposit addresses for multiple currencies and chain types
1360
+ * @see https://apidocs.hollaex.com/#get-user
1339
1361
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
1340
1362
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1341
1363
  * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -1398,6 +1420,7 @@ class hollaex extends hollaex$1 {
1398
1420
  * @method
1399
1421
  * @name hollaex#fetchDeposits
1400
1422
  * @description fetch all deposits made to an account
1423
+ * @see https://apidocs.hollaex.com/#get-deposits
1401
1424
  * @param {string} code unified currency code
1402
1425
  * @param {int} [since] the earliest time in ms to fetch deposits for
1403
1426
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -1457,6 +1480,7 @@ class hollaex extends hollaex$1 {
1457
1480
  * @method
1458
1481
  * @name hollaex#fetchWithdrawal
1459
1482
  * @description fetch data on a currency withdrawal via the withdrawal id
1483
+ * @see https://apidocs.hollaex.com/#get-withdrawals
1460
1484
  * @param {string} id withdrawal id
1461
1485
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
1462
1486
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1504,6 +1528,7 @@ class hollaex extends hollaex$1 {
1504
1528
  * @method
1505
1529
  * @name hollaex#fetchWithdrawals
1506
1530
  * @description fetch all withdrawals made from an account
1531
+ * @see https://apidocs.hollaex.com/#get-withdrawals
1507
1532
  * @param {string} code unified currency code
1508
1533
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1509
1534
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -1664,6 +1689,7 @@ class hollaex extends hollaex$1 {
1664
1689
  * @method
1665
1690
  * @name hollaex#withdraw
1666
1691
  * @description make a withdrawal
1692
+ * @see https://apidocs.hollaex.com/#withdrawal
1667
1693
  * @param {string} code unified currency code
1668
1694
  * @param {float} amount the amount to withdraw
1669
1695
  * @param {string} address the address to withdraw to
@@ -81,8 +81,10 @@ class idex extends idex$1 {
81
81
  'fetchPositions': false,
82
82
  'fetchPositionsRisk': false,
83
83
  'fetchPremiumIndexOHLCV': false,
84
+ 'fetchStatus': true,
84
85
  'fetchTicker': true,
85
86
  'fetchTickers': true,
87
+ 'fetchTime': true,
86
88
  'fetchTrades': true,
87
89
  'fetchTradingFee': false,
88
90
  'fetchTradingFees': true,
@@ -196,6 +198,7 @@ class idex extends idex$1 {
196
198
  * @method
197
199
  * @name idex#fetchMarkets
198
200
  * @description retrieves data on all markets for idex
201
+ * @see https://api-docs-v3.idex.io/#get-markets
199
202
  * @param {object} [params] extra parameters specific to the exchange API endpoint
200
203
  * @returns {object[]} an array of objects representing market data
201
204
  */
@@ -326,6 +329,7 @@ class idex extends idex$1 {
326
329
  * @method
327
330
  * @name idex#fetchTicker
328
331
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
332
+ * @see https://api-docs-v3.idex.io/#get-tickers
329
333
  * @param {string} symbol unified symbol of the market to fetch the ticker for
330
334
  * @param {object} [params] extra parameters specific to the exchange API endpoint
331
335
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -362,6 +366,7 @@ class idex extends idex$1 {
362
366
  * @method
363
367
  * @name idex#fetchTickers
364
368
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
369
+ * @see https://api-docs-v3.idex.io/#get-tickers
365
370
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
366
371
  * @param {object} [params] extra parameters specific to the exchange API endpoint
367
372
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -438,6 +443,7 @@ class idex extends idex$1 {
438
443
  * @method
439
444
  * @name idex#fetchOHLCV
440
445
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
446
+ * @see https://api-docs-v3.idex.io/#get-candles
441
447
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
442
448
  * @param {string} timeframe the length of time each candle represents
443
449
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -500,6 +506,7 @@ class idex extends idex$1 {
500
506
  * @method
501
507
  * @name idex#fetchTrades
502
508
  * @description get the list of most recent trades for a particular symbol
509
+ * @see https://api-docs-v3.idex.io/#get-trades
503
510
  * @param {string} symbol unified symbol of the market to fetch trades for
504
511
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
505
512
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -613,6 +620,7 @@ class idex extends idex$1 {
613
620
  * @method
614
621
  * @name idex#fetchTradingFees
615
622
  * @description fetch the trading fees for multiple markets
623
+ * @see https://api-docs-v3.idex.io/#get-api-account
616
624
  * @param {object} [params] extra parameters specific to the exchange API endpoint
617
625
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
618
626
  */
@@ -658,6 +666,7 @@ class idex extends idex$1 {
658
666
  * @method
659
667
  * @name idex#fetchOrderBook
660
668
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
669
+ * @see https://api-docs-v3.idex.io/#get-order-books
661
670
  * @param {string} symbol unified symbol of the market to fetch the order book for
662
671
  * @param {int} [limit] the maximum amount of order book entries to return
663
672
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -721,6 +730,7 @@ class idex extends idex$1 {
721
730
  * @method
722
731
  * @name idex#fetchCurrencies
723
732
  * @description fetches all available currencies on an exchange
733
+ * @see https://api-docs-v3.idex.io/#get-assets
724
734
  * @param {object} [params] extra parameters specific to the exchange API endpoint
725
735
  * @returns {object} an associative dictionary of currencies
726
736
  */
@@ -786,6 +796,7 @@ class idex extends idex$1 {
786
796
  * @method
787
797
  * @name idex#fetchBalance
788
798
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
799
+ * @see https://api-docs-v3.idex.io/#get-balances
789
800
  * @param {object} [params] extra parameters specific to the exchange API endpoint
790
801
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
791
802
  */
@@ -830,6 +841,7 @@ class idex extends idex$1 {
830
841
  * @method
831
842
  * @name idex#fetchMyTrades
832
843
  * @description fetch all trades made by the user
844
+ * @see https://api-docs-v3.idex.io/#get-fills
833
845
  * @param {string} symbol unified market symbol
834
846
  * @param {int} [since] the earliest time in ms to fetch trades for
835
847
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -898,6 +910,7 @@ class idex extends idex$1 {
898
910
  * @method
899
911
  * @name idex#fetchOrder
900
912
  * @description fetches information on an order made by the user
913
+ * @see https://api-docs-v3.idex.io/#get-orders
901
914
  * @param {string} symbol unified symbol of the market the order was made in
902
915
  * @param {object} [params] extra parameters specific to the exchange API endpoint
903
916
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -912,6 +925,7 @@ class idex extends idex$1 {
912
925
  * @method
913
926
  * @name idex#fetchOpenOrders
914
927
  * @description fetch all unfilled currently open orders
928
+ * @see https://api-docs-v3.idex.io/#get-orders
915
929
  * @param {string} symbol unified market symbol
916
930
  * @param {int} [since] the earliest time in ms to fetch open orders for
917
931
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -928,6 +942,7 @@ class idex extends idex$1 {
928
942
  * @method
929
943
  * @name idex#fetchClosedOrders
930
944
  * @description fetches information on multiple closed orders made by the user
945
+ * @see https://api-docs-v3.idex.io/#get-orders
931
946
  * @param {string} symbol unified market symbol of the market orders were made in
932
947
  * @param {int} [since] the earliest time in ms to fetch orders for
933
948
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -1139,16 +1154,20 @@ class idex extends idex$1 {
1139
1154
  * @method
1140
1155
  * @name idex#createOrder
1141
1156
  * @description create a trade order, https://docs.idex.io/#create-order
1157
+ * @see https://api-docs-v3.idex.io/#create-order
1142
1158
  * @param {string} symbol unified symbol of the market to create an order in
1143
1159
  * @param {string} type 'market' or 'limit'
1144
1160
  * @param {string} side 'buy' or 'sell'
1145
1161
  * @param {float} amount how much of currency you want to trade in units of base currency
1146
1162
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
1147
1163
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1164
+ * @param {bool} [params.test] set to true to test an order, no order will be created but the request will be validated
1148
1165
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
1149
1166
  */
1150
1167
  this.checkRequiredCredentials();
1151
1168
  await this.loadMarkets();
1169
+ const testOrder = this.safeBool(params, 'test', false);
1170
+ params = this.omit(params, 'test');
1152
1171
  const market = this.market(symbol);
1153
1172
  const nonce = this.uuidv1();
1154
1173
  let typeEnum = undefined;
@@ -1329,7 +1348,13 @@ class idex extends idex$1 {
1329
1348
  // "avgExecutionPrice": "0.09905990"
1330
1349
  // }
1331
1350
  // we don't use extend here because it is a signed endpoint
1332
- const response = await this.privatePostOrders(request);
1351
+ let response = undefined;
1352
+ if (testOrder) {
1353
+ response = await this.privatePostOrdersTest(request);
1354
+ }
1355
+ else {
1356
+ response = await this.privatePostOrders(request);
1357
+ }
1333
1358
  return this.parseOrder(response, market);
1334
1359
  }
1335
1360
  async withdraw(code, amount, address, tag = undefined, params = {}) {
@@ -1337,6 +1362,7 @@ class idex extends idex$1 {
1337
1362
  * @method
1338
1363
  * @name idex#withdraw
1339
1364
  * @description make a withdrawal
1365
+ * @see https://api-docs-v3.idex.io/#withdraw-funds
1340
1366
  * @param {string} code unified currency code
1341
1367
  * @param {float} amount the amount to withdraw
1342
1368
  * @param {string} address the address to withdraw to
@@ -1390,6 +1416,7 @@ class idex extends idex$1 {
1390
1416
  * @method
1391
1417
  * @name idex#cancelAllOrders
1392
1418
  * @description cancel all open orders
1419
+ * @see https://api-docs-v3.idex.io/#cancel-order
1393
1420
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
1394
1421
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1395
1422
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1429,6 +1456,7 @@ class idex extends idex$1 {
1429
1456
  * @method
1430
1457
  * @name idex#cancelOrder
1431
1458
  * @description cancels an open order
1459
+ * @see https://api-docs-v3.idex.io/#cancel-order
1432
1460
  * @param {string} id order id
1433
1461
  * @param {string} symbol unified symbol of the market the order was made in
1434
1462
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1480,6 +1508,7 @@ class idex extends idex$1 {
1480
1508
  * @method
1481
1509
  * @name idex#fetchDeposit
1482
1510
  * @description fetch information on a deposit
1511
+ * @see https://api-docs-v3.idex.io/#get-deposits
1483
1512
  * @param {string} id deposit id
1484
1513
  * @param {string} code not used by idex fetchDeposit ()
1485
1514
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1500,6 +1529,7 @@ class idex extends idex$1 {
1500
1529
  * @method
1501
1530
  * @name idex#fetchDeposits
1502
1531
  * @description fetch all deposits made to an account
1532
+ * @see https://api-docs-v3.idex.io/#get-deposits
1503
1533
  * @param {string} code unified currency code
1504
1534
  * @param {int} [since] the earliest time in ms to fetch deposits for
1505
1535
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -1511,11 +1541,30 @@ class idex extends idex$1 {
1511
1541
  }, params);
1512
1542
  return await this.fetchTransactionsHelper(code, since, limit, params);
1513
1543
  }
1544
+ async fetchStatus(params = {}) {
1545
+ /**
1546
+ * @method
1547
+ * @name idex#fetchStatus
1548
+ * @description the latest known information on the availability of the exchange API
1549
+ * @see https://api-docs-v3.idex.io/#get-ping
1550
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
1551
+ * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
1552
+ */
1553
+ const response = await this.publicGetPing(params);
1554
+ return {
1555
+ 'status': 'ok',
1556
+ 'updated': undefined,
1557
+ 'eta': undefined,
1558
+ 'url': undefined,
1559
+ 'info': response,
1560
+ };
1561
+ }
1514
1562
  async fetchTime(params = {}) {
1515
1563
  /**
1516
1564
  * @method
1517
1565
  * @name idex#fetchTime
1518
1566
  * @description fetches the current integer timestamp in milliseconds from the exchange server
1567
+ * @see https://api-docs-v3.idex.io/#get-time
1519
1568
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1520
1569
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
1521
1570
  */
@@ -1530,6 +1579,7 @@ class idex extends idex$1 {
1530
1579
  * @method
1531
1580
  * @name idex#fetchWithdrawal
1532
1581
  * @description fetch data on a currency withdrawal via the withdrawal id
1582
+ * @see https://api-docs-v3.idex.io/#get-withdrawals
1533
1583
  * @param {string} id withdrawal id
1534
1584
  * @param {string} code not used by idex.fetchWithdrawal
1535
1585
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1550,6 +1600,7 @@ class idex extends idex$1 {
1550
1600
  * @method
1551
1601
  * @name idex#fetchWithdrawals
1552
1602
  * @description fetch all withdrawals made from an account
1603
+ * @see https://api-docs-v3.idex.io/#get-withdrawals
1553
1604
  * @param {string} code unified currency code
1554
1605
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1555
1606
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve