🎯 The Prophecy System
How Prophecies Work
Divergence Calculation
// src/services/oracle.js
export function calculateDivergence(crowdProbability, oracleProbability) {
const crowd = parseFloat(crowdProbability);
const oracle = parseFloat(oracleProbability);
const diff = oracle - crowd;
const absDiff = Math.abs(diff);
return {
value: diff,
absolute: absDiff,
percentage: (absDiff * 100).toFixed(1),
direction: diff > 0 ? 'bullish' : diff < 0 ? 'bearish' : 'aligned',
significance: absDiff > 0.15 ? 'high' : absDiff > 0.08 ? 'medium' : 'low',
label: diff > 0 ? `+${(absDiff * 100).toFixed(1)}%` : `-${(absDiff * 100).toFixed(1)}%`
};
}Prophecy Card Display
💬 Oracle Chat (Consult)
🔄 Caching Strategy
Cache Layer
TTL
Purpose
🎨 Visual Effects
Fluid Cursor Trail
Floating Particles
Last updated
