fix(HEL-356): support Beijing exchange realtime quotes

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
总管
2026-09-09 11:36:01 +08:00
co-authored by multica-agent
parent cb45d742da
commit abee8306be
5 changed files with 27 additions and 9 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ class V1API:
limit, offset = self._page(q)
today = yyyymmdd(now_shanghai())
batch_id, snapshot = self.pipeline.published_stock_snapshot(today)
if batch_id:
if batch_id and snapshot:
# Formal view: the latest published stock snapshot, with batch
# metadata. Filters are applied in-memory on the snapshot.
pub = self.pipeline.latest_stocks_publication(today) or {}