diff --git a/src/web_dashboard.py b/src/web_dashboard.py index 396ce24..eb9e030 100644 --- a/src/web_dashboard.py +++ b/src/web_dashboard.py @@ -102,222 +102,384 @@ async def root(): - -Trading Bot V7 + +Trading Bot V8 -
- -
Holdings
- - - - - - - - - - - ''' +
+
Holdings
+
+
AssetFreeLockedTotalUSD Value
+ + + + + + + + + ''' tracked = ['BTC', 'ETH', 'SOL', 'BNB', 'XRP', 'USDT', 'USDC'] balance = state.get('balance', {}) @@ -376,17 +543,38 @@ tr:hover {{ price = prices.get(asset, 0) value = data['total'] * price html += f''' - - - - - - ''' + + + + + ''' html += ''' -
AssetFreeTotalValue
{asset}{data['free']:.6f}{data['locked']:.6f}{data['total']:.6f}${value:.2f}
{asset}{data['free']:.4f}{data['total']:.4f}${value:.2f}
+ +
+ + + '''