1. #141
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    the site for that sports (mlb.com, nba.com...

  2. #142
    aajreyno
    aajreyno's Avatar Become A Pro!
    Join Date: 01-08-10
    Posts: 46

    Incredible Stuff

    Thank you dearly for the information!

  3. #143
    Whitefin14
    Whitefin14's Avatar Become A Pro!
    Join Date: 12-07-10
    Posts: 15

    Great information. I look forward to following this post

  4. #144
    dbDan
    dbDan's Avatar Become A Pro!
    Join Date: 07-25-10
    Posts: 60

    A great thread.

  5. #145
    Pokerjoe
    Pokerjoe's Avatar Become A Pro!
    Join Date: 04-17-09
    Posts: 704
    Betpoints: 307

    Quote Originally Posted by Jeremy Nguyen View Post
    Hello to every One
    Do anybody remember what time ? the ball kick off from 2nd between Tenn adn Jacksonvill? Please!! Thank you
    One of the all time strangest first and only posts.

  6. #146
    Squared Box
    Squared Box's Avatar Become A Pro!
    Join Date: 04-19-07
    Posts: 91
    Betpoints: 3676

    Quote Originally Posted by uva3021 View Post
    that's because "sht" doesn't exist as a sheet. There is something wrong with your naming conventions

    I.E. this is how my range, "NFLTeams" is structured

    Arizona2009
    Atlanta2009
    ....
    NY+JETS2004
    ....
    SAN+DIEGO2000

    Every team from 2009 to 2000 is named in accordance to how they are formatted in the statfox link

    Copy the names from a team report page, replace all spaces with a "+", the run the code
    This works great. However, I'd like to be able to get it all on a single sheet instead of having each team/year on a separate one. How would I do this?

  7. #147
    sonnyhowitzer
    sonnyhowitzer's Avatar Become A Pro!
    Join Date: 01-16-11
    Posts: 135

    rob peter to pay paul

  8. #148
    kpoutlaw
    kpoutlaw's Avatar Become A Pro!
    Join Date: 09-24-10
    Posts: 53

    Please don't rail me, but I have absolutely no knowledge of computer programming, except when I took a class in middle school, and little in the way of math skills, but I am fiercely determined to become a skilled handicapper like many of the esteemed in this forum. I didn't even know you could create programs to "scrape" data off of the Internet and program it to run simulations or whatever...absolutely fascinating.. So, where do I begin? Do I just start learning Python as suggested by the OP and go from there? Is that what I need to learn to create programs that can determine the winning probabilitiies of a game and the positive edge I have on each bet? I know that there is much more than statistics and math when it comes to betting and handicapping a game, but I think this is a vital aspect too, and I want in! If anyone has any advice whatsoever besides telling me to go work at 7-11 and to give up gambling forever, it would be greatly appreciated.

    Thanks in advance.

  9. #149
    Nookx
    Nookx's Avatar Become A Pro!
    Join Date: 12-17-07
    Posts: 486
    Betpoints: 24

    "I know that there is much more than statistics and math when it comes to betting and handicapping" I disagree... Even things like trades, injuries, game time conditions, etc. can be mathematically represented.

  10. #150
    Lopaka
    Lopaka's Avatar Become A Pro!
    Join Date: 12-29-09
    Posts: 7

    I was trying to work through the example in the OP, but as I tried to download the mlb ex 1.csv file but the website it is hosted on seems to be down. Does anyone have another link to the file? or something equivalent so that I could learn on? Any help would be GREATLY appreciated.

  11. #151
    mrtomk
    mrtomk's Avatar Become A Pro!
    Join Date: 02-24-11
    Posts: 105
    Betpoints: 771

    I had the same issue as the post above. If anybody still has the original file would they be able to attach it to a post. Really hope to build on the basics I've learnt about Python so far.

    Thanks

  12. #152
    rectangl
    rectangl's Avatar Become A Pro!
    Join Date: 03-21-11
    Posts: 6

    Yeah I've gotten the same problem as the above two people; has anyone found a solution?

  13. #153
    ProphetofProfit
    ProphetofProfit's Avatar Become A Pro!
    Join Date: 03-24-11
    Posts: 26

    Does anyone know how to scrape data into Excel using only the html code from the required URLs? My first attempt used 'Data>Import from Web' which took 10 seconds to import, and I have to search through about 110,000 individual pages to find the 25,000 pages I need. I thought that by using the html code I could get the time down a little.

  14. #154
    Maverick22
    Maverick22's Avatar Become A Pro!
    Join Date: 04-10-10
    Posts: 807
    Betpoints: 58

    Quote Originally Posted by ProphetofProfit View Post
    Does anyone know how to scrape data into Excel using only the html code from the required URLs? My first attempt used 'Data>Import from Web' which took 10 seconds to import, and I have to search through about 110,000 individual pages to find the 25,000 pages I need. I thought that by using the html code I could get the time down a little.
    Sounds like you wanted something for nothing

  15. #155
    ProphetofProfit
    ProphetofProfit's Avatar Become A Pro!
    Join Date: 03-24-11
    Posts: 26

    Who doesn't? I never asked for any elaborate response, thought that maybe there was a 'only load html code' button somewhere in Excel. Anyway, turns out the data is inaccurate so ignore my previous post.

  16. #156
    Maverick22
    Maverick22's Avatar Become A Pro!
    Join Date: 04-10-10
    Posts: 807
    Betpoints: 58

    I dont want something for nothing. You cant trust it

  17. #157
    morganwags
    morganwags's Avatar Become A Pro!
    Join Date: 09-27-10
    Posts: 93

    good info

  18. #158
    Brossy10
    Brossy10's Avatar Become A Pro!
    Join Date: 08-12-10
    Posts: 24

    i would crush anyone in nba2k11........... boom

  19. #159
    mrtomk
    mrtomk's Avatar Become A Pro!
    Join Date: 02-24-11
    Posts: 105
    Betpoints: 771

    Very relevant...

  20. #160
    Tsiggy Fresh
    Tsiggy Fresh's Avatar Become A Pro!
    Join Date: 11-10-09
    Posts: 201
    Betpoints: 12

    Does any one have completed data and research exel sheets up

  21. #161
    morganwags
    morganwags's Avatar Become A Pro!
    Join Date: 09-27-10
    Posts: 93

    good info

  22. #162
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    Been slacking on my python progamming, but created an excel sheet that grab's mlb lines from Pinnacle everyday at 11 AM, and exports to a database

    Everything is automated and runs on a scheduler. I haven't touched it in about 10 days and its smooth sailin, save for a few superfluous database entries. When doing a query its irrelevant however.

    The problem arises when there are pitching changes and I'm not around. I guess I could export at intervals to different databases, therefore if there is a pitching change one database will always have the appropriate listed starters. By doing this I can also have the day's opener, mover, and closer for each line.

    PM me if you are interested

  23. #163
    demens
    Square -910
    demens's Avatar Become A Pro!
    Join Date: 10-22-10
    Posts: 2,785
    Betpoints: 1258

    Quote Originally Posted by uva3021 View Post
    Been slacking on my python progamming, but created an excel sheet that grab's mlb lines from Pinnacle everyday at 11 AM, and exports to a database

    Everything is automated and runs on a scheduler. I haven't touched it in about 10 days and its smooth sailin, save for a few superfluous database entries. When doing a query its irrelevant however.

    The problem arises when there are pitching changes and I'm not around. I guess I could export at intervals to different databases, therefore if there is a pitching change one database will always have the appropriate listed starters. By doing this I can also have the day's opener, mover, and closer for each line.

    PM me if you are interested
    You have anything like that you use for NBA? I recently created a spreadsheet that does some basic things by itself as well and creates lines for me. Iirc i might have even used a formula from your site if it is your site. Not even close to developing a database just yet, not sure how and dont feel like doing the research since using the online one works fine so far.

  24. #164
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    Quote Originally Posted by demens View Post
    You have anything like that you use for NBA? I recently created a spreadsheet that does some basic things by itself as well and creates lines for me. Iirc i might have even used a formula from your site if it is your site. Not even close to developing a database just yet, not sure how and dont feel like doing the research since using the online one works fine so far.
    AN NBA one would be no problem, would just have to change PInnacle XML parameters

    If the NBA data was an invasive data extraction from statfox then it probably was my site.

  25. #165
    demens
    Square -910
    demens's Avatar Become A Pro!
    Join Date: 10-22-10
    Posts: 2,785
    Betpoints: 1258

    Quote Originally Posted by uva3021 View Post
    AN NBA one would be no problem, would just have to change PInnacle XML parameters

    If the NBA data was an invasive data extraction from statfox then it probably was my site.
    This is the formula i meant (found it by searching old posts. i think you're the one that posted it but i'm not sure)
    http://sportsobjective.com/wordpress/?p=3554

    I would definitely make some use of that spreadsheet your talking about it if you're willing to share, not sure, i know some guys are pretty secretive about their stuff around here. I'm still in the novice phase. PM or here, your call.

  26. #166
    dirk93
    dirk93's Avatar Become A Pro!
    Join Date: 10-17-09
    Posts: 47
    Betpoints: 153

    uva, I also have an excel file that grabs pitching matchups and lines from pinnacle. However, ever since the site crashed whenever I refresh my data the only thing that shows up is "You need Javascript and enable cookies" or something like that. Any ideas?

  27. #167
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    Quote Originally Posted by dirk93 View Post
    uva, I also have an excel file that grabs pitching matchups and lines from pinnacle. However, ever since the site crashed whenever I refresh my data the only thing that shows up is "You need Javascript and enable cookies" or something like that. Any ideas?
    Do you extract through XML? XML is more robust than HTML procedures that are contingent on the format of the website and server issues.

  28. #168
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    Quote Originally Posted by demens View Post
    This is the formula i meant (found it by searching old posts. i think you're the one that posted it but i'm not sure)
    http://sportsobjective.com/wordpress/?p=3554

    I would definitely make some use of that spreadsheet your talking about it if you're willing to share, not sure, i know some guys are pretty secretive about their stuff around here. I'm still in the novice phase. PM or here, your call.
    That was one of my better efforts. As far as I know I'm the only person in history to develop a line given the NFL future win total, using the Inverse Pythagorean Formula.


  29. #169
    demens
    Square -910
    demens's Avatar Become A Pro!
    Join Date: 10-22-10
    Posts: 2,785
    Betpoints: 1258

    Quote Originally Posted by uva3021 View Post
    That was one of my better efforts. As far as I know I'm the only person in history to develop a line given the NFL future win total, using the Inverse Pythagorean Formula.

    I actually have an old spreadsheet (NBA PLayoffs) that i'm trying to compare to mine. I dont even remember where i found it but it looks like it might be some of your work too.

    The problem i have is that its using user defined functions. One is =LOG5FORM, i managed to find what it is on your site. I see you are using Linear EFF/Win% as the teams Win % in the formula. I have no idea what that is. Quick google search didn't produce anything useful but i will look into it more later. For now i saw that those win% are not much different from the Pyth win % so its not that important imo. I've been using the Gaussian ones in my case.

    The question i would like some help with is the 2nd function: =per2line

    ....ehh, whats the definition? i'm guessing it coverts % to the line?

    p.s.
    Also i was wondering (if that is your spreadsheet), how were the results?

  30. #170
    demens
    Square -910
    demens's Avatar Become A Pro!
    Join Date: 10-22-10
    Posts: 2,785
    Betpoints: 1258

    Quote Originally Posted by demens View Post
    I see you are using Linear EFF/Win% as the teams Win % in the formula. I have no idea what that is.
    Ohh, i see there is a little drop down window that lets you choose which % to use, thats cool.

  31. #171
    uva3021
    uva3021's Avatar Become A Pro!
    Join Date: 03-01-07
    Posts: 537
    Betpoints: 381

    yeah that was last year's playoff sheet, i haev to make a new one sigh, playoffs about to start

    linear EFF% was the best fit winning percentage for the team compared to the entire league given their efficiency numbers, same with Linear Line %, just using line rather than league (imagine plotting the points on a graph and drawing a line of best fit, then adjust winning percentage to that line)

    you can really see some value comparing home/away numbers, which is what the sheet last year did by default

    last year it did great, hit a nice 4.5/1 future on boston, and with flat betting finished 20+*

    good thing too because i was mediocre to bad in all other sports

  32. #172
    dirk93
    dirk93's Avatar Become A Pro!
    Join Date: 10-17-09
    Posts: 47
    Betpoints: 153

    Quote Originally Posted by uva3021 View Post
    Do you extract through XML? XML is more robust than HTML procedures that are contingent on the format of the website and server issues.
    I am on a Mac and Excel for Mac doesn't support XML I'm pretty sure. I use HTML right now. Even if Excel did allow XML, I don't know how to go about using it.

  33. #173
    demens
    Square -910
    demens's Avatar Become A Pro!
    Join Date: 10-22-10
    Posts: 2,785
    Betpoints: 1258

    Quote Originally Posted by uva3021 View Post
    yeah that was last year's playoff sheet, i haev to make a new one sigh, playoffs about to start

    linear EFF% was the best fit winning percentage for the team compared to the entire league given their efficiency numbers, same with Linear Line %, just using line rather than league (imagine plotting the points on a graph and drawing a line of best fit, then adjust winning percentage to that line)

    you can really see some value comparing home/away numbers, which is what the sheet last year did by default

    last year it did great, hit a nice 4.5/1 future on boston, and with flat betting finished 20+*

    good thing too because i was mediocre to bad in all other sports
    Can you tell me what =per2line is?

  34. #174
    hoyas2007
    hoyas2007's Avatar Become A Pro!
    Join Date: 03-24-10
    Posts: 106

    UVA,
    I am trying to follow your instructions on page 3 of this thread to import NFL data from statfox. I created a list of the 32 teams, highlighted the list, and defined it as "NFLteams." I then ran the macro, but all that happened is that Excel created a bunch of new, blank worksheets, each titled with the team name and the year. How do I get it to actually import the data for each team from each year into the corresponding worksheet? Is there another step that I am missing?

    Thanks a lot for the instructions so far - it's really helpful.

  35. #175
    hoyas2007
    hoyas2007's Avatar Become A Pro!
    Join Date: 03-24-10
    Posts: 106

    When I go line by line through the code, the error comes up when it gets to the url query piece. The error box says "Runtime error 9: subscript out of range." Any ideas what this might refer to?

    Thanks

First ... 2345678 ... Last
Top