Market Version when placing a bet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OtherWorld
    Junior Member
    • Aug 2024
    • 2

    #1

    Market Version when placing a bet

    Hi,

    When I prepare a bet, I first get the current prices using the ListMarketBook method. The response includes a version parameter for the market that will get incremented if the market conditions change.

    Is it possible to include this parameter when placing a bet, so that the bet will get rejected if the market version has changed before the bet is placed?

    Thanks
  • Sansa
    Member
    • Jan 2019
    • 35

    #2
    I believe so, see:

    https://betfair-developer-docs.atlas...96/placeOrders

    Comment

    • OtherWorld
      Junior Member
      • Aug 2024
      • 2

      #3
      Argh, OK, so I need to look at the entire object instead of just part of it. For some reason I was certain that this had to go on the placeInstructions.

      Thank you, I will make this work :-)

      Comment

      Working...
      X