- load_price_snapshot picked the last snapshot by filename (lexicographic), selecting a stale 9-symbol collection over the full 50-symbol universe. Now picks the snapshot with the latest source.retrieved_at. - allocate_capital profit buckets now also require momentum > 0 (a falling-price name is not 'ทำกำไร'), while momentum/theme_signal stay Optional so the PIT backtest path (which doesn't provide them) still allocates. - Suggestion now allocates across all 50 SET50 names (B1: BGRIM,TTB; B2: BANPU; B3: ADVANC,SCB,LH). - Regression tests for both. Full suite 374 green.
7.9 KiB
7.9 KiB