Feature: v0.32 - Auto-load 1-Day chart on page load (loadChart 24 hours default)

This commit is contained in:
Marc Blatter 2026-07-15 11:51:30 +02:00
parent b3b5c61a58
commit 32ed8cac6d
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Trading Bot Dashboard v0.32 - Add USD values to Holdings display"""
"""Trading Bot Dashboard v0.32 - Auto-load 1-Day chart on page load"""
from fastapi import FastAPI
from fastapi.responses import HTMLResponse
from binance.client import Client
@ -315,6 +315,7 @@ async function loadChart(hours, e) {
setInterval(updatePortfolio, 10000);
updatePortfolio();
loadChart(24, null);
</script>
</body>
</html>"""