@icgio/icg-utils 1.9.23 → 1.9.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/crypto-rates.js +2 -2
- package/package.json +1 -1
package/lib/crypto-rates.js
CHANGED
|
@@ -419,7 +419,7 @@ let get_crypto_rates = (cb, pair_or_pairs_or_cur_curs, type, source = 'coingecko
|
|
|
419
419
|
})
|
|
420
420
|
} else if (exchange === 'weex') {
|
|
421
421
|
let pair = cur.toUpperCase() + 'USDT'
|
|
422
|
-
let url = `https://
|
|
422
|
+
let url = `https://api-spot.weex.com/api/v2/market/depth?symbol=${pair}_SPBL&type=step0&limit=200`
|
|
423
423
|
limiter.process(needle.get, url, (err, res, body) => {
|
|
424
424
|
try {
|
|
425
425
|
const asks = body.data.asks
|
|
@@ -576,7 +576,7 @@ let get_crypto_rates = (cb, pair_or_pairs_or_cur_curs, type, source = 'coingecko
|
|
|
576
576
|
// console.log(res)
|
|
577
577
|
// },
|
|
578
578
|
// {
|
|
579
|
-
//
|
|
579
|
+
// TACC: 'weex',
|
|
580
580
|
// },
|
|
581
581
|
// 'curs_dict'
|
|
582
582
|
// )
|