forked from brendanahart/MLBDailyProjections
-
Notifications
You must be signed in to change notification settings - Fork 1
/
constants.py
37 lines (31 loc) · 2.5 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
yearP = 2017
monthP = 7
dayP = 30
databaseUser = 'root'
databaseHost = '127.0.0.1'
databaseName = 'baseball'
databasePassword = ''
gdStartYear = 2017
gdStartMonth = 7
gdStartDay = 29
numdaysGradientDescent = 12
bdsStartYear = 2017
bdsStartMonth = 7
bdsStartDay = 30
bdsNumDays = 6
BatterStatsSeason = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=bat&lg=all&qual=0&type=1&season=2017&month=33&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
BatterAdvSplitsL = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=bat&lg=all&qual=0&type=1&season=2017&month=13&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
BatterAdvSplitsR = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=bat&lg=all&qual=0&type=1&season=2017&month=14&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
PitcherBasicSplitsL = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=pit&lg=all&qual=0&type=0&season=2017&month=13&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
PitcherBasicSplitsR = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=pit&lg=all&qual=0&type=0&season=2017&month=14&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
PitcherAdvSplitsL = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=pit&lg=all&qual=0&type=1&season=2017&month=13&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
PitcherAdvSplitsR = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=pit&lg=all&qual=0&type=1&season=2017&month=14&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
Fielding = 'http://www.fangraphs.com/leaders.aspx?pos=p&stats=fld&lg=all&qual=0&type=0&season=2017&month=0&season1=2017&ind=0&team=0&rost=0&age=0&filter=&players=0&page=1_1500'
TeamStats = 'http://www.fangraphs.com/leaders.aspx?pos=all&stats=bat&lg=all&qual=0&type=8&season=2017&month=3&season1=2017&ind=0&team=0,ts&rost=0&age=0&filter=&players=0'
BovadaOdds = 'http://sportsfeeds.bovada.lv/basic/MLB.xml'
Lineups = 'http://www.baseballpress.com/lineups'
RotogrindersPitcher = 'https://rotogrinders.com/projected-stats/mlb-pitcher?site=draftkings'
RotogrindersBatter = 'https://rotogrinders.com/projected-stats/mlb-hitter?site=draftkings'
SaberSimPitcherProjections = 'http://www.fangraphs.com/dailyprojections.aspx?pos=all&stats=pit&type=sabersim&team=0&lg=all&players=0'
RotowireDKMLB = 'http://www.rotowire.com/daily/mlb/optimizer.php?site=DraftKings&sport=MLB'
ParkFactors = 'http://www.baseballprospectus.com/sortable/index.php?cid=1819123'