Any way to get individual market P&L like in the "My Account" section?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • magicnail
    Junior Member
    • Oct 2013
    • 9

    #1

    Any way to get individual market P&L like in the "My Account" section?

    When I go into my account, https://myaccount.betfair.com/account/home?rlhm=0& then Betting Profit & Loss, select a time period, choose a market, then turn average odds off, I get the chance to download a spreadsheet with exactly the information I want to evaluate. The bet, the liability, the end net commission and when it was placed.

    Unfortunately this is fairly labourious and time consuming. Is there any way I can get that list using just the API?

    From what I've seen & tried so far, it looks not. I've got the 'getBetHistory' call working fine, but it seems an overkill process to get *all* types of *every* bet within a time period, whereas actually you just want your history of moneyline for one event.

    Anyone with an idea how to do this?
  • davecon
    Junior Member
    • Dec 2010
    • 86

    #2
    Originally posted by magicnail View Post
    When I go into my account, https://myaccount.betfair.com/account/home?rlhm=0& then Betting Profit & Loss, select a time period, choose a market, then turn average odds off, I get the chance to download a spreadsheet with exactly the information I want to evaluate. The bet, the liability, the end net commission and when it was placed.

    Unfortunately this is fairly labourious and time consuming. Is there any way I can get that list using just the API?

    From what I've seen & tried so far, it looks not. I've got the 'getBetHistory' call working fine, but it seems an overkill process to get *all* types of *every* bet within a time period, whereas actually you just want your history of moneyline for one event.

    Anyone with an idea how to do this?
    The easiest way to do this is just create your own downloads page using the required Spreadsheet Link then edit the link string within your own app (Right click on spreadsheet link you want and save the URl)They are not secure links and are same for everyones account
    All the site links use the same info as the API eg the marketID and SportID - All you need then is to put in your own dates
    You will have to log in with your default browser first if it is not Explorer and you using Net
    Horse Racing: Stick in a button or LinkLabel with VB
    ' Navigate to a URL.
    System.Diagnostics.Process.Start("http://uk.site.sports.betfair.com/reporting/bettingpandl/BettingPandLForSport.do?spreadsheet=true&sportId=7&startDateString=2013-10-21+23%3A00&endDateString=2013-10-29+07%3A36&timeperiod=7days")
    From Yesterday!
    System.Diagnostics.Process.Start("http://uk.site.sports.betfair.com/reporting/bettingpandl/BettingPandLForSport.do?spreadsheet=true&sportId=7 &startDateString=2013-10-28+00%3A00&endDateString=2013-10-29+08%3A04&timeperiod=yesterday")
    Soccer:
    http://uk.site.sports.betfair.com/re...eadsheet=true&sportId=1&startDateString=2013-10-21+23%3A00&endDateString=2013-10-29+08%3A41&timeperiod=7days
    Individual Market:
    http://uk.site.sports.betfair.com/re...eadsheet=true&marketId=111495818&startDateString=2013-10-21+23%3A00&endDateString=2013-10-29+08%3A41&timeperiod=7days

    Log into betfair with your default Browser now and try it---click below
    http://uk.site.sports.betfair.com/re...meperiod=7days
    Hope this Helps
    Dave

    Comment

    Working...
    X