Hi
Always remember your free data request limit to betfair is 20 requests per second.
Have a look at the data monitor. What is your request limit set to? When all the markets are refreshing what is the average RPS showing?
I know your market refresh rate is 2 secs, I will assume you update list of bets at 3 secs
1 market prices refresh (per market) = 1 request
1 update bets refresh = 5 requests
So mathematically, at market refresh of 2 sec, 30 markets brings you to the limit. Now what the data monitor does is to queue the requests to keep within the limit you have set. You can see you will soon have a blockage.
Some ideas:
- Do you really need to have all those markets loaded and refreshing?
- You are correct – slowing market refresh will allow more markets to be refreshed, but I don’t think all.
- Try using trigger action: set market’s idle refresh / set market’s in-play refresh to adjust refresh rates based on time before start, profit target met, greened up, inactive market etc.