BTC Price Prediction Tracker with AI Learning

AI learns from its past predictions to improve accuracy

Current BTC Price
${{ currentPrice.toFixed(2) }}
Last Update: {{ lastUpdateTime }}
Historical Data Timeframe for Predictions:
Loading historical data...
✓ Price Data: {{ historicalData.length }} candles ({{ historicalDataInfo }})
✓ Prediction History: {{ completedPredictions.length }} past predictions will be sent
→ Gemini will analyze both price data AND its past performance

Price Chart with AI Learning Progress ({{ selectedTimeframe }})

AI Learning Statistics

{{ totalPredictions }}
Total Predictions
{{ averageAccuracy.toFixed(1) }}%
Avg Accuracy
{{ improvementTrend > 0 ? '↑' : '↓' }} {{ Math.abs(improvementTrend).toFixed(1) }}%
Learning Trend
{{ bestStreak }}
Best Streak
Success Criteria: ≥90% accuracy (correct direction + precise magnitude)
{{ correctPredictions }}
Correct (≥90%)
{{ correctPercentage.toFixed(1) }}%
{{ wrongPredictions }}
Wrong (<90%)
{{ wrongPercentage.toFixed(1) }}%
{{ successRate.toFixed(1) }}%
Success Rate
Current Streak: {{ currentStreak }}

Prediction History (AI uses this data for learning)

No predictions yet. Start tracking to begin AI learning process.
#{{ predictions.length - index }} | {{ formatTime(pred.timestamp) }} [{{ pred.timeframe }} / {{ pred.dataPoints }} pts / {{ pred.historyCount }} past preds]
Initial: ${{ pred.initialPrice.toFixed(2) }} Predicted: {{ pred.prediction > 0 ? '+' : '' }}{{ pred.prediction.toFixed(3) }}%
AI Context: {{ pred.aiContext }}
Waiting...
Actual: {{ pred.actualChange > 0 ? '+' : '' }}{{ pred.actualChange.toFixed(3) }}%
Accuracy: {{ pred.accuracy.toFixed(1) }}%
Final: ${{ pred.finalPrice.toFixed(2) }}
{{ pred.isCorrect ? 'Success' : 'Failed' }}