New beta version of Bet Angel v1.60.0 - Now on general release

Post Reply
User avatar
Dallas
Posts: 22795
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

jamesedwards wrote:
Mon Feb 20, 2023 8:16 pm
When icons overlap on the map how does the software decide which one to lay above the other?
Pre-off they are stacked with the shortest price on top, once in-running they are stacked by position
User avatar
jamesedwards
Posts: 2399
Joined: Wed Nov 21, 2018 6:16 pm

Dallas wrote:
Tue Feb 21, 2023 11:15 am
jamesedwards wrote:
Mon Feb 20, 2023 8:16 pm
When icons overlap on the map how does the software decide which one to lay above the other?
Pre-off they are stacked with the shortest price on top, once in-running they are stacked by position
Thanks
rich789
Posts: 6
Joined: Fri Feb 10, 2023 12:59 pm

The API is a great addition, thanks!

I've been looking at various ways to keep an eye on my balance and was thinking, as BA must know what it is (as it displays it in the GUI), then exposing an API endpoint to send a GET and return the BF balance would be amazing.

Keep up the great work!
User avatar
ilovepizza82
Posts: 503
Joined: Thu Nov 02, 2017 3:41 pm
Location: Sewers
Contact:

Hi,

Is there any ETA when a new release will be available ?
sniffer66
Posts: 1688
Joined: Thu May 02, 2019 8:37 am

rich789 wrote:
Wed Mar 08, 2023 9:40 am
The API is a great addition, thanks!

I've been looking at various ways to keep an eye on my balance and was thinking, as BA must know what it is (as it displays it in the GUI), then exposing an API endpoint to send a GET and return the BF balance would be amazing.

Keep up the great work!
Given you can save "The Balance" as a Stored Value, and you can retrieve SV's via the API already I should think that was currently possible. You would just need to include that in a rules file, probably best saved as a Bet Angel level SV
User avatar
MemphisFlash
Posts: 2202
Joined: Fri May 16, 2014 10:12 pm
Location: Leicester

Capture.PNG
Like this.
You do not have the required permissions to view the files attached to this post.
User avatar
ilovepizza82
Posts: 503
Joined: Thu Nov 02, 2017 3:41 pm
Location: Sewers
Contact:

Its been a while. When is the next release coming out ?
Bet Angel
Bet Angel
Bet Angel
Posts: 4001
Joined: Tue Apr 14, 2009 3:47 pm

ilovepizza82 wrote:
Mon May 01, 2023 1:48 pm
Its been a while. When is the next release coming out ?
We don't work to a fixed release date. Bet Angel is constantly being developed and unit tested; some years we focus entirely on the next release, other times we put effort into longer term projects that may not be apparent for a few versions. When we've got a suitable collection of upgrades we package them into a release and start alpha testing. We aren't at that stage yet, so I know there won't be a new release in the next month. Unless there's some emergency bug fix / betfair change of course.
Best guess would be a new version in Summer 2023.
sniffer66
Posts: 1688
Joined: Thu May 02, 2019 8:37 am

I'm having an issue trying to remove markets via the BA API.

In the attached shot I know I've created the ID string correctly for the list of markets, but market 1.215101151 seems to have had the last digit truncated in the response received, so it's errored and the market is still in Guardian. It's returned as "1.21510115 not in Guardian"

I'm getting this intermittently, where I have 5 markets loaded for an event and every now and then one market fails to remove, with the same issue

I know my code is correct as the top line is the actual string I'm sending

Could this be a bug in BA ?

Capture.JPG

Capture1.JPG
You do not have the required permissions to view the files attached to this post.
sniffer66
Posts: 1688
Joined: Thu May 02, 2019 8:37 am

Another example here, and again it's the 2nd Market ID entry in the string
Capture2.JPG
You do not have the required permissions to view the files attached to this post.
Bet Angel
Bet Angel
Bet Angel
Posts: 4001
Joined: Tue Apr 14, 2009 3:47 pm

Could you attach the full JSON string you are sending as the request?
It looks like you may be sending the market ids as a list of floating point values rather than a list of strings.

Try putting each market id in quotes. e.g. {"marketsFilter":{"filter":"SPECIFIED_IDS","ids":["1.215193895","1.215194122","1.215194078"]},"marketStatus":"ANY"}
sniffer66
Posts: 1688
Joined: Thu May 02, 2019 8:37 am

Post_to_BA("http://localhost:9000/api/guardian/v1.0/removeMarkets", '{"marketsFilter":{"filter":"SPECIFIED_IDS","ids":[' & $RemoveID & ']},"marketStatus":"ANY"}')

Where $RemoveID is my string, as csv's

I'll try it with each id separated by inverted commas and report back
sniffer66
Posts: 1688
Joined: Thu May 02, 2019 8:37 am

Bet Angel wrote:
Thu Jun 15, 2023 3:08 pm
Could you attach the full JSON string you are sending as the request?
It looks like you may be sending the market ids as a list of floating point values rather than a list of strings.

Try putting each market id in quotes. e.g. {"marketsFilter":{"filter":"SPECIFIED_IDS","ids":["1.215193895","1.215194122","1.215194078"]},"marketStatus":"ANY"}
That worked a treat, didn't realise I needed to enclose each ID separately - but I should have

Thanks BA :)
Bet Angel
Bet Angel
Bet Angel
Posts: 4001
Joined: Tue Apr 14, 2009 3:47 pm

Glad it worked.

Without the quotes it's parsed the ids as floating points which means any trailing zeros would be lost. Where possible we've tried to keep the data types consistent with betfair's own API.
sniffer66
Posts: 1688
Joined: Thu May 02, 2019 8:37 am

Bet Angel wrote:
Fri Jun 16, 2023 10:37 am
Glad it worked.

Without the quotes it's parsed the ids as floating points which means any trailing zeros would be lost. Where possible we've tried to keep the data types consistent with betfair's own API.
Good stuff. I've not worked with API's that much so still learning.

One thing I would like to confirm is whether The "EventTypeID" value returned is unique to each sport. I want to apply multiple rules per sport and that seems the ideal way to do it
Post Reply

Return to “Bet Angel - Release & version history”