Stage 07.1 - auto trading skeleton UI, state machine and mock controls

This commit is contained in:
2026-04-28 11:17:22 +03:00
parent cea74da4c4
commit b48d9c7f35
7 changed files with 336 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
# app/src/trading/auto/state.py
from __future__ import annotations
from dataclasses import dataclass
@dataclass(slots=True)
class AutoTradeState:
status: str = "OFF"
strategy: str | None = None
symbol: str = ""
risk_percent: float | None = None
pnl_usd: float = 0.0