diff --git a/src/middleware/binance.js b/src/middleware/binance.js index 2aa4f47..a6c9650 100644 --- a/src/middleware/binance.js +++ b/src/middleware/binance.js @@ -134,7 +134,7 @@ module.exports = { if (symbolMap.size === 0) return; const topGainer = [...symbolMap.values()] .sort((a, b) => Number(b.percentChange) - Number(a.percentChange)) - .slice(0, 6) + .slice(0, 10) .map(item => [item.symbol, item.percentChange]); ctx.eventName = 'topGainer'; diff --git a/src/schedule/binance.schedule.js b/src/schedule/binance.schedule.js index 7a6f45f..c0cd5e3 100644 --- a/src/schedule/binance.schedule.js +++ b/src/schedule/binance.schedule.js @@ -29,7 +29,7 @@ utils.waitFor( log.info('calculated %s symbols %s', iter.length, utils.displayDuration(start)); }, - () => 15 * 6e4 + () => 10 * 6e4 ); // spot/24hrTicker