class FanDuelSingleGameHockeySettings(FanDuelSingleGameSettings): sport = Sport.HOCKEY csv_importer = FanDuelSingleGameHockeyCSVImporter positions = [ LineupPosition('CAPTAIN', ('CAPTAIN', )), LineupPosition('UTIL', ('C', 'W', 'D')), LineupPosition('UTIL', ('C', 'W', 'D')), LineupPosition('UTIL', ('C', 'W', 'D')), LineupPosition('UTIL', ('C', 'W', 'D')), ]
class FanDuelSingleGameFootballSettings(FanDuelSingleGameSettings): sport = Sport.FOOTBALL extra_rules = [FanduelSingleGameMVPRule, FanduelSingleGameMaxQBRule] positions = [ LineupPosition('MVP', ('QB', 'WR', 'RB', 'TE', 'K')), LineupPosition('FLEX', ('QB', 'WR', 'RB', 'TE', 'K')), LineupPosition('FLEX', ('QB', 'WR', 'RB', 'TE', 'K')), LineupPosition('FLEX', ('QB', 'WR', 'RB', 'TE', 'K')), LineupPosition('FLEX', ('QB', 'WR', 'RB', 'TE', 'K')), ]
class FanDuelSingleGameBasketballSettings(FanDuelSingleGameSettings): sport = Sport.BASKETBALL extra_rules = [FanduelSingleGameBasketballRule] positions = [ LineupPosition('MVP', ('PG', 'SG', 'SF', 'PF', 'C')), LineupPosition('STAR', ('PG', 'SG', 'SF', 'PF', 'C')), LineupPosition('PRO', ('PG', 'SG', 'SF', 'PF', 'C')), LineupPosition('FLEX', ('PG', 'SG', 'SF', 'PF', 'C')), LineupPosition('FLEX', ('PG', 'SG', 'SF', 'PF', 'C')), ]
class FanDuelSingleGameBaseballSettings(FanDuelSingleGameSettings): sport = Sport.BASEBALL csv_importer = build_fanduel_single_game_importer(mvp=True, star=True, pro=False) positions = [ LineupPosition('MVP', ('MVP', )), LineupPosition('STAR', ('STAR', )), LineupPosition('UTIL', ('1B', '2B', '3B', 'SS', 'OF', 'C')), LineupPosition('UTIL', ('1B', '2B', '3B', 'SS', 'OF', 'C')), LineupPosition('UTIL', ('1B', '2B', '3B', 'SS', 'OF', 'C')), ]
class FanDuelSingleGameBasketballSettings(FanDuelSingleGameSettings): sport = Sport.BASKETBALL csv_importer = build_fanduel_single_game_importer(mvp=True, star=True, pro=True) positions = [ LineupPosition('MVP', ('MVP', )), LineupPosition('STAR', ('STAR', )), LineupPosition('PRO', ('PRO', )), LineupPosition('UTIL', ('PG', 'SG', 'SF', 'PF', 'C')), LineupPosition('UTIL', ('PG', 'SG', 'SF', 'PF', 'C')), ]
class FanDuelSingleGameLOLSettings(FanDuelSingleGameSettings): sport = Sport.LEAGUE_OF_LEGENDS csv_importer = build_fanduel_single_game_importer(mvp=True, star=True, pro=False) positions = [ LineupPosition('MVP', ('MVP', )), LineupPosition('STAR', ('STAR', )), LineupPosition('UTIL', ('TOP', 'MID', 'ADC', 'JNG', 'SUP')), LineupPosition('UTIL', ('TOP', 'MID', 'ADC', 'JNG', 'SUP')), LineupPosition('UTIL', ('TOP', 'MID', 'ADC', 'JNG', 'SUP')), ]
class FantasyDraftBaseballSettings(FantasyDraftSettings): positions = [ LineupPosition('P', ('P', )), LineupPosition('P', ('P', )), LineupPosition('IF', ('1B', '2B', '3B', 'SS', 'IF', 'C',)), LineupPosition('IF', ('1B', '2B', '3B', 'SS', 'IF', 'C',)), LineupPosition('IF', ('1B', '2B', '3B', 'SS', 'IF', 'C',)), LineupPosition('OF', ('LF', 'CF', 'RF', 'OF')), LineupPosition('OF', ('LF', 'CF', 'RF', 'OF')), LineupPosition('OF', ('LF', 'CF', 'RF', 'OF')), LineupPosition('UTIL', ('1B', '2B', '3B', 'SS', 'IF', 'C', 'LF', 'CF', 'RF', 'OF')), LineupPosition('UTIL', ('1B', '2B', '3B', 'SS', 'IF', 'C', 'LF', 'CF', 'RF', 'OF')), ]
class FanDuelNascarSettings(FanDuelSettings): sport = Sport.NASCAR budget = 50000 max_from_one_team = None min_teams = None lineup_printer = IndividualSportLineupPrinter positions = [ LineupPosition('D', ('D', )), LineupPosition('D', ('D', )), LineupPosition('D', ('D', )), LineupPosition('D', ('D', )), LineupPosition('D', ('D', )), ]
class DraftKingsLOLSettings(DraftKingsSettings): sport = Sport.LEAGUE_OF_LEGENDS max_from_one_team = 4 positions = [ LineupPosition('TOP', ('TOP', )), LineupPosition('JNG', ('JNG', )), LineupPosition('MID', ('MID', )), LineupPosition('ADC', ('ADC', )), LineupPosition('SUP', ('SUP', )), LineupPosition('FLEX', ( 'TOP', 'JNG', 'MID', 'ADC', 'SUP', )), LineupPosition('FLEX', ( 'TOP', 'JNG', 'MID', 'ADC', 'SUP', )), LineupPosition('TEAM', ('TEAM', )), ]
class DraftKingsBaseballSettings(DraftKingsSettings): max_from_one_team = 5 positions = [ LineupPosition('P', ('SP', 'RP')), LineupPosition('P', ('SP', 'RP')), LineupPosition('C', ('C', )), LineupPosition('1B', ('1B', )), LineupPosition('2B', ('2B', )), LineupPosition('3B', ('3B', )), LineupPosition('SS', ('SS', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), ]
class YahooBaseballSettings(YahooSettings): sport = Sport.BASEBALL positions = [ LineupPosition('P', ('P', )), LineupPosition('P', ('P', )), LineupPosition('C', ('C', )), LineupPosition('1B', ('1B', )), LineupPosition('2B', ('2B', )), LineupPosition('3B', ('3B', )), LineupPosition('SS', ('SS', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), ]
class FanDuelSingleGameLOLSettings(FanDuelSingleGameSettings): sport = Sport.LEAGUE_OF_LEGENDS csv_importer = build_fanduel_single_game_importer(mvp=True, star=True, pro=False) extra_rules = [FanduelSingleGameMVPRule, FanduelSingleGameStarRule] positions = [ LineupPosition('MVP', ('TOP', 'MID', 'ADC', 'JNG', 'SUP'), for_rank=PlayerRank.MVP), LineupPosition('STAR', ('TOP', 'MID', 'ADC', 'JNG', 'SUP'), for_rank=PlayerRank.STAR), LineupPosition('UTIL', ('TOP', 'MID', 'ADC', 'JNG', 'SUP')), LineupPosition('UTIL', ('TOP', 'MID', 'ADC', 'JNG', 'SUP')), LineupPosition('UTIL', ('TOP', 'MID', 'ADC', 'JNG', 'SUP')), ]
class FanDuelFootballSettings(FanDuelSettings): positions = [ LineupPosition('QB', ('QB', )), LineupPosition('RB', ('RB', )), LineupPosition('RB', ('RB', )), LineupPosition('WR', ('WR', )), LineupPosition('WR', ('WR', )), LineupPosition('WR', ('WR', )), LineupPosition('TE', ('TE', )), LineupPosition('D', ('D', )), LineupPosition('K', ('K', )), ]
class FantasyDraftFootballSettings(FantasyDraftSettings): positions = [ LineupPosition('QB', ('QB', )), LineupPosition('RB', ('RB', )), LineupPosition('RB', ('RB', )), LineupPosition('WR', ('WR', )), LineupPosition('WR', ('WR', )), LineupPosition('TE', ('TE', )), LineupPosition('FLEX', ('RB', 'WR', 'TE')), LineupPosition('FLEX', ('RB', 'WR', 'TE')), LineupPosition('DST', ('DST', )) ]
class FanDuelBasketballSettings(FanDuelSettings): positions = [ LineupPosition('PG', ('PG', )), LineupPosition('PG', ('PG', )), LineupPosition('SG', ('SG', )), LineupPosition('SG', ('SG', )), LineupPosition('SF', ('SF', )), LineupPosition('SF', ('SF', )), LineupPosition('PF', ('PF', )), LineupPosition('PF', ('PF', )), LineupPosition('C', ('C', )), ]
class DraftKingsHockeySettings(DraftKingsSettings): positions = [ LineupPosition('W', ('LW', 'RW')), LineupPosition('W', ('LW', 'RW')), LineupPosition('W', ('LW', 'RW')), LineupPosition('C', ('C',)), LineupPosition('C', ('C',)), LineupPosition('D', ('D', )), LineupPosition('D', ('D', )), LineupPosition('G', ('G',)), LineupPosition('UTIL', ('LW', 'RW', 'C', 'D')) ]
class DraftKingsFootballSettings(DraftKingsSettings): positions = [ LineupPosition('QB', ('QB',)), LineupPosition('WR1', ('WR',)), LineupPosition('WR2', ('WR',)), LineupPosition('WR3', ('WR',)), LineupPosition('RB1', ('RB',)), LineupPosition('RB2', ('RB',)), LineupPosition('TE', ('TE',)), LineupPosition('FLEX', ('WR', 'RB', 'TE')), LineupPosition('DST', ('DST',)) ]
class FanDuelHockeySettings(FanDuelSettings): budget = 55000 positions = [ LineupPosition('C', ('C', )), LineupPosition('C', ('C', )), LineupPosition('W', ('W', )), LineupPosition('W', ('W', )), LineupPosition('W', ('W', )), LineupPosition('W', ('W', )), LineupPosition('D', ('D', )), LineupPosition('D', ('D', )), LineupPosition('G', ('G', )), ]
class DraftKingsFootballSettings(DraftKingsSettings): sport = Sport.FOOTBALL positions = [ LineupPosition('QB', ('QB',)), LineupPosition('RB', ('RB',)), LineupPosition('RB', ('RB',)), LineupPosition('WR', ('WR',)), LineupPosition('WR', ('WR',)), LineupPosition('WR', ('WR',)), LineupPosition('TE', ('TE',)), LineupPosition('FLEX', ('WR', 'RB', 'TE')), LineupPosition('DST', ('DST',)) ]
class FanDuelBasketballSettings(FanDuelSettings): sport = Sport.BASKETBALL positions = [ LineupPosition('PG', ('PG', )), LineupPosition('PG', ('PG', )), LineupPosition('SG', ('SG', )), LineupPosition('SG', ('SG', )), LineupPosition('SF', ('SF', )), LineupPosition('SF', ('SF', )), LineupPosition('PF', ('PF', )), LineupPosition('PF', ('PF', )), LineupPosition('C', ('C', )), ]
class MoneyballNBASettings(MoneyballSettings): sport = Sport.BASKETBALL positions = [ LineupPosition('PG', ('PG', )), LineupPosition('PG', ('PG', )), LineupPosition('SG', ('SG', )), LineupPosition('SG', ('SG', )), LineupPosition('SF', ('SF', )), LineupPosition('SF', ('SF', )), LineupPosition('PF', ('PF', )), LineupPosition('PF', ('PF', )), LineupPosition('C', ('C', )), ]
class FanBallFootballSettings(FanBallSettings): sport = Sport.FOOTBALL positions = [ LineupPosition('QB', ('QB', )), LineupPosition('WR1', ('WR', )), LineupPosition('WR2', ('WR', )), LineupPosition('WR3', ('WR', )), LineupPosition('RB1', ('RB', )), LineupPosition('RB2', ('RB', )), LineupPosition('TE', ('TE', )), LineupPosition('FLEX', ('WR', 'RB', 'TE')), LineupPosition('DST', ('DST', )) ]
class YahooFootballSettings(YahooSettings): sport = Sport.FOOTBALL positions = [ LineupPosition('QB', ('QB', )), LineupPosition('WR', ('WR', )), LineupPosition('WR', ('WR', )), LineupPosition('WR', ('WR', )), LineupPosition('RB', ('RB', )), LineupPosition('RB', ('RB', )), LineupPosition('TE', ('TE', )), LineupPosition('FLEX', ('WR', 'RB', 'TE')), LineupPosition('DEF', ('DEF', )) ]
class FanDuelBaseballSettings(FanDuelSettings): budget = 35000 positions = [ LineupPosition('P', ('P', )), LineupPosition('C/1B', ('C', '1B')), LineupPosition('2B', ('2B', )), LineupPosition('3B', ('3B', )), LineupPosition('SS', ('SS', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), LineupPosition('UTIL', ('1B', '2B', '3B', 'SS', 'C', 'OF')), ]
class YahooHockeySettings(YahooSettings): sport = Sport.HOCKEY positions = [ LineupPosition('G', ('G', )), LineupPosition('G', ('G', )), LineupPosition('C', ('C', )), LineupPosition('C', ('C', )), LineupPosition('W', ('LW', 'RW')), LineupPosition('W', ('LW', 'RW')), LineupPosition('W', ('LW', 'RW')), LineupPosition('D', ('D', )), LineupPosition('D', ('D', )) ]
class DraftstarsNBASettings(DraftstarsSettings): sport = Sport.BASKETBALL positions = [ LineupPosition('PG', ('PG', )), LineupPosition('PG', ('PG', )), LineupPosition('SG', ('SG', )), LineupPosition('SG', ('SG', )), LineupPosition('SF', ('SF', )), LineupPosition('SF', ('SF', )), LineupPosition('PF', ('PF', )), LineupPosition('PF', ('PF', )), LineupPosition('C', ('C', )), ]
class FanDuelFootballSettings(FanDuelSettings): sport = Sport.FOOTBALL positions = [ LineupPosition('QB', ('QB', )), LineupPosition('RB', ('RB', )), LineupPosition('RB', ('RB', )), LineupPosition('WR', ('WR', )), LineupPosition('WR', ('WR', )), LineupPosition('WR', ('WR', )), LineupPosition('TE', ('TE', )), LineupPosition('FLEX', ('RB', 'WR', 'TE')), LineupPosition('DEF', ('D', )), ]
class DraftstarsAFLSettings(DraftstarsSettings): sport = Sport.AFL positions = [ LineupPosition('FWD', ('FWD', )), LineupPosition('FWD', ('FWD', )), LineupPosition('DEF', ('DEF', )), LineupPosition('DEF', ('DEF', )), LineupPosition('MID', ('MID', )), LineupPosition('MID', ('MID', )), LineupPosition('MID', ('MID', )), LineupPosition('MID', ('MID', )), LineupPosition('RK', ('RK', )), ]
class MoneyballAFLSettings(MoneyballSettings): sport = Sport.AFL positions = [ LineupPosition('FWD', ('FWD', )), LineupPosition('FWD', ('FWD', )), LineupPosition('DEF', ('DEF', )), LineupPosition('DEF', ('DEF', )), LineupPosition('MID', ('MID', )), LineupPosition('MID', ('MID', )), LineupPosition('MID', ('MID', )), LineupPosition('RU', ('RU', )), LineupPosition('FLEX', ('FWD', 'DEF', 'MID', 'RU')) ]
class DraftKingsBaseballSettings(DraftKingsSettings): sport = Sport.BASEBALL min_games = 2 max_from_one_team = None extra_rules = [DraftKingsBaseballRosterRule] positions = [ LineupPosition('P', ('SP', 'RP')), LineupPosition('P', ('SP', 'RP')), LineupPosition('C', ('C', )), LineupPosition('1B', ('1B', )), LineupPosition('2B', ('2B', )), LineupPosition('3B', ('3B', )), LineupPosition('SS', ('SS', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), LineupPosition('OF', ('OF', )), ]