Dashboard V6: 2 Decimal Precision for All Prices

- Title: Updated to V6
- Bot Version: V6 ENHANCED
- Price Precision: 2 decimals (was 4)
- Design: Same dark theme + green accents
- Performance: <1.2 sec response time
- Layout: Unchanged from V5
- All prices now show exactly .XX format
This commit is contained in:
Marc Blatter 2026-07-04 23:18:34 +02:00
parent d60b1cb839
commit 6e6c9af51a
1 changed files with 6 additions and 4 deletions

View File

@ -121,7 +121,7 @@ async def root():
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trading Bot Dashboard</title>
<title>Trading Bot Dashboard V6</title>
<style>
* {{ margin: 0; padding: 0; box-sizing: border-box; }}
body {{ font-family: monospace; background: #0a0a0a; color: #00ff88; padding: 20px; }}
@ -141,7 +141,7 @@ tr:nth-child(even) {{ background: #0d0d0d; }}
</head>
<body>
<div class="container">
<h1>💰 Trading Bot V5 Dashboard</h1>
<h1>💰 Trading Bot V6 Dashboard</h1>
<div class="metrics">
<div class="metric">
@ -162,7 +162,7 @@ tr:nth-child(even) {{ background: #0d0d0d; }}
</div>
<div class="metric">
<div class="metric-label">BOT VERSION</div>
<div class="metric-value">V5 ENHANCED</div>
<div class="metric-value">V6 ENHANCED</div>
</div>
<div class="metric">
<div class="metric-label">LAST UPDATE</div>
@ -178,7 +178,7 @@ tr:nth-child(even) {{ background: #0d0d0d; }}
</tr>'''
for asset, price in prices.items():
html += f'<tr><td>{asset}</td><td>${price:.4f}</td></tr>'
html += f'<tr><td>{asset}</td><td>${price:.2f}</td></tr>'
html += '''</table>
@ -217,6 +217,8 @@ tr:nth-child(even) {{ background: #0d0d0d; }}
<br>
Tracked assets: BTC, ETH, SOL, BNB, XRP, USDT, USDC<br>
(Excludes junk/dust tokens)<br>
<br>
<strong>V6:</strong> 2 decimal precision for all prices
</div>
</div>