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
+15 -1
View File
@@ -1 +1,15 @@
# Placeholder packages for later phases (P1P5).
from .ledger import Ledger
from .liquidity import bid_covers_eth, contracts_for_eth
from .matcher import CloseResult, Matcher, OpenResult
from .pricing import option_fill, perp_fill
__all__ = [
"CloseResult",
"Ledger",
"Matcher",
"OpenResult",
"bid_covers_eth",
"contracts_for_eth",
"option_fill",
"perp_fill",
]