When I load the markets early I get approx. 1000 initialised, with the others all waiting, but do the others then initialise automatically as the previous ones close ? I tried it before but some never seemed to initialise at all. I've restricted refresh turned on so not refreshing them all at the same time but have switched to polling in the interim. But that gives me a huge refresh slowdown on a Saturday pm running at 200ms
Streaming - 1000 market limit
Just checking what the behaviour is in Guardian if I load more than 1000 markets - typically a Saturday on footy.
When I load the markets early I get approx. 1000 initialised, with the others all waiting, but do the others then initialise automatically as the previous ones close ? I tried it before but some never seemed to initialise at all. I've restricted refresh turned on so not refreshing them all at the same time but have switched to polling in the interim. But that gives me a huge refresh slowdown on a Saturday pm running at 200ms
When I load the markets early I get approx. 1000 initialised, with the others all waiting, but do the others then initialise automatically as the previous ones close ? I tried it before but some never seemed to initialise at all. I've restricted refresh turned on so not refreshing them all at the same time but have switched to polling in the interim. But that gives me a huge refresh slowdown on a Saturday pm running at 200ms
Can't be sure without running a detailed test, but I know it attempts to resubscribe to the stream when new markets are added to Guardian's list.
So if you were to remove the closed markets from Guardian and then add one more, it should resubscribe to the first 1000 in the list without having to remove everything and start from scratch again.
So if you were to remove the closed markets from Guardian and then add one more, it should resubscribe to the first 1000 in the list without having to remove everything and start from scratch again.
- jamesedwards
- Posts: 5100
- Joined: Wed Nov 21, 2018 6:16 pm
You can have more than one guardian running at once. I have 6 on the go 24/7! Be aware that they will operate independently from each other so you need to make sure the rules don't clash. eg on football I load all of my match odds on one guardian, all my over/under 2.5 goals on another, all my half time on another, etc etc.
Thanks BA. PC will be mainly unattended so was hoping for a once a day morning refreshBet Angel wrote: ↑Thu Sep 02, 2021 3:25 pmCan't be sure without running a detailed test, but I know it attempts to resubscribe to the stream when new markets are added to Guardian's list.
So if you were to remove the closed markets from Guardian and then add one more, it should resubscribe to the first 1000 in the list without having to remove everything and start from scratch again.
Cheers James. I think that's the way to go. Different Coupons and shortcut keys to load and apply the baf's for each instancejamesedwards wrote: ↑Thu Sep 02, 2021 6:28 pmYou can have more than one guardian running at once. I have 6 on the go 24/7! Be aware that they will operate independently from each other so you need to make sure the rules don't clash. eg on football I load all of my match odds on one guardian, all my over/under 2.5 goals on another, all my half time on another, etc etc.
No issues with clashing rules, I have everything in the one baf file. I have data being pulled in externally for in-play stats so have no idea which matches I need early doors, have to do the lot
Actually, something just struck me. What happens if I initialise all the markets via polling and then switch to 20ms streaming, with restricted refresh on ?
The 1600 markets I have left in the Watch List are all still showing as initialised, and I'm only refreshing those in my set time limit....
The 1600 markets I have left in the Watch List are all still showing as initialised, and I'm only refreshing those in my set time limit....
As soon as you switch on streaming it'll subscribe to the first 1000 markets and ignore the rest ( the 1000 market limit is set by betfair ). So no unless you interact with the list in some way by removing and adding markets, the pre-initialisation isn't going to help; yes the markets will be initialised, but they won't be connected to the stream for further price updates.sniffer66 wrote: ↑Sat Sep 04, 2021 1:49 pmActually, something just struck me. What happens if I initialise all the markets via polling and then switch to 20ms streaming, with restricted refresh on ?
The 1600 markets I have left in the Watch List are all still showing as initialised, and I'm only refreshing those in my set time limit....
As suggested by james, multiple instances of Bet Angel sounds like the best solution
Bet Angel wrote: ↑Thu Sep 09, 2021 10:58 amAs soon as you switch on streaming it'll subscribe to the first 1000 markets and ignore the rest ( the 1000 market limit is set by betfair ). So no unless you interact with the list in some way by removing and adding markets, the pre-initialisation isn't going to help; yes the markets will be initialised, but they won't be connected to the stream for further price updates.sniffer66 wrote: ↑Sat Sep 04, 2021 1:49 pmActually, something just struck me. What happens if I initialise all the markets via polling and then switch to 20ms streaming, with restricted refresh on ?
The 1600 markets I have left in the Watch List are all still showing as initialised, and I'm only refreshing those in my set time limit....
As suggested by james, multiple instances of Bet Angel sounds like the best solution
Thanks BA. I should have posted an update as I discovered that for myself on Saturday lol
Multiple instances it is

