I want a straightforward bot that plugs into Betfair’s Exchange API and places horse-racing bets for me automatically. The only strategy it needs to understand is staking a fixed percentage of my current bankroll on each selection; I’ll provide the market IDs, runners, and desired prices. Here’s the flow I have in mind: the program authenticates with my Betfair keys, reads the available balance, applies the percentage I set (for example 2 %), sends the BACK or LAY order, then logs the outcome locally so I can review profit and loss later. It has to run unattended on either Windows or a small Linux VPS, handle API rate limits gracefully, and never exceed the exposure that percentage staking implies. Deliverables • Complete, well-commented source code (Python, Node, or a similarly mainstream language) • README with setup and dependency steps • Simple config file for keys, staking percentage, and any run-time switches • Demonstration in Betfair’s sandbox or a live market with minimal stakes, showing at least 50 consecutive automated bets without failure Acceptance criteria 1. Bot compiles/installs without manual code edits. 2. Every wager is calculated precisely as the set bankroll percentage. 3. All orders receive confirmed Betfair order IDs and are written to a CSV or SQLite log. If you already have experience automating Betfair trading or betting, especially with the official API, let me know—samples or references will speed up the decision. I’m ready to start as soon as you can show a clear plan for authentication, stake calculation, and resilient error handling.