Release v2.17.1: Backfill full 1-month completed closing-bell series (2026-11-30 & 2026-12-01 across all 23 public tickers), add lossless VPS telemetry snapshot/reconciliation, and enforce read-only VPS closeups/readme sync in Gate D4
This commit is contained in:
1 parent
5eca430cce
commit
52153e76f0
20 files changed
+3590
-3794
No files matched your search
@@ -447,10 +447,18 @@ def build_quant_timeseries_bundle(
|
||||
with ReadOnlyIsolationGuard(cfg.read_only_files) as guard:
|
||||
dated_dossiers = _extract_dated_news_dossiers(cfg.archive_dir)
|
||||
real_history = _load_real_market_history_bars(cfg)
|
||||
all_dates = set()
|
||||
all_dates: set[str] = set()
|
||||
for sym_hist in real_history.values():
|
||||
all_dates.update(sym_hist.keys())
|
||||
dates_utc = sorted(list(all_dates))
|
||||
for k in sym_hist.keys():
|
||||
if re.match(r"^\d{4}-\d{2}-\d{2}$", str(k)):
|
||||
all_dates.add(str(k))
|
||||
if all_dates:
|
||||
start_d = datetime.date.fromisoformat(min(all_dates))
|
||||
end_d = datetime.date.fromisoformat(max(all_dates))
|
||||
span_days = (end_d - start_d).days
|
||||
dates_utc = [(start_d + datetime.timedelta(days=i)).isoformat() for i in range(span_days + 1)]
|
||||
else:
|
||||
dates_utc = sorted(dated_dossiers.keys())
|
||||
num_days = len(dates_utc)
|
||||
|
||||
# Pre-collect all phrases needed for batch Ingglish translation from real observations only
|
||||
|
||||
Reference in new issue
Block a user