▌ session-may2-hkjc-breakthrough.md
▒ PATH:
▒ SIZE: 1.1 KB
▒ MODIFIED: 2026-05-01 16:30
MemPalace Archive/conversations/session-may2-hkjc-breakthrough.md▒ SIZE: 1.1 KB
▒ MODIFIED: 2026-05-01 16:30
# Session: HKJC Horse Racing Breakthrough — May 2, 2026
## What Happened
Nick said "think outside the box" for horse racing API problem.
Found FREE solution: @gikndue/hkjc-api npm package.
No API key needed. Pulls live HKJC race cards, ratings, form, odds.
## Project Built
/Volumes/My Shared Files/UTM/hkjc-betting/
## Key Files
src/fetch_hkjc.js — data fetcher
src/features.py — feature engineering
src/predict.py — composite scoring
src/backtest.py — PL validation
src/track.py — prediction tracking
src/run_daily.py — unified runner
data/features/predictions_latest.csv
data/features/prediction_track_record.csv
## Backtest Results
26 seasons PL data (9880 matches):
- Form model: 46.3% accuracy
- Combined model: 47.9% accuracy
- Selective betting (edge>0.15): 56-60% win rate
## Cron
67508c925214 daily 7AM
## Gap
No historical results via HKJC API — only future races.
Track predictions vs actuals over time to validate.
## Status
MemPalace updated but NOT YET INDEXED — run:
cd ~/.mempalace/hermes-nick && python3 -m mempalace init .
(Interactive — needs enter to accept defaults)