NBA Totals

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
stewboss
Posts: 22
Joined: Sat Apr 02, 2022 1:22 pm

Anyone know if you can automate these in BA?

I have strategies that involve combining totals and lines but the Guardian brings them all in when I select the markets. Only one is considered to be the "official" total / line (nearest to parity) so how can I automate based on that?
stewboss
Posts: 22
Joined: Sat Apr 02, 2022 1:22 pm

Anyone :)
User avatar
jamesedwards
Posts: 4355
Joined: Wed Nov 21, 2018 6:16 pm

Do you want to bring in just the "official" line, or bring them all in but trigger only on the "official"?
stewboss
Posts: 22
Joined: Sat Apr 02, 2022 1:22 pm

Just the official line and official total for the event. Trigger will be based on both values.
User avatar
jamesedwards
Posts: 4355
Joined: Wed Nov 21, 2018 6:16 pm

Difficult. Which one is the "official" line in your eyes and how is that one chosen?

Perhaps there is something you could do with price?

eg identify the band selection where the sum of variance of [back price to 2.0] + [lay price to 2.0] is the lowest?
stewboss
Posts: 22
Joined: Sat Apr 02, 2022 1:22 pm

This is the crux of the problem. Betfair don’t have this like a bookie would. The official total / handicap is the market where the prices are closest. For Pinnacle the standard is 1.952
User avatar
jamesedwards
Posts: 4355
Joined: Wed Nov 21, 2018 6:16 pm

jamesedwards wrote:
Tue Mar 18, 2025 7:00 pm
eg identify the band selection where the sum of variance of [back price to 2.0] + [lay price to 2.0] is the lowest?
So you could do this then?
User avatar
jamesedwards
Posts: 4355
Joined: Wed Nov 21, 2018 6:16 pm

I've had a little play. Try this to get you started. This will identify the points band closest to 2.0 and triggers a £1 back bet.
basketball v1.01.baf
You do not have the required permissions to view the files attached to this post.
stewboss
Posts: 22
Joined: Sat Apr 02, 2022 1:22 pm

I wouldn't have a clue how to do that so thanks for taking the time out to look at this for me :D

I'll have a play when I get a bit of spare time.
stewboss
Posts: 22
Joined: Sat Apr 02, 2022 1:22 pm

Not sure this bot is set up to do what I was meaning to do :)

For totals, I want to identify the TOTAL line that's nearest to 2.00 for the OVERS market.

For handicaps, select the line that's closest to 2.00 again.

Once these two markets are know, place a bet in the TOTALl OVERS market where :-

The total line >= 235 AND the handicap line is between -5 and +5

Thanks again.
stewboss
Posts: 22
Joined: Sat Apr 02, 2022 1:22 pm

Bumping this again as still struggling with it.

I think some form of loop will be required to cycle through the total points market recording them all and then somehow storing the points total from the market name where the price difference is minimal value. This should be the total points line the web interface shows on the market main screen.

Same thing would have to be done in the handicap market to ascertain that line and store it as a value.

In theory a bet could then be triggered in the total points market Overs if the previous two stored values pass certain criteria.

Is this possible and anyone know how to do it 👍
Post Reply

Return to “Bet Angel - Automation”