Author Topic: Get Bet data by ID  (Read 3037 times)

Tags:
  • All members
  • Posts: 22
Get Bet data by ID
« on: 22 Jun 2022, 06:04 »
Hi there.

I see there is a way to get the a ID, I wonder how I could use that to retrieve price, amount and time of a bet indexing it by its ID. Is it achievable? I think it should :)

Thank you in advance.

  • Tim Vetrov
  • Administrator
  • Posts: 4905
  • Gender: Male
*
Re: Get Bet data by ID
« Reply #1 on: 22 Jun 2022, 08:37 »
Hello,

Unfortunately there is no such subject as "bet" in the triggers. Mainly because BetFair could split your bet to parts when it's matched.
So one bet sent to BetFair could become 1+ matched/unmatched bets with different price/amount/time/etc.
There is a "Source" column in "Current bets" table showing the bet initiator but this information is not accessible from triggers.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 22
Re: Get Bet data by ID
« Reply #2 on: 22 Jun 2022, 11:24 »
Thank you Tim! Have a great day.

 

Please note, BetFair is seems to be currently OFFLINE