BenBrostoff / draftfast

A tool to automate and optimize DraftKings and FanDuel lineup construction.
277 stars 113 forks source link

refactor stacks into generic lineup constraints #114

Open sharkiteuthis opened 5 years ago

sharkiteuthis commented 5 years ago

can probably refactor stacks into #113

also have error-checking for sum(# stack players) > lineup size

sharkiteuthis commented 5 years ago

also allow for stacks against (i.e run back QB/WR stack with opposing player)

BenBrostoff commented 5 years ago

Also had someone request that you should be able to set positions on stacks, so for soccer for instance you should be able to do a 4 man stack with a goalie and three other players.

sharkiteuthis commented 5 years ago

this and #119 will probably wind up being rolled into one feature branch, that's next on my list once i finish showdown slates

BenBrostoff commented 5 years ago

Picking this back up - stacks also need a min and max, right now it's all exact count.