Python Back-Lay Horse Racing Bot

Заказчик: AI | Опубликовано: 21.11.2025

I have a daily tips feed coming from BF Bot Manager and want a Python script that will read those tips, calculate a pace rating for each UK runner, and then decide whether a Back-to-Lay trade should be placed or skipped. Scope • Data arrives solely from the BF Bot Manager tips feed; no Timeform connection is needed at this stage. • When I launch the script manually it should:  1. Pull the latest tips, map each tip to the relevant Betfair market/runner and fetch current prices.  2. Generate a simple yet defensible pace rating for every tipped horse (historical sectional times, early position data or any robust proxy you can suggest).  3. Apply a Back-to-Lay rule set—e.g. stake sizing, minimum expected in-play drop, stop-loss, unmatched-bet handling—and output a clear yes/no along with the recommended entry and exit odds. • The final output can be JSON or a CSV that BF Bot Manager can immediately import, plus a short log on screen so I can see what the script decided and why. Deliverables 1. Well-commented Python 3 code (requests, pandas, or any other mainstream libraries). 2. A README covering manual launch steps, environment setup, and a parameter file so I can tweak rating weightings or staking without editing source. 3. One test run on tomorrow’s UK meetings demonstrating end-to-end functionality. Acceptance criteria – Script launches manually and finishes without errors. – All tips in the feed are evaluated; decisions and calculations are traceable in the log. – Output file imports into BF Bot Manager and all recommended trades display correctly. If you have previous experience with Betfair APIs, in-play modelling, or racing data analytics let me know, as that will speed up delivery.