Announcement

Collapse
No announcement yet.

Betfair API Tennis (Basic code)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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

    Betfair BOT SDK

    Comment


    • #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


      • #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.
        Betfair BOT SDK

        Comment

        Working...
        X