Implement P1 local matcher/ledger and P2 strategy engine.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-24 17:03:46 +08:00
parent 0fca5f025e
commit 51b8bb8f8a
30 changed files with 2086 additions and 150 deletions
+17 -1
View File
@@ -1 +1,17 @@
# Placeholder: strategy state machine (P2).
from .clock import can_open_new, window_key
from .engine import StrategyEngine, get_engine, set_engine
from .exits import check_exits
from .group import next_group_id
from .signal import Signal, decide
__all__ = [
"Signal",
"StrategyEngine",
"can_open_new",
"check_exits",
"decide",
"get_engine",
"next_group_id",
"set_engine",
"window_key",
]