From 32ed8cac6d5a54d0ea132cf62d5612daf6c20f0e Mon Sep 17 00:00:00 2001 From: Marc Blatter Date: Wed, 15 Jul 2026 11:51:30 +0200 Subject: [PATCH] Feature: v0.32 - Auto-load 1-Day chart on page load (loadChart 24 hours default) --- src/web_dashboard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web_dashboard.py b/src/web_dashboard.py index 26e764d..43fa764 100644 --- a/src/web_dashboard.py +++ b/src/web_dashboard.py @@ -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); """