From fe4bba51695768a1b03047fab6de9a0c680de87f Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 26 Nov 2022 13:27:00 +0000 Subject: [PATCH] tweak: change manifold quality indicators. --- src/backend/platforms/manifold.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/platforms/manifold.ts b/src/backend/platforms/manifold.ts index 103e996..e4268a3 100644 --- a/src/backend/platforms/manifold.ts +++ b/src/backend/platforms/manifold.ts @@ -92,8 +92,8 @@ function processPredictions(predictions: any[]): FetchedQuestion[] { options, qualityindicators: { createdTime: prediction.createdTime, - volume7Days: prediction.volume7Days, - volume24Hours: prediction.volume24Hours, + // volume7Days: prediction.volume7Days, // deprecated. + volume24Hours: prediction.volume24Hours, pool: prediction.pool, // normally liquidity, but I don't actually want to show it. }, extra: { @@ -122,9 +122,9 @@ export const manifold: Platform = { }, calculateStars(data) { let nuno = () => - (data.qualityindicators.volume7Days || 0) > 250 || + (data.qualityindicators.volume24Hours || 0) > 100 || ((data.qualityindicators.pool || 0) > 500 && - (data.qualityindicators.volume7Days || 0) > 100) + (data.qualityindicators.volume24Hours || 0) > 50) ? 2 : 1; let eli = () => null;