We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
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'])
Sorry, something went wrong.
No branches or pull requests
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?
The text was updated successfully, but these errors were encountered: