An example project illustrating how to build & deploy a trading bot at Betfair. Built in Flumine.
More information available at BowTiedBettor - Building & Deploying a Betfair Bot.
Exploit the new 'Betfair Beacons'-feature. Beacon FAQ.
-
tradingroutines.py contains necessary/helpful functions, for instance update_anchor_prices.
-
strategies.py defines & implements the strategy.
-
bot.py sets required parameters & launches the bot.
Detailed breakdown available at BowTiedBettor - Building & Deploying a Betfair Bot.
- Clone the repo.
- pip install -r requirements.txt.
- Add a /logs directory & a .env file. Define BETFAIR_USERNAME, BETFAIR_PASSWORD & BETFAIR_APPKEY_LIVE in the .env file.
- Launch the bot.py program.