rebuild(stage-8): deliver market insight workspaces
This commit is contained in:
@@ -102,6 +102,20 @@ class EastmoneyProvider:
|
||||
def sector_members(self, representative: str, trade_date: str) -> ProviderResult:
|
||||
raise ProviderError("The display provider is not the constituent authority")
|
||||
|
||||
def market_insight(
|
||||
self,
|
||||
kind: str,
|
||||
trade_date: str,
|
||||
previous_trade_date: str = "",
|
||||
identifier: str = "",
|
||||
) -> dict[str, ProviderResult | None]:
|
||||
raise ProviderError("The display provider cannot supply market insight archives")
|
||||
|
||||
def realtime_snapshots(
|
||||
self, identifiers: tuple[str, ...], start_time: str, end_time: str
|
||||
) -> ProviderResult:
|
||||
raise ProviderError("The display provider cannot supply calculation snapshots")
|
||||
|
||||
@staticmethod
|
||||
def _secid(entity_type: str, identifier: str) -> str:
|
||||
if entity_type == "index" and identifier in INDEX_CODES:
|
||||
|
||||
Reference in New Issue
Block a user