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); """