
We will need two strategies, one for choosing which player to sub out and one for choosing which player to sub in.Īccording to this interview with last years winner Joshua Bull, the 4 main data points you need are form, fixture difficulty, availability and home/away. The first thing we need to decided is our strategy for deciding how we rate players. The total of all game weeks is the total for a competitors score.īetween each game week, competitors can swap 1 player out with another player, choose a new captain and change their starting team and substitutes. The total of all starting players scores is the competitors score for the game week. The players then receive points based on their actions in each game, if a starting player doesn’t play, they are swapped with a bench player. 11 players are selected to start and 4 are on the bench. Each player can only select 3 players from one team. Players value fluctuates throughout the season. The competitors select their teams by participating in a draft in which all Premier League players are available.Įach player has a value assigned to them and teams must not have a value of more than 100.

Pre Requisitesįantasy football is a game in which the participants serve as general managers of virtual professional Premier League football teams.
TYPE IN A FNATSY TEMA AND YOU RATE IT HOW TO
I’m going to use this with Docker and AWS ECS Fargate to show you how to have your team managed for you for the rest of the season.Īll the code for this tutorial is available on my Github, here. This lets us easily get Fantasy Premier League data, decide which players we want to swap in and swap out and execute the transfer. Luckily, there is a great Python library, FPL, which is maintained by Amos Bastian for interacting with the Fantasy Premier League API. That time of year has come again where I am sick of updating my fantasy team, I have not had a good run with my beloved Fulham in the relegation zone and my fantasy team last in my friends league.
