DimaKudosh / pydfs-lineup-optimizer

Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites
MIT License
424 stars 157 forks source link

MVP/STAR/PRO players opposing position fanduel single game #389

Open mbencho opened 2 years ago

mbencho commented 2 years ago

What would be the best way to restrict the number of players on opposing teams from the MVP/STAR/PRO positions?

Because the MVP/STAR/PRO designation is not a position per se the force positions for opposing player code doesn't work. Any work around that anyone knows/can come up with?

Example: If I have a player from 'team A' in the MVP position I want to restrict the other positions (STAR/PRO/UTIL) to only one opposing player from 'team B'