This commit is contained in:
2026-09-06 11:34:23 +08:00
parent b38ff12f2a
commit ac9e9193ad
32 changed files with 235 additions and 61 deletions

View File

@@ -11,7 +11,7 @@ from strategy.trend.watch import DipWatch
from .state import TState
@dataclass(frozen=True, slots=True)
@dataclass(slots=True)
class Runtime:
client: Client
global_cfg: GlobalConfig

View File

@@ -17,7 +17,7 @@ BUYING = "BUYING"
DONE = "DONE"
@dataclass(frozen=True, slots=True)
@dataclass(slots=True)
class TStateItem:
code: str
base_qty: int = 0