Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py

This commit is contained in:
Marc Blatter 2026-07-04 14:10:01 +02:00
parent 887822efb6
commit fc72ebcece
2 changed files with 7 additions and 0 deletions

View File

@ -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: