Spaces:
Running
Running
File size: 16,937 Bytes
c363c4f e582852 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TradeFlow Pro - Dashboard</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
500: '#6366f1',
},
secondary: {
500: '#8b5cf6',
},
}
}
}
}
</script>
</head>
<body class="bg-gray-900 text-white">
<div id="vanta-bg" class="fixed top-0 left-0 w-full h-full -z-10"></div>
<!-- Header -->
<header class="bg-gray-800 bg-opacity-50 backdrop-blur-md border-b border-gray-700 sticky top-0 z-50">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-primary-500 to-secondary-500 flex items-center justify-center">
<i data-feather="activity" class="text-white"></i>
</div>
<h1 class="text-2xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-primary-500 to-secondary-500">
TradeFlow Pro
</h1>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." class="bg-gray-700 rounded-full py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary-500 w-64">
<i data-feather="search" class="absolute left-3 top-2.5 text-gray-400"></i>
</div>
<button class="p-2 rounded-full hover:bg-gray-700 transition">
<i data-feather="bell"></i>
</button>
<div class="flex items-center space-x-2 cursor-pointer">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-green-400 to-blue-500 flex items-center justify-center">
<span class="font-semibold">T</span>
</div>
<span>Trader</span>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<!-- Account Summary -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-6 border border-gray-700">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Balance</p>
<h2 class="text-2xl font-bold">$24,568.32</h2>
</div>
<div class="p-3 rounded-lg bg-green-500 bg-opacity-20">
<i data-feather="dollar-sign" class="text-green-400"></i>
</div>
</div>
<div class="mt-4">
<p class="text-green-400 text-sm">+2.3% today</p>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-6 border border-gray-700">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Equity</p>
<h2 class="text-2xl font-bold">$25,120.75</h2>
</div>
<div class="p-3 rounded-lg bg-blue-500 bg-opacity-20">
<i data-feather="trending-up" class="text-blue-400"></i>
</div>
</div>
<div class="mt-4">
<p class="text-green-400 text-sm">+$552.43</p>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-6 border border-gray-700">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Open Positions</p>
<h2 class="text-2xl font-bold">12</h2>
</div>
<div class="p-3 rounded-lg bg-purple-500 bg-opacity-20">
<i data-feather="bar-chart-2" class="text-purple-400"></i>
</div>
</div>
<div class="mt-4">
<p class="text-green-400 text-sm">4 buying, 8 selling</p>
</div>
</div>
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl p-6 border border-gray-700">
<div class="flex justify-between items-start">
<div>
<p class="text-gray-400">Free Margin</p>
<h2 class="text-2xl font-bold">$8,240.15</h2>
</div>
<div class="p-3 rounded-lg bg-yellow-500 bg-opacity-20">
<i data-feather="lock" class="text-yellow-400"></i>
</div>
</div>
<div class="mt-4">
<p class="text-gray-400 text-sm">33.4% of equity</p>
</div>
</div>
</div>
<!-- EA Dashboard -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl border border-gray-700 mb-8">
<div class="p-6 border-b border-gray-700">
<div class="flex justify-between items-center">
<h2 class="text-xl font-bold">Expert Advisors Dashboard</h2>
<button class="bg-gradient-to-r from-primary-500 to-secondary-500 px-4 py-2 rounded-lg flex items-center">
<i data-feather="plus" class="mr-2"></i>
Add EA
</button>
</div>
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="text-left text-gray-400">
<th class="p-4">EA Name</th>
<th class="p-4">Symbol</th>
<th class="p-4">Status</th>
<th class="p-4">Open Trades</th>
<th class="p-4">Volume</th>
<th class="p-4">P&L</th>
<th class="p-4">Actions</th>
</tr>
</thead>
<tbody>
<tr class="border-t border-gray-700 hover:bg-gray-750">
<td class="p-4 font-medium">ScalperPro</td>
<td class="p-4">EUR/USD</td>
<td class="p-4">
<span class="px-2 py-1 rounded-full bg-green-500 bg-opacity-20 text-green-400 text-sm">Active</span>
</td>
<td class="p-4">3</td>
<td class="p-4">1.25</td>
<td class="p-4 text-green-400">+$142.35</td>
<td class="p-4">
<div class="flex space-x-2">
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="play" class="w-4 h-4"></i>
</button>
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="stop-circle" class="w-4 h-4"></i>
</button>
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="settings" class="w-4 h-4"></i>
</button>
</div>
</td>
</tr>
<tr class="border-t border-gray-700 hover:bg-gray-750">
<td class="p-4 font-medium">TrendFollower</td>
<td class="p-4">GBP/JPY</td>
<td class="p-4">
<span class="px-2 py-1 rounded-full bg-yellow-500 bg-opacity-20 text-yellow-400 text-sm">Warning</span>
</td>
<td class="p-4">2</td>
<td class="p-4">0.75</td>
<td class="p-4 text-red-400">-$32.18</td>
<td class="p-4">
<div class="flex space-x-2">
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="play" class="w-4 h-4"></i>
</button>
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="stop-circle" class="w-4 h-4"></i>
</button>
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="settings" class="w-4 h-4"></i>
</button>
</div>
</td>
</tr>
<tr class="border-t border-gray-700 hover:bg-gray-750">
<td class="p-4 font-medium">BreakoutBot</td>
<td class="p-4">USD/CAD</td>
<td class="p-4">
<span class="px-2 py-1 rounded-full bg-green-500 bg-opacity-20 text-green-400 text-sm">Active</span>
</td>
<td class="p-4">1</td>
<td class="p-4">0.50</td>
<td class="p-4 text-green-400">+$78.92</td>
<td class="p-4">
<div class="flex space-x-2">
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="play" class="w-4 h-4"></i>
</button>
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="stop-circle" class="w-4 h-4"></i>
</button>
<button class="p-2 rounded-lg bg-gray-700 hover:bg-gray-600">
<i data-feather="settings" class="w-4 h-4"></i>
</button>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Charts and Analytics -->
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<!-- Equity Curve -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl border border-gray-700 p-6">
<h3 class="text-lg font-bold mb-4">Equity Curve</h3>
<div class="h-80 flex items-center justify-center">
<div class="text-center">
<i data-feather="activity" class="w-16 h-16 text-gray-500 mx-auto mb-4"></i>
<p class="text-gray-400">Equity chart visualization</p>
</div>
</div>
</div>
<!-- Market Overview -->
<div class="bg-gray-800 bg-opacity-50 backdrop-blur-md rounded-xl border border-gray-700 p-6">
<h3 class="text-lg font-bold mb-4">Market Overview</h3>
<div class="space-y-4">
<div class="flex justify-between items-center p-3 rounded-lg bg-gray-750">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-blue-400 to-cyan-500 flex items-center justify-center mr-3">
<span class="font-bold">E</span>
</div>
<div>
<p class="font-medium">EUR/USD</p>
<p class="text-sm text-gray-400">Forex</p>
</div>
</div>
<div class="text-right">
<p class="font-medium">1.0842</p>
<p class="text-green-400 text-sm">+0.24%</p>
</div>
</div>
<div class="flex justify-between items-center p-3 rounded-lg bg-gray-750">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-red-400 to-orange-500 flex items-center justify-center mr-3">
<span class="font-bold">G</span>
</div>
<div>
<p class="font-medium">Gold</p>
<p class="text-sm text-gray-400">Commodity</p>
</div>
</div>
<div class="text-right">
<p class="font-medium">2341.65</p>
<p class="text-red-400 text-sm">-0.12%</p>
</div>
</div>
<div class="flex justify-between items-center p-3 rounded-lg bg-gray-750">
<div class="flex items-center">
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-green-400 to-emerald-500 flex items-center justify-center mr-3">
<span class="font-bold">B</span>
</div>
<div>
<p class="font-medium">BTC/USD</p>
<p class="text-sm text-gray-400">Crypto</p>
</div>
</div>
<div class="text-right">
<p class="font-medium">61,245.30</p>
<p class="text-green-400 text-sm">+1.87%</p>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Navigation -->
<nav class="fixed bottom-0 left-0 right-0 bg-gray-800 bg-opacity-80 backdrop-blur-md border-t border-gray-700 md:hidden">
<div class="flex justify-around py-3">
<button class="p-3 rounded-lg bg-gray-700">
<i data-feather="home" class="w-6 h-6"></i>
</button>
<button class="p-3 rounded-lg">
<i data-feather="activity" class="w-6 h-6"></i>
</button>
<button class="p-3 rounded-lg">
<i data-feather="bar-chart-2" class="w-6 h-6"></i>
</button>
<button class="p-3 rounded-lg">
<i data-feather="book" class="w-6 h-6"></i>
</button>
<button class="p-3 rounded-lg">
<i data-feather="more-horizontal" class="w-6 h-6"></i>
</button>
</div>
</nav>
<script>
// Initialize Vanta.js background
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x6366f1,
color2: 0x8b5cf6,
backgroundColor: 0x111827
})
// Initialize Feather icons
feather.replace();
</script>
</body>
</html>
|