BenBrostoff / draftfast

A tool to automate and optimize DraftKings and FanDuel lineup construction.
283 stars 112 forks source link

Position locked players do not show LOCK in table output #145

Open BenBrostoff opened 5 years ago

BenBrostoff commented 5 years ago

ex.

  roster = optimize.run(
            rule_set=rules.DK_MLB_SHOWDOWN_RULE_SET,
            player_pool=filtered_players,
            verbose=True,
            optimizer_settings=OptimizerSettings(
                existing_rosters=final_rosters,
                uniques=1,
            ),
            constraints=LineupConstraints(
                position_locked=[ja_happ]
            )
        )

image