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
New beta version of Bet Angel v1.63.0 beta2
I agree this would be very useful and hopefully can be implemented as and when.Bet Angel wrote: ↑Tue Oct 21, 2025 1:58 pmSo like the Ladder's Additional Information area, but displayed under the one-click toolbar. That sounds useful - we'll have a think about that.jamesedwards wrote: ↑Tue Oct 21, 2025 1:44 pmPerhaps 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.
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.sniffer66 wrote: ↑Fri Nov 28, 2025 8:20 amThis 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
Also, try running the API command:
Code: Select all
http://localhost:9000/api/guardian/v1.0/removeMarketsCode: Select all
{"marketsFilter":{"filter":"ALL"},"marketStatus":"CLOSED"}
