New beta version of Bet Angel v1.63.0 beta2

Post Reply
sniffer66
Posts: 1839
Joined: Thu May 02, 2019 8:37 am

This isn't specific to this beta but it's an ongoing issue I've had since the BA API was released.

I load a good few hundred markets the previous day, then my code removes the markets as they close or are not entered. The problem I have is that when I query the markets the next day all the removed markets are still cached somewhere and are returned in a getMarkets request. They then all error as not in Guardian. The only way I can delete the cache is to restart BA - which isn't ideal when I'm hands free.

I'd be happy to run a command to clear that cache if it's possible

Capture.JPG
You do not have the required permissions to view the files attached to this post.
User avatar
lavenham
Posts: 100
Joined: Thu Feb 28, 2013 10:24 am

Bet Angel wrote:
Tue Oct 21, 2025 1:58 pm
jamesedwards wrote:
Tue Oct 21, 2025 1:44 pm
Perhaps I should add this into suggestions, but given more and more useful market-level data is being made available, it would be great to have an area at the top of the one-click screen where market-level stored values can be displayed.
So like the Ladder's Additional Information area, but displayed under the one-click toolbar. That sounds useful - we'll have a think about that.
I agree this would be very useful and hopefully can be implemented as and when.
Bet Angel
Bet Angel
Bet Angel
Posts: 4068
Joined: Tue Apr 14, 2009 3:47 pm

sniffer66 wrote:
Fri Nov 28, 2025 8:20 am
This isn't specific to this beta but it's an ongoing issue I've had since the BA API was released.

I load a good few hundred markets the previous day, then my code removes the markets as they close or are not entered. The problem I have is that when I query the markets the next day all the removed markets are still cached somewhere and are returned in a getMarkets request. They then all error as not in Guardian. The only way I can delete the cache is to restart BA - which isn't ideal when I'm hands free.

I'd be happy to run a command to clear that cache if it's possible
We've had this reported before and yet never managed to recreate it. Are you using the market purely via the API? Do you load a market into the main trading screen using Guardian's 'auto-switch Bet Angel market' option or view a runner chart or anything like that? Something must be locking the market as still required by the internal data model, but not sure what. If we know you are only use Guardian via the API and not manually interacting with a market, then that should help us narrow in on it.

Also, try running the API command:

Code: Select all

http://localhost:9000/api/guardian/v1.0/removeMarkets
with the request:

Code: Select all

 {"marketsFilter":{"filter":"ALL"},"marketStatus":"CLOSED"}
to see if that makes any difference to the response given by getMarkets?
Post Reply

Return to “Bet Angel - Release & version history”