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?
NBA Totals
- 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"?
- 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?
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?
- jamesedwards
- Posts: 4355
- Joined: Wed Nov 21, 2018 6:16 pm
So you could do this then?jamesedwards wrote: ↑Tue Mar 18, 2025 7:00 pmeg identify the band selection where the sum of variance of [back price to 2.0] + [lay price to 2.0] is the lowest?
- 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.
You do not have the required permissions to view the files attached to this post.
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.

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.
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
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