(fsym, tsym, limit)
| 113 | } |
| 114 | |
| 115 | function topExchanges (fsym, tsym, limit) { |
| 116 | let url = `${baseUrl}top/exchanges?fsym=${fsym}&tsym=${tsym}` |
| 117 | if (limit) url += `&limit=${limit}` |
| 118 | return fetchJSON(url).then(result => result.Data) |
| 119 | } |
| 120 | |
| 121 | function topExchangesFull (fsym, tsym, limit) { |
| 122 | let url = `${baseUrl}top/exchanges/full?fsym=${fsym}&tsym=${tsym}` |
nothing calls this directly
no test coverage detected