DFS Fantasy Football Lineup Optimizer

版本 1.0.1 (580.5 KB) 作者: Hans Scharler
Optimize your Daily Fantasy Sports (DFS) fantasy football lineups with MATLAB and the Optimization Toolbox
9.0 次下载
更新时间 2022/9/20

View DFS Fantasy Football Lineup Optimizer on File Exchange Open in MATLAB Online

DFS Optimizer

Download Projection Data

  • Go to Daily Fantasy Fuel and click on “Download Projects as CSV”
  • Save the file to your computer as “DFF_data.csv” into a new folder

Access MATLAB

You might have MATLAB installed on your computer, so all you have to do is open MATLAB. If you don’t have MATLAB installed, you can use MATLAB Online at matlab.mathworks.com by signing in and clicking “Open MATLAB Online (basic).”

Import the Data

  • Right-click on the “Current Folder” and click “Upload Files”
  • Select the CSV file that you downloaded from Daily Fantasy Fuel
  • Right-click on the DFF_data.csv that we uploaded and click Open
  • Click “Import Selection” and “Import Data”

Enter and Run the Code

  • Right-click on the Current Folder area, click New, and then Live Script
  • Name it “dfs.m” and open it
  • Copy and paste my MATLAB code from GitHub into your new MATLAB Live Script.
  • Click “Save”
  • Change the salaryCap variable to the salary cap to optimize for. 50,000 to 60,000 is a common range.
  • Click the Run button on the Live Editor tab

Optimal DFS lineup using MATLAB

Resources

引用格式

Hans Scharler (2024). DFS Fantasy Football Lineup Optimizer (https://github.com/nothans/dfs-optimizer), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.1

Add Open in MATLAB Online button

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库