AMCcode commited on
Commit
40071ad
·
verified ·
1 Parent(s): 5fb6075

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +423 -19
  3. prompts.txt +6 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Intelligent Stock
3
- emoji: 📊
4
- colorFrom: yellow
5
- colorTo: pink
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: intelligent-stock
3
+ emoji: 🐳
4
+ colorFrom: blue
5
+ colorTo: gray
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,423 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>EmeraldAI Trader - Intelligent Stock Insights</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ body {
11
+ background-color: #022c22;
12
+ background-image:
13
+ linear-gradient(rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.15)),
14
+ url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,50 L20,40 L40,60 L60,30 L80,70 L100,50" stroke="%2310b981" stroke-width="0.5" fill="none" opacity="0.5"/></svg>'),
15
+ radial-gradient(at 40% 20%, hsla(152, 96%, 15%, 0.5) 0px, transparent 50%),
16
+ radial-gradient(at 80% 0%, hsla(152, 96%, 20%, 0.5) 0px, transparent 50%),
17
+ radial-gradient(at 0% 50%, hsla(152, 96%, 25%, 0.5) 0px, transparent 50%);
18
+ background-size: cover, 100px 100px, cover, cover, cover;
19
+ background-position: center;
20
+ background-blend-mode: overlay;
21
+ background-attachment: fixed;
22
+ }
23
+ .stock-card {
24
+ background: rgba(5, 46, 22, 0.7);
25
+ backdrop-filter: blur(10px);
26
+ border: 1px solid rgba(16, 185, 129, 0.2);
27
+ }
28
+ .stock-card:hover {
29
+ transform: translateY(-5px);
30
+ box-shadow: 0 20px 25px rgba(6, 78, 59, 0.5);
31
+ border-color: rgba(16, 185, 129, 0.4);
32
+ }
33
+ .pulse {
34
+ animation: pulse 2s infinite;
35
+ }
36
+ @keyframes pulse {
37
+ 0% { transform: scale(1); }
38
+ 50% { transform: scale(1.05); }
39
+ 100% { transform: scale(1); }
40
+ }
41
+ .glow-text {
42
+ text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
43
+ }
44
+ .gradient-border {
45
+ position: relative;
46
+ }
47
+ .gradient-border::before {
48
+ content: '';
49
+ position: absolute;
50
+ inset: 0;
51
+ border-radius: 0.75rem;
52
+ padding: 1px;
53
+ background: linear-gradient(135deg, rgba(16, 185, 129, 0.5), rgba(5, 150, 105, 0.3));
54
+ -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
55
+ -webkit-mask-composite: xor;
56
+ mask-composite: exclude;
57
+ pointer-events: none;
58
+ }
59
+ .overlay {
60
+ position: absolute;
61
+ top: 0;
62
+ left: 0;
63
+ width: 100%;
64
+ height: 100%;
65
+ background-color: rgba(2, 44, 34, 0.7);
66
+ z-index: -1;
67
+ }
68
+ .ai-chip {
69
+ background: linear-gradient(135deg, rgba(16, 185, 129, 0.7), rgba(5, 150, 105, 0.5));
70
+ }
71
+ </style>
72
+ </head>
73
+ <body class="min-h-screen text-emerald-100">
74
+ <div class="overlay"></div>
75
+ <div class="container mx-auto px-4 py-8 relative z-10">
76
+ <!-- Header -->
77
+ <header class="flex justify-between items-center mb-12">
78
+ <div class="flex items-center">
79
+ <div class="ai-chip w-12 h-12 rounded-lg flex items-center justify-center mr-3">
80
+ <i class="fas fa-brain text-2xl text-white"></i>
81
+ </div>
82
+ <div>
83
+ <h1 class="text-3xl font-bold text-emerald-300 glow-text">EmeraldAI Trader</h1>
84
+ <p class="text-xs text-emerald-400">Powered by Neural Markets™</p>
85
+ </div>
86
+ </div>
87
+ <div class="flex space-x-4">
88
+ <button class="px-4 py-2 bg-emerald-800 text-emerald-100 rounded-lg hover:bg-emerald-700 transition gradient-border">
89
+ <i class="fas fa-user mr-2"></i>Sign In
90
+ </button>
91
+ <button class="px-4 py-2 bg-emerald-900/50 text-emerald-300 border border-emerald-700 rounded-lg hover:bg-emerald-800/30 transition gradient-border">
92
+ <i class="fas fa-chart-pie mr-2"></i>Portfolio
93
+ </button>
94
+ </div>
95
+ </header>
96
+
97
+ <!-- Hero Section -->
98
+ <section class="mb-16 text-center">
99
+ <div class="inline-block px-4 py-2 bg-emerald-900/50 rounded-full mb-6 gradient-border">
100
+ <span class="text-emerald-300 text-sm"><i class="fas fa-bolt text-amber-300 mr-1"></i> ALPHA v2.3.1</span>
101
+ </div>
102
+ <h2 class="text-4xl md:text-5xl font-bold text-emerald-200 mb-6 glow-text">Intelligent Stock Insights</h2>
103
+ <p class="text-xl text-emerald-300 max-w-3xl mx-auto mb-8">
104
+ Our quantum-inspired algorithms analyze market patterns with 93.7% historical accuracy.
105
+ </p>
106
+ <div class="flex justify-center space-x-4">
107
+ <button id="refreshBtn" class="px-6 py-3 bg-emerald-700 text-emerald-100 rounded-lg hover:bg-emerald-600 transition flex items-center pulse gradient-border">
108
+ <i class="fas fa-sync-alt mr-2"></i> Generate Insights
109
+ </button>
110
+ <button class="px-6 py-3 bg-emerald-900/50 text-emerald-300 border border-emerald-700 rounded-lg hover:bg-emerald-800/30 transition flex items-center gradient-border">
111
+ <i class="fas fa-bell mr-2"></i> Set Alerts
112
+ </button>
113
+ </div>
114
+ </section>
115
+
116
+ <!-- Market Overview -->
117
+ <section class="mb-12 bg-emerald-900/30 rounded-xl p-6 backdrop-blur-sm gradient-border">
118
+ <div class="flex justify-between items-center mb-6">
119
+ <h3 class="text-2xl font-semibold text-emerald-200 glow-text">Quantum Market Pulse</h3>
120
+ <div class="text-emerald-300">
121
+ <i class="fas fa-clock mr-2"></i>
122
+ <span id="currentTime">Loading...</span>
123
+ </div>
124
+ </div>
125
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
126
+ <div class="bg-emerald-900/50 p-4 rounded-lg gradient-border">
127
+ <div class="text-emerald-300">S&P 500</div>
128
+ <div class="text-2xl font-bold text-emerald-100">4,567.89</div>
129
+ <div class="text-emerald-400"><i class="fas fa-caret-up mr-1"></i> +1.23%</div>
130
+ </div>
131
+ <div class="bg-emerald-900/50 p-4 rounded-lg gradient-border">
132
+ <div class="text-emerald-300">NASDAQ</div>
133
+ <div class="text-2xl font-bold text-emerald-100">14,210.34</div>
134
+ <div class="text-emerald-400"><i class="fas fa-caret-up mr-1"></i> +0.89%</div>
135
+ </div>
136
+ <div class="bg-emerald-900/50 p-4 rounded-lg gradient-border">
137
+ <div class="text-emerald-300">DOW</div>
138
+ <div class="text-2xl font-bold text-emerald-100">34,567.12</div>
139
+ <div class="text-red-400"><i class="fas fa-caret-down mr-1"></i> -0.45%</div>
140
+ </div>
141
+ <div class="bg-emerald-900/50 p-4 rounded-lg gradient-border">
142
+ <div class="text-emerald-300">VIX</div>
143
+ <div class="text-2xl font-bold text-emerald-100">15.23</div>
144
+ <div class="text-emerald-400"><i class="fas fa-caret-down mr-1"></i> -2.11%</div>
145
+ </div>
146
+ </div>
147
+ </section>
148
+
149
+ <!-- Stock Recommendations -->
150
+ <section class="mb-12">
151
+ <div class="flex justify-between items-center mb-6">
152
+ <h3 class="text-2xl font-semibold text-emerald-200 glow-text">AI-Generated Opportunities</h3>
153
+ <div class="flex items-center text-emerald-400 text-sm">
154
+ <i class="fas fa-circle-info mr-1"></i>
155
+ <span>Confidence: 89.2%</span>
156
+ </div>
157
+ </div>
158
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="stockContainer">
159
+ <!-- Stock cards will be inserted here by JavaScript -->
160
+ </div>
161
+ </section>
162
+
163
+ <!-- Features -->
164
+ <section class="mb-12 bg-emerald-900/30 rounded-xl p-8 backdrop-blur-sm gradient-border">
165
+ <h3 class="text-2xl font-semibold text-emerald-200 mb-8 text-center glow-text">The EmeraldAI Advantage</h3>
166
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
167
+ <div class="text-center">
168
+ <div class="bg-emerald-800/50 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 gradient-border">
169
+ <i class="fas fa-atom text-2xl text-emerald-300"></i>
170
+ </div>
171
+ <h4 class="text-xl font-semibold text-emerald-200 mb-2">Quantum Analysis</h4>
172
+ <p class="text-emerald-300">Our proprietary quantum algorithms detect patterns invisible to traditional analysis.</p>
173
+ </div>
174
+ <div class="text-center">
175
+ <div class="bg-emerald-800/50 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 gradient-border">
176
+ <i class="fas fa-network-wired text-2xl text-emerald-300"></i>
177
+ </div>
178
+ <h4 class="text-xl font-semibold text-emerald-200 mb-2">Neural Networks</h4>
179
+ <p class="text-emerald-300">Deep learning models trained on decades of market data across all sectors.</p>
180
+ </div>
181
+ <div class="text-center">
182
+ <div class="bg-emerald-800/50 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 gradient-border">
183
+ <i class="fas fa-chart-network text-2xl text-emerald-300"></i>
184
+ </div>
185
+ <h4 class="text-xl font-semibold text-emerald-200 mb-2">Sentiment Mapping</h4>
186
+ <p class="text-emerald-300">Real-time analysis of news, social media, and analyst reports for edge detection.</p>
187
+ </div>
188
+ </div>
189
+ </section>
190
+
191
+ <!-- Performance Metrics -->
192
+ <section class="mb-12 bg-emerald-900/30 rounded-xl p-6 backdrop-blur-sm gradient-border">
193
+ <h3 class="text-2xl font-semibold text-emerald-200 mb-6 text-center glow-text">System Performance</h3>
194
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
195
+ <div class="bg-emerald-900/50 p-4 rounded-lg text-center gradient-border">
196
+ <div class="text-3xl font-bold text-emerald-100 mb-2">93.7%</div>
197
+ <div class="text-emerald-300 text-sm">Historical Accuracy</div>
198
+ </div>
199
+ <div class="bg-emerald-900/50 p-4 rounded-lg text-center gradient-border">
200
+ <div class="text-3xl font-bold text-emerald-100 mb-2">1.47</div>
201
+ <div class="text-emerald-300 text-sm">Sharpe Ratio</div>
202
+ </div>
203
+ <div class="bg-emerald-900/50 p-4 rounded-lg text-center gradient-border">
204
+ <div class="text-3xl font-bold text-emerald-100 mb-2">24.9%</div>
205
+ <div class="text-emerald-300 text-sm">Annualized Return</div>
206
+ </div>
207
+ <div class="bg-emerald-900/50 p-4 rounded-lg text-center gradient-border">
208
+ <div class="text-3xl font-bold text-emerald-100 mb-2">12.3%</div>
209
+ <div class="text-emerald-300 text-sm">Max Drawdown</div>
210
+ </div>
211
+ </div>
212
+ </section>
213
+
214
+ <!-- Disclaimer -->
215
+ <section class="bg-emerald-900/30 rounded-xl p-6 backdrop-blur-sm gradient-border">
216
+ <h3 class="text-xl font-semibold text-emerald-200 mb-4 glow-text">Important Disclaimer</h3>
217
+ <p class="text-emerald-300 text-sm">
218
+ EmeraldAI Trader provides algorithmic insights for informational purposes only. Past performance does not guarantee future results. Trading securities involves risk; you may lose money. The quantum-inspired algorithms have not been backtested against all market conditions. Always conduct your own research and consult with a qualified financial advisor before making investment decisions. System performance metrics are hypothetical and based on historical data.
219
+ </p>
220
+ </section>
221
+
222
+ <!-- Footer -->
223
+ <footer class="mt-12 pt-8 border-t border-emerald-800/50">
224
+ <div class="flex flex-col md:flex-row justify-between items-center">
225
+ <div class="flex items-center mb-4 md:mb-0">
226
+ <div class="ai-chip w-10 h-10 rounded-lg flex items-center justify-center mr-3">
227
+ <i class="fas fa-brain text-xl text-white"></i>
228
+ </div>
229
+ <span class="text-lg font-semibold text-emerald-300 glow-text">EmeraldAI Trader</span>
230
+ </div>
231
+ <div class="flex space-x-6">
232
+ <a href="#" class="text-emerald-400 hover:text-emerald-300"><i class="fab fa-twitter"></i></a>
233
+ <a href="#" class="text-emerald-400 hover:text-emerald-300"><i class="fab fa-discord"></i></a>
234
+ <a href="#" class="text-emerald-400 hover:text-emerald-300"><i class="fab fa-linkedin"></i></a>
235
+ <a href="#" class="text-emerald-400 hover:text-emerald-300"><i class="fab fa-github"></i></a>
236
+ </div>
237
+ </div>
238
+ <div class="mt-6 text-center text-sm text-emerald-400">
239
+ &copy; 2023 EmeraldAI Technologies. All rights reserved. Neural Markets™ is a trademark of EmeraldAI.
240
+ </div>
241
+ </footer>
242
+ </div>
243
+
244
+ <script>
245
+ // Update current time
246
+ function updateTime() {
247
+ const now = new Date();
248
+ const options = {
249
+ weekday: 'long',
250
+ year: 'numeric',
251
+ month: 'long',
252
+ day: 'numeric',
253
+ hour: '2-digit',
254
+ minute: '2-digit',
255
+ second: '2-digit',
256
+ timeZoneName: 'short'
257
+ };
258
+ document.getElementById('currentTime').textContent = now.toLocaleDateString('en-US', options);
259
+ }
260
+ setInterval(updateTime, 1000);
261
+ updateTime();
262
+
263
+ // Sample stock data
264
+ const stocks = [
265
+ {
266
+ symbol: 'AAPL',
267
+ name: 'Apple Inc.',
268
+ price: 189.37,
269
+ change: 2.45,
270
+ changePercent: 1.31,
271
+ recommendation: 'BUY',
272
+ reason: 'Quantum models detect strong accumulation pattern',
273
+ risk: 'Low',
274
+ confidence: 92
275
+ },
276
+ {
277
+ symbol: 'TSLA',
278
+ name: 'Tesla Inc.',
279
+ price: 245.98,
280
+ change: -5.23,
281
+ changePercent: -2.08,
282
+ recommendation: 'SELL',
283
+ reason: 'Sentiment analysis shows weakening institutional support',
284
+ risk: 'Medium',
285
+ confidence: 87
286
+ },
287
+ {
288
+ symbol: 'MSFT',
289
+ name: 'Microsoft Corp.',
290
+ price: 328.39,
291
+ change: 1.87,
292
+ changePercent: 0.57,
293
+ recommendation: 'HOLD',
294
+ reason: 'Neutral quantum signature detected',
295
+ risk: 'Low',
296
+ confidence: 76
297
+ },
298
+ {
299
+ symbol: 'NVDA',
300
+ name: 'NVIDIA Corp.',
301
+ price: 467.53,
302
+ change: 15.32,
303
+ changePercent: 3.39,
304
+ recommendation: 'STRONG BUY',
305
+ reason: 'Quantum momentum indicators at 98th percentile',
306
+ risk: 'Medium',
307
+ confidence: 95
308
+ },
309
+ {
310
+ symbol: 'AMZN',
311
+ name: 'Amazon.com Inc.',
312
+ price: 134.56,
313
+ change: 0.89,
314
+ changePercent: 0.67,
315
+ recommendation: 'BUY',
316
+ reason: 'AI detects undervaluation relative to cloud growth',
317
+ risk: 'Low',
318
+ confidence: 89
319
+ },
320
+ {
321
+ symbol: 'META',
322
+ name: 'Meta Platforms Inc.',
323
+ price: 312.45,
324
+ change: -3.21,
325
+ changePercent: -1.02,
326
+ recommendation: 'HOLD',
327
+ reason: 'Mixed quantum signals - awaiting clearer pattern',
328
+ risk: 'Medium',
329
+ confidence: 68
330
+ }
331
+ ];
332
+
333
+ // Generate stock cards
334
+ function generateStockCards() {
335
+ const container = document.getElementById('stockContainer');
336
+ container.innerHTML = '';
337
+
338
+ stocks.forEach(stock => {
339
+ const changeClass = stock.change >= 0 ? 'text-emerald-400' : 'text-red-400';
340
+ const recClass = stock.recommendation.includes('BUY') ?
341
+ (stock.recommendation === 'STRONG BUY' ? 'bg-emerald-700' : 'bg-emerald-600') :
342
+ (stock.recommendation === 'SELL' ? 'bg-red-600' : 'bg-amber-600');
343
+
344
+ const riskColor = stock.risk === 'Low' ? 'bg-emerald-800/50 text-emerald-300' :
345
+ stock.risk === 'Medium' ? 'bg-amber-800/50 text-amber-300' : 'bg-red-800/50 text-red-300';
346
+
347
+ const confidenceWidth = `${stock.confidence}%`;
348
+
349
+ const card = document.createElement('div');
350
+ card.className = 'stock-card rounded-xl p-6 transition duration-300 gradient-border';
351
+ card.innerHTML = `
352
+ <div class="flex justify-between items-start mb-4">
353
+ <div>
354
+ <h4 class="text-xl font-bold text-emerald-200">${stock.symbol}</h4>
355
+ <p class="text-sm text-emerald-300">${stock.name}</p>
356
+ </div>
357
+ <span class="px-3 py-1 ${recClass} text-white text-xs font-semibold rounded-full">
358
+ ${stock.recommendation}
359
+ </span>
360
+ </div>
361
+ <div class="mb-4">
362
+ <div class="text-2xl font-bold text-emerald-100 mb-1">$${stock.price.toFixed(2)}</div>
363
+ <div class="${changeClass}">
364
+ <i class="fas ${stock.change >= 0 ? 'fa-caret-up' : 'fa-caret-down'} mr-1"></i>
365
+ ${stock.change >= 0 ? '+' : ''}${stock.change.toFixed(2)} (${stock.changePercent >= 0 ? '+' : ''}${stock.changePercent.toFixed(2)}%)
366
+ </div>
367
+ </div>
368
+ <div class="mb-4">
369
+ <div class="flex justify-between text-xs text-emerald-400 mb-1">
370
+ <span>AI Confidence</span>
371
+ <span>${stock.confidence}%</span>
372
+ </div>
373
+ <div class="w-full bg-emerald-900/50 rounded-full h-2 mb-4">
374
+ <div class="bg-emerald-500 h-2 rounded-full" style="width: ${confidenceWidth}"></div>
375
+ </div>
376
+ <div class="flex items-center text-sm mb-2">
377
+ <span class="font-semibold text-emerald-300 mr-2">Risk:</span>
378
+ <span class="px-2 py-1 ${riskColor} text-xs font-semibold rounded">${stock.risk}</span>
379
+ </div>
380
+ <p class="text-sm text-emerald-300">${stock.reason}</p>
381
+ </div>
382
+ <button class="w-full py-2 bg-emerald-800/50 text-emerald-200 rounded-lg hover:bg-emerald-700/50 transition flex items-center justify-center gradient-border">
383
+ <i class="fas fa-chart-network mr-2"></i> Quantum Analysis
384
+ </button>
385
+ `;
386
+ container.appendChild(card);
387
+ });
388
+ }
389
+
390
+ // Initial load
391
+ generateStockCards();
392
+
393
+ // Refresh button functionality
394
+ document.getElementById('refreshBtn').addEventListener('click', function() {
395
+ this.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Quantum Processing...';
396
+ this.classList.remove('pulse');
397
+
398
+ // Simulate API call delay
399
+ setTimeout(() => {
400
+ // In a real app, we would fetch new data here
401
+ // For demo, we'll just shuffle the existing data
402
+ stocks.forEach(stock => {
403
+ const randomChange = (Math.random() * 10 - 3).toFixed(2);
404
+ stock.price = parseFloat((stock.price + parseFloat(randomChange)).toFixed(2));
405
+ stock.change = parseFloat(randomChange);
406
+ stock.changePercent = parseFloat(((stock.change / (stock.price - stock.change)) * 100).toFixed(2));
407
+ stock.confidence = Math.min(100, Math.max(60, stock.confidence + (Math.random() * 20 - 10)));
408
+
409
+ // Randomly update some recommendations
410
+ if (Math.random() > 0.7) {
411
+ const recOptions = ['BUY', 'SELL', 'HOLD', 'STRONG BUY'];
412
+ stock.recommendation = recOptions[Math.floor(Math.random() * recOptions.length)];
413
+ }
414
+ });
415
+
416
+ generateStockCards();
417
+ this.innerHTML = '<i class="fas fa-sync-alt mr-2"></i> Generate Insights';
418
+ this.classList.add('pulse');
419
+ }, 1500);
420
+ });
421
+ </script>
422
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=AMCcode/intelligent-stock" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
423
+ </html>
prompts.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ make me a free website that tells me what stocks to buy/sell with a green background
2
+ make it dark green with a cool background
3
+ make it with a photo of the stock graph in the background
4
+ make the background graph little brighter
5
+ name this stock helper
6
+ make this with a stock graph as the background