Open MindingTheData opened 1 year ago
I'm looking to lock certain players in the UTIL position on a DraftKings NBA contest.
Here's an example of what this might look like:
optimizer.player_pool.lock_player('Karl-Anthony Towns', 'UTIL')
However, I'm getting the following error: LineupOptimizerException: Position UTIL doesn't exist. Available positions are C,PG,SG,SF,PF
Is there any way I'm able to specifically lock a player into the UTIL position?
By using this is may work personally I have never tried this but it is a possibility
P1 = optimizer.player_pool.get_player_by_name('Karl-Anthony Towns', for_positions['UTIL'])
I'm looking to lock certain players in the UTIL position on a DraftKings NBA contest.
Here's an example of what this might look like:
optimizer.player_pool.lock_player('Karl-Anthony Towns', 'UTIL')
However, I'm getting the following error: LineupOptimizerException: Position UTIL doesn't exist. Available positions are C,PG,SG,SF,PF
Is there any way I'm able to specifically lock a player into the UTIL position?