I've been using the betfair API for a while now and have just started running into usage limits. What I see is that I get BFUK.GetMarketPricesErrorEnum.API_ERROR and BFUK.GetMarketErrorEnum.API_ERROR errors when I make requests too frequently. So clearly I need to manage this. Two questions:
1. Is there a way to know when I can make a new request? My understanding is that I'm limited to ten per minute, so I could just wait six seconds each time. But in practice it seems that I can do them more frequently than this. I suppose I could try every half second until I'm successful. But it would be better if I could just get a notification of when I'm entitled to make a new one. Is this possible?
2. I see here that it's possible to request multiple markets in each data request. I wasn't aware that this was possible. I thought that the way it worked was that you declared a BFUK.GetMarketReq and specified the marketId for this and that counted as one request. Can anyone kindly clarify this?
Thanks
1. Is there a way to know when I can make a new request? My understanding is that I'm limited to ten per minute, so I could just wait six seconds each time. But in practice it seems that I can do them more frequently than this. I suppose I could try every half second until I'm successful. But it would be better if I could just get a notification of when I'm entitled to make a new one. Is this possible?
2. I see here that it's possible to request multiple markets in each data request. I wasn't aware that this was possible. I thought that the way it worked was that you declared a BFUK.GetMarketReq and specified the marketId for this and that counted as one request. Can anyone kindly clarify this?
Thanks


Comment