T-213: M2.4b — Add Python stockbot register_signal, batch feature runner, and M2 MarketDataStore methods

This commit is contained in:
Studio 2026-12-05 14:45:24 -05:00
parent d95b0ce9d3
commit 68a53bd489
2 changed files with 46 additions and 0 deletions

View file

@ -1097,6 +1097,7 @@ def test_polars_batch_per_year_availability_ceiling_blocks_later_year_macro_leak
left_on="ts",
right_on="macro_known_at",
strategy="backward",
coalesce=False,
)
return joined.select(
pl.col("listing_id"),
@ -1311,6 +1312,7 @@ const opened = await openDuckDbMarketDataStore({{
}},
}});
try {{
await opened.executor.run("SET TimeZone = 'UTC';");
await runFeatureBatch(
RET_1D_V1,
{{ curatedRoot, fromYear: 2024, toYear: 2024, vaultCutoffDate: {json.dumps(vault_cutoff_date)} }},