ccxt 4.2.46 → 4.2.47

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.
@@ -87417,11 +87417,194 @@ class bybit extends _abstract_bybit_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"
87417
87417
  const data = this.safeValue(result, 'dataList', []);
87418
87418
  return this.parseOrders(data, market, since, limit);
87419
87419
  }
87420
+ async fetchOrderClassic(id, symbol = undefined, params = {}) {
87421
+ /**
87422
+ * @method
87423
+ * @name bybit#fetchOrderClassic
87424
+ * @description fetches information on an order made by the user *classic accounts only*
87425
+ * @see https://bybit-exchange.github.io/docs/v5/order/order-list
87426
+ * @param {string} symbol unified symbol of the market the order was made in
87427
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
87428
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
87429
+ */
87430
+ if (symbol === undefined) {
87431
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.ArgumentsRequired(this.id + ' fetchOrder() requires a symbol argument');
87432
+ }
87433
+ await this.loadMarkets();
87434
+ const market = this.market(symbol);
87435
+ if (market['spot']) {
87436
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' fetchOrder() is not supported for spot markets');
87437
+ }
87438
+ const request = {
87439
+ 'orderId': id,
87440
+ };
87441
+ const result = await this.fetchOrders(symbol, undefined, undefined, this.extend(request, params));
87442
+ const length = result.length;
87443
+ if (length === 0) {
87444
+ const isTrigger = this.safeBoolN(params, ['trigger', 'stop'], false);
87445
+ const extra = isTrigger ? '' : 'If you are trying to fetch SL/TP conditional order, you might try setting params["trigger"] = true';
87446
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.OrderNotFound('Order ' + id.toString() + ' was not found.' + extra);
87447
+ }
87448
+ if (length > 1) {
87449
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.InvalidOrder(this.id + ' returned more than one order');
87450
+ }
87451
+ return this.safeValue(result, 0);
87452
+ }
87420
87453
  async fetchOrder(id, symbol = undefined, params = {}) {
87421
- throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' fetchOrder() is not supported after the 5/02 update, please use fetchOpenOrder or fetchClosedOrder');
87454
+ /**
87455
+ * @method
87456
+ * @name bybit#fetchOrderClassic
87457
+ * @description *classic accounts only/ spot not supported* fetches information on an order made by the user *classic accounts only*
87458
+ * @see https://bybit-exchange.github.io/docs/v5/order/order-list
87459
+ * @param {string} symbol unified symbol of the market the order was made in
87460
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
87461
+ * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
87462
+ */
87463
+ const res = await this.isUnifiedEnabled();
87464
+ const enableUnifiedAccount = this.safeBool(res, 1);
87465
+ if (enableUnifiedAccount) {
87466
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' fetchOrder() is not supported after the 5/02 update for UTA accounts, please use fetchOpenOrder or fetchClosedOrder');
87467
+ }
87468
+ return await this.fetchOrderClassic(id, symbol, params);
87422
87469
  }
87423
87470
  async fetchOrders(symbol = undefined, since = undefined, limit = undefined, params = {}) {
87424
- throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' fetchOrders() is not supported after the 5/02 update, please use fetchOpenOrders, fetchClosedOrders or fetchCanceledOrders');
87471
+ const res = await this.isUnifiedEnabled();
87472
+ /**
87473
+ * @method
87474
+ * @name bybit#fetchOrders
87475
+ * @description *classic accounts only/ spot not supported* fetches information on multiple orders made by the user *classic accounts only/ spot not supported*
87476
+ * @see https://bybit-exchange.github.io/docs/v5/order/order-list
87477
+ * @param {string} symbol unified market symbol of the market orders were made in
87478
+ * @param {int} [since] the earliest time in ms to fetch orders for
87479
+ * @param {int} [limit] the maximum number of order structures to retrieve
87480
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
87481
+ * @param {boolean} [params.stop] true if stop order
87482
+ * @param {string} [params.type] market type, ['swap', 'option']
87483
+ * @param {string} [params.subType] market subType, ['linear', 'inverse']
87484
+ * @param {string} [params.orderFilter] 'Order' or 'StopOrder' or 'tpslOrder'
87485
+ * @param {int} [params.until] the latest time in ms to fetch entries for
87486
+ * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
87487
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
87488
+ */
87489
+ const enableUnifiedAccount = this.safeBool(res, 1);
87490
+ if (enableUnifiedAccount) {
87491
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' fetchOrders() is not supported after the 5/02 update for UTA accounts, please use fetchOpenOrders, fetchClosedOrders or fetchCanceledOrders');
87492
+ }
87493
+ return await this.fetchOrdersClassic(symbol, since, limit, params);
87494
+ }
87495
+ async fetchOrdersClassic(symbol = undefined, since = undefined, limit = undefined, params = {}) {
87496
+ /**
87497
+ * @method
87498
+ * @name bybit#fetchOrders
87499
+ * @description fetches information on multiple orders made by the user *classic accounts only*
87500
+ * @see https://bybit-exchange.github.io/docs/v5/order/order-list
87501
+ * @param {string} symbol unified market symbol of the market orders were made in
87502
+ * @param {int} [since] the earliest time in ms to fetch orders for
87503
+ * @param {int} [limit] the maximum number of order structures to retrieve
87504
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
87505
+ * @param {boolean} [params.stop] true if stop order
87506
+ * @param {string} [params.type] market type, ['swap', 'option', 'spot']
87507
+ * @param {string} [params.subType] market subType, ['linear', 'inverse']
87508
+ * @param {string} [params.orderFilter] 'Order' or 'StopOrder' or 'tpslOrder'
87509
+ * @param {int} [params.until] the latest time in ms to fetch entries for
87510
+ * @param {boolean} [params.paginate] default false, when true will automatically paginate by calling this endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params)
87511
+ * @returns {Order[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
87512
+ */
87513
+ await this.loadMarkets();
87514
+ let paginate = false;
87515
+ [paginate, params] = this.handleOptionAndParams(params, 'fetchOrders', 'paginate');
87516
+ if (paginate) {
87517
+ return await this.fetchPaginatedCallCursor('fetchOrders', symbol, since, limit, params, 'nextPageCursor', 'nextPageCursor', undefined, 50);
87518
+ }
87519
+ const [enableUnifiedMargin, enableUnifiedAccount] = await this.isUnifiedEnabled();
87520
+ const isUnifiedAccount = (enableUnifiedMargin || enableUnifiedAccount);
87521
+ const request = {};
87522
+ let market = undefined;
87523
+ let isUsdcSettled = false;
87524
+ if (symbol !== undefined) {
87525
+ market = this.market(symbol);
87526
+ isUsdcSettled = market['settle'] === 'USDC';
87527
+ request['symbol'] = market['id'];
87528
+ }
87529
+ let type = undefined;
87530
+ [type, params] = this.getBybitType('fetchOrders', market, params);
87531
+ if (((type === 'option') || isUsdcSettled) && !isUnifiedAccount) {
87532
+ return await this.fetchUsdcOrders(symbol, since, limit, params);
87533
+ }
87534
+ if (type === 'spot') {
87535
+ throw new _base_errors_js__WEBPACK_IMPORTED_MODULE_1__.NotSupported(this.id + ' fetchOrders() is not supported for spot markets');
87536
+ }
87537
+ request['category'] = type;
87538
+ const isStop = this.safeBoolN(params, ['trigger', 'stop'], false);
87539
+ params = this.omit(params, ['trigger', 'stop']);
87540
+ if (isStop) {
87541
+ request['orderFilter'] = 'StopOrder';
87542
+ }
87543
+ if (limit !== undefined) {
87544
+ request['limit'] = limit;
87545
+ }
87546
+ if (since !== undefined) {
87547
+ request['startTime'] = since;
87548
+ }
87549
+ const until = this.safeInteger2(params, 'until', 'till'); // unified in milliseconds
87550
+ const endTime = this.safeInteger(params, 'endTime', until); // exchange-specific in milliseconds
87551
+ params = this.omit(params, ['endTime', 'till', 'until']);
87552
+ if (endTime !== undefined) {
87553
+ request['endTime'] = endTime;
87554
+ }
87555
+ const response = await this.privateGetV5OrderHistory(this.extend(request, params));
87556
+ //
87557
+ // {
87558
+ // "retCode": 0,
87559
+ // "retMsg": "OK",
87560
+ // "result": {
87561
+ // "nextPageCursor": "03234de9-1332-41eb-b805-4a9f42c136a3%3A1672220109387%2C03234de9-1332-41eb-b805-4a9f42c136a3%3A1672220109387",
87562
+ // "category": "linear",
87563
+ // "list": [
87564
+ // {
87565
+ // "symbol": "BTCUSDT",
87566
+ // "orderType": "Limit",
87567
+ // "orderLinkId": "test-001",
87568
+ // "orderId": "03234de9-1332-41eb-b805-4a9f42c136a3",
87569
+ // "cancelType": "CancelByUser",
87570
+ // "avgPrice": "0",
87571
+ // "stopOrderType": "UNKNOWN",
87572
+ // "lastPriceOnCreated": "16656.5",
87573
+ // "orderStatus": "Cancelled",
87574
+ // "takeProfit": "",
87575
+ // "cumExecValue": "0",
87576
+ // "triggerDirection": 0,
87577
+ // "blockTradeId": "",
87578
+ // "rejectReason": "EC_PerCancelRequest",
87579
+ // "isLeverage": "",
87580
+ // "price": "18000",
87581
+ // "orderIv": "",
87582
+ // "createdTime": "1672220109387",
87583
+ // "tpTriggerBy": "UNKNOWN",
87584
+ // "positionIdx": 0,
87585
+ // "timeInForce": "GoodTillCancel",
87586
+ // "leavesValue": "0",
87587
+ // "updatedTime": "1672220114123",
87588
+ // "side": "Sell",
87589
+ // "triggerPrice": "",
87590
+ // "cumExecFee": "0",
87591
+ // "slTriggerBy": "UNKNOWN",
87592
+ // "leavesQty": "0",
87593
+ // "closeOnTrigger": false,
87594
+ // "cumExecQty": "0",
87595
+ // "reduceOnly": false,
87596
+ // "qty": "0.1",
87597
+ // "stopLoss": "",
87598
+ // "triggerBy": "UNKNOWN"
87599
+ // }
87600
+ // ]
87601
+ // },
87602
+ // "retExtInfo": {},
87603
+ // "time": 1672221263862
87604
+ // }
87605
+ //
87606
+ const data = this.addPaginationCursorToResult(response);
87607
+ return this.parseOrders(data, market, since, limit);
87425
87608
  }
87426
87609
  async fetchClosedOrder(id, symbol = undefined, params = {}) {
87427
87610
  /**
@@ -111272,6 +111455,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111272
111455
  * @method
111273
111456
  * @name coinsph#fetchStatus
111274
111457
  * @description the latest known information on the availability of the exchange API
111458
+ * @see https://coins-docs.github.io/rest-api/#test-connectivity
111275
111459
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111276
111460
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
111277
111461
  */
@@ -111289,6 +111473,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111289
111473
  * @method
111290
111474
  * @name coinsph#fetchTime
111291
111475
  * @description fetches the current integer timestamp in milliseconds from the exchange server
111476
+ * @see https://coins-docs.github.io/rest-api/#check-server-time
111292
111477
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111293
111478
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
111294
111479
  */
@@ -111303,6 +111488,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111303
111488
  * @method
111304
111489
  * @name coinsph#fetchMarkets
111305
111490
  * @description retrieves data on all markets for coinsph
111491
+ * @see https://coins-docs.github.io/rest-api/#exchange-information
111306
111492
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111307
111493
  * @returns {object[]} an array of objects representing market data
111308
111494
  */
@@ -111439,6 +111625,9 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111439
111625
  * @method
111440
111626
  * @name coinsph#fetchTickers
111441
111627
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
111628
+ * @see https://coins-docs.github.io/rest-api/#24hr-ticker-price-change-statistics
111629
+ * @see https://coins-docs.github.io/rest-api/#symbol-price-ticker
111630
+ * @see https://coins-docs.github.io/rest-api/#symbol-order-book-ticker
111442
111631
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
111443
111632
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111444
111633
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -111474,6 +111663,9 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111474
111663
  * @method
111475
111664
  * @name coinsph#fetchTicker
111476
111665
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
111666
+ * @see https://coins-docs.github.io/rest-api/#24hr-ticker-price-change-statistics
111667
+ * @see https://coins-docs.github.io/rest-api/#symbol-price-ticker
111668
+ * @see https://coins-docs.github.io/rest-api/#symbol-order-book-ticker
111477
111669
  * @param {string} symbol unified symbol of the market to fetch the ticker for
111478
111670
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111479
111671
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -111581,6 +111773,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111581
111773
  * @method
111582
111774
  * @name coinsph#fetchOrderBook
111583
111775
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
111776
+ * @see https://coins-docs.github.io/rest-api/#order-book
111584
111777
  * @param {string} symbol unified symbol of the market to fetch the order book for
111585
111778
  * @param {int} [limit] the maximum amount of order book entries to return (default 100, max 200)
111586
111779
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -111617,6 +111810,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111617
111810
  * @method
111618
111811
  * @name coinsph#fetchOHLCV
111619
111812
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
111813
+ * @see https://coins-docs.github.io/rest-api/#klinecandlestick-data
111620
111814
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
111621
111815
  * @param {string} timeframe the length of time each candle represents
111622
111816
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -111683,6 +111877,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111683
111877
  * @method
111684
111878
  * @name coinsph#fetchTrades
111685
111879
  * @description get the list of most recent trades for a particular symbol
111880
+ * @see https://coins-docs.github.io/rest-api/#recent-trades-list
111686
111881
  * @param {string} symbol unified symbol of the market to fetch trades for
111687
111882
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
111688
111883
  * @param {int} [limit] the maximum amount of trades to fetch (default 500, max 1000)
@@ -111724,6 +111919,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111724
111919
  * @method
111725
111920
  * @name coinsph#fetchMyTrades
111726
111921
  * @description fetch all trades made by the user
111922
+ * @see https://coins-docs.github.io/rest-api/#account-trade-list-user_data
111727
111923
  * @param {string} symbol unified market symbol
111728
111924
  * @param {int} [since] the earliest time in ms to fetch trades for
111729
111925
  * @param {int} [limit] the maximum number of trades structures to retrieve (default 500, max 1000)
@@ -111754,6 +111950,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111754
111950
  * @method
111755
111951
  * @name coinsph#fetchOrderTrades
111756
111952
  * @description fetch all the trades made from a single order
111953
+ * @see https://coins-docs.github.io/rest-api/#account-trade-list-user_data
111757
111954
  * @param {string} id order id
111758
111955
  * @param {string} symbol unified market symbol
111759
111956
  * @param {int} [since] the earliest time in ms to fetch trades for
@@ -111860,6 +112057,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111860
112057
  * @method
111861
112058
  * @name coinsph#fetchBalance
111862
112059
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
112060
+ * @see https://coins-docs.github.io/rest-api/#accept-the-quote
111863
112061
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111864
112062
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
111865
112063
  */
@@ -111919,11 +112117,14 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111919
112117
  * @param {float} [price] the price at which the order is to be fullfilled, in units of the quote currency, ignored in market orders
111920
112118
  * @param {object} [params] extra parameters specific to the exchange API endpoint
111921
112119
  * @param {float} [params.cost] the quote quantity that can be used as an alternative for the amount for market buy orders
112120
+ * @param {bool} [params.test] set to true to test an order, no order will be created but the request will be validated
111922
112121
  * @returns {object} an [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
111923
112122
  */
111924
112123
  // todo: add test order low priority
111925
112124
  await this.loadMarkets();
111926
112125
  const market = this.market(symbol);
112126
+ const testOrder = this.safeBool(params, 'test', false);
112127
+ params = this.omit(params, 'test');
111927
112128
  let orderType = this.safeString(params, 'type', type);
111928
112129
  orderType = this.encodeOrderType(orderType);
111929
112130
  params = this.omit(params, 'type');
@@ -111988,7 +112189,13 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
111988
112189
  }
111989
112190
  request['newOrderRespType'] = newOrderRespType;
111990
112191
  params = this.omit(params, 'price', 'stopPrice', 'triggerPrice', 'quantity', 'quoteOrderQty');
111991
- const response = await this.privatePostOpenapiV1Order(this.extend(request, params));
112192
+ let response = undefined;
112193
+ if (testOrder) {
112194
+ response = await this.privatePostOpenapiV1OrderTest(this.extend(request, params));
112195
+ }
112196
+ else {
112197
+ response = await this.privatePostOpenapiV1Order(this.extend(request, params));
112198
+ }
111992
112199
  //
111993
112200
  // {
111994
112201
  // "symbol": "ETHUSDT",
@@ -112023,6 +112230,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
112023
112230
  * @method
112024
112231
  * @name coinsph#fetchOrder
112025
112232
  * @description fetches information on an order made by the user
112233
+ * @see https://coins-docs.github.io/rest-api/#query-order-user_data
112026
112234
  * @param {int|string} id order id
112027
112235
  * @param {string} symbol not used by coinsph fetchOrder ()
112028
112236
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -112046,6 +112254,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
112046
112254
  * @method
112047
112255
  * @name coinsph#fetchOpenOrders
112048
112256
  * @description fetch all unfilled currently open orders
112257
+ * @see https://coins-docs.github.io/rest-api/#query-order-user_data
112049
112258
  * @param {string} symbol unified market symbol
112050
112259
  * @param {int} [since] the earliest time in ms to fetch open orders for
112051
112260
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -112067,6 +112276,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
112067
112276
  * @method
112068
112277
  * @name coinsph#fetchClosedOrders
112069
112278
  * @description fetches information on multiple closed orders made by the user
112279
+ * @see https://coins-docs.github.io/rest-api/#history-orders-user_data
112070
112280
  * @param {string} symbol unified market symbol of the market orders were made in
112071
112281
  * @param {int} [since] the earliest time in ms to fetch orders for
112072
112282
  * @param {int} [limit] the maximum number of order structures to retrieve (default 500, max 1000)
@@ -112097,6 +112307,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
112097
112307
  * @method
112098
112308
  * @name coinsph#cancelOrder
112099
112309
  * @description cancels an open order
112310
+ * @see https://coins-docs.github.io/rest-api/#cancel-order-trade
112100
112311
  * @param {string} id order id
112101
112312
  * @param {string} symbol not used by coinsph cancelOrder ()
112102
112313
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -112120,6 +112331,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
112120
112331
  * @method
112121
112332
  * @name coinsph#cancelAllOrders
112122
112333
  * @description cancel open orders of market
112334
+ * @see https://coins-docs.github.io/rest-api/#cancel-all-open-orders-on-a-symbol-trade
112123
112335
  * @param {string} symbol unified market symbol
112124
112336
  * @param {object} [params] extra parameters specific to the exchange API endpoint
112125
112337
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -112302,6 +112514,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
112302
112514
  * @method
112303
112515
  * @name coinsph#fetchTradingFee
112304
112516
  * @description fetch the trading fees for a market
112517
+ * @see https://coins-docs.github.io/rest-api/#trade-fee-user_data
112305
112518
  * @param {string} symbol unified market symbol
112306
112519
  * @param {object} [params] extra parameters specific to the exchange API endpoint
112307
112520
  * @returns {object} a [fee structure]{@link https://docs.ccxt.com/#/?id=fee-structure}
@@ -112329,6 +112542,7 @@ class coinsph extends _abstract_coinsph_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
112329
112542
  * @method
112330
112543
  * @name coinsph#fetchTradingFees
112331
112544
  * @description fetch the trading fees for multiple markets
112545
+ * @see https://coins-docs.github.io/rest-api/#trade-fee-user_data
112332
112546
  * @param {object} [params] extra parameters specific to the exchange API endpoint
112333
112547
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
112334
112548
  */
@@ -116657,6 +116871,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
116657
116871
  * @method
116658
116872
  * @name currencycom#fetchTime
116659
116873
  * @description fetches the current integer timestamp in milliseconds from the exchange server
116874
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/timeUsingGET
116660
116875
  * @param {object} [params] extra parameters specific to the exchange API endpoint
116661
116876
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
116662
116877
  */
@@ -116673,6 +116888,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
116673
116888
  * @method
116674
116889
  * @name currencycom#fetchCurrencies
116675
116890
  * @description fetches all available currencies on an exchange
116891
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/getCurrenciesUsingGET
116676
116892
  * @param {object} [params] extra parameters specific to the exchange API endpoint
116677
116893
  * @returns {object} an associative dictionary of currencies
116678
116894
  */
@@ -116745,6 +116961,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
116745
116961
  * @method
116746
116962
  * @name currencycom#fetchMarkets
116747
116963
  * @description retrieves data on all markets for currencycom
116964
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/exchangeInfoUsingGET
116748
116965
  * @param {object} [params] extra parameters specific to the exchange API endpoint
116749
116966
  * @returns {object[]} an array of objects representing market data
116750
116967
  */
@@ -116933,6 +117150,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
116933
117150
  * @method
116934
117151
  * @name currencycom#fetchAccounts
116935
117152
  * @description fetch all the accounts associated with a profile
117153
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/accountUsingGET
116936
117154
  * @param {object} [params] extra parameters specific to the exchange API endpoint
116937
117155
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
116938
117156
  */
@@ -116989,6 +117207,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
116989
117207
  * @method
116990
117208
  * @name currencycom#fetchTradingFees
116991
117209
  * @description fetch the trading fees for multiple markets
117210
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/accountUsingGET
116992
117211
  * @param {object} [params] extra parameters specific to the exchange API endpoint
116993
117212
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
116994
117213
  */
@@ -117065,6 +117284,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117065
117284
  * @method
117066
117285
  * @name currencycom#fetchBalance
117067
117286
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
117287
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/accountUsingGET
117068
117288
  * @param {object} [params] extra parameters specific to the exchange API endpoint
117069
117289
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
117070
117290
  */
@@ -117108,6 +117328,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117108
117328
  * @method
117109
117329
  * @name currencycom#fetchOrderBook
117110
117330
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
117331
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/depthUsingGET
117111
117332
  * @param {string} symbol unified symbol of the market to fetch the order book for
117112
117333
  * @param {int} [limit] the maximum amount of order book entries to return
117113
117334
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -117224,6 +117445,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117224
117445
  * @method
117225
117446
  * @name currencycom#fetchTicker
117226
117447
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
117448
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/ticker_24hrUsingGET
117227
117449
  * @param {string} symbol unified symbol of the market to fetch the ticker for
117228
117450
  * @param {object} [params] extra parameters specific to the exchange API endpoint
117229
117451
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -117261,6 +117483,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117261
117483
  * @method
117262
117484
  * @name currencycom#fetchTickers
117263
117485
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
117486
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/ticker_24hrUsingGET
117264
117487
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
117265
117488
  * @param {object} [params] extra parameters specific to the exchange API endpoint
117266
117489
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -117312,6 +117535,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117312
117535
  * @method
117313
117536
  * @name currencycom#fetchOHLCV
117314
117537
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
117538
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/klinesUsingGET
117315
117539
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
117316
117540
  * @param {string} timeframe the length of time each candle represents
117317
117541
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -117424,6 +117648,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117424
117648
  * @method
117425
117649
  * @name currencycom#fetchTrades
117426
117650
  * @description get the list of most recent trades for a particular symbol
117651
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/aggTradesUsingGET
117427
117652
  * @param {string} symbol unified symbol of the market to fetch trades for
117428
117653
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
117429
117654
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -117608,6 +117833,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117608
117833
  * @method
117609
117834
  * @name currencycom#createOrder
117610
117835
  * @description create a trade order
117836
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/orderUsingPOST
117611
117837
  * @param {string} symbol unified symbol of the market to create an order in
117612
117838
  * @param {string} type 'market' or 'limit'
117613
117839
  * @param {string} side 'buy' or 'sell'
@@ -117748,6 +117974,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117748
117974
  * @method
117749
117975
  * @name currencycom#fetchOpenOrders
117750
117976
  * @description fetch all unfilled currently open orders
117977
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/openOrdersUsingGET
117751
117978
  * @param {string} symbol unified market symbol
117752
117979
  * @param {int} [since] the earliest time in ms to fetch open orders for
117753
117980
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -117794,6 +118021,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117794
118021
  * @method
117795
118022
  * @name currencycom#cancelOrder
117796
118023
  * @description cancels an open order
118024
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/cancelOrderUsingDELETE
117797
118025
  * @param {string} id order id
117798
118026
  * @param {string} symbol unified symbol of the market the order was made in
117799
118027
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -117837,6 +118065,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117837
118065
  * @method
117838
118066
  * @name currencycom#fetchMyTrades
117839
118067
  * @description fetch all trades made by the user
118068
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/myTradesUsingGET
117840
118069
  * @param {string} symbol unified market symbol
117841
118070
  * @param {int} [since] the earliest time in ms to fetch trades for
117842
118071
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -117880,6 +118109,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117880
118109
  * @method
117881
118110
  * @name currencycom#fetchDeposits
117882
118111
  * @description fetch all deposits made to an account
118112
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/getDepositsUsingGET
117883
118113
  * @param {string} code unified currency code
117884
118114
  * @param {int} [since] the earliest time in ms to fetch deposits for
117885
118115
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -117893,6 +118123,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117893
118123
  * @method
117894
118124
  * @name currencycom#fetchWithdrawals
117895
118125
  * @description fetch all withdrawals made from an account
118126
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/getWithdrawalsUsingGET
117896
118127
  * @param {string} code unified currency code
117897
118128
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
117898
118129
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -117906,6 +118137,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
117906
118137
  * @method
117907
118138
  * @name currencycom#fetchDepositsWithdrawals
117908
118139
  * @description fetch history of deposits and withdrawals
118140
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/getTransactionsUsingGET
117909
118141
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
117910
118142
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
117911
118143
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
@@ -118028,6 +118260,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
118028
118260
  * @method
118029
118261
  * @name currencycom#fetchLedger
118030
118262
  * @description fetch the history of changes, actions done by the user or operations that altered balance of the user
118263
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/getLedgerUsingGET
118031
118264
  * @param {string} code unified currency code, default is undefined
118032
118265
  * @param {int} [since] timestamp in ms of the earliest ledger entry, default is undefined
118033
118266
  * @param {int} [limit] max number of ledger entrys to return, default is undefined
@@ -118129,6 +118362,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
118129
118362
  * @method
118130
118363
  * @name currencycom#fetchLeverage
118131
118364
  * @description fetch the set leverage for a market
118365
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/leverageSettingsUsingGET
118132
118366
  * @param {string} symbol unified market symbol
118133
118367
  * @param {object} [params] extra parameters specific to the exchange API endpoint
118134
118368
  * @returns {object} a [leverage structure]{@link https://docs.ccxt.com/#/?id=leverage-structure}
@@ -118152,6 +118386,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
118152
118386
  * @method
118153
118387
  * @name currencycom#fetchDepositAddress
118154
118388
  * @description fetch the deposit address for a currency associated with this account
118389
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/getDepositAddressUsingGET
118155
118390
  * @param {string} code unified currency code
118156
118391
  * @param {object} [params] extra parameters specific to the exchange API endpoint
118157
118392
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -118218,6 +118453,7 @@ class currencycom extends _abstract_currencycom_js__WEBPACK_IMPORTED_MODULE_0__/
118218
118453
  * @method
118219
118454
  * @name currencycom#fetchPositions
118220
118455
  * @description fetch all open positions
118456
+ * @see https://apitradedoc.currency.com/swagger-ui.html#/rest-api/tradingPositionsUsingGET
118221
118457
  * @param {string[]|undefined} symbols list of unified market symbols
118222
118458
  * @param {object} [params] extra parameters specific to the exchange API endpoint
118223
118459
  * @returns {object[]} a list of [position structure]{@link https://docs.ccxt.com/#/?id=position-structure}
@@ -122205,6 +122441,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122205
122441
  * @method
122206
122442
  * @name deribit#fetchTime
122207
122443
  * @description fetches the current integer timestamp in milliseconds from the exchange server
122444
+ * @see https://docs.deribit.com/#public-get_time
122208
122445
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122209
122446
  * @returns {int} the current integer timestamp in milliseconds from the exchange server
122210
122447
  */
@@ -122300,6 +122537,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122300
122537
  * @method
122301
122538
  * @name deribit#fetchStatus
122302
122539
  * @description the latest known information on the availability of the exchange API
122540
+ * @see https://docs.deribit.com/#public-status
122303
122541
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122304
122542
  * @returns {object} a [status structure]{@link https://docs.ccxt.com/#/?id=exchange-status-structure}
122305
122543
  */
@@ -122332,6 +122570,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122332
122570
  * @method
122333
122571
  * @name deribit#fetchAccounts
122334
122572
  * @description fetch all the accounts associated with a profile
122573
+ * @see https://docs.deribit.com/#private-get_subaccounts
122335
122574
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122336
122575
  * @returns {object} a dictionary of [account structures]{@link https://docs.ccxt.com/#/?id=account-structure} indexed by the account type
122337
122576
  */
@@ -122401,6 +122640,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122401
122640
  * @method
122402
122641
  * @name deribit#fetchMarkets
122403
122642
  * @description retrieves data on all markets for deribit
122643
+ * @see https://docs.deribit.com/#public-get_currencies
122404
122644
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122405
122645
  * @returns {object[]} an array of objects representing market data
122406
122646
  */
@@ -122637,6 +122877,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122637
122877
  * @method
122638
122878
  * @name deribit#fetchBalance
122639
122879
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
122880
+ * @see https://docs.deribit.com/#private-get_account_summary
122640
122881
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122641
122882
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
122642
122883
  */
@@ -122697,6 +122938,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122697
122938
  * @method
122698
122939
  * @name deribit#createDepositAddress
122699
122940
  * @description create a currency deposit address
122941
+ * @see https://docs.deribit.com/#private-create_deposit_address
122700
122942
  * @param {string} code unified currency code of the currency for the deposit address
122701
122943
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122702
122944
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -122734,6 +122976,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122734
122976
  * @method
122735
122977
  * @name deribit#fetchDepositAddress
122736
122978
  * @description fetch the deposit address for a currency associated with this account
122979
+ * @see https://docs.deribit.com/#private-get_current_deposit_address
122737
122980
  * @param {string} code unified currency code
122738
122981
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122739
122982
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -122852,6 +123095,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122852
123095
  * @method
122853
123096
  * @name deribit#fetchTicker
122854
123097
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
123098
+ * @see https://docs.deribit.com/#public-ticker
122855
123099
  * @param {string} symbol unified symbol of the market to fetch the ticker for
122856
123100
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122857
123101
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -122898,6 +123142,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122898
123142
  * @method
122899
123143
  * @name deribit#fetchTickers
122900
123144
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
123145
+ * @see https://docs.deribit.com/#public-get_book_summary_by_currency
122901
123146
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
122902
123147
  * @param {object} [params] extra parameters specific to the exchange API endpoint
122903
123148
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -122954,6 +123199,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
122954
123199
  * @method
122955
123200
  * @name deribit#fetchOHLCV
122956
123201
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
123202
+ * @see https://docs.deribit.com/#public-get_tradingview_chart_data
122957
123203
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
122958
123204
  * @param {string} timeframe the length of time each candle represents
122959
123205
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -123103,7 +123349,8 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123103
123349
  /**
123104
123350
  * @method
123105
123351
  * @name deribit#fetchTrades
123106
- * @see https://docs.deribit.com/#private-get_user_trades_by_currency
123352
+ * @see https://docs.deribit.com/#public-get_last_trades_by_instrument
123353
+ * @see https://docs.deribit.com/#public-get_last_trades_by_instrument_and_time
123107
123354
  * @description get the list of most recent trades for a particular symbol.
123108
123355
  * @param {string} symbol unified symbol of the market to fetch trades for
123109
123356
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
@@ -123164,6 +123411,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123164
123411
  * @method
123165
123412
  * @name deribit#fetchTradingFees
123166
123413
  * @description fetch the trading fees for multiple markets
123414
+ * @see https://docs.deribit.com/#private-get_account_summary
123167
123415
  * @param {object} [params] extra parameters specific to the exchange API endpoint
123168
123416
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
123169
123417
  */
@@ -123284,6 +123532,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123284
123532
  * @method
123285
123533
  * @name deribit#fetchOrderBook
123286
123534
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
123535
+ * @see https://docs.deribit.com/#public-get_order_book
123287
123536
  * @param {string} symbol unified symbol of the market to fetch the order book for
123288
123537
  * @param {int} [limit] the maximum amount of order book entries to return
123289
123538
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -123474,6 +123723,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123474
123723
  * @method
123475
123724
  * @name deribit#fetchOrder
123476
123725
  * @description fetches information on an order made by the user
123726
+ * @see https://docs.deribit.com/#private-get_order_state
123477
123727
  * @param {string} symbol unified symbol of the market the order was made in
123478
123728
  * @param {object} [params] extra parameters specific to the exchange API endpoint
123479
123729
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -123524,6 +123774,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123524
123774
  * @name deribit#createOrder
123525
123775
  * @description create a trade order
123526
123776
  * @see https://docs.deribit.com/#private-buy
123777
+ * @see https://docs.deribit.com/#private-sell
123527
123778
  * @param {string} symbol unified symbol of the market to create an order in
123528
123779
  * @param {string} type 'market' or 'limit'
123529
123780
  * @param {string} side 'buy' or 'sell'
@@ -123745,6 +123996,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123745
123996
  * @method
123746
123997
  * @name deribit#cancelOrder
123747
123998
  * @description cancels an open order
123999
+ * @see https://docs.deribit.com/#private-cancel
123748
124000
  * @param {string} id order id
123749
124001
  * @param {string} symbol not used by deribit cancelOrder ()
123750
124002
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -123763,6 +124015,8 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123763
124015
  * @method
123764
124016
  * @name deribit#cancelAllOrders
123765
124017
  * @description cancel all open orders
124018
+ * @see https://docs.deribit.com/#private-cancel_all
124019
+ * @see https://docs.deribit.com/#private-cancel_all_by_instrument
123766
124020
  * @param {string} symbol unified market symbol, only orders in the market of this symbol are cancelled when symbol is not undefined
123767
124021
  * @param {object} [params] extra parameters specific to the exchange API endpoint
123768
124022
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -123785,6 +124039,8 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123785
124039
  * @method
123786
124040
  * @name deribit#fetchOpenOrders
123787
124041
  * @description fetch all unfilled currently open orders
124042
+ * @see https://docs.deribit.com/#private-get_open_orders_by_currency
124043
+ * @see https://docs.deribit.com/#private-get_open_orders_by_instrument
123788
124044
  * @param {string} symbol unified market symbol
123789
124045
  * @param {int} [since] the earliest time in ms to fetch open orders for
123790
124046
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -123814,6 +124070,8 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123814
124070
  * @method
123815
124071
  * @name deribit#fetchClosedOrders
123816
124072
  * @description fetches information on multiple closed orders made by the user
124073
+ * @see https://docs.deribit.com/#private-get_order_history_by_currency
124074
+ * @see https://docs.deribit.com/#private-get_order_history_by_instrument
123817
124075
  * @param {string} symbol unified market symbol of the market orders were made in
123818
124076
  * @param {int} [since] the earliest time in ms to fetch orders for
123819
124077
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -123843,6 +124101,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123843
124101
  * @method
123844
124102
  * @name deribit#fetchOrderTrades
123845
124103
  * @description fetch all the trades made from a single order
124104
+ * @see https://docs.deribit.com/#private-get_user_trades_by_order
123846
124105
  * @param {string} id order id
123847
124106
  * @param {string} symbol unified market symbol
123848
124107
  * @param {int} [since] the earliest time in ms to fetch trades for
@@ -123896,6 +124155,10 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123896
124155
  * @method
123897
124156
  * @name deribit#fetchMyTrades
123898
124157
  * @description fetch all trades made by the user
124158
+ * @see https://docs.deribit.com/#private-get_user_trades_by_currency
124159
+ * @see https://docs.deribit.com/#private-get_user_trades_by_currency_and_time
124160
+ * @see https://docs.deribit.com/#private-get_user_trades_by_instrument
124161
+ * @see https://docs.deribit.com/#private-get_user_trades_by_instrument_and_time
123899
124162
  * @param {string} symbol unified market symbol
123900
124163
  * @param {int} [since] the earliest time in ms to fetch trades for
123901
124164
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -123976,6 +124239,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
123976
124239
  * @method
123977
124240
  * @name deribit#fetchDeposits
123978
124241
  * @description fetch all deposits made to an account
124242
+ * @see https://docs.deribit.com/#private-get_deposits
123979
124243
  * @param {string} code unified currency code
123980
124244
  * @param {int} [since] the earliest time in ms to fetch deposits for
123981
124245
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -124023,6 +124287,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
124023
124287
  * @method
124024
124288
  * @name deribit#fetchWithdrawals
124025
124289
  * @description fetch all withdrawals made from an account
124290
+ * @see https://docs.deribit.com/#private-get_withdrawals
124026
124291
  * @param {string} code unified currency code
124027
124292
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
124028
124293
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -124395,6 +124660,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
124395
124660
  * @method
124396
124661
  * @name deribit#fetchTransfers
124397
124662
  * @description fetch a history of internal transfers made on an account
124663
+ * @see https://docs.deribit.com/#private-get_transfers
124398
124664
  * @param {string} code unified currency code of the currency transferred
124399
124665
  * @param {int} [since] the earliest time in ms to fetch transfers for
124400
124666
  * @param {int} [limit] the maximum number of transfers structures to retrieve
@@ -124455,6 +124721,8 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
124455
124721
  * @method
124456
124722
  * @name deribit#transfer
124457
124723
  * @description transfer currency internally between wallets on the same account
124724
+ * @see https://docs.deribit.com/#private-submit_transfer_to_user
124725
+ * @see https://docs.deribit.com/#private-submit_transfer_to_subaccount
124458
124726
  * @param {string} code unified currency code
124459
124727
  * @param {float} amount amount to transfer
124460
124728
  * @param {string} fromAccount account to transfer from
@@ -124547,6 +124815,7 @@ class deribit extends _abstract_deribit_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
124547
124815
  * @method
124548
124816
  * @name deribit#withdraw
124549
124817
  * @description make a withdrawal
124818
+ * @see https://docs.deribit.com/#private-withdraw
124550
124819
  * @param {string} code unified currency code
124551
124820
  * @param {float} amount the amount to withdraw
124552
124821
  * @param {string} address the address to withdraw to
@@ -129751,6 +130020,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
129751
130020
  * @method
129752
130021
  * @name exmo#reduceMargin
129753
130022
  * @description remove margin from a position
130023
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#eebf9f25-0289-4946-9482-89872c738449
129754
130024
  * @param {string} symbol unified market symbol
129755
130025
  * @param {float} amount the amount of margin to remove
129756
130026
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -129763,6 +130033,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
129763
130033
  * @method
129764
130034
  * @name exmo#addMargin
129765
130035
  * @description add margin
130036
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#143ef808-79ca-4e49-9e79-a60ea4d8c0e3
129766
130037
  * @param {string} symbol unified market symbol
129767
130038
  * @param {float} amount amount of margin to add
129768
130039
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -129775,6 +130046,8 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
129775
130046
  * @method
129776
130047
  * @name exmo#fetchTradingFees
129777
130048
  * @description fetch the trading fees for multiple markets
130049
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#90927062-256c-4b03-900f-2b99131f9a54
130050
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#7de7e75c-5833-45a8-b937-c2276d235aaa
129778
130051
  * @param {object} [params] extra parameters specific to the exchange API endpoint
129779
130052
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
129780
130053
  */
@@ -130062,6 +130335,8 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130062
130335
  * @method
130063
130336
  * @name exmo#fetchCurrencies
130064
130337
  * @description fetches all available currencies on an exchange
130338
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#7cdf0ca8-9ff6-4cf3-aa33-bcec83155c49
130339
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4190035d-24b1-453d-833b-37e0a52f88e2
130065
130340
  * @param {object} [params] extra parameters specific to the exchange API endpoint
130066
130341
  * @returns {object} an associative dictionary of currencies
130067
130342
  */
@@ -130188,6 +130463,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130188
130463
  * @method
130189
130464
  * @name exmo#fetchMarkets
130190
130465
  * @description retrieves data on all markets for exmo
130466
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#7de7e75c-5833-45a8-b937-c2276d235aaa
130191
130467
  * @param {object} [params] extra parameters specific to the exchange API endpoint
130192
130468
  * @returns {object[]} an array of objects representing market data
130193
130469
  */
@@ -130315,6 +130591,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130315
130591
  * @method
130316
130592
  * @name exmo#fetchOHLCV
130317
130593
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
130594
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#65eeb949-74e5-4631-9184-c38387fe53e8
130318
130595
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
130319
130596
  * @param {string} timeframe the length of time each candle represents
130320
130597
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -130428,6 +130705,8 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130428
130705
  * @method
130429
130706
  * @name exmo#fetchBalance
130430
130707
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
130708
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#59c5160f-27a1-4d9a-8cfb-7979c7ffaac6
130709
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8388df7-1f9f-4d41-81c4-5a387d171dc6
130431
130710
  * @param {object} [params] extra parameters specific to the exchange API endpoint
130432
130711
  * @param {string} [params.marginMode] *isolated* fetches the isolated margin balance
130433
130712
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
@@ -130475,6 +130754,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130475
130754
  * @method
130476
130755
  * @name exmo#fetchOrderBook
130477
130756
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
130757
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c60c51a8-e683-4f45-a000-820723d37871
130478
130758
  * @param {string} symbol unified symbol of the market to fetch the order book for
130479
130759
  * @param {int} [limit] the maximum amount of order book entries to return
130480
130760
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -130497,6 +130777,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130497
130777
  * @method
130498
130778
  * @name exmo#fetchOrderBooks
130499
130779
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
130780
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c60c51a8-e683-4f45-a000-820723d37871
130500
130781
  * @param {string[]|undefined} symbols list of unified market symbols, all symbols fetched if undefined, default is undefined
130501
130782
  * @param {int} [limit] max number of entries per orderbook to return, default is undefined
130502
130783
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -130577,6 +130858,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130577
130858
  * @method
130578
130859
  * @name exmo#fetchTickers
130579
130860
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
130861
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
130580
130862
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
130581
130863
  * @param {object} [params] extra parameters specific to the exchange API endpoint
130582
130864
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -130615,6 +130897,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130615
130897
  * @method
130616
130898
  * @name exmo#fetchTicker
130617
130899
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
130900
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#4c8e6459-3503-4361-b012-c34bb9f7e385
130618
130901
  * @param {string} symbol unified symbol of the market to fetch the ticker for
130619
130902
  * @param {object} [params] extra parameters specific to the exchange API endpoint
130620
130903
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -130719,6 +131002,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
130719
131002
  * @method
130720
131003
  * @name exmo#fetchTrades
130721
131004
  * @description get the list of most recent trades for a particular symbol
131005
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#5a5a9c0d-cf17-47f6-9d62-6d4404ebd5ac
130722
131006
  * @param {string} symbol unified symbol of the market to fetch trades for
130723
131007
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
130724
131008
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -131559,6 +131843,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
131559
131843
  * @method
131560
131844
  * @name exmo#fetchDepositAddress
131561
131845
  * @description fetch the deposit address for a currency associated with this account
131846
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#c8f9ced9-7ab6-4383-a6a4-bc54469ba60e
131562
131847
  * @param {string} code unified currency code
131563
131848
  * @param {object} [params] extra parameters specific to the exchange API endpoint
131564
131849
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -131605,6 +131890,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
131605
131890
  * @method
131606
131891
  * @name exmo#withdraw
131607
131892
  * @description make a withdrawal
131893
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#3ab9c34d-ad58-4f87-9c57-2e2ea88a8325
131608
131894
  * @param {string} code unified currency code
131609
131895
  * @param {float} amount the amount to withdraw
131610
131896
  * @param {string} address the address to withdraw to
@@ -131784,6 +132070,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
131784
132070
  * @method
131785
132071
  * @name exmo#fetchDepositsWithdrawals
131786
132072
  * @description fetch history of deposits and withdrawals
132073
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#31e69a33-4849-4e6a-b4b4-6d574238f6a7
131787
132074
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
131788
132075
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
131789
132076
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
@@ -131837,6 +132124,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
131837
132124
  * @method
131838
132125
  * @name exmo#fetchWithdrawals
131839
132126
  * @description fetch all withdrawals made from an account
132127
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
131840
132128
  * @param {string} code unified currency code
131841
132129
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
131842
132130
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -131890,6 +132178,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
131890
132178
  * @method
131891
132179
  * @name exmo#fetchWithdrawal
131892
132180
  * @description fetch data on a currency withdrawal via the withdrawal id
132181
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
131893
132182
  * @param {string} id withdrawal id
131894
132183
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
131895
132184
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -131941,6 +132230,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
131941
132230
  * @method
131942
132231
  * @name exmo#fetchDeposit
131943
132232
  * @description fetch information on a deposit
132233
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
131944
132234
  * @param {string} id deposit id
131945
132235
  * @param {string} code unified currency code, default is undefined
131946
132236
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -131992,6 +132282,7 @@ class exmo extends _abstract_exmo_js__WEBPACK_IMPORTED_MODULE_0__/* ["default"]
131992
132282
  * @method
131993
132283
  * @name exmo#fetchDeposits
131994
132284
  * @description fetch all deposits made to an account
132285
+ * @see https://documenter.getpostman.com/view/10287440/SzYXWKPi#97f1becd-7aad-4e0e-babe-7bbe09e33706
131995
132286
  * @param {string} code unified currency code
131996
132287
  * @param {int} [since] the earliest time in ms to fetch deposits for
131997
132288
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -139634,6 +139925,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
139634
139925
  * @method
139635
139926
  * @name gemini#fetchMarkets
139636
139927
  * @description retrieves data on all markets for gemini
139928
+ * @see https://docs.gemini.com/rest-api/#symbols
139637
139929
  * @param {object} [params] extra parameters specific to the exchange API endpoint
139638
139930
  * @returns {object[]} an array of objects representing market data
139639
139931
  */
@@ -139894,6 +140186,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
139894
140186
  * @method
139895
140187
  * @name gemini#fetchOrderBook
139896
140188
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
140189
+ * @see https://docs.gemini.com/rest-api/#current-order-book
139897
140190
  * @param {string} symbol unified symbol of the market to fetch the order book for
139898
140191
  * @param {int} [limit] the maximum amount of order book entries to return
139899
140192
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -139972,6 +140265,8 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
139972
140265
  * @method
139973
140266
  * @name gemini#fetchTicker
139974
140267
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
140268
+ * @see https://docs.gemini.com/rest-api/#ticker
140269
+ * @see https://docs.gemini.com/rest-api/#ticker-v2
139975
140270
  * @param {string} symbol unified symbol of the market to fetch the ticker for
139976
140271
  * @param {object} [params] extra parameters specific to the exchange API endpoint
139977
140272
  * @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'
@@ -140085,6 +140380,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140085
140380
  * @method
140086
140381
  * @name gemini#fetchTickers
140087
140382
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
140383
+ * @see https://docs.gemini.com/rest-api/#price-feed
140088
140384
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
140089
140385
  * @param {object} [params] extra parameters specific to the exchange API endpoint
140090
140386
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -140227,6 +140523,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140227
140523
  * @method
140228
140524
  * @name gemini#fetchTradingFees
140229
140525
  * @description fetch the trading fees for multiple markets
140526
+ * @see https://docs.gemini.com/rest-api/#get-notional-volume
140230
140527
  * @param {object} [params] extra parameters specific to the exchange API endpoint
140231
140528
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
140232
140529
  */
@@ -140285,6 +140582,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140285
140582
  * @method
140286
140583
  * @name gemini#fetchBalance
140287
140584
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
140585
+ * @see https://docs.gemini.com/rest-api/#get-available-balances
140288
140586
  * @param {object} [params] extra parameters specific to the exchange API endpoint
140289
140587
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
140290
140588
  */
@@ -140466,6 +140764,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140466
140764
  * @method
140467
140765
  * @name gemini#fetchOrder
140468
140766
  * @description fetches information on an order made by the user
140767
+ * @see https://docs.gemini.com/rest-api/#order-status
140469
140768
  * @param {string} symbol unified symbol of the market the order was made in
140470
140769
  * @param {object} [params] extra parameters specific to the exchange API endpoint
140471
140770
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -140505,6 +140804,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140505
140804
  * @method
140506
140805
  * @name gemini#fetchOpenOrders
140507
140806
  * @description fetch all unfilled currently open orders
140807
+ * @see https://docs.gemini.com/rest-api/#get-active-orders
140508
140808
  * @param {string} symbol unified market symbol
140509
140809
  * @param {int} [since] the earliest time in ms to fetch open orders for
140510
140810
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -140647,6 +140947,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140647
140947
  * @method
140648
140948
  * @name gemini#cancelOrder
140649
140949
  * @description cancels an open order
140950
+ * @see https://docs.gemini.com/rest-api/#cancel-order
140650
140951
  * @param {string} id order id
140651
140952
  * @param {string} symbol unified symbol of the market the order was made in
140652
140953
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -140688,6 +140989,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140688
140989
  * @method
140689
140990
  * @name gemini#fetchMyTrades
140690
140991
  * @description fetch all trades made by the user
140992
+ * @see https://docs.gemini.com/rest-api/#get-past-trades
140691
140993
  * @param {string} symbol unified market symbol
140692
140994
  * @param {int} [since] the earliest time in ms to fetch trades for
140693
140995
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -140716,6 +141018,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140716
141018
  * @method
140717
141019
  * @name gemini#withdraw
140718
141020
  * @description make a withdrawal
141021
+ * @see https://docs.gemini.com/rest-api/#withdraw-crypto-funds
140719
141022
  * @param {string} code unified currency code
140720
141023
  * @param {float} amount the amount to withdraw
140721
141024
  * @param {string} address the address to withdraw to
@@ -140774,6 +141077,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140774
141077
  * @method
140775
141078
  * @name gemini#fetchDepositsWithdrawals
140776
141079
  * @description fetch history of deposits and withdrawals
141080
+ * @see https://docs.gemini.com/rest-api/#transfers
140777
141081
  * @param {string} [code] unified currency code for the currency of the deposit/withdrawals, default is undefined
140778
141082
  * @param {int} [since] timestamp in ms of the earliest deposit/withdrawal, default is undefined
140779
141083
  * @param {int} [limit] max number of deposit/withdrawals to return, default is undefined
@@ -140985,6 +141289,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
140985
141289
  * @method
140986
141290
  * @name gemini#createDepositAddress
140987
141291
  * @description create a currency deposit address
141292
+ * @see https://docs.gemini.com/rest-api/#new-deposit-address
140988
141293
  * @param {string} code unified currency code of the currency for the deposit address
140989
141294
  * @param {object} [params] extra parameters specific to the exchange API endpoint
140990
141295
  * @returns {object} an [address structure]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -141009,6 +141314,7 @@ class gemini extends _abstract_gemini_js__WEBPACK_IMPORTED_MODULE_0__/* ["defaul
141009
141314
  * @method
141010
141315
  * @name gemini#fetchOHLCV
141011
141316
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
141317
+ * @see https://docs.gemini.com/rest-api/#candles
141012
141318
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
141013
141319
  * @param {string} timeframe the length of time each candle represents
141014
141320
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -144873,6 +145179,9 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
144873
145179
  'trades': 1,
144874
145180
  'chart': 1,
144875
145181
  'charts': 1,
145182
+ 'minicharts': 1,
145183
+ 'oracle/prices': 1,
145184
+ 'quick-trade': 1,
144876
145185
  // TradingView
144877
145186
  'udf/config': 1,
144878
145187
  'udf/history': 1,
@@ -144948,6 +145257,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
144948
145257
  * @method
144949
145258
  * @name hollaex#fetchMarkets
144950
145259
  * @description retrieves data on all markets for hollaex
145260
+ * @see https://apidocs.hollaex.com/#constants
144951
145261
  * @param {object} [params] extra parameters specific to the exchange API endpoint
144952
145262
  * @returns {object[]} an array of objects representing market data
144953
145263
  */
@@ -145150,6 +145460,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145150
145460
  * @method
145151
145461
  * @name hollaex#fetchOrderBooks
145152
145462
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data for multiple markets
145463
+ * @see https://apidocs.hollaex.com/#orderbooks
145153
145464
  * @param {string[]|undefined} symbols not used by hollaex fetchOrderBooks ()
145154
145465
  * @param {int} [limit] not used by hollaex fetchOrderBooks ()
145155
145466
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -145173,6 +145484,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145173
145484
  * @method
145174
145485
  * @name hollaex#fetchOrderBook
145175
145486
  * @description fetches information on open orders with bid (buy) and ask (sell) prices, volumes and other data
145487
+ * @see https://apidocs.hollaex.com/#orderbook
145176
145488
  * @param {string} symbol unified symbol of the market to fetch the order book for
145177
145489
  * @param {int} [limit] the maximum amount of order book entries to return
145178
145490
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -145183,7 +145495,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145183
145495
  const request = {
145184
145496
  'symbol': market['id'],
145185
145497
  };
145186
- const response = await this.publicGetOrderbooks(this.extend(request, params));
145498
+ const response = await this.publicGetOrderbook(this.extend(request, params));
145187
145499
  //
145188
145500
  // {
145189
145501
  // "btc-usdt": {
@@ -145212,6 +145524,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145212
145524
  * @method
145213
145525
  * @name hollaex#fetchTicker
145214
145526
  * @description fetches a price ticker, a statistical calculation with the information calculated over the past 24 hours for a specific market
145527
+ * @see https://apidocs.hollaex.com/#ticker
145215
145528
  * @param {string} symbol unified symbol of the market to fetch the ticker for
145216
145529
  * @param {object} [params] extra parameters specific to the exchange API endpoint
145217
145530
  * @returns {object} a [ticker structure]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -145240,6 +145553,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145240
145553
  * @method
145241
145554
  * @name hollaex#fetchTickers
145242
145555
  * @description fetches price tickers for multiple markets, statistical information calculated over the past 24 hours for each market
145556
+ * @see https://apidocs.hollaex.com/#tickers
145243
145557
  * @param {string[]|undefined} symbols unified symbols of the markets to fetch the ticker for, all market tickers are returned if not assigned
145244
145558
  * @param {object} [params] extra parameters specific to the exchange API endpoint
145245
145559
  * @returns {object} a dictionary of [ticker structures]{@link https://docs.ccxt.com/#/?id=ticker-structure}
@@ -145337,6 +145651,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145337
145651
  * @method
145338
145652
  * @name hollaex#fetchTrades
145339
145653
  * @description get the list of most recent trades for a particular symbol
145654
+ * @see https://apidocs.hollaex.com/#trades
145340
145655
  * @param {string} symbol unified symbol of the market to fetch trades for
145341
145656
  * @param {int} [since] timestamp in ms of the earliest trade to fetch
145342
145657
  * @param {int} [limit] the maximum amount of trades to fetch
@@ -145425,6 +145740,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145425
145740
  * @method
145426
145741
  * @name hollaex#fetchTradingFees
145427
145742
  * @description fetch the trading fees for multiple markets
145743
+ * @see https://apidocs.hollaex.com/#tiers
145428
145744
  * @param {object} [params] extra parameters specific to the exchange API endpoint
145429
145745
  * @returns {object} a dictionary of [fee structures]{@link https://docs.ccxt.com/#/?id=fee-structure} indexed by market symbols
145430
145746
  */
@@ -145484,6 +145800,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145484
145800
  * @method
145485
145801
  * @name hollaex#fetchOHLCV
145486
145802
  * @description fetches historical candlestick data containing the open, high, low, and close price, and the volume of a market
145803
+ * @see https://apidocs.hollaex.com/#chart
145487
145804
  * @param {string} symbol unified symbol of the market to fetch OHLCV data for
145488
145805
  * @param {string} timeframe the length of time each candle represents
145489
145806
  * @param {int} [since] timestamp in ms of the earliest candle to fetch
@@ -145578,6 +145895,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145578
145895
  * @method
145579
145896
  * @name hollaex#fetchBalance
145580
145897
  * @description query for balance and get the amount of funds available for trading or funds locked in orders
145898
+ * @see https://apidocs.hollaex.com/#get-balance
145581
145899
  * @param {object} [params] extra parameters specific to the exchange API endpoint
145582
145900
  * @returns {object} a [balance structure]{@link https://docs.ccxt.com/#/?id=balance-structure}
145583
145901
  */
@@ -145602,6 +145920,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145602
145920
  * @method
145603
145921
  * @name hollaex#fetchOpenOrder
145604
145922
  * @description fetch an open order by it's id
145923
+ * @see https://apidocs.hollaex.com/#get-order
145605
145924
  * @param {string} id order id
145606
145925
  * @param {string} symbol not used by hollaex fetchOpenOrder ()
145607
145926
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -145643,6 +145962,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145643
145962
  * @method
145644
145963
  * @name hollaex#fetchOpenOrders
145645
145964
  * @description fetch all unfilled currently open orders
145965
+ * @see https://apidocs.hollaex.com/#get-all-orders
145646
145966
  * @param {string} symbol unified market symbol
145647
145967
  * @param {int} [since] the earliest time in ms to fetch open orders for
145648
145968
  * @param {int} [limit] the maximum number of open orders structures to retrieve
@@ -145659,6 +145979,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145659
145979
  * @method
145660
145980
  * @name hollaex#fetchClosedOrders
145661
145981
  * @description fetches information on multiple closed orders made by the user
145982
+ * @see https://apidocs.hollaex.com/#get-all-orders
145662
145983
  * @param {string} symbol unified market symbol of the market orders were made in
145663
145984
  * @param {int} [since] the earliest time in ms to fetch orders for
145664
145985
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -145675,6 +145996,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145675
145996
  * @method
145676
145997
  * @name hollaex#fetchOrder
145677
145998
  * @description fetches information on an order made by the user
145999
+ * @see https://apidocs.hollaex.com/#get-order
145678
146000
  * @param {string} symbol unified symbol of the market the order was made in
145679
146001
  * @param {object} [params] extra parameters specific to the exchange API endpoint
145680
146002
  * @returns {object} An [order structure]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -145717,6 +146039,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145717
146039
  * @method
145718
146040
  * @name hollaex#fetchOrders
145719
146041
  * @description fetches information on multiple orders made by the user
146042
+ * @see https://apidocs.hollaex.com/#get-all-orders
145720
146043
  * @param {string} symbol unified market symbol of the market orders were made in
145721
146044
  * @param {int} [since] the earliest time in ms to fetch orders for
145722
146045
  * @param {int} [limit] the maximum number of order structures to retrieve
@@ -145861,6 +146184,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145861
146184
  * @method
145862
146185
  * @name hollaex#createOrder
145863
146186
  * @description create a trade order
146187
+ * @see https://apidocs.hollaex.com/#create-order
145864
146188
  * @param {string} symbol unified symbol of the market to create an order in
145865
146189
  * @param {string} type 'market' or 'limit'
145866
146190
  * @param {string} side 'buy' or 'sell'
@@ -145929,6 +146253,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145929
146253
  * @method
145930
146254
  * @name hollaex#cancelOrder
145931
146255
  * @description cancels an open order
146256
+ * @see https://apidocs.hollaex.com/#cancel-order
145932
146257
  * @param {string} id order id
145933
146258
  * @param {string} symbol unified symbol of the market the order was made in
145934
146259
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -145959,6 +146284,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145959
146284
  * @method
145960
146285
  * @name hollaex#cancelAllOrders
145961
146286
  * @description cancel all open orders in a market
146287
+ * @see https://apidocs.hollaex.com/#cancel-all-orders
145962
146288
  * @param {string} symbol unified market symbol of the market to cancel orders in
145963
146289
  * @param {object} [params] extra parameters specific to the exchange API endpoint
145964
146290
  * @returns {object[]} a list of [order structures]{@link https://docs.ccxt.com/#/?id=order-structure}
@@ -145994,6 +146320,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
145994
146320
  * @method
145995
146321
  * @name hollaex#fetchMyTrades
145996
146322
  * @description fetch all trades made by the user
146323
+ * @see https://apidocs.hollaex.com/#get-trades
145997
146324
  * @param {string} symbol unified market symbol
145998
146325
  * @param {int} [since] the earliest time in ms to fetch trades for
145999
146326
  * @param {int} [limit] the maximum number of trades structures to retrieve
@@ -146075,6 +146402,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
146075
146402
  * @method
146076
146403
  * @name hollaex#fetchDepositAddresses
146077
146404
  * @description fetch deposit addresses for multiple currencies and chain types
146405
+ * @see https://apidocs.hollaex.com/#get-user
146078
146406
  * @param {string[]|undefined} codes list of unified currency codes, default is undefined
146079
146407
  * @param {object} [params] extra parameters specific to the exchange API endpoint
146080
146408
  * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
@@ -146137,6 +146465,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
146137
146465
  * @method
146138
146466
  * @name hollaex#fetchDeposits
146139
146467
  * @description fetch all deposits made to an account
146468
+ * @see https://apidocs.hollaex.com/#get-deposits
146140
146469
  * @param {string} code unified currency code
146141
146470
  * @param {int} [since] the earliest time in ms to fetch deposits for
146142
146471
  * @param {int} [limit] the maximum number of deposits structures to retrieve
@@ -146196,6 +146525,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
146196
146525
  * @method
146197
146526
  * @name hollaex#fetchWithdrawal
146198
146527
  * @description fetch data on a currency withdrawal via the withdrawal id
146528
+ * @see https://apidocs.hollaex.com/#get-withdrawals
146199
146529
  * @param {string} id withdrawal id
146200
146530
  * @param {string} code unified currency code of the currency withdrawn, default is undefined
146201
146531
  * @param {object} [params] extra parameters specific to the exchange API endpoint
@@ -146243,6 +146573,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
146243
146573
  * @method
146244
146574
  * @name hollaex#fetchWithdrawals
146245
146575
  * @description fetch all withdrawals made from an account
146576
+ * @see https://apidocs.hollaex.com/#get-withdrawals
146246
146577
  * @param {string} code unified currency code
146247
146578
  * @param {int} [since] the earliest time in ms to fetch withdrawals for
146248
146579
  * @param {int} [limit] the maximum number of withdrawals structures to retrieve
@@ -146403,6 +146734,7 @@ class hollaex extends _abstract_hollaex_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
146403
146734
  * @method
146404
146735
  * @name hollaex#withdraw
146405
146736
  * @description make a withdrawal
146737
+ * @see https://apidocs.hollaex.com/#withdrawal
146406
146738
  * @param {string} code unified currency code
146407
146739
  * @param {float} amount the amount to withdraw
146408
146740
  * @param {string} address the address to withdraw to
@@ -160425,6 +160757,9 @@ class indodax extends _abstract_indodax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
160425
160757
  'fetchCrossBorrowRate': false,
160426
160758
  'fetchCrossBorrowRates': false,
160427
160759
  'fetchDeposit': false,
160760
+ 'fetchDepositAddress': 'emulated',
160761
+ 'fetchDepositAddresses': true,
160762
+ 'fetchDepositAddressesByNetwork': false,
160428
160763
  'fetchDeposits': false,
160429
160764
  'fetchDepositsWithdrawals': true,
160430
160765
  'fetchFundingHistory': false,
@@ -160536,7 +160871,25 @@ class indodax extends _abstract_indodax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
160536
160871
  'options': {
160537
160872
  'recvWindow': 5 * 1000,
160538
160873
  'timeDifference': 0,
160539
- 'adjustForTimeDifference': false, // controls the adjustment logic upon instantiation
160874
+ 'adjustForTimeDifference': false,
160875
+ 'networks': {
160876
+ 'XLM': 'Stellar Token',
160877
+ 'BSC': 'bep20',
160878
+ 'TRC20': 'trc20',
160879
+ 'MATIC': 'polygon',
160880
+ // 'BEP2': 'bep2',
160881
+ // 'ARB': 'arb',
160882
+ // 'ERC20': 'erc20',
160883
+ // 'KIP7': 'kip7',
160884
+ // 'MAINNET': 'mainnet', // TODO: does mainnet just mean the default?
160885
+ // 'OEP4': 'oep4',
160886
+ // 'OP': 'op',
160887
+ // 'SPL': 'spl',
160888
+ // 'TRC10': 'trc10',
160889
+ // 'ZRC2': 'zrc2'
160890
+ // 'ETH': 'eth'
160891
+ // 'BASE': 'base'
160892
+ },
160540
160893
  },
160541
160894
  'commonCurrencies': {
160542
160895
  'STR': 'XLM',
@@ -161395,6 +161748,90 @@ class indodax extends _abstract_indodax_js__WEBPACK_IMPORTED_MODULE_0__/* ["defa
161395
161748
  };
161396
161749
  return this.safeString(statuses, status, status);
161397
161750
  }
161751
+ async fetchDepositAddresses(codes = undefined, params = {}) {
161752
+ /**
161753
+ * @method
161754
+ * @name indodax#fetchDepositAddresses
161755
+ * @description fetch deposit addresses for multiple currencies and chain types
161756
+ * @param {string[]} [codes] list of unified currency codes, default is undefined
161757
+ * @param {object} [params] extra parameters specific to the exchange API endpoint
161758
+ * @returns {object} a list of [address structures]{@link https://docs.ccxt.com/#/?id=address-structure}
161759
+ */
161760
+ await this.loadMarkets();
161761
+ const response = await this.privatePostGetInfo(params);
161762
+ //
161763
+ // {
161764
+ // success: '1',
161765
+ // return: {
161766
+ // server_time: '1708031570',
161767
+ // balance: {
161768
+ // idr: '29952',
161769
+ // ...
161770
+ // },
161771
+ // balance_hold: {
161772
+ // idr: '0',
161773
+ // ...
161774
+ // },
161775
+ // address: {
161776
+ // btc: '1KMntgzvU7iTSgMBWc11nVuJjAyfW3qJyk',
161777
+ // ...
161778
+ // },
161779
+ // memo_is_required: {
161780
+ // btc: { mainnet: false },
161781
+ // ...
161782
+ // },
161783
+ // network: {
161784
+ // btc: 'mainnet',
161785
+ // ...
161786
+ // },
161787
+ // user_id: '276011',
161788
+ // name: '',
161789
+ // email: 'testbitcoincoid@mailforspam.com',
161790
+ // profile_picture: null,
161791
+ // verification_status: 'unverified',
161792
+ // gauth_enable: true,
161793
+ // withdraw_status: '0'
161794
+ // }
161795
+ // }
161796
+ //
161797
+ const data = this.safeDict(response, 'return');
161798
+ const addresses = this.safeDict(data, 'address', {});
161799
+ const networks = this.safeDict(data, 'network', {});
161800
+ const addressKeys = Object.keys(addresses);
161801
+ const result = {
161802
+ 'info': data,
161803
+ };
161804
+ for (let i = 0; i < addressKeys.length; i++) {
161805
+ const marketId = addressKeys[i];
161806
+ const code = this.safeCurrencyCode(marketId);
161807
+ const address = this.safeString(addresses, marketId);
161808
+ if ((address !== undefined) && ((codes === undefined) || (this.inArray(code, codes)))) {
161809
+ this.checkAddress(address);
161810
+ let network = undefined;
161811
+ if (marketId in networks) {
161812
+ const networkId = this.safeString(networks, marketId);
161813
+ if (networkId.indexOf(',') >= 0) {
161814
+ network = [];
161815
+ const networkIds = networkId.split(',');
161816
+ for (let j = 0; j < networkIds.length; j++) {
161817
+ network.push(this.networkIdToCode(networkIds[j]).toUpperCase());
161818
+ }
161819
+ }
161820
+ else {
161821
+ network = this.networkIdToCode(networkId).toUpperCase();
161822
+ }
161823
+ }
161824
+ result[code] = {
161825
+ 'info': {},
161826
+ 'currency': code,
161827
+ 'address': address,
161828
+ 'network': network,
161829
+ 'tag': undefined,
161830
+ };
161831
+ }
161832
+ }
161833
+ return result;
161834
+ }
161398
161835
  sign(path, api = 'public', method = 'GET', params = {}, headers = undefined, body = undefined) {
161399
161836
  let url = this.urls['api'][api];
161400
161837
  if (api === 'public') {
@@ -306631,7 +307068,7 @@ SOFTWARE.
306631
307068
 
306632
307069
  //-----------------------------------------------------------------------------
306633
307070
  // this is updated by vss.js when building
306634
- const version = '4.2.46';
307071
+ const version = '4.2.47';
306635
307072
  _src_base_Exchange_js__WEBPACK_IMPORTED_MODULE_0__/* .Exchange */ .e.ccxtVersion = version;
306636
307073
  //-----------------------------------------------------------------------------
306637
307074