Bot auto-update: src/__pycache__/web_dashboard.cpython-310.pyc,src/web_dashboard.py
This commit is contained in:
parent
887822efb6
commit
fc72ebcece
Binary file not shown.
|
|
@ -208,7 +208,14 @@ async def trigger_liquidation():
|
||||||
|
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
|
async def get_dashboard():
|
||||||
|
"""Serve dashboard HTML"""
|
||||||
|
return HTMLResponse(html_content)
|
||||||
|
|
||||||
@app.get("/api/state")
|
@app.get("/api/state")
|
||||||
|
async def get_state():
|
||||||
|
"""Get current trading state"""
|
||||||
|
return trading_state
|
||||||
async def get_state():
|
async def get_state():
|
||||||
"""Proxy to State Manager"""
|
"""Proxy to State Manager"""
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue