* @method * @name pacifica#fetchOpenInterests * @description Retrieves the open interest for a list of symbols * @param {string[]} [symbols] Unified CCXT market symbol * @param {object} [params] exchange specific parameters * @returns {object} an open interest structure{@lin
(symbols = undefined, params = {})
| 2662 | * @returns {object} an open interest structure{@link https://docs.ccxt.com/?id=open-interest-structure} |
| 2663 | */ |
| 2664 | async fetchOpenInterests(symbols = undefined, params = {}) { |
| 2665 | await this.loadMarkets(); |
| 2666 | symbols = this.marketSymbols(symbols); |
| 2667 | const swapMarkets = await this.fetchSwapMarkets(); |
| 2668 | return this.parseOpenInterests(swapMarkets, symbols); |
| 2669 | } |
| 2670 | /** |
| 2671 | * @method |
| 2672 | * @name pacifica#fetchOpenInterest |
no test coverage detected