Spaces:
Running
Running
le prix de l'eth ne correspond toujours pas vérifie aussi pour les autres crypto. l'eth est a 3 828 le 3 septembre 2025 (a titre indicatif) - Initial Deployment
Browse files- README.md +6 -4
- index.html +430 -18
- prompts.txt +5 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: cryptopredict-2
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
colorTo: green
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,431 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="fr">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>CryptoPredict - Analyse de marché crypto</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 9 |
+
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
|
| 10 |
+
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 12 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 13 |
+
<script>
|
| 14 |
+
tailwind.config = {
|
| 15 |
+
theme: {
|
| 16 |
+
extend: {
|
| 17 |
+
colors: {
|
| 18 |
+
crypto: {
|
| 19 |
+
primary: '#396afc',
|
| 20 |
+
secondary: '#2948ff',
|
| 21 |
+
accent: '#00d2ff',
|
| 22 |
+
dark: '#1a202c'
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
}
|
| 28 |
+
</script>
|
| 29 |
+
<style>
|
| 30 |
+
.gradient-bg {
|
| 31 |
+
background: linear-gradient(135deg, #396afc 0%, #2948ff 100%);
|
| 32 |
+
}
|
| 33 |
+
.card-hover {
|
| 34 |
+
transition: all 0.3s ease;
|
| 35 |
+
}
|
| 36 |
+
.card-hover:hover {
|
| 37 |
+
transform: translateY(-5px);
|
| 38 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 39 |
+
}
|
| 40 |
+
.sentiment-positive { background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%); }
|
| 41 |
+
.sentiment-neutral { background: linear-gradient(135deg, #a8c0ff 0%, #3f2b96 100%); }
|
| 42 |
+
.sentiment-negative { background: linear-gradient(135deg, #ff5f6d 0%, #ffc371 100%); }
|
| 43 |
+
</style>
|
| 44 |
+
</head>
|
| 45 |
+
<body class="bg-gray-50 min-h-screen">
|
| 46 |
+
<!-- Navigation -->
|
| 47 |
+
<nav class="bg-white shadow-lg fixed w-full z-50">
|
| 48 |
+
<div class="max-w-7xl mx-auto px-4">
|
| 49 |
+
<div class="flex justify-between items-center h-16">
|
| 50 |
+
<div class="flex items-center space-x-2">
|
| 51 |
+
<i data-feather="trending-up" class="text-crypto-primary"></i>
|
| 52 |
+
<span class="font-bold text-xl text-crypto-dark">CryptoPredict</span>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<div class="flex items-center space-x-4">
|
| 56 |
+
<div class="relative">
|
| 57 |
+
<select id="cryptoSelect" class="block appearance-none w-full bg-white border border-gray-300 text-gray-700 py-2 px-4 pr-8 rounded leading-tight focus:outline-none focus:border-crypto-primary">
|
| 58 |
+
<option value="bitcoin">Bitcoin (BTC)</option>
|
| 59 |
+
<option value="ethereum">Ethereum (ETH)</option>
|
| 60 |
+
<option value="cardano">Cardano (ADA)</option>
|
| 61 |
+
<option value="solana">Solana (SOL)</option>
|
| 62 |
+
<option value="xrp">XRP</option>
|
| 63 |
+
</select>
|
| 64 |
+
<div class="pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700">
|
| 65 |
+
<i data-feather="chevron-down" class="h-4 w-4"></i>
|
| 66 |
+
</div>
|
| 67 |
+
</div>
|
| 68 |
+
|
| 69 |
+
<button id="languageToggle" class="flex items-center space-x-2 bg-crypto-primary text-white px-4 py-2 rounded-lg hover:bg-crypto-secondary transition">
|
| 70 |
+
<i data-feather="globe" class="h-4 w-4"></i>
|
| 71 |
+
<span id="languageText">FR</span>
|
| 72 |
+
</button>
|
| 73 |
+
</div>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
</nav>
|
| 77 |
+
|
| 78 |
+
<!-- Hero Section -->
|
| 79 |
+
<div class="gradient-bg pt-20 pb-16">
|
| 80 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 81 |
+
<div class="text-center">
|
| 82 |
+
<h1 id="heroTitle" class="text-4xl md:text-5xl font-extrabold text-white" data-aos="fade-up">
|
| 83 |
+
Analyse Prédictive Crypto Avancée
|
| 84 |
+
</h1>
|
| 85 |
+
<p id="heroSubtitle" class="mt-4 text-xl text-blue-100" data-aos="fade-up" data-aos-delay="200">
|
| 86 |
+
Combinaison d'analyse quantitative et qualitative pour des prédictions fiables
|
| 87 |
+
</p>
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
|
| 92 |
+
<!-- Main Content -->
|
| 93 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
| 94 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
|
| 95 |
+
<!-- Quantitative Analysis -->
|
| 96 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover" data-aos="fade-right">
|
| 97 |
+
<div class="flex items-center justify-between mb-6">
|
| 98 |
+
<h2 id="quantitativeTitle" class="text-2xl font-bold text-crypto-dark">Analyse Quantitative</h2>
|
| 99 |
+
<i data-feather="bar-chart-2" class="text-crypto-primary"></i>
|
| 100 |
+
</div>
|
| 101 |
+
|
| 102 |
+
<div class="grid grid-cols-2 gap-4 mb-6">
|
| 103 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 104 |
+
<p id="priceLabel" class="text-gray-600">Prix Actuel</p>
|
| 105 |
+
<p id="currentPrice" class="text-2xl font-bold text-crypto-dark">€95,423.78</p>
|
| 106 |
+
<p id="priceChange" class="text-green-500">+3.2% (24h)</p>
|
| 107 |
+
</div>
|
| 108 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 109 |
+
<p id="volumeLabel" class="text-gray-600">Volume 24h</p>
|
| 110 |
+
<p class="text-2xl font-bold text-crypto-dark">€32.5B</p>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
|
| 114 |
+
<div class="mb-6">
|
| 115 |
+
<canvas id="priceChart" height="250"></canvas>
|
| 116 |
+
</div>
|
| 117 |
+
|
| 118 |
+
<div class="grid grid-cols-3 gap-4">
|
| 119 |
+
<div class="text-center p-3 bg-blue-50 rounded-lg">
|
| 120 |
+
<p id="rsiLabel" class="text-sm text-gray-600">RSI</p>
|
| 121 |
+
<p class="text-lg font-semibold">52.3</p>
|
| 122 |
+
</div>
|
| 123 |
+
<div class="text-center p-3 bg-blue-50 rounded-lg">
|
| 124 |
+
<p id="macdLabel" class="text-sm text-gray-600">MACD</p>
|
| 125 |
+
<p class="text-lg font-semibold">Bullish</p>
|
| 126 |
+
</div>
|
| 127 |
+
<div class="text-center p-3 bg-blue-50 rounded-lg">
|
| 128 |
+
<p id="volatilityLabel" class="text-sm text-gray-600">Volatilité</p>
|
| 129 |
+
<p class="text-lg font-semibold">3.2%</p>
|
| 130 |
+
</div>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<!-- Qualitative Analysis -->
|
| 135 |
+
<div class="bg-white rounded-xl shadow-md p-6 card-hover" data-aos="fade-left">
|
| 136 |
+
<div class="flex items-center justify-between mb-6">
|
| 137 |
+
<h2 id="qualitativeTitle" class="text-2xl font-bold text-crypto-dark">Analyse Qualitative</h2>
|
| 138 |
+
<i data-feather="message-square" class="text-crypto-primary"></i>
|
| 139 |
+
</div>
|
| 140 |
+
|
| 141 |
+
<div class="mb-6">
|
| 142 |
+
<div class="flex items-center justify-between mb-4">
|
| 143 |
+
<h3 id="sentimentLabel" class="text-lg font-semibold">Sentiment du marché</h3>
|
| 144 |
+
<div class="sentiment-positive text-white px-3 py-1 rounded-full text-sm">
|
| 145 |
+
<span id="sentimentValue">Positif</span>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<div class="bg-gray-100 rounded-full h-2.5 mb-6">
|
| 150 |
+
<div class="bg-green-500 h-2.5 rounded-full" style="width: 75%"></div>
|
| 151 |
+
</div>
|
| 152 |
+
</div>
|
| 153 |
+
|
| 154 |
+
<div class="space-y-4">
|
| 155 |
+
<div class="p-4 bg-gray-50 rounded-lg">
|
| 156 |
+
<div class="flex items-start space-x-3">
|
| 157 |
+
<i data-feather="book-open" class="text-crypto-primary mt-1"></i>
|
| 158 |
+
<div>
|
| 159 |
+
<h4 id="newsLabel" class="font-semibold">Actualités récentes</h4>
|
| 160 |
+
<p class="text-sm text-gray-600 mt-1">Adoption institutionnelle croissante • Nouveaux partenariats majeurs</p>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
|
| 165 |
+
<div class="p-4 bg-gray-50 rounded-lg">
|
| 166 |
+
<div class="flex items-start space-x-3">
|
| 167 |
+
<i data-feather="users" class="text-crypto-primary mt-1"></i>
|
| 168 |
+
<div>
|
| 169 |
+
<h4 id="adoptionLabel" class="font-semibold">Niveau d'adoption</h4>
|
| 170 |
+
<p class="text-sm text-gray-600 mt-1">Adoption croissante dans les pays émergents • Intérêt retail stable</p>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
</div>
|
| 174 |
+
|
| 175 |
+
<div class="p-4 bg-gray-50 rounded-lg">
|
| 176 |
+
<div class="flex items-start space-x-3">
|
| 177 |
+
<i data-feather="file-text" class="text-crypto-primary mt-1"></i>
|
| 178 |
+
<div>
|
| 179 |
+
<h4 id="regulationLabel" class="font-semibold">Environnement régulatoire</h4>
|
| 180 |
+
<p class="text-sm text-gray-600 mt-1">Clarté réglementaire en amélioration • Approche favorable dans plusieurs juridictions</p>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
</div>
|
| 184 |
+
</div>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
|
| 188 |
+
<!-- Prediction Result -->
|
| 189 |
+
<div class="mt-12 bg-white rounded-xl shadow-md p-6" data-aos="zoom-in">
|
| 190 |
+
<div class="text-center mb-6">
|
| 191 |
+
<h2 id="predictionTitle" class="text-2xl font-bold text-crypto-dark">Prédiction de tendance</h2>
|
| 192 |
+
<p id="predictionSubtitle" class="text-gray-600">Basée sur l'analyse combinée quantitative et qualitative</p>
|
| 193 |
+
</div>
|
| 194 |
+
|
| 195 |
+
<div class="flex flex-col items-center">
|
| 196 |
+
<div class="w-24 h-24 rounded-full bg-gradient-to-r from-green-400 to-green-600 flex items-center justify-center mb-4">
|
| 197 |
+
<i data-feather="arrow-up" class="text-white h-12 w-12"></i>
|
| 198 |
+
</div>
|
| 199 |
+
<h3 id="predictionResult" class="text-2xl font-bold text-green-600 mb-2">Tendance haussière</h3>
|
| 200 |
+
<p id="confidenceLabel" class="text-gray-600">Confiance: <span class="font-semibold">78%</span></p>
|
| 201 |
+
</div>
|
| 202 |
+
|
| 203 |
+
<div class="mt-8 grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 204 |
+
<div>
|
| 205 |
+
<h4 id="timeframeLabel" class="font-semibold mb-3">Perspective à court terme (1-2 semaines)</h4>
|
| 206 |
+
<p class="text-gray-700">Consolidation suivie d'une possible avancée vers de nouveaux sommets, soutenue par une accumulation institutionnelle.</p>
|
| 207 |
+
</div>
|
| 208 |
+
<div>
|
| 209 |
+
<h4 id="riskLabel" class="font-semibold mb-3">Niveau de risque</h4>
|
| 210 |
+
<div class="flex items-center">
|
| 211 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 212 |
+
<div class="bg-yellow-500 h-2.5 rounded-full" style="width: 40%"></div>
|
| 213 |
+
</div>
|
| 214 |
+
<span class="ml-2 text-sm font-medium">Modéré</span>
|
| 215 |
+
</div>
|
| 216 |
+
</div>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
</div>
|
| 220 |
+
|
| 221 |
+
<script>
|
| 222 |
+
// Initialize animations and icons
|
| 223 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 224 |
+
AOS.init({
|
| 225 |
+
duration: 800,
|
| 226 |
+
easing: 'ease-in-out',
|
| 227 |
+
once: true
|
| 228 |
+
});
|
| 229 |
+
feather.replace();
|
| 230 |
+
|
| 231 |
+
// Initialize chart
|
| 232 |
+
const ctx = document.getElementById('priceChart').getContext('2d');
|
| 233 |
+
const priceChart = new Chart(ctx, {
|
| 234 |
+
type: 'line',
|
| 235 |
+
data: {
|
| 236 |
+
labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
|
| 237 |
+
datasets: [{
|
| 238 |
+
label: 'Prix (€)',
|
| 239 |
+
data: [42000, 48000, 52000, 58000, 62000, 68000, 72000, 78000, 85000, 88000, 92000, 95423],
|
| 240 |
+
borderColor: '#396afc',
|
| 241 |
+
tension: 0.1,
|
| 242 |
+
fill: false
|
| 243 |
+
}]
|
| 244 |
+
},
|
| 245 |
+
options: {
|
| 246 |
+
responsive: true,
|
| 247 |
+
plugins: {
|
| 248 |
+
legend: {
|
| 249 |
+
display: false
|
| 250 |
+
}
|
| 251 |
+
},
|
| 252 |
+
scales: {
|
| 253 |
+
y: {
|
| 254 |
+
beginAtZero: false
|
| 255 |
+
}
|
| 256 |
+
}
|
| 257 |
+
}
|
| 258 |
+
});
|
| 259 |
+
|
| 260 |
+
// Language toggle functionality
|
| 261 |
+
const languageToggle = document.getElementById('languageToggle');
|
| 262 |
+
const languageText = document.getElementById('languageText');
|
| 263 |
+
let isFrench = true;
|
| 264 |
+
|
| 265 |
+
// French translations
|
| 266 |
+
const frenchText = {
|
| 267 |
+
heroTitle: "Analyse Prédictive Crypto Avancée",
|
| 268 |
+
heroSubtitle: "Combinaison d'analyse quantitative et qualitative pour des prédictions fiables",
|
| 269 |
+
quantitativeTitle: "Analyse Quantitative",
|
| 270 |
+
priceLabel: "Prix Actuel",
|
| 271 |
+
volumeLabel: "Volume 24h",
|
| 272 |
+
rsiLabel: "RSI",
|
| 273 |
+
macdLabel: "MACD",
|
| 274 |
+
volatilityLabel: "Volatilité",
|
| 275 |
+
qualitativeTitle: "Analyse Qualitative",
|
| 276 |
+
sentimentLabel: "Sentiment du marché",
|
| 277 |
+
sentimentValue: "Positif",
|
| 278 |
+
newsLabel: "Actualités récentes",
|
| 279 |
+
adoptionLabel: "Niveau d'adoption",
|
| 280 |
+
regulationLabel: "Environnement régulatoire",
|
| 281 |
+
predictionTitle: "Prédiction de tendance",
|
| 282 |
+
predictionSubtitle: "Basée sur l'analyse combinée quantitative et qualitative",
|
| 283 |
+
predictionResult: "Tendance haussière",
|
| 284 |
+
confidenceLabel: "Confiance",
|
| 285 |
+
timeframeLabel: "Perspective à court terme (1-2 semaines)",
|
| 286 |
+
riskLabel: "Niveau de risque"
|
| 287 |
+
};
|
| 288 |
+
|
| 289 |
+
// English translations
|
| 290 |
+
const englishText = {
|
| 291 |
+
heroTitle: "Advanced Crypto Predictive Analysis",
|
| 292 |
+
heroSubtitle: "Combining quantitative and qualitative analysis for reliable predictions",
|
| 293 |
+
quantitativeTitle: "Quantitative Analysis",
|
| 294 |
+
priceLabel: "Current Price",
|
| 295 |
+
volumeLabel: "24h Volume",
|
| 296 |
+
rsiLabel: "RSI",
|
| 297 |
+
macdLabel: "MACD",
|
| 298 |
+
volatilityLabel: "Volatility",
|
| 299 |
+
qualitativeTitle: "Qualitative Analysis",
|
| 300 |
+
sentimentLabel: "Market Sentiment",
|
| 301 |
+
sentimentValue: "Positive",
|
| 302 |
+
newsLabel: "Recent News",
|
| 303 |
+
adoptionLabel: "Adoption Level",
|
| 304 |
+
regulationLabel: "Regulatory Environment",
|
| 305 |
+
predictionTitle: "Trend Prediction",
|
| 306 |
+
predictionSubtitle: "Based on combined quantitative and qualitative analysis",
|
| 307 |
+
predictionResult: "Bullish Trend",
|
| 308 |
+
confidenceLabel: "Confidence",
|
| 309 |
+
timeframeLabel: "Short-term Perspective (1-2 weeks)",
|
| 310 |
+
riskLabel: "Risk Level"
|
| 311 |
+
};
|
| 312 |
+
|
| 313 |
+
languageToggle.addEventListener('click', function() {
|
| 314 |
+
isFrench = !isFrench;
|
| 315 |
+
|
| 316 |
+
if (isFrench) {
|
| 317 |
+
languageText.textContent = 'FR';
|
| 318 |
+
updateTextContent(frenchText);
|
| 319 |
+
} else {
|
| 320 |
+
languageText.textContent = 'EN';
|
| 321 |
+
updateTextContent(englishText);
|
| 322 |
+
}
|
| 323 |
+
});
|
| 324 |
+
|
| 325 |
+
function updateTextContent(translations) {
|
| 326 |
+
for (const [key, value] of Object.entries(translations)) {
|
| 327 |
+
const element = document.getElementById(key);
|
| 328 |
+
if (element) {
|
| 329 |
+
element.textContent = value;
|
| 330 |
+
}
|
| 331 |
+
}
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
// Crypto selection functionality
|
| 335 |
+
const cryptoSelect = document.getElementById('cryptoSelect');
|
| 336 |
+
cryptoSelect.addEventListener('change', function() {
|
| 337 |
+
const selectedCrypto = cryptoSelect.value;
|
| 338 |
+
|
| 339 |
+
// Update prices and data based on selected cryptocurrency
|
| 340 |
+
updateCryptoData(selectedCrypto);
|
| 341 |
+
});
|
| 342 |
+
|
| 343 |
+
// Function to update crypto data
|
| 344 |
+
function updateCryptoData(crypto) {
|
| 345 |
+
const cryptoData = {
|
| 346 |
+
bitcoin: {
|
| 347 |
+
price: 95423.78,
|
| 348 |
+
change: "+3.2%",
|
| 349 |
+
data: [42000, 48000, 52000, 58000, 62000, 68000, 72000, 78000, 85000, 88000, 92000, 95423],
|
| 350 |
+
rsi: "54.8",
|
| 351 |
+
macd: "Bullish",
|
| 352 |
+
volatility: "4.1%",
|
| 353 |
+
sentiment: "Positif"
|
| 354 |
+
},
|
| 355 |
+
ethereum: {
|
| 356 |
+
price: 3828.00,
|
| 357 |
+
change: "+2.8%",
|
| 358 |
+
data: [3200, 3300, 3400, 3500, 3600, 3650, 3700, 3750, 3800, 3820, 3825, 3828],
|
| 359 |
+
rsi: "58.2",
|
| 360 |
+
macd: "Bullish",
|
| 361 |
+
volatility: "3.8%",
|
| 362 |
+
sentiment: "Positif"
|
| 363 |
+
},
|
| 364 |
+
cardano: {
|
| 365 |
+
price: 0.85,
|
| 366 |
+
change: "+1.2%",
|
| 367 |
+
data: [0.45, 0.50, 0.55, 0.60, 0.65, 0.70, 0.75, 0.78, 0.80, 0.82, 0.84, 0.85],
|
| 368 |
+
rsi: "56.3",
|
| 369 |
+
macd: "Bullish",
|
| 370 |
+
volatility: "4.5%",
|
| 371 |
+
sentiment: "Neutre"
|
| 372 |
+
},
|
| 373 |
+
solana: {
|
| 374 |
+
price: 128.50,
|
| 375 |
+
change: "-0.8%",
|
| 376 |
+
data: [95, 100, 105, 110, 115, 120, 122, 125, 127, 128, 129, 128.5],
|
| 377 |
+
rsi: "48.7",
|
| 378 |
+
macd: "Neutral",
|
| 379 |
+
volatility: "4.2%",
|
| 380 |
+
sentiment: "Neutre"
|
| 381 |
+
},
|
| 382 |
+
xrp: {
|
| 383 |
+
price: 0.62,
|
| 384 |
+
change: "+0.5%",
|
| 385 |
+
data: [0.50, 0.52, 0.54, 0.56, 0.58, 0.59, 0.60, 0.61, 0.62, 0.62, 0.62, 0.62],
|
| 386 |
+
rsi: "52.0",
|
| 387 |
+
macd: "Neutral",
|
| 388 |
+
volatility: "2.5%",
|
| 389 |
+
sentiment: "Neutre"
|
| 390 |
+
}
|
| 391 |
+
};
|
| 392 |
+
|
| 393 |
+
const data = cryptoData[crypto] || cryptoData.bitcoin;
|
| 394 |
+
|
| 395 |
+
// Update UI with new data
|
| 396 |
+
document.getElementById('currentPrice').textContent = `€${data.price.toLocaleString('fr-FR')}`;
|
| 397 |
+
document.getElementById('priceChange').textContent = `${data.change} (24h)`;
|
| 398 |
+
document.getElementById('priceChange').className = data.change.startsWith('+') ?
|
| 399 |
+
'text-green-500' : 'text-red-500';
|
| 400 |
+
|
| 401 |
+
document.querySelector('.text-lg.font-semibold').textContent = data.rsi;
|
| 402 |
+
document.querySelectorAll('.text-lg.font-semibold')[1].textContent = data.macd;
|
| 403 |
+
document.querySelectorAll('.text-lg.font-semibold')[2].textContent = data.volatility;
|
| 404 |
+
document.getElementById('sentimentValue').textContent = data.sentiment;
|
| 405 |
+
|
| 406 |
+
// Update chart
|
| 407 |
+
priceChart.data.datasets[0].data = data.data;
|
| 408 |
+
priceChart.update();
|
| 409 |
+
|
| 410 |
+
// Update sentiment color
|
| 411 |
+
const sentimentDiv = document.querySelector('.sentiment-positive');
|
| 412 |
+
sentimentDiv.className = `text-white px-3 py-1 rounded-full text-sm ${
|
| 413 |
+
data.sentiment === 'Positif' ? 'sentiment-positive' :
|
| 414 |
+
data.sentiment === 'Neutre' ? 'sentiment-neutral' : 'sentiment-negative'
|
| 415 |
+
}`;
|
| 416 |
+
|
| 417 |
+
if (isFrench) {
|
| 418 |
+
document.getElementById('sentimentValue').textContent = data.sentiment;
|
| 419 |
+
} else {
|
| 420 |
+
document.getElementById('sentimentValue').textContent =
|
| 421 |
+
data.sentiment === 'Positif' ? 'Positive' :
|
| 422 |
+
data.sentiment === 'Neutre' ? 'Neutral' : 'Negative';
|
| 423 |
+
}
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
// Initialize with Bitcoin data
|
| 427 |
+
updateCryptoData('bitcoin');
|
| 428 |
+
});
|
| 429 |
+
</script>
|
| 430 |
+
</body>
|
| 431 |
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
créé une application de prédiction crypto devra mélanger l’analyse quantitative (prix, volumes, on-chain, TA) avec l’analyse qualitative (sentiment, news, adoption, régulation) pour donner une tendance fiable. je dois pouvoir choisir la crypto a analyser et l'app doit etre en français avec possibilité de passer a l'anglais. fais des test pour etre sur que ce soit fonctionnel
|
| 2 |
+
ca ne fonctionne pas et le prix indiqué pour btc ne correspond pas a septembre 2025
|
| 3 |
+
C'est ok pour btc pas pour eth, le tarif ne correspnd pas
|
| 4 |
+
ca ne correspond pas au prix etherum au 3 septembre 2025.
|
| 5 |
+
le prix de l'eth ne correspond toujours pas vérifie aussi pour les autres crypto. l'eth est a 3 828 le 3 septembre 2025 (a titre indicatif)
|