DimaKudosh / pydfs-lineup-optimizer

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

2024 Changes to FD Single Game #430

Open EdCarGoes opened 1 week ago

EdCarGoes commented 1 week ago

Hello, First of all, this is an incredible resource and I have greatly enjoyed playing with it.

It looks like Fanduel slightly changed the positions and scoring parameters of the NFL Single Game mode for the 2024-25 NFL season.

In pydfs the positions are 'MVP - 2X Points', 'UTIL', 'UTIL', 'UTIL', 'UTIL'

However the current single game positions are now 'MVP - 1.5X Points', 'AnyFLEX', 'AnyFLEX', 'AnyFLEX', 'AnyFLEX'

It would seem a new class needs to be created to handle these changes in the single game importer.py and settings.py files as well as potentially an additional class in lineup_exporter.py. Maybe more, you would know much better than me.

I have a manual workaround going, but it seemed an actual correct solution wouldn't be that terrible to add so I thought I'd raise it.

Thank you!

Denwen12 commented 1 week ago

That would be an easy fix

On Mon, Sep 9, 2024, 6:44 PM EdCarGoes @.***> wrote:

Hello, First of all, this is an incredible resource and I have greatly enjoyed playing with it.

It looks like Fanduel slightly changed the positions and scoring parameters of the NFL Single Game mode for the 2024-25 NFL season.

In pydfs the positions are 'MVP - 2X Points', 'UTIL', 'UTIL', 'UTIL', 'UTIL'

However the current single game positions are now 'MVP - 1.5X Points', 'AnyFLEX', 'AnyFLEX', 'AnyFLEX', 'AnyFLEX'

It would seem a new class needs to be created to handle these changes in the single game importer.py and settings.py files as well as potentially an additional class in lineup_exporter.py. Maybe more, you would know much better than me.

I have a manual workaround going, but it seemed an actual correct solution wouldn't be that terrible to add so I thought I'd raise it.

Thank you!

— Reply to this email directly, view it on GitHub https://github.com/DimaKudosh/pydfs-lineup-optimizer/issues/430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANBWO7TE6TTMSRNUON5HPQDZVYQDHAVCNFSM6AAAAABN5P35QCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTKMBVGM4DMMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

EdCarGoes commented 1 week ago

Good news! I can help test once the fix is in. Just let me know. Thanks.