Guardian Market Cycling and Refreshing Interval Rates

Advanced automation available in Guardian - Chat with others and share files here.
Locked
User avatar
Dallas
Posts: 22671
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

To ensure you get the best possible results from your automation rules it important that you always have the most up to date market information ie, prices for them to react to.

Just like your main Bet angel trading screen guardian has its own independent refresh rate/interval but whereas you have just the one market at a time on your main screen to refresh guardian has all the markets you have loaded into it to look after and does this by cycling through each one, in turn, using the refresh/interval rate you set.

By default, your Guardian refresh interval is set to 1 second so Guardian will update each market you have loaded into it one by one at the rate of one per second. If you have 10 markets loaded in Guardian it will take 10 seconds to cycle through all of the markets. This, in turn, means you'll be retrieving the latest prices and triggering/applying automation commands related to these as well as plotting chart data etc for each market once every 10 seconds. If you were to change the refresh interval rate to 20ms then each of those 10 markets will be now get updated five times each second (10 Markets x 20ms Refresh rate = 200ms to refresh all markets currently in guardian).

The more markets you have in guardian the longer it will take to cycle through them, with 100 markets loaded and using the fastest refresh interval of 20ms it will now take 2 seconds to cycle through them all just once.

Below are two images showing Guardian with 10 markets loaded, the top has 1 sec refresh interval rate and the bottom has a 200ms interval rate - If you look at the times highlighted of the most recent updates you will see the difference between using interval rates.

*NB - To refresh at speeds of upto 20ms please ensure you have enabled streaming within your communication settings*
https://www.betangel.com/user-guide/sup ... rates.html
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22671
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

How does this effect your automation rules?

In this simple example of a automation bot lets assume where using the default 1 second refresh rate with just 10 markets in guardian.

Our rules only instruction is to "lay the Fav if its odds trade below 2.0" When guardian looks at this market and retrieves the latest prices the odds are 2.60 for the Fav - guardian checks this against your rule and see's the condition is not yet met so no bet is triggered and guardian continues on through each of the next 9 markets, during the 9 seconds it takes to cycle through these other markets we know from watching the odds movements on another screen that the price of that fav comes in and trades as low as 1.60 before drifting back out, eventually guardian cycles back round to this market and again retrieves the latest prices which now shows the fav odds are 2.80 - guardian checks the rule again and sees the conditions still not met so still does not trigger and again continues cycling through the other 9 markets, however we know the price has been well below our trigger point of 2.0 and could even of remained there for several seconds but at the time guardian was retrieving info for other markets so the opportunity for our rule to trigger was missed. Had the rule been triggered we would be in good profit now.

Had we only been refreshing this one market and refreshing at 20ms the rule would of triggered the lay bet the moment the odds traded below 2.0 because guardian would of picked up on this by constantly getting the latest price info every 20ms (50 times a second) instead of once every 10 seconds as was doing so above.

For most if not all in-play markets refreshing at 20ms is a must to ensure you have the most up to date price information for your automation rules to act upon and give them the best chance of triggering at the instant all your conditions are met, preferably with less than 50 markets being refreshed at any one time to ensure each is checked at least once per second.
The only time you should be using a slower refresh is on pre-event markets when odds movements are much slower and therefore fast refresh times are not needed, but even then you don't want to be cycling through more markets than necessary that way you ensure your rule is still checked as often as possible/needed.


Configuring Guardian for Automation Rules

To ensure the best possible chance of your automation triggering when it should it is important that you have guardian set up optimally, depending on what markets your rules are for and at what times they are set to run will depend how you could set up your guardian for the best possible results.

There is three main options within Guardian you need to focus on two of which are found on the "Markets" tab on the guardian page:

Refresh Interval: This lets you set the refresh rates for the markets loaded in Guardian (Just the same as a market on your main screen is refreshed) This rate also determines how quickly guardian cycles through each market and onto the next.

Automatically Switch Bet Angel Market: When ticked this will automatically open the market to your main Bet Angel window when the time you specify is reached, from then on it is refreshed based on your main Bet Angel screen refresh rates you have set (but this may not be viable if you are also trying to trade other markets on your main screen)

The third is found by clicking on the "Advanced Setting" tab on the guardian page:

Restrict Refresh: When ticked this instructs guardian to only refresh those markets as they near the event start time and are within the times you have specified - all other markets will be ignored until they reach this point and no information will be retrieved for them.
See Below Images
You do not have the required permissions to view the files attached to this post.
Locked

Return to “Bet Angel - Automation”