tweak: change manifold quality indicators.
This commit is contained in:
parent
e9796c545d
commit
fe4bba5169
|
@ -92,8 +92,8 @@ function processPredictions(predictions: any[]): FetchedQuestion[] {
|
||||||
options,
|
options,
|
||||||
qualityindicators: {
|
qualityindicators: {
|
||||||
createdTime: prediction.createdTime,
|
createdTime: prediction.createdTime,
|
||||||
volume7Days: prediction.volume7Days,
|
// volume7Days: prediction.volume7Days, // deprecated.
|
||||||
volume24Hours: prediction.volume24Hours,
|
volume24Hours: prediction.volume24Hours,
|
||||||
pool: prediction.pool, // normally liquidity, but I don't actually want to show it.
|
pool: prediction.pool, // normally liquidity, but I don't actually want to show it.
|
||||||
},
|
},
|
||||||
extra: {
|
extra: {
|
||||||
|
@ -122,9 +122,9 @@ export const manifold: Platform = {
|
||||||
},
|
},
|
||||||
calculateStars(data) {
|
calculateStars(data) {
|
||||||
let nuno = () =>
|
let nuno = () =>
|
||||||
(data.qualityindicators.volume7Days || 0) > 250 ||
|
(data.qualityindicators.volume24Hours || 0) > 100 ||
|
||||||
((data.qualityindicators.pool || 0) > 500 &&
|
((data.qualityindicators.pool || 0) > 500 &&
|
||||||
(data.qualityindicators.volume7Days || 0) > 100)
|
(data.qualityindicators.volume24Hours || 0) > 50)
|
||||||
? 2
|
? 2
|
||||||
: 1;
|
: 1;
|
||||||
let eli = () => null;
|
let eli = () => null;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user