67 production .py modules that the running PINK service imports but which were never committed: prod/bingx/ (HTTP client, market/user streams, journal, config), prod/clean_arch/ adapters/persistence/runtime/dita/dita_v2 production modules and their co-located tests. Rule going forward: every module imported by launch_dolphin_pink.py / pink_direct.py must appear in git ls-files. Excludes _backup dirs, __pycache__, and non-code files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
50 lines
1.2 KiB
Python
50 lines
1.2 KiB
Python
"""DITA boundary for clean-arch trading experiments.
|
|
|
|
Decision -> Intent -> Trade -> Account
|
|
|
|
This package is infrastructure-free. It provides the canonical contracts
|
|
and pure engines used by the simulator and by any future adapters that need
|
|
BLUE/PINK comparable semantics.
|
|
"""
|
|
|
|
from .account import AccountProjection, AccountSnapshot
|
|
from .contracts import (
|
|
AccountEvent,
|
|
Decision,
|
|
DecisionAction,
|
|
DecisionConfig,
|
|
DecisionContext,
|
|
Intent,
|
|
IntentContext,
|
|
TradeEvent,
|
|
TradePosition,
|
|
TradeSide,
|
|
TradeStage,
|
|
)
|
|
from .decision import DecisionEngine
|
|
from .intent import IntentEngine
|
|
from .observability import DitaObservabilityNamespace, LEGACY_ANOMALY_SENSOR_KEY
|
|
from .trade import TradeExecutionResult, TradeExecutor
|
|
|
|
__all__ = [
|
|
"AccountEvent",
|
|
"AccountProjection",
|
|
"AccountSnapshot",
|
|
"Decision",
|
|
"DecisionAction",
|
|
"DecisionConfig",
|
|
"DecisionContext",
|
|
"DecisionEngine",
|
|
"DitaObservabilityNamespace",
|
|
"Intent",
|
|
"IntentContext",
|
|
"IntentEngine",
|
|
"LEGACY_ANOMALY_SENSOR_KEY",
|
|
"TradeEvent",
|
|
"TradeExecutionResult",
|
|
"TradeExecutor",
|
|
"TradePosition",
|
|
"TradeSide",
|
|
"TradeStage",
|
|
]
|