Session 28: Parlay builder, line movement tracker, book comparison — 3 features, zero credits (1623 tests)
This commit is contained in:
@@ -346,6 +346,10 @@ async function getOdds(sport) {
|
||||
movements = moveResult.movements || [];
|
||||
const cascadeResult = await cascade.detectScratches(sport, props);
|
||||
scratchedPlayers = cascadeResult.scratchedPlayers || [];
|
||||
// Session 28 — append a rolling line-history snapshot per prop so the
|
||||
// sparkline / biggest-movers views have data. Redis-only, free.
|
||||
const lineSnapshots = require('./lineSnapshotService');
|
||||
await lineSnapshots.recordSnapshots(sport, props);
|
||||
} catch (e) {
|
||||
// Non-fatal — log and continue
|
||||
console.warn('[VYNDR] Movement/cascade detection error:', e.message);
|
||||
|
||||
Reference in New Issue
Block a user