AI-Powered Volatility Clustering & Prediction Model
Analyze historical price data to identify volatility regimes and predict future trends.
Historical Market Data
Paste comma or newline-separated daily prices.
Price History with Volatility Regimes
Volatility Forecast & AI Insights
No Analysis Performed
Your analysis and predictions will appear here.
Key Observations:
- ';
// Insight 1: Dominant Regime
const dominantCluster = Object.keys(counts).reduce((a, b) => counts[a] > counts[b] ? a : b);
const dominantLabel = labels[sortedCentroids.indexOf(centroids[dominantCluster])];
const dominantPercentage = ((counts[dominantCluster] / totalPeriods) * 100).toFixed(1);
insightsHTML += `
- The market was in a ${dominantLabel} Volatility regime for approximately ${dominantPercentage}% of the observed period. `; // Insight 2: Recent Trend const recentAssignments = assignments.slice(-5); const recentCluster = recentAssignments[recentAssignments.length - 1]; const recentLabel = labels[sortedCentroids.indexOf(centroids[recentCluster])]; if (recentAssignments.every(a => a === recentCluster)) { insightsHTML += `
- The market has stabilized into a ${recentLabel} Volatility state over the last 5 periods, reinforcing the prediction. `; } else { insightsHTML += `
- Recent periods show a transition, with the most recent state being ${recentLabel} Volatility. This suggests potential instability. `; } insightsHTML += '