DFS_Portfolio_Manager / global_func /large_field_preset.py

Commit History

Add volatility preset option in app.py and implement volatility_preset function. Updated lineup generation logic to include new preset for enhanced lineup edge management.
cc0edce

James McCool commited on

Update preset options in app.py to improve lineup generation accuracy. Changed 'Large Field (Finish Percentile / Edge)' to 'Large Field (Manage Similarity)' and adjusted corresponding logic in the form submission process.
8c81703

James McCool commited on

Refactor lineup selection logic in large_field_preset.py to improve accuracy and efficiency. Replaced the previous iterative approach with a method that calculates evenly spaced target similarity scores, ensuring a more precise selection of lineups based on similarity while avoiding duplicates.
2f8b929

James McCool commited on

Update sorting and ownership calculations in large_field_preset.py to use 'median' instead of 'Finish_percentile' and 'Own'. This change improves accuracy in lineup generation by aligning calculations with the updated data structure.
c1137d7

James McCool commited on

Replace distribute_preset with hedging_preset to manage player exposure in lineup generation. Update app.py to reflect the new preset option and remove the obsolete distribute_preset function. This change enhances the flexibility of lineup strategies by allowing users to hedge against high-exposure players while maintaining performance metrics.
119b2bf

James McCool commited on

Refactor large_field_preset function to streamline player removal logic by eliminating unnecessary iterations and simplifying the exposure tracking process. Ensure sufficient lineups are generated before finalizing selections, enhancing overall efficiency and accuracy.
d0e6684

James McCool commited on

Enhance large_field_preset function to improve player exposure tracking by implementing a mechanism to remove high-exposure players across iterations, ensuring lineup integrity and preventing excessive ownership. Adjust logic to check for sufficient lineups before finalizing selections.
73d2fb0

James McCool commited on

Refactor large_field_preset function to streamline the portfolio selection process by removing unnecessary iterations and simplifying the logic for team-based filtering, enhancing efficiency and lineup accuracy.
d38df13

James McCool commited on

Enhance small_field_preset and large_field_preset functions to accept an additional parameter for excluded columns, improving filtering capabilities and lineup accuracy. Update app.py to reflect these changes in preset selections.
1b1db4f

James McCool commited on

Refactor large_field_preset function to adjust filtering criteria, replacing 'Finish_percentile' with 'Own' for team-based selection, enhancing accuracy in lineup targeting and improving the logic for dropping rows based on ownership thresholds.
5830bfb

James McCool commited on

Refactor large_field_preset function to simplify ranking logic by removing median and finish percentile rankings, and adjust filtering criteria to focus on 'Finish_percentile' for team-based selection, enhancing accuracy in lineup targeting.
1107ea4

James McCool commited on

Remove filtering of working_portfolio by 'Lineup Edge' in large_field_preset function to allow for broader selection of portfolios, enhancing lineup options.
88b7968

James McCool commited on

Update ranking logic in large_field_preset function to sort 'median' in descending order and 'Finish_percentile' in ascending order, enhancing accuracy in team-based filtering and lineup targeting.
59d5fe8

James McCool commited on

Refactor large_field_preset function to improve team-based filtering by introducing median and finish percentile rankings for enhanced sorting accuracy. Clean up temporary columns after processing to maintain DataFrame integrity.
471e1a6

James McCool commited on

Refactor large_field_preset and small_field_preset functions to use 'Stack' instead of 'Team' for team-based filtering, ensuring consistency in portfolio adjustments and improving accuracy in lineup targeting.
3cc15e1

James McCool commited on

Refactor large_field_preset and small_field_preset functions to enhance lineup targeting: increase slack_var range, implement team-based filtering, and consolidate results into a single DataFrame for improved accuracy in portfolio adjustments.
5ef03d6

James McCool commited on

Refactor large_field_preset function to improve sorting logic: change the final return statement to sort by 'Finish_percentile' instead of 'Own', ensuring more accurate lineup targeting based on performance metrics.
ba8ea34

James McCool commited on

Add large field preset functionality in app.py and implement large_field_preset function for improved lineup targeting. Update small_field_preset function to sort by 'Own' for consistency in portfolio adjustments.
936a186

James McCool commited on