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.
package/js/src/exmo.js CHANGED
@@ -278,6 +278,7 @@ export default class exmo extends Exchange {
278
278
  * @method
279
279
  * @name exmo#reduceMargin
280
280
  * @description remove margin from a position
281
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#eebf9f25-0289-4946-9482-89872c738449
281
282
  * @param {string} symbol unified market symbol
282
283
  * @param {float} amount the amount of margin to remove
283
284
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -290,6 +291,7 @@ export default class exmo extends Exchange {
290
291
  * @method
291
292
  * @name exmo#addMargin
292
293
  * @description add margin
294
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#143ef808-79ca-4e49-9e79-a60ea4d8c0e3
293
295
  * @param {string} symbol unified market symbol
294
296
  * @param {float} amount amount of margin to add
295
297
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -302,6 +304,8 @@ export default class exmo extends Exchange {
302
304
  * @method
303
305
  * @name exmo#fetchTradingFees
304
306
  * @description fetch the trading fees for multiple markets
307
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#90927062-256c-4b03-900f-2b99131f9a54
308
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#7de7e75c-5833-45a8-b937-c2276d235aaa
305
309
  * @param {object} [params] extra parameters specific to the exchange API endpoint
306
310
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
307
311
  */
@@ -589,6 +593,8 @@ export default class exmo extends Exchange {
589
593
  * @method
590
594
  * @name exmo#fetchCurrencies
591
595
  * @description fetches all available currencies on an exchange
596
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#7cdf0ca8-9ff6-4cf3-aa33-bcec83155c49
597
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
592
598
  * @param {object} [params] extra parameters specific to the exchange API endpoint
593
599
  * @returns {object} an associative dictionary of currencies
594
600
  */
@@ -715,6 +721,7 @@ export default class exmo extends Exchange {
715
721
  * @method
716
722
  * @name exmo#fetchMarkets
717
723
  * @description retrieves data on all markets for exmo
724
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#7de7e75c-5833-45a8-b937-c2276d235aaa
718
725
  * @param {object} [params] extra parameters specific to the exchange API endpoint
719
726
  * @returns {object[]} an array of objects representing market data
720
727
  */
@@ -842,6 +849,7 @@ export default class exmo extends Exchange {
842
849
  * @method
843
850
  * @name exmo#fetchOHLCV
844
851
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
852
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#65eeb949-74e5-4631-9184-c38387fe53e8
845
853
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
846
854
  * @param {string} timeframe the length of time each candle represents
847
855
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -955,6 +963,8 @@ export default class exmo extends Exchange {
955
963
  * @method
956
964
  * @name exmo#fetchBalance
957
965
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
966
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#59c5160f-27a1-4d9a-8cfb-7979c7ffaac6
967
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8388df7-1f9f-4d41-81c4-5a387d171dc6
958
968
  * @param {object} [params] extra parameters specific to the exchange API endpoint
959
969
  * @param {string} [params.marginMode] *isolated* fetches the isolated margin balance
960
970
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
@@ -1002,6 +1012,7 @@ export default class exmo extends Exchange {
1002
1012
  * @method
1003
1013
  * @name exmo#fetchOrderBook
1004
1014
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
1015
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c60c51a8-e683-4f45-a000-820723d37871
1005
1016
  * @param {string} symbol unified symbol of the market to fetch the order book for
1006
1017
  * @param {int} [limit] the maximum amount of order book entries to return
1007
1018
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1024,6 +1035,7 @@ export default class exmo extends Exchange {
1024
1035
  * @method
1025
1036
  * @name exmo#fetchOrderBooks
1026
1037
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
1038
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c60c51a8-e683-4f45-a000-820723d37871
1027
1039
  * @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
1028
1040
  * @param {int} [limit] max number of entries per orderbook to return, default is undefined
1029
1041
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1104,6 +1116,7 @@ export default class exmo extends Exchange {
1104
1116
  * @method
1105
1117
  * @name exmo#fetchTickers
1106
1118
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
1119
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
1107
1120
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
1108
1121
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1109
1122
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -1142,6 +1155,7 @@ export default class exmo extends Exchange {
1142
1155
  * @method
1143
1156
  * @name exmo#fetchTicker
1144
1157
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
1158
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
1145
1159
  * @param {string} symbol unified symbol of the market to fetch the ticker for
1146
1160
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1147
1161
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -1246,6 +1260,7 @@ export default class exmo extends Exchange {
1246
1260
  * @method
1247
1261
  * @name exmo#fetchTrades
1248
1262
  * @description get the list of most recent trades for a particular symbol
1263
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#5a5a9c0d-cf17-47f6-9d62-6d4404ebd5ac
1249
1264
  * @param {string} symbol unified symbol of the market to fetch trades for
1250
1265
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
1251
1266
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -2086,6 +2101,7 @@ export default class exmo extends Exchange {
2086
2101
  * @method
2087
2102
  * @name exmo#fetchDepositAddress
2088
2103
  * @description fetch the deposit address for a currency associated with this account
2104
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8f9ced9-7ab6-4383-a6a4-bc54469ba60e
2089
2105
  * @param {string} code unified currency code
2090
2106
  * @param {object} [params] extra parameters specific to the exchange API endpoint
2091
2107
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -2132,6 +2148,7 @@ export default class exmo extends Exchange {
2132
2148
  * @method
2133
2149
  * @name exmo#withdraw
2134
2150
  * @description make a withdrawal
2151
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#3ab9c34d-ad58-4f87-9c57-2e2ea88a8325
2135
2152
  * @param {string} code unified currency code
2136
2153
  * @param {float} amount the amount to withdraw
2137
2154
  * @param {string} address the address to withdraw to
@@ -2311,6 +2328,7 @@ export default class exmo extends Exchange {
2311
2328
  * @method
2312
2329
  * @name exmo#fetchDepositsWithdrawals
2313
2330
  * @description fetch history of deposits and withdrawals
2331
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#31e69a33-4849-4e6a-b4b4-6d574238f6a7
2314
2332
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
2315
2333
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
2316
2334
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
@@ -2364,6 +2382,7 @@ export default class exmo extends Exchange {
2364
2382
  * @method
2365
2383
  * @name exmo#fetchWithdrawals
2366
2384
  * @description fetch all withdrawals made from an account
2385
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
2367
2386
  * @param {string} code unified currency code
2368
2387
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
2369
2388
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -2417,6 +2436,7 @@ export default class exmo extends Exchange {
2417
2436
  * @method
2418
2437
  * @name exmo#fetchWithdrawal
2419
2438
  * @description fetch data on a currency withdrawal via the withdrawal id
2439
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
2420
2440
  * @param {string} id withdrawal id
2421
2441
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
2422
2442
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -2468,6 +2488,7 @@ export default class exmo extends Exchange {
2468
2488
  * @method
2469
2489
  * @name exmo#fetchDeposit
2470
2490
  * @description fetch information on a deposit
2491
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
2471
2492
  * @param {string} id deposit id
2472
2493
  * @param {string} code unified currency code, default is undefined
2473
2494
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -2519,6 +2540,7 @@ export default class exmo extends Exchange {
2519
2540
  * @method
2520
2541
  * @name exmo#fetchDeposits
2521
2542
  * @description fetch all deposits made to an account
2543
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
2522
2544
  * @param {string} code unified currency code
2523
2545
  * @param {int} [since] the earliest time in ms to fetch deposits for
2524
2546
  * @param {int} [limit] the maximum number of deposits structures to retrieve
package/js/src/gemini.js CHANGED
@@ -403,6 +403,7 @@ export default class gemini extends Exchange {
403
403
  * @method
404
404
  * @name gemini#fetchMarkets
405
405
  * @description retrieves data on all markets for gemini
406
+ * @see https://docs.gemini.com/rest-api/#symbols
406
407
  * @param {object} [params] extra parameters specific to the exchange API endpoint
407
408
  * @returns {object[]} an array of objects representing market data
408
409
  */
@@ -663,6 +664,7 @@ export default class gemini extends Exchange {
663
664
  * @method
664
665
  * @name gemini#fetchOrderBook
665
666
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
667
+ * @see https://docs.gemini.com/rest-api/#current-order-book
666
668
  * @param {string} symbol unified symbol of the market to fetch the order book for
667
669
  * @param {int} [limit] the maximum amount of order book entries to return
668
670
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -741,6 +743,8 @@ export default class gemini extends Exchange {
741
743
  * @method
742
744
  * @name gemini#fetchTicker
743
745
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
746
+ * @see https://docs.gemini.com/rest-api/#ticker
747
+ * @see https://docs.gemini.com/rest-api/#ticker-v2
744
748
  * @param {string} symbol unified symbol of the market to fetch the ticker for
745
749
  * @param {object} [params] extra parameters specific to the exchange API endpoint
746
750
  * @param {object} [params.fetchTickerMethod] 'fetchTickerV2', 'fetchTickerV1' or 'fetchTickerV1AndV2' - 'fetchTickerV1' for original ccxt.gemini.fetchTicker - 'fetchTickerV1AndV2' for 2 api calls to get the result of both fetchTicker methods - default = 'fetchTickerV1'
@@ -854,6 +858,7 @@ export default class gemini extends Exchange {
854
858
  * @method
855
859
  * @name gemini#fetchTickers
856
860
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
861
+ * @see https://docs.gemini.com/rest-api/#price-feed
857
862
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
858
863
  * @param {object} [params] extra parameters specific to the exchange API endpoint
859
864
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -996,6 +1001,7 @@ export default class gemini extends Exchange {
996
1001
  * @method
997
1002
  * @name gemini#fetchTradingFees
998
1003
  * @description fetch the trading fees for multiple markets
1004
+ * @see https://docs.gemini.com/rest-api/#get-notional-volume
999
1005
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1000
1006
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
1001
1007
  */
@@ -1054,6 +1060,7 @@ export default class gemini extends Exchange {
1054
1060
  * @method
1055
1061
  * @name gemini#fetchBalance
1056
1062
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
1063
+ * @see https://docs.gemini.com/rest-api/#get-available-balances
1057
1064
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1058
1065
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
1059
1066
  */
@@ -1235,6 +1242,7 @@ export default class gemini extends Exchange {
1235
1242
  * @method
1236
1243
  * @name gemini#fetchOrder
1237
1244
  * @description fetches information on an order made by the user
1245
+ * @see https://docs.gemini.com/rest-api/#order-status
1238
1246
  * @param {string} symbol unified symbol of the market the order was made in
1239
1247
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1240
1248
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1274,6 +1282,7 @@ export default class gemini extends Exchange {
1274
1282
  * @method
1275
1283
  * @name gemini#fetchOpenOrders
1276
1284
  * @description fetch all unfilled currently open orders
1285
+ * @see https://docs.gemini.com/rest-api/#get-active-orders
1277
1286
  * @param {string} symbol unified market symbol
1278
1287
  * @param {int} [since] the earliest time in ms to fetch open orders for
1279
1288
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -1416,6 +1425,7 @@ export default class gemini extends Exchange {
1416
1425
  * @method
1417
1426
  * @name gemini#cancelOrder
1418
1427
  * @description cancels an open order
1428
+ * @see https://docs.gemini.com/rest-api/#cancel-order
1419
1429
  * @param {string} id order id
1420
1430
  * @param {string} symbol unified symbol of the market the order was made in
1421
1431
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1457,6 +1467,7 @@ export default class gemini extends Exchange {
1457
1467
  * @method
1458
1468
  * @name gemini#fetchMyTrades
1459
1469
  * @description fetch all trades made by the user
1470
+ * @see https://docs.gemini.com/rest-api/#get-past-trades
1460
1471
  * @param {string} symbol unified market symbol
1461
1472
  * @param {int} [since] the earliest time in ms to fetch trades for
1462
1473
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -1485,6 +1496,7 @@ export default class gemini extends Exchange {
1485
1496
  * @method
1486
1497
  * @name gemini#withdraw
1487
1498
  * @description make a withdrawal
1499
+ * @see https://docs.gemini.com/rest-api/#withdraw-crypto-funds
1488
1500
  * @param {string} code unified currency code
1489
1501
  * @param {float} amount the amount to withdraw
1490
1502
  * @param {string} address the address to withdraw to
@@ -1543,6 +1555,7 @@ export default class gemini extends Exchange {
1543
1555
  * @method
1544
1556
  * @name gemini#fetchDepositsWithdrawals
1545
1557
  * @description fetch history of deposits and withdrawals
1558
+ * @see https://docs.gemini.com/rest-api/#transfers
1546
1559
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
1547
1560
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
1548
1561
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
@@ -1754,6 +1767,7 @@ export default class gemini extends Exchange {
1754
1767
  * @method
1755
1768
  * @name gemini#createDepositAddress
1756
1769
  * @description create a currency deposit address
1770
+ * @see https://docs.gemini.com/rest-api/#new-deposit-address
1757
1771
  * @param {string} code unified currency code of the currency for the deposit address
1758
1772
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1759
1773
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -1778,6 +1792,7 @@ export default class gemini extends Exchange {
1778
1792
  * @method
1779
1793
  * @name gemini#fetchOHLCV
1780
1794
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
1795
+ * @see https://docs.gemini.com/rest-api/#candles
1781
1796
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
1782
1797
  * @param {string} timeframe the length of time each candle represents
1783
1798
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
package/js/src/hollaex.js CHANGED
@@ -137,6 +137,9 @@ export default class hollaex extends Exchange {
137
137
  'trades': 1,
138
138
  'chart': 1,
139
139
  'charts': 1,
140
+ 'minicharts': 1,
141
+ 'oracle/prices': 1,
142
+ 'quick-trade': 1,
140
143
  // TradingView
141
144
  'udf/config': 1,
142
145
  'udf/history': 1,
@@ -212,6 +215,7 @@ export default class hollaex extends Exchange {
212
215
  * @method
213
216
  * @name hollaex#fetchMarkets
214
217
  * @description retrieves data on all markets for hollaex
218
+ * @see https://apidocs.hollaex.com/#constants
215
219
  * @param {object} [params] extra parameters specific to the exchange API endpoint
216
220
  * @returns {object[]} an array of objects representing market data
217
221
  */
@@ -414,6 +418,7 @@ export default class hollaex extends Exchange {
414
418
  * @method
415
419
  * @name hollaex#fetchOrderBooks
416
420
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
421
+ * @see https://apidocs.hollaex.com/#orderbooks
417
422
  * @param {string[]|undefined} symbols not used by hollaex fetchOrderBooks ()
418
423
  * @param {int} [limit] not used by hollaex fetchOrderBooks ()
419
424
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -437,6 +442,7 @@ export default class hollaex extends Exchange {
437
442
  * @method
438
443
  * @name hollaex#fetchOrderBook
439
444
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
445
+ * @see https://apidocs.hollaex.com/#orderbook
440
446
  * @param {string} symbol unified symbol of the market to fetch the order book for
441
447
  * @param {int} [limit] the maximum amount of order book entries to return
442
448
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -447,7 +453,7 @@ export default class hollaex extends Exchange {
447
453
  const request = {
448
454
  'symbol': market['id'],
449
455
  };
450
- const response = await this.publicGetOrderbooks(this.extend(request, params));
456
+ const response = await this.publicGetOrderbook(this.extend(request, params));
451
457
  //
452
458
  // {
453
459
  // "btc-usdt": {
@@ -476,6 +482,7 @@ export default class hollaex extends Exchange {
476
482
  * @method
477
483
  * @name hollaex#fetchTicker
478
484
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
485
+ * @see https://apidocs.hollaex.com/#ticker
479
486
  * @param {string} symbol unified symbol of the market to fetch the ticker for
480
487
  * @param {object} [params] extra parameters specific to the exchange API endpoint
481
488
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -504,6 +511,7 @@ export default class hollaex extends Exchange {
504
511
  * @method
505
512
  * @name hollaex#fetchTickers
506
513
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
514
+ * @see https://apidocs.hollaex.com/#tickers
507
515
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
508
516
  * @param {object} [params] extra parameters specific to the exchange API endpoint
509
517
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -601,6 +609,7 @@ export default class hollaex extends Exchange {
601
609
  * @method
602
610
  * @name hollaex#fetchTrades
603
611
  * @description get the list of most recent trades for a particular symbol
612
+ * @see https://apidocs.hollaex.com/#trades
604
613
  * @param {string} symbol unified symbol of the market to fetch trades for
605
614
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
606
615
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -689,6 +698,7 @@ export default class hollaex extends Exchange {
689
698
  * @method
690
699
  * @name hollaex#fetchTradingFees
691
700
  * @description fetch the trading fees for multiple markets
701
+ * @see https://apidocs.hollaex.com/#tiers
692
702
  * @param {object} [params] extra parameters specific to the exchange API endpoint
693
703
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
694
704
  */
@@ -748,6 +758,7 @@ export default class hollaex extends Exchange {
748
758
  * @method
749
759
  * @name hollaex#fetchOHLCV
750
760
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
761
+ * @see https://apidocs.hollaex.com/#chart
751
762
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
752
763
  * @param {string} timeframe the length of time each candle represents
753
764
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -842,6 +853,7 @@ export default class hollaex extends Exchange {
842
853
  * @method
843
854
  * @name hollaex#fetchBalance
844
855
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
856
+ * @see https://apidocs.hollaex.com/#get-balance
845
857
  * @param {object} [params] extra parameters specific to the exchange API endpoint
846
858
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
847
859
  */
@@ -866,6 +878,7 @@ export default class hollaex extends Exchange {
866
878
  * @method
867
879
  * @name hollaex#fetchOpenOrder
868
880
  * @description fetch an open order by it's id
881
+ * @see https://apidocs.hollaex.com/#get-order
869
882
  * @param {string} id order id
870
883
  * @param {string} symbol not used by hollaex fetchOpenOrder ()
871
884
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -907,6 +920,7 @@ export default class hollaex extends Exchange {
907
920
  * @method
908
921
  * @name hollaex#fetchOpenOrders
909
922
  * @description fetch all unfilled currently open orders
923
+ * @see https://apidocs.hollaex.com/#get-all-orders
910
924
  * @param {string} symbol unified market symbol
911
925
  * @param {int} [since] the earliest time in ms to fetch open orders for
912
926
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -923,6 +937,7 @@ export default class hollaex extends Exchange {
923
937
  * @method
924
938
  * @name hollaex#fetchClosedOrders
925
939
  * @description fetches information on multiple closed orders made by the user
940
+ * @see https://apidocs.hollaex.com/#get-all-orders
926
941
  * @param {string} symbol unified market symbol of the market orders were made in
927
942
  * @param {int} [since] the earliest time in ms to fetch orders for
928
943
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -939,6 +954,7 @@ export default class hollaex extends Exchange {
939
954
  * @method
940
955
  * @name hollaex#fetchOrder
941
956
  * @description fetches information on an order made by the user
957
+ * @see https://apidocs.hollaex.com/#get-order
942
958
  * @param {string} symbol unified symbol of the market the order was made in
943
959
  * @param {object} [params] extra parameters specific to the exchange API endpoint
944
960
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -981,6 +997,7 @@ export default class hollaex extends Exchange {
981
997
  * @method
982
998
  * @name hollaex#fetchOrders
983
999
  * @description fetches information on multiple orders made by the user
1000
+ * @see https://apidocs.hollaex.com/#get-all-orders
984
1001
  * @param {string} symbol unified market symbol of the market orders were made in
985
1002
  * @param {int} [since] the earliest time in ms to fetch orders for
986
1003
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -1125,6 +1142,7 @@ export default class hollaex extends Exchange {
1125
1142
  * @method
1126
1143
  * @name hollaex#createOrder
1127
1144
  * @description create a trade order
1145
+ * @see https://apidocs.hollaex.com/#create-order
1128
1146
  * @param {string} symbol unified symbol of the market to create an order in
1129
1147
  * @param {string} type 'market' or 'limit'
1130
1148
  * @param {string} side 'buy' or 'sell'
@@ -1193,6 +1211,7 @@ export default class hollaex extends Exchange {
1193
1211
  * @method
1194
1212
  * @name hollaex#cancelOrder
1195
1213
  * @description cancels an open order
1214
+ * @see https://apidocs.hollaex.com/#cancel-order
1196
1215
  * @param {string} id order id
1197
1216
  * @param {string} symbol unified symbol of the market the order was made in
1198
1217
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1223,6 +1242,7 @@ export default class hollaex extends Exchange {
1223
1242
  * @method
1224
1243
  * @name hollaex#cancelAllOrders
1225
1244
  * @description cancel all open orders in a market
1245
+ * @see https://apidocs.hollaex.com/#cancel-all-orders
1226
1246
  * @param {string} symbol unified market symbol of the market to cancel orders in
1227
1247
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1228
1248
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -1258,6 +1278,7 @@ export default class hollaex extends Exchange {
1258
1278
  * @method
1259
1279
  * @name hollaex#fetchMyTrades
1260
1280
  * @description fetch all trades made by the user
1281
+ * @see https://apidocs.hollaex.com/#get-trades
1261
1282
  * @param {string} symbol unified market symbol
1262
1283
  * @param {int} [since] the earliest time in ms to fetch trades for
1263
1284
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -1339,6 +1360,7 @@ export default class hollaex extends Exchange {
1339
1360
  * @method
1340
1361
  * @name hollaex#fetchDepositAddresses
1341
1362
  * @description fetch deposit addresses for multiple currencies and chain types
1363
+ * @see https://apidocs.hollaex.com/#get-user
1342
1364
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
1343
1365
  * @param {object} [params] extra parameters specific to the exchange API endpoint
1344
1366
  * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -1401,6 +1423,7 @@ export default class hollaex extends Exchange {
1401
1423
  * @method
1402
1424
  * @name hollaex#fetchDeposits
1403
1425
  * @description fetch all deposits made to an account
1426
+ * @see https://apidocs.hollaex.com/#get-deposits
1404
1427
  * @param {string} code unified currency code
1405
1428
  * @param {int} [since] the earliest time in ms to fetch deposits for
1406
1429
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -1460,6 +1483,7 @@ export default class hollaex extends Exchange {
1460
1483
  * @method
1461
1484
  * @name hollaex#fetchWithdrawal
1462
1485
  * @description fetch data on a currency withdrawal via the withdrawal id
1486
+ * @see https://apidocs.hollaex.com/#get-withdrawals
1463
1487
  * @param {string} id withdrawal id
1464
1488
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
1465
1489
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -1507,6 +1531,7 @@ export default class hollaex extends Exchange {
1507
1531
  * @method
1508
1532
  * @name hollaex#fetchWithdrawals
1509
1533
  * @description fetch all withdrawals made from an account
1534
+ * @see https://apidocs.hollaex.com/#get-withdrawals
1510
1535
  * @param {string} code unified currency code
1511
1536
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
1512
1537
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -1667,6 +1692,7 @@ export default class hollaex extends Exchange {
1667
1692
  * @method
1668
1693
  * @name hollaex#withdraw
1669
1694
  * @description make a withdrawal
1695
+ * @see https://apidocs.hollaex.com/#withdrawal
1670
1696
  * @param {string} code unified currency code
1671
1697
  * @param {float} amount the amount to withdraw
1672
1698
  * @param {string} address the address to withdraw to
package/js/src/idex.d.ts CHANGED
@@ -36,6 +36,13 @@ export default class idex extends Exchange {
36
36
  handleErrors(code: any, reason: any, url: any, method: any, headers: any, body: any, response: any, requestHeaders: any, requestBody: any): any;
37
37
  fetchDeposit(id: string, code?: Str, params?: {}): Promise<Transaction>;
38
38
  fetchDeposits(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;
39
+ fetchStatus(params?: {}): Promise<{
40
+ status: string;
41
+ updated: any;
42
+ eta: any;
43
+ url: any;
44
+ info: any;
45
+ }>;
39
46
  fetchTime(params?: {}): Promise<number>;
40
47
  fetchWithdrawal(id: string, code?: Str, params?: {}): Promise<Transaction>;
41
48
  fetchWithdrawals(code?: Str, since?: Int, limit?: Int, params?: {}): Promise<Transaction[]>;