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",
|
||
|
|
]
|