This project provides a robust data analysis tool for Fantasy Premier League (FPL) enthusiasts, helping users make informed decisions about which players to buy or sell.
The tool analyzes player performance based on multiple metrics, including:
- Previous performance scores ✅
- ICT index ✅
- Expected goals (xG) ✅
- Expected assists (xA) ✅
- expected Goal Involvements (xGI) ✅
- expected_goals_conceded (xGC) ✅
- starts
- International breaks
- Team mates fitness
- Availability/Fitness ✅
- Upcoming fixtures ✅
- Set-piece responsibilities
- Opponent strength based on fixture ✅
- Home/Away performance ✅
- Minutes played ✅
- points ✅
- price ✅
- Upcoming fixture ✅
- Fixture proof ✅
- Historic data (past seasons) ✅
- Best 15 man pick ✅
- Best 11 man pick ✅
- max 3 players per team ✅
- Reduce performance consideration of benched players where necessary
- Increase performance consideration of players who have been rested where necessary
- consider nearer fixtures over farther ones ✅
- chips usage suggestions
- differential of the week
Example Metrics for Players
Player | Total Score | Avg Score per GW | Price | Efficiency (Score/Price) | Minutes Played | Performance Score |
---|---|---|---|---|---|---|
Erling Haaland | 650 | 65.0 | 11.5 | 56.5 | 800 | 0.8125 |
Phil Foden | 480 | 60.0 | 8.5 | 56.5 | 550 | 0.8727 |
Callum Wilson | 520 | 52.0 | 7.5 | 69.3 | 450 | 1.1556 |
-
Clone the repository:
git clone https://github.com/Ayo-Osota/fpl-buddy.git
-
Install dependencies:
pip install -r requirements.txt
-
Run the bot:
python main.py
Contributions are welcome! Please submit a pull request or open an issue for feature suggestions or bug reports.