Route business quotes and K-lines to CTP; keep Sina only for market chart page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-02 15:14:13 +08:00
parent 98d63f38bf
commit 972ab5d08b
9 changed files with 52 additions and 101 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ def fetch_closed_bar(
p,
db_path=db_path,
trading_mode=trading_mode,
prefer_ctp=False,
prefer_ctp=True,
)
bars = data.get("bars") or []
return last_closed_bar(bars, bar_period_minutes(p))