File size: 22,336 Bytes
792fce2 edb039b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 e845d7b 792fce2 c2d615a | 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 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MatchDiffer Trading Bot</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
undefined: {
100: '#f3f4f6',
200: '#e5e7eb',
300: '#d1d5db',
400: '#9ca3af',
500: '#6b7280',
600: '#4b5563',
700: '#374151',
800: '#1f2937',
900: '#111827',
}
}
}
}
}
</script>
<style>
#vanta-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.3;
}
.trading-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="bg-undefined-900 text-undefined-100 min-h-screen">
<div id="vanta-bg"></div>
<!-- Navigation -->
<nav class="bg-undefined-800 bg-opacity-80 backdrop-blur-md border-b border-undefined-700 fixed w-full z-10">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex items-center justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0">
<span class="text-undefined-300 font-bold text-xl flex items-center">
<i data-feather="activity" class="mr-2"></i> MatchDiffer
</span>
</div>
<div class="hidden md:block">
<div class="ml-10 flex items-baseline space-x-4">
<a href="#" class="bg-undefined-700 text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a>
<a href="matchdiffer_bot.xml" download class="text-undefined-300 hover:bg-undefined-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Download XML</a>
<a href="#" class="text-undefined-300 hover:bg-undefined-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">History</a>
<a href="#" class="text-undefined-300 hover:bg-undefined-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Settings</a>
</div>
</div>
</div>
<div class="hidden md:block">
<div class="ml-4 flex items-center md:ml-6">
<button class="bg-undefined-600 p-1 rounded-full text-undefined-200 hover:text-white focus:outline-none">
<i data-feather="bell"></i>
</button>
<div class="ml-3 relative">
<div>
<button class="max-w-xs bg-undefined-600 rounded-full flex items-center text-sm focus:outline-none" id="user-menu">
<span class="sr-only">Open user menu</span>
<div class="h-8 w-8 rounded-full bg-undefined-500 flex items-center justify-center">
<i data-feather="user"></i>
</div>
</button>
</div>
</div>
</div>
</div>
<div class="-mr-2 flex md:hidden">
<button class="bg-undefined-600 inline-flex items-center justify-center p-2 rounded-md text-undefined-200 hover:text-white hover:bg-undefined-700 focus:outline-none">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="pt-24 pb-12 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
<!-- Header -->
<div class="mb-8 text-center">
<h1 class="text-4xl font-bold text-undefined-100 mb-2">Synthetic Indices Bot for Deriv</h1>
<p class="text-xl text-undefined-300 max-w-3xl mx-auto">
Automated trading on Deriv's Synthetic Indices using volatility index patterns
</p>
</div>
<!-- Stats Cards -->
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 mb-8">
<div class="bg-undefined-800 bg-opacity-70 backdrop-blur-sm rounded-lg p-6 shadow-lg border border-undefined-700 trading-card transition-all duration-300">
<div class="flex items-center">
<div class="p-3 rounded-full bg-undefined-700 mr-4">
<i data-feather="trending-up" class="text-green-400"></i>
</div>
<div>
<p class="text-sm font-medium text-undefined-300">Today's Profit</p>
<p class="text-2xl font-semibold text-green-400">+$1,245.67</p>
</div>
</div>
</div>
<div class="bg-undefined-800 bg-opacity-70 backdrop-blur-sm rounded-lg p-6 shadow-lg border border-undefined-700 trading-card transition-all duration-300">
<div class="flex items-center">
<div class="p-3 rounded-full bg-undefined-700 mr-4">
<i data-feather="bar-chart-2" class="text-blue-400"></i>
</div>
<div>
<p class="text-sm font-medium text-undefined-300">Active Strategies</p>
<p class="text-2xl font-semibold text-blue-400">8</p>
</div>
</div>
</div>
<div class="bg-undefined-800 bg-opacity-70 backdrop-blur-sm rounded-lg p-6 shadow-lg border border-undefined-700 trading-card transition-all duration-300">
<div class="flex items-center">
<div class="p-3 rounded-full bg-undefined-700 mr-4">
<i data-feather="clock" class="text-yellow-400"></i>
</div>
<div>
<p class="text-sm font-medium text-undefined-300">Execution Speed</p>
<p class="text-2xl font-semibold text-yellow-400">47ms</p>
</div>
</div>
</div>
</div>
<!-- Trading Interface -->
<div class="bg-undefined-800 bg-opacity-70 backdrop-blur-sm rounded-xl shadow-xl overflow-hidden border border-undefined-700 mb-8">
<div class="px-6 py-4 border-b border-undefined-700 flex justify-between items-center">
<h2 class="text-xl font-semibold text-undefined-100">Trading Interface</h2>
<div class="flex space-x-2">
<button class="bg-undefined-700 hover:bg-undefined-600 text-undefined-100 px-3 py-1 rounded text-sm flex items-center">
<i data-feather="refresh-cw" class="w-4 h-4 mr-1"></i> Refresh
</button>
<button class="bg-green-600 hover:bg-green-500 text-white px-3 py-1 rounded text-sm flex items-center">
<i data-feather="play" class="w-4 h-4 mr-1"></i> Start Bot
</button>
</div>
</div>
<div class="p-6">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<!-- Match Differ Configuration -->
<div class="bg-undefined-700 bg-opacity-50 rounded-lg p-6 border border-undefined-600">
<h3 class="text-lg font-medium text-undefined-100 mb-4 flex items-center">
<i data-feather="sliders" class="mr-2"></i> Volatility Settings
</h3>
<div class="space-y-4">
<div>
<label class="block text-sm font-medium text-undefined-300 mb-1">Volatility Threshold</label>
<input type="range" min="0" max="100" value="60" class="w-full h-2 bg-undefined-600 rounded-lg appearance-none cursor-pointer">
<div class="flex justify-between text-xs text-undefined-400 mt-1">
<span>Low</span>
<span>Medium</span>
<span>High</span>
</div>
</div>
<div>
<label class="block text-sm font-medium text-undefined-300 mb-1">Trend Sensitivity</label>
<input type="range" min="0" max="100" value="40" class="w-full h-2 bg-undefined-600 rounded-lg appearance-none cursor-pointer">
<div class="flex justify-between text-xs text-undefined-400 mt-1">
<span>Slow</span>
<span>Normal</span>
<span>Fast</span>
</div>
</div>
<div class="flex items-center justify-between pt-2">
<span class="text-sm font-medium text-undefined-300">Auto Compound</span>
<label class="relative inline-flex items-center cursor-pointer">
<input type="checkbox" value="" class="sr-only peer">
<div class="w-11 h-6 bg-undefined-500 rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-blue-500"></div>
</label>
</div>
</div>
</div>
<!-- Live Trading Data -->
<div class="bg-undefined-700 bg-opacity-50 rounded-lg p-6 border border-undefined-600">
<h3 class="text-lg font-medium text-undefined-100 mb-4 flex items-center">
<i data-feather="activity" class="mr-2"></i> Live Data Feed
</h3>
<div class="overflow-hidden">
<div class="min-h-[300px] bg-undefined-800 rounded p-4 font-mono text-sm overflow-y-auto">
<div class="text-green-400">[10:23:45] PATTERN: Volatility 10 Index rising trend detected</div>
<div class="text-green-400">[10:23:46] EXECUTED: BUY Volatility 10 Index @ 1234.56</div>
<div class="text-gray-400">[10:23:47] Analyzing Volatility 25 Index...</div>
<div class="text-red-400">[10:23:48] REVERSAL: Volatility 25 Index showing downtrend</div>
<div class="text-red-400">[10:23:49] EXECUTED: SELL Volatility 25 Index @ 987.65</div>
<div class="text-gray-400">[10:23:50] Monitoring Volatility 50 Index...</div>
<div class="text-green-400">[10:23:51] PATTERN: Volatility 50 Index forming bullish pattern</div>
<div class="text-green-400">[10:23:52] EXECUTED: BUY Volatility 50 Index @ 567.89</div>
<div class="text-gray-400">[10:23:53] Scanning for new opportunities...</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Strategy Performance -->
<div class="bg-undefined-800 bg-opacity-70 backdrop-blur-sm rounded-xl shadow-xl overflow-hidden border border-undefined-700">
<div class="px-6 py-4 border-b border-undefined-700">
<h2 class="text-xl font-semibold text-undefined-100">Strategy Performance</h2>
</div>
<div class="p-6">
<div class="overflow-x-auto">
<table class="min-w-full divide-y divide-undefined-700">
<thead class="bg-undefined-700 bg-opacity-50">
<tr>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-undefined-300 uppercase tracking-wider">Strategy</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-undefined-300 uppercase tracking-wider">Pairs</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-undefined-300 uppercase tracking-wider">Win Rate</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-undefined-300 uppercase tracking-wider">P/L (24h)</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-undefined-300 uppercase tracking-wider">Status</th>
<th scope="col" class="px-6 py-3 text-left text-xs font-medium text-undefined-300 uppercase tracking-wider">Actions</th>
</tr>
</thead>
<tbody class="bg-undefined-800 bg-opacity-50 divide-y divide-undefined-700">
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-undefined-700 rounded-full flex items-center justify-center">
<i data-feather="zap"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium text-undefined-100">QuickMatch</div>
<div class="text-sm text-undefined-400">Match-focused</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-undefined-100">Volatility 10, Volatility 25</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-undefined-100">78%</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-green-400">+$423.51</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-900 text-green-300">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-undefined-400">
<button class="text-blue-400 hover:text-blue-300 mr-3"><i data-feather="edit-2" class="w-4 h-4"></i></button>
<button class="text-red-400 hover:text-red-300"><i data-feather="trash-2" class="w-4 h-4"></i></button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-undefined-700 rounded-full flex items-center justify-center">
<i data-feather="target"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium text-undefined-100">PrecisionDiffer</div>
<div class="text-sm text-undefined-400">Differ-focused</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-undefined-100">Volatility 50, Volatility 75</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-undefined-100">65%</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-green-400">+$287.93</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-900 text-green-300">Active</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-undefined-400">
<button class="text-blue-400 hover:text-blue-300 mr-3"><i data-feather="edit-2" class="w-4 h-4"></i></button>
<button class="text-red-400 hover:text-red-300"><i data-feather="trash-2" class="w-4 h-4"></i></button>
</td>
</tr>
<tr>
<td class="px-6 py-4 whitespace-nowrap">
<div class="flex items-center">
<div class="flex-shrink-0 h-10 w-10 bg-undefined-700 rounded-full flex items-center justify-center">
<i data-feather="crosshair"></i>
</div>
<div class="ml-4">
<div class="text-sm font-medium text-undefined-100">Hybrid Analyzer</div>
<div class="text-sm text-undefined-400">Match/Differ</div>
</div>
</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-undefined-100">Volatility 100, Crash/Boom</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-undefined-100">71%</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<div class="text-sm text-green-400">+$198.24</div>
</td>
<td class="px-6 py-4 whitespace-nowrap">
<span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-900 text-yellow-300">Paused</span>
</td>
<td class="px-6 py-4 whitespace-nowrap text-sm text-undefined-400">
<button class="text-blue-400 hover:text-blue-300 mr-3"><i data-feather="edit-2" class="w-4 h-4"></i></button>
<button class="text-red-400 hover:text-red-300"><i data-feather="trash-2" class="w-4 h-4"></i></button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-undefined-800 bg-opacity-80 backdrop-blur-md border-t border-undefined-700 mt-12">
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<div class="md:flex md:items-center md:justify-between">
<div class="flex justify-center md:order-2 space-x-6">
<a href="#" class="text-undefined-400 hover:text-undefined-300">
<i data-feather="github"></i>
</a>
<a href="#" class="text-undefined-400 hover:text-undefined-300">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-undefined-400 hover:text-undefined-300">
<i data-feather="linkedin"></i>
</a>
</div>
<div class="mt-8 md:mt-0 md:order-1">
<p class="text-center text-base text-undefined-400">
© 2023 MatchDiffer Trading Bot. All rights reserved.
</p>
</div>
</div>
</div>
</footer>
<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: 0x3b82f6,
backgroundColor: 0x111827,
size: 0.8
});
// Initialize Feather Icons
feather.replace();
</script>
</body>
</html>
|