feat client.

This commit is contained in:
2026-08-31 13:00:22 +08:00
parent a946c5b53d
commit 1b6f5a9f03
33 changed files with 544 additions and 1284 deletions

View File

@@ -23,6 +23,7 @@ logging.basicConfig(
from sdk import APIError, Client
from strategy.trend.boot import StartTrend
from strategy.zt.boot import StartZT
from strategy.ipo import AutoBuyIpo
@dataclass(frozen=True, slots=True)
@@ -33,6 +34,7 @@ class StrategyDefinition:
STRATEGIES = {
"trend": StrategyDefinition("Trend", StartTrend),
"zt": StrategyDefinition("ZT", StartZT),
}
def require_windows() -> bool: