Betfair API Tennis (Basic code)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SportsBetter
    Junior Member
    • Oct 2017
    • 6

    #1

    Betfair API Tennis (Basic code)

    Morning, (perhaps a simple question )but could anyone share the Python API code (or documentation) when tennis player A has lost first set but has more breakpoints opportunities than Player B?
  • bfexplorer
    Senior Member
    • Sep 2018
    • 212

    #2
    From my unit test code:

    async {
    let! result = TennisWebApi.GetMatchStatistics market.MarketInfo.BetEvent.Id

    Assert.IsTrue (result.IsSuccessResult, result.FailureMessage)

    printf "%A" result
    }
    |> Async.RunSynchronously

    Comment

    • SportsBetter
      Junior Member
      • Oct 2017
      • 6

      #3
      Thanks. What would be the command to place an order on player A?

      Originally posted by bfexplorer View Post
      From my unit test code:

      async {
      let! result = TennisWebApi.GetMatchStatistics market.MarketInfo.BetEvent.Id

      Assert.IsTrue (result.IsSuccessResult, result.FailureMessage)

      printf "%A" result
      }
      |> Async.RunSynchronously

      Comment

      • bfexplorer
        Senior Member
        • Sep 2018
        • 212

        #4
        Basically you set criteria for bet placing, please read:

        http://bfexplorer.net/Articles/ByTag?tag=Tennis

        All above is approach without coding.

        If you want to code your strategy, then here is example for tennis strategy using ATP players data:

        https://gist.github.com/StefanBelo/8...02c369e20ba918
        Last edited by bfexplorer; 20-09-2022, 10:09 AM.

        Comment

        Working...
        X