where can i get FinGPT v4 - Initial Deployment
Browse files- README.md +7 -5
- index.html +464 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 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: trading
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: red
|
| 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,464 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>AI Trading Bot Dashboard</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 |
+
<script>
|
| 10 |
+
tailwind.config = {
|
| 11 |
+
theme: {
|
| 12 |
+
extend: {
|
| 13 |
+
colors: {
|
| 14 |
+
primary: '#2563eb',
|
| 15 |
+
secondary: '#7c3aed',
|
| 16 |
+
dark: '#1e293b',
|
| 17 |
+
light: '#f8fafc'
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
</script>
|
| 23 |
+
<style>
|
| 24 |
+
.gradient-bg {
|
| 25 |
+
background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
|
| 26 |
+
}
|
| 27 |
+
.card-hover:hover {
|
| 28 |
+
transform: translateY(-5px);
|
| 29 |
+
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
| 30 |
+
}
|
| 31 |
+
.sidebar {
|
| 32 |
+
transition: all 0.3s ease;
|
| 33 |
+
}
|
| 34 |
+
@media (max-width: 768px) {
|
| 35 |
+
.sidebar {
|
| 36 |
+
transform: translateX(-100%);
|
| 37 |
+
position: absolute;
|
| 38 |
+
z-index: 50;
|
| 39 |
+
height: 100vh;
|
| 40 |
+
}
|
| 41 |
+
.sidebar-open {
|
| 42 |
+
transform: translateX(0);
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
</style>
|
| 46 |
+
</head>
|
| 47 |
+
<body class="bg-gray-100 font-sans">
|
| 48 |
+
<div class="flex h-screen overflow-hidden">
|
| 49 |
+
<!-- Sidebar -->
|
| 50 |
+
<div class="sidebar bg-white w-64 border-r border-gray-200 flex flex-col">
|
| 51 |
+
<div class="p-4 border-b border-gray-200">
|
| 52 |
+
<h1 class="text-2xl font-bold text-primary">AI Trader Pro</h1>
|
| 53 |
+
<p class="text-sm text-gray-500">For RTX 3090/3060 Systems</p>
|
| 54 |
+
</div>
|
| 55 |
+
<nav class="flex-1 overflow-y-auto p-4">
|
| 56 |
+
<div class="space-y-2">
|
| 57 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg bg-blue-50 text-primary font-medium">
|
| 58 |
+
<i class="fas fa-chart-line"></i>
|
| 59 |
+
<span>Dashboard</span>
|
| 60 |
+
</a>
|
| 61 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 62 |
+
<i class="fas fa-robot"></i>
|
| 63 |
+
<span>Model Selection</span>
|
| 64 |
+
</a>
|
| 65 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 66 |
+
<i class="fas fa-cog"></i>
|
| 67 |
+
<span>Settings</span>
|
| 68 |
+
</a>
|
| 69 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 70 |
+
<i class="fas fa-history"></i>
|
| 71 |
+
<span>Trade History</span>
|
| 72 |
+
</a>
|
| 73 |
+
<a href="#" class="flex items-center space-x-3 p-3 rounded-lg hover:bg-gray-100 text-gray-700">
|
| 74 |
+
<i class="fas fa-wallet"></i>
|
| 75 |
+
<span>Portfolio</span>
|
| 76 |
+
</a>
|
| 77 |
+
</div>
|
| 78 |
+
|
| 79 |
+
<div class="mt-8">
|
| 80 |
+
<h3 class="text-xs font-semibold text-gray-500 uppercase tracking-wider">System Info</h3>
|
| 81 |
+
<div class="mt-2 space-y-1">
|
| 82 |
+
<div class="flex items-center justify-between p-2 text-sm">
|
| 83 |
+
<span class="text-gray-500">GPU 1:</span>
|
| 84 |
+
<span class="font-medium">RTX 3090</span>
|
| 85 |
+
</div>
|
| 86 |
+
<div class="flex items-center justify-between p-2 text-sm">
|
| 87 |
+
<span class="text-gray-500">GPU 2:</span>
|
| 88 |
+
<span class="font-medium">RTX 3060</span>
|
| 89 |
+
</div>
|
| 90 |
+
<div class="flex items-center justify-between p-2 text-sm">
|
| 91 |
+
<span class="text-gray-500">RAM:</span>
|
| 92 |
+
<span class="font-medium">32GB</span>
|
| 93 |
+
</div>
|
| 94 |
+
<div class="flex items-center justify-between p-2 text-sm">
|
| 95 |
+
<span class="text-gray-500">CPU:</span>
|
| 96 |
+
<span class="font-medium">i7-7700K</span>
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
</nav>
|
| 101 |
+
<div class="p-4 border-t border-gray-200">
|
| 102 |
+
<button class="w-full flex items-center justify-center space-x-2 p-3 bg-primary text-white rounded-lg hover:bg-blue-700 transition">
|
| 103 |
+
<i class="fas fa-power-off"></i>
|
| 104 |
+
<span>Stop Bot</span>
|
| 105 |
+
</button>
|
| 106 |
+
</div>
|
| 107 |
+
</div>
|
| 108 |
+
|
| 109 |
+
<!-- Main Content -->
|
| 110 |
+
<div class="flex-1 flex flex-col overflow-hidden">
|
| 111 |
+
<!-- Top Navigation -->
|
| 112 |
+
<header class="bg-white border-b border-gray-200 p-4 flex items-center justify-between">
|
| 113 |
+
<div class="flex items-center space-x-4">
|
| 114 |
+
<button id="sidebarToggle" class="md:hidden text-gray-500">
|
| 115 |
+
<i class="fas fa-bars text-xl"></i>
|
| 116 |
+
</button>
|
| 117 |
+
<h2 class="text-xl font-semibold text-gray-800">Trading Dashboard</h2>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="flex items-center space-x-4">
|
| 120 |
+
<div class="relative">
|
| 121 |
+
<input type="text" placeholder="Search..." class="pl-10 pr-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent">
|
| 122 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
| 123 |
+
</div>
|
| 124 |
+
<div class="w-10 h-10 rounded-full bg-primary text-white flex items-center justify-center">
|
| 125 |
+
<i class="fas fa-user"></i>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</header>
|
| 129 |
+
|
| 130 |
+
<!-- Main Content Area -->
|
| 131 |
+
<main class="flex-1 overflow-y-auto p-6 bg-gray-50">
|
| 132 |
+
<!-- System Recommendations -->
|
| 133 |
+
<div class="mb-8 bg-white rounded-xl shadow-sm p-6">
|
| 134 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-4">Recommended AI Models for Your System</h3>
|
| 135 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 136 |
+
<!-- Model Card 1 -->
|
| 137 |
+
<div class="bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition card-hover">
|
| 138 |
+
<div class="gradient-bg p-4 text-white">
|
| 139 |
+
<div class="flex justify-between items-start">
|
| 140 |
+
<div>
|
| 141 |
+
<h4 class="font-bold text-lg">Alpaca-LoRA 7B</h4>
|
| 142 |
+
<p class="text-sm opacity-90">Fine-tuned for Trading</p>
|
| 143 |
+
</div>
|
| 144 |
+
<div class="bg-white bg-opacity-20 rounded-full p-2">
|
| 145 |
+
<i class="fas fa-chart-bar"></i>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
<div class="p-4 relative">
|
| 150 |
+
<div class="absolute -top-3 right-4 bg-yellow-100 text-yellow-800 text-xs px-2 py-1 rounded-full flex items-center">
|
| 151 |
+
<i class="fas fa-exclamation-circle mr-1"></i>
|
| 152 |
+
RTX 3060 may be tight
|
| 153 |
+
</div>
|
| 154 |
+
<div class="flex justify-between text-sm mb-3">
|
| 155 |
+
<span class="text-gray-500">VRAM Usage:</span>
|
| 156 |
+
<span class="font-medium">~10GB</span>
|
| 157 |
+
</div>
|
| 158 |
+
<div class="flex justify-between text-sm mb-3">
|
| 159 |
+
<span class="text-gray-500">Performance:</span>
|
| 160 |
+
<span class="font-medium text-green-500">Excellent</span>
|
| 161 |
+
</div>
|
| 162 |
+
<div class="flex justify-between text-sm mb-4">
|
| 163 |
+
<span class="text-gray-500">Backtest Score:</span>
|
| 164 |
+
<span class="font-medium">87.5%</span>
|
| 165 |
+
</div>
|
| 166 |
+
<div class="space-y-2">
|
| 167 |
+
<button class="w-full py-2 bg-primary hover:bg-blue-700 text-white rounded-lg transition">
|
| 168 |
+
Deploy to RTX 3090
|
| 169 |
+
</button>
|
| 170 |
+
<button class="w-full py-2 bg-yellow-500 hover:bg-yellow-600 text-white rounded-lg transition flex items-center justify-center space-x-2">
|
| 171 |
+
<i class="fas fa-exclamation-triangle"></i>
|
| 172 |
+
<span>Deploy to RTX 3060</span>
|
| 173 |
+
</button>
|
| 174 |
+
</div>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<!-- Model Card 2 -->
|
| 179 |
+
<div class="bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition card-hover">
|
| 180 |
+
<div class="gradient-bg p-4 text-white">
|
| 181 |
+
<div class="flex justify-between items-start">
|
| 182 |
+
<div>
|
| 183 |
+
<h4 class="font-bold text-lg">GPT-J 6B</h4>
|
| 184 |
+
<p class="text-sm opacity-90">General Purpose</p>
|
| 185 |
+
</div>
|
| 186 |
+
<div class="bg-white bg-opacity-20 rounded-full p-2">
|
| 187 |
+
<i class="fas fa-brain"></i>
|
| 188 |
+
</div>
|
| 189 |
+
</div>
|
| 190 |
+
</div>
|
| 191 |
+
<div class="p-4">
|
| 192 |
+
<div class="flex justify-between text-sm mb-3">
|
| 193 |
+
<span class="text-gray-500">VRAM Usage:</span>
|
| 194 |
+
<span class="font-medium">~15GB</span>
|
| 195 |
+
</div>
|
| 196 |
+
<div class="flex justify-between text-sm mb-3">
|
| 197 |
+
<span class="text-gray-500">Performance:</span>
|
| 198 |
+
<span class="font-medium text-yellow-500">Good</span>
|
| 199 |
+
</div>
|
| 200 |
+
<div class="flex justify-between text-sm mb-4">
|
| 201 |
+
<span class="text-gray-500">Backtest Score:</span>
|
| 202 |
+
<span class="font-medium">82.1%</span>
|
| 203 |
+
</div>
|
| 204 |
+
<button class="w-full py-2 bg-primary hover:bg-blue-700 text-white rounded-lg transition">
|
| 205 |
+
Deploy to RTX 3090
|
| 206 |
+
</button>
|
| 207 |
+
</div>
|
| 208 |
+
</div>
|
| 209 |
+
|
| 210 |
+
<!-- Model Card 3 -->
|
| 211 |
+
<div class="bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition card-hover">
|
| 212 |
+
<div class="gradient-bg p-4 text-white">
|
| 213 |
+
<div class="flex justify-between items-start">
|
| 214 |
+
<div>
|
| 215 |
+
<h4 class="font-bold text-lg">FinGPT v4</h4>
|
| 216 |
+
<p class="text-sm opacity-90">Financial Specialist</p>
|
| 217 |
+
</div>
|
| 218 |
+
<div class="bg-white bg-opacity-20 rounded-full p-2">
|
| 219 |
+
<i class="fas fa-coins"></i>
|
| 220 |
+
</div>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
<div class="p-4">
|
| 224 |
+
<div class="flex justify-between text-sm mb-3">
|
| 225 |
+
<span class="text-gray-500">VRAM Usage:</span>
|
| 226 |
+
<span class="font-medium">~8GB</span>
|
| 227 |
+
</div>
|
| 228 |
+
<div class="flex justify-between text-sm mb-3">
|
| 229 |
+
<span class="text-gray-500">Performance:</span>
|
| 230 |
+
<span class="font-medium text-green-500">Excellent</span>
|
| 231 |
+
</div>
|
| 232 |
+
<div class="flex justify-between text-sm mb-4">
|
| 233 |
+
<span class="text-gray-500">Backtest Score:</span>
|
| 234 |
+
<span class="font-medium">91.3%</span>
|
| 235 |
+
</div>
|
| 236 |
+
<div class="space-y-2">
|
| 237 |
+
<button class="w-full py-2 bg-green-600 hover:bg-green-700 text-white rounded-lg transition flex items-center justify-center space-x-2">
|
| 238 |
+
<i class="fas fa-check-circle"></i>
|
| 239 |
+
<span>Best for RTX 3060</span>
|
| 240 |
+
</button>
|
| 241 |
+
<a href="https://github.com/ai4finance-foundation/FinGPT" target="_blank" class="w-full py-2 bg-gray-800 hover:bg-gray-900 text-white rounded-lg transition flex items-center justify-center space-x-2">
|
| 242 |
+
<i class="fab fa-github"></i>
|
| 243 |
+
<span>Download FinGPT</span>
|
| 244 |
+
</a>
|
| 245 |
+
</div>
|
| 246 |
+
</div>
|
| 247 |
+
</div>
|
| 248 |
+
</div>
|
| 249 |
+
</div>
|
| 250 |
+
|
| 251 |
+
<!-- Performance Dashboard -->
|
| 252 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
|
| 253 |
+
<!-- GPU Utilization -->
|
| 254 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 255 |
+
<div class="flex justify-between items-center mb-4">
|
| 256 |
+
<h3 class="font-semibold text-gray-800">GPU Utilization</h3>
|
| 257 |
+
<div class="flex space-x-2">
|
| 258 |
+
<span class="px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">Live</span>
|
| 259 |
+
</div>
|
| 260 |
+
</div>
|
| 261 |
+
<div class="space-y-4">
|
| 262 |
+
<div>
|
| 263 |
+
<div class="flex justify-between text-sm mb-1">
|
| 264 |
+
<span class="text-gray-500">RTX 3090</span>
|
| 265 |
+
<span class="font-medium">78%</span>
|
| 266 |
+
</div>
|
| 267 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 268 |
+
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 78%"></div>
|
| 269 |
+
</div>
|
| 270 |
+
</div>
|
| 271 |
+
<div>
|
| 272 |
+
<div class="flex justify-between text-sm mb-1">
|
| 273 |
+
<span class="text-gray-500">RTX 3060</span>
|
| 274 |
+
<span class="font-medium">65%</span>
|
| 275 |
+
</div>
|
| 276 |
+
<div class="w-full bg-gray-200 rounded-full h-2.5">
|
| 277 |
+
<div class="bg-purple-600 h-2.5 rounded-full" style="width: 65%"></div>
|
| 278 |
+
</div>
|
| 279 |
+
</div>
|
| 280 |
+
</div>
|
| 281 |
+
</div>
|
| 282 |
+
|
| 283 |
+
<!-- Current Positions -->
|
| 284 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 285 |
+
<div class="flex justify-between items-center mb-4">
|
| 286 |
+
<h3 class="font-semibold text-gray-800">Active Positions</h3>
|
| 287 |
+
<span class="px-2 py-1 bg-green-100 text-green-800 text-xs rounded-full">3 Open</span>
|
| 288 |
+
</div>
|
| 289 |
+
<div class="space-y-3">
|
| 290 |
+
<div class="flex justify-between items-center p-2 hover:bg-gray-50 rounded-lg">
|
| 291 |
+
<div>
|
| 292 |
+
<p class="font-medium">AAPL</p>
|
| 293 |
+
<p class="text-xs text-gray-500">Long Position</p>
|
| 294 |
+
</div>
|
| 295 |
+
<div class="text-right">
|
| 296 |
+
<p class="font-medium text-green-500">+2.34%</p>
|
| 297 |
+
<p class="text-xs text-gray-500">$187.65</p>
|
| 298 |
+
</div>
|
| 299 |
+
</div>
|
| 300 |
+
<div class="flex justify-between items-center p-2 hover:bg-gray-50 rounded-lg">
|
| 301 |
+
<div>
|
| 302 |
+
<p class="font-medium">TSLA</p>
|
| 303 |
+
<p class="text-xs text-gray-500">Short Position</p>
|
| 304 |
+
</div>
|
| 305 |
+
<div class="text-right">
|
| 306 |
+
<p class="font-medium text-red-500">-1.12%</p>
|
| 307 |
+
<p class="text-xs text-gray-500">$245.78</p>
|
| 308 |
+
</div>
|
| 309 |
+
</div>
|
| 310 |
+
<div class="flex justify-between items-center p-2 hover:bg-gray-50 rounded-lg">
|
| 311 |
+
<div>
|
| 312 |
+
<p class="font-medium">NVDA</p>
|
| 313 |
+
<p class="text-xs text-gray-500">Long Position</p>
|
| 314 |
+
</div>
|
| 315 |
+
<div class="text-right">
|
| 316 |
+
<p class="font-medium text-green-500">+5.67%</p>
|
| 317 |
+
<p class="text-xs text-gray-500">$452.34</p>
|
| 318 |
+
</div>
|
| 319 |
+
</div>
|
| 320 |
+
</div>
|
| 321 |
+
</div>
|
| 322 |
+
|
| 323 |
+
<!-- Quick Actions -->
|
| 324 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 325 |
+
<h3 class="font-semibold text-gray-800 mb-4">Quick Actions</h3>
|
| 326 |
+
<div class="grid grid-cols-2 gap-3">
|
| 327 |
+
<button class="p-3 bg-blue-50 text-blue-700 rounded-lg hover:bg-blue-100 transition flex flex-col items-center">
|
| 328 |
+
<i class="fas fa-plus-circle text-xl mb-1"></i>
|
| 329 |
+
<span class="text-sm">New Strategy</span>
|
| 330 |
+
</button>
|
| 331 |
+
<button class="p-3 bg-purple-50 text-purple-700 rounded-lg hover:bg-purple-100 transition flex flex-col items-center">
|
| 332 |
+
<i class="fas fa-database text-xl mb-1"></i>
|
| 333 |
+
<span class="text-sm">Add Data</span>
|
| 334 |
+
</button>
|
| 335 |
+
<button class="p-3 bg-green-50 text-green-700 rounded-lg hover:bg-green-100 transition flex flex-col items-center">
|
| 336 |
+
<i class="fas fa-play text-xl mb-1"></i>
|
| 337 |
+
<span class="text-sm">Start Bot</span>
|
| 338 |
+
</button>
|
| 339 |
+
<button class="p-3 bg-red-50 text-red-700 rounded-lg hover:bg-red-100 transition flex flex-col items-center">
|
| 340 |
+
<i class="fas fa-stop text-xl mb-1"></i>
|
| 341 |
+
<span class="text-sm">Emergency Stop</span>
|
| 342 |
+
</button>
|
| 343 |
+
</div>
|
| 344 |
+
</div>
|
| 345 |
+
</div>
|
| 346 |
+
|
| 347 |
+
<!-- Trading Chart -->
|
| 348 |
+
<div class="bg-white p-6 rounded-xl shadow-sm mb-8">
|
| 349 |
+
<div class="flex justify-between items-center mb-4">
|
| 350 |
+
<h3 class="font-semibold text-gray-800">Portfolio Performance</h3>
|
| 351 |
+
<div class="flex space-x-2">
|
| 352 |
+
<button class="px-3 py-1 text-sm bg-gray-100 rounded-lg hover:bg-gray-200">1D</button>
|
| 353 |
+
<button class="px-3 py-1 text-sm bg-primary text-white rounded-lg">1W</button>
|
| 354 |
+
<button class="px-3 py-1 text-sm bg-gray-100 rounded-lg hover:bg-gray-200">1M</button>
|
| 355 |
+
<button class="px-3 py-1 text-sm bg-gray-100 rounded-lg hover:bg-gray-200">1Y</button>
|
| 356 |
+
</div>
|
| 357 |
+
</div>
|
| 358 |
+
<div class="h-64 bg-gray-50 rounded-lg border border-gray-200 flex items-center justify-center">
|
| 359 |
+
<p class="text-gray-400">Trading Chart Visualization</p>
|
| 360 |
+
</div>
|
| 361 |
+
</div>
|
| 362 |
+
|
| 363 |
+
<!-- Recent Trades -->
|
| 364 |
+
<div class="bg-white p-6 rounded-xl shadow-sm">
|
| 365 |
+
<h3 class="font-semibold text-gray-800 mb-4">Recent Trades</h3>
|
| 366 |
+
<div class="overflow-x-auto">
|
| 367 |
+
<table class="min-w-full divide-y divide-gray-200">
|
| 368 |
+
<thead class="bg-gray-50">
|
| 369 |
+
<tr>
|
| 370 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Symbol</th>
|
| 371 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th>
|
| 372 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Price</th>
|
| 373 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Quantity</th>
|
| 374 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Value</th>
|
| 375 |
+
<th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 376 |
+
</tr>
|
| 377 |
+
</thead>
|
| 378 |
+
<tbody class="bg-white divide-y divide-gray-200">
|
| 379 |
+
<tr class="hover:bg-gray-50">
|
| 380 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 381 |
+
<div class="flex items-center">
|
| 382 |
+
<div class="flex-shrink-0 h-10 w-10 bg-blue-100 rounded-full flex items-center justify-center">
|
| 383 |
+
<span class="text-blue-800 font-medium">AAPL</span>
|
| 384 |
+
</div>
|
| 385 |
+
</div>
|
| 386 |
+
</td>
|
| 387 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 388 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Buy</span>
|
| 389 |
+
</td>
|
| 390 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$187.65</td>
|
| 391 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15</td>
|
| 392 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$2,814.75</td>
|
| 393 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 394 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Filled</span>
|
| 395 |
+
</td>
|
| 396 |
+
</tr>
|
| 397 |
+
<tr class="hover:bg-gray-50">
|
| 398 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 399 |
+
<div class="flex items-center">
|
| 400 |
+
<div class="flex-shrink-0 h-10 w-10 bg-red-100 rounded-full flex items-center justify-center">
|
| 401 |
+
<span class="text-red-800 font-medium">TSLA</span>
|
| 402 |
+
</div>
|
| 403 |
+
</div>
|
| 404 |
+
</td>
|
| 405 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 406 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-red-100 text-red-800">Sell</span>
|
| 407 |
+
</td>
|
| 408 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$245.78</td>
|
| 409 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">8</td>
|
| 410 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$1,966.24</td>
|
| 411 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 412 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Filled</span>
|
| 413 |
+
</td>
|
| 414 |
+
</tr>
|
| 415 |
+
<tr class="hover:bg-gray-50">
|
| 416 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 417 |
+
<div class="flex items-center">
|
| 418 |
+
<div class="flex-shrink-0 h-10 w-10 bg-green-100 rounded-full flex items-center justify-center">
|
| 419 |
+
<span class="text-green-800 font-medium">NVDA</span>
|
| 420 |
+
</div>
|
| 421 |
+
</div>
|
| 422 |
+
</td>
|
| 423 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 424 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Buy</span>
|
| 425 |
+
</td>
|
| 426 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$452.34</td>
|
| 427 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">5</td>
|
| 428 |
+
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">$2,261.70</td>
|
| 429 |
+
<td class="px-6 py-4 whitespace-nowrap">
|
| 430 |
+
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Pending</span>
|
| 431 |
+
</td>
|
| 432 |
+
</tr>
|
| 433 |
+
</tbody>
|
| 434 |
+
</table>
|
| 435 |
+
</div>
|
| 436 |
+
</div>
|
| 437 |
+
</main>
|
| 438 |
+
</div>
|
| 439 |
+
</div>
|
| 440 |
+
|
| 441 |
+
<script>
|
| 442 |
+
// Toggle sidebar on mobile
|
| 443 |
+
document.getElementById('sidebarToggle').addEventListener('click', function() {
|
| 444 |
+
document.querySelector('.sidebar').classList.toggle('sidebar-open');
|
| 445 |
+
});
|
| 446 |
+
|
| 447 |
+
// Simulate GPU load updates
|
| 448 |
+
function updateGPULoad() {
|
| 449 |
+
const gpu1Load = Math.min(90, Math.floor(Math.random() * 20) + 70);
|
| 450 |
+
const gpu2Load = Math.min(85, Math.floor(Math.random() * 20) + 60);
|
| 451 |
+
|
| 452 |
+
document.querySelectorAll('.w-full.bg-gray-200 div')[0].style.width = gpu1Load + '%';
|
| 453 |
+
document.querySelectorAll('.w-full.bg-gray-200 div')[1].style.width = gpu2Load + '%';
|
| 454 |
+
document.querySelectorAll('.w-full.bg-gray-200 div')[0].nextElementSibling.textContent = gpu1Load + '%';
|
| 455 |
+
document.querySelectorAll('.w-full.bg-gray-200 div')[1].nextElementSibling.textContent = gpu2Load + '%';
|
| 456 |
+
|
| 457 |
+
setTimeout(updateGPULoad, 3000);
|
| 458 |
+
}
|
| 459 |
+
|
| 460 |
+
// Start the simulation
|
| 461 |
+
updateGPULoad();
|
| 462 |
+
</script>
|
| 463 |
+
<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=j4myjohn/trading" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 464 |
+
</html>
|