diff --git a/src/__pycache__/web_dashboard.cpython-310.pyc b/src/__pycache__/web_dashboard.cpython-310.pyc index adee7d0..df9af94 100644 Binary files a/src/__pycache__/web_dashboard.cpython-310.pyc and b/src/__pycache__/web_dashboard.cpython-310.pyc differ diff --git a/src/web_dashboard.py b/src/web_dashboard.py index d567e1d..0308ce6 100644 --- a/src/web_dashboard.py +++ b/src/web_dashboard.py @@ -208,7 +208,14 @@ async def trigger_liquidation(): @app.get("/") +async def get_dashboard(): + """Serve dashboard HTML""" + return HTMLResponse(html_content) + @app.get("/api/state") +async def get_state(): + """Get current trading state""" + return trading_state async def get_state(): """Proxy to State Manager""" try: