rebuild(runtime): govern market operations and job truth

This commit is contained in:
leefer
2026-07-30 10:14:29 +08:00
parent 4fc8691eee
commit d8f0dd930c
39 changed files with 2224 additions and 79 deletions
+9
View File
@@ -27,6 +27,13 @@ class MarketDataProvider(Protocol):
self, trade_date: str, previous_trade_date: str
) -> dict[str, ProviderResult | dict[str, Any]]: ...
def realtime_market_inputs(
self,
trade_date: str,
previous_trade_date: str,
identifiers: tuple[str, ...],
) -> dict[str, ProviderResult | dict[str, Any]]: ...
def sector_members(self, representative: str, trade_date: str) -> ProviderResult: ...
def heaven_inputs(
@@ -49,4 +56,6 @@ class MarketDataProvider(Protocol):
self, identifiers: tuple[str, ...], start_time: str, end_time: str
) -> ProviderResult: ...
def event_reasons(self, trade_date: str) -> ProviderResult: ...
def screener_inputs(self, trade_dates: tuple[str, ...]) -> dict[str, ProviderResult | None]: ...