pydfs-lineup-optimizer icon indicating copy to clipboard operation
pydfs-lineup-optimizer copied to clipboard

[FEATURE]: Team Groups similar to PlayerGroups

Open austinjohnson opened this issue 2 years ago • 0 comments

Is there a way to group teams like player groups? For example, we can use PlayersGroup(optimizer.player_pool.get_players('Corbin Burnes', 'Tony Gonsolin')) like this, but I would like to be able to do the same thing with stacks for MLB. So it would look something like this TeamGroup((optimizer.player_pool.get_players('ATL', 'LAD'), stack=[5,2]). That way, I can give the optimizer multiple pairs to stack instead of giving a list of teams and risk having teams I don't want to pair together.

austinjohnson avatar Aug 24 '22 00:08 austinjohnson