Your rank is calculated based on the points of your team. The points are calculated as a sum of fantasy points of all the players in your team.