×
Full Guide
Quick Links

Rule Types

 
Set the Rule Type to tell the automation rule what to do when the trigger time limits and rule conditions are satisfied.
As you can see from the screenshot below, you can use automation rules to place bets, close trades, green up the market, manage unmatched bets etc.
 
 
Explanation of each Rule type:
 
Place Back Bet - Place a back bet on the chosen selection (price & staking as specified on the Parameters page).  For an example see Creating an automation rule
 
Place Lay Bet - Place a lay bet on the chosen selection (price & staking as specified on the Parameters page).
 
Back All Selections - Place a back bet on every selection in the market (price & staking as specified on the Parameters page).
 
Lay All Selections - Place a lay bet on every selection in the market (price & staking as specified on the Parameters page).
 
Place Back SP Bet - Place a back bet into the market to be matched at SP (limits for your SP bet can be specified on the Parameters page)**
 
Place Lay SP Bet - Place a lay bet into the market to be matched at SP (limits for your SP bet can be specified on the Parameters page)**
 
Close Trade On Selection - Uses the net position on the chosen selection to calculate the stake required to close the trade. When using this rule the Parameters tab will allow you specify where the close trade bet is to be placed at.
 
Close Trade On Selection With Greening - Uses the net position on the chosen selection to calculate the stake required to close the trade (and spread the profit/loss across all other selections). When using this rule the Parameters tab will allow you specify where the close trade bet is to be placed at.
 
Cancel All Unmatched Bets On Selection (Price Dependant) - This lets you cancel specific unmatched bets on a selection, for example cancel only on unmatched bets equal to, greater than or less than the odds specified, this option can also be used to can cancel just a selections unmatched back or lay bets. When this rule is used additional fields will become available on the  'Parameters' tab.
 
Cancel All Unmatched Bets On All Other Selections (Price Dependant) - Cancel bets on all the other selections in the market other than the one that the rule is applying to.
NB, on the parameters page, best price, best reverse price etc relates to the chosen selection of the rule and not the 'other' selection being cancelled. It is assumed the rule will mostly be used with a fixed price. e.g. 'cancel all other unmatched Back bets >= 1.01
 
Cancel All Unmatched Bets On Selection - Cancels all the unmatched bets in the market on the chosen selection.
 
Cancel All Unmatched Bets In Market - Cancels all the unmatched bets in the market (ALL selections).
 
Green All Selections - Uses the net positions on all of the selections in the market to calculate the stakes required to close the trades (and spread the profits/losses across all other selections) and places those bets at the current best market price.  If all bets are matched, this will create a green book with the same payout on every selection. This is the equivalent of pressing the Trade Profit button for any selection on the one-click screen (with Green ticked), or pressing the Green All selections button in the toolbar of the Ladder.
 
*When using this rule you will have the option on the 'Parameters' tab to use the 'Current Market Price' OR the 'Current Reverse Market Price' For more details see this section of the user guide on 'Reverse Greening'.
 
Keep All Unmatched Bets On Selection (Price Dependant) - This lets you keep specific unmatched bets on a selection, for example keep only on unmatched bets equal to, greater than or less than the odds specified, or keep just a selections unmatched back or lay bets. When this rule is used additional fields will become available on the  'Parameters' tab.
 
Keep All Unmatched Bets - Marks all unmatched bets in the market as KEEP. i.e. All unmatched bets to be kept in the market during the transition from pre-off to in-play. See Unmatched bets area for more details about Keep All.
 
Take SP All Unmatched Bets On Selection (Price Dependant) - This lets you Take SP specific unmatched bets on a selection, for example take SP only on unmatched bets equal to, greater than or less than the odds specified, or take SP on just a selections unmatched back or lay bets. When this rule is used additional fields will become available on the  'Parameters' tab
 
Take SP All Unmatched Bets- Marks all unmatched bets in the market as TAKE SP. i.e. All unmatched bets to be matched at the Betfair Starting Price (when available) when the market turns in-play. See Unmatched bets area for more details about Take SP.
 
Export Profit And Loss Report - Saves a snapshot of the market profit and loss values at the time of the trigger. The values are appended to a date-stamped CSV format file (that can be read by Excel), so that one file per day is produced. The folder containing the data files can be found by clicking the 'Explore profit reports folder' button at the top of Bet Angel Guardian in the 'Automation' tab.
 
Alert (Play Sound Alert / Show Message) - Plays a chosen sound file or display a pop up message, to alert you to a particular event occurring. Used in conjunction with the Conditions page, these alerts can be very useful and flexible.
Once selected you can choose your sound file or add the message you want to appear on the 'Parameters' tab
 
Fix the Order of the Market Selections - Normally every time the market prices are updated, Bet Angel sorts them in order of favouritism ready for use with the 'by position' option of choosing a selection. This rule type stops the sort, so that the order of position by favouritism and Betfair row index is fixed from the point the rule is triggered onwards. This is very useful if you want to guarantee multiple rules (triggered seconds or minutes apart) are applied to the same runner or row index even if a horse is withdrawn or the order of favouritism changes thereafter. 
e.g. Lay whichever horse is the favourite ten minutes before a race starts and then keep laying the same horse every thirty seconds up to post time (even if its prices drifts and it becomes 2nd, 3rd or even 4th fav).
 
Unfix the Order of the Market Selections - This allows you to cancel a 'Fix the Order of the Market Selections' rule so Bet Angel can once again sort selections in order of favouritism. Following on from the example above you might want to 'unfix the order' at post time to be able to run a different strategy in-running which involves triggering bets on the current favourite (shortest priced runner) at the time the rule triggers.
 
Update Custom Rankings of Selections - This allows you to put selections in up to five custom rankings lists using a selection's price/value to determine its rank in the list. You can use the back price, lay price, last traded price, starting price, volume, a stored value or an historical stored value as the ranking criteria. When this rule is used additional fields will be available on the 'Parameters' tab to enter your criteria.
 
Display a Market on a Trading Screen - This allows you to display a market on your main trading screen or open a new or specific numbered ladder / one-click screen, the rule can switch the market its applied to or look up another market type from the same event in Guardian.
When this rule is used additional fields will be available on the 'Parameters' tab to enter your criteria
 
Connect Race to Total Performance Data - This will connect you to the live Total Performance Data (TPD) race data feed (You will need an active TPD subscription to use this rule)
 
Checkpoint Matched Bets - This is an advanced feature. It effectively resets the matched bets count and amounts used by the automation conditions. This is particularly useful for tennis markets where the same scenario can repeat many times.
e.g If a rule has been triggered and has left the market with 2 matched bets and £100 matched on both the back & lay side, applying this 'Checkpoint' will make the rule conditions think that there are 0 matched bets and £0 matched. Effectively allowing the same rule to run again with the same trigger criteria.
Checkpointing will not damage the Green All Selections calculations, so a clean exit of all positions is possible when required.
 
Checkpoint VWAP - This will reset the VWAP at the time the rule triggers, removing any traded volume from each selection in the market. Only new traded volume from that point onwards will be used to calculate the VWAP.
NB, After resetting the VWAP it will be 0.0 immediately afterwards until the first bit of volume arrives, so it's worth waiting a few seconds before using VWAP in an Automation condition.
 
Set / Modify Signal Only - This would be used when you want to set or modify a signal based on its own rule trigger times and Automation conditions; when you don't want the signal change to occur due to the triggering of another rule (such as bet placement).  The action of the Signal is set from the Signal Tab
ie, you may want to set a signal when the odds of a selection are reached but without yet placing any bets into the market or performing any other action.
 
Clear All Signals for Market & Selections - This allows you to quickly clear all signals currently set regardless of their name and value for the whole market.
*if you have set multiple signals with different names and values and wish to clear only signals with a certain name or value from either a selection or the market then you can use "Set / Modify a Signal Only" to perform this type of task.
 
Stop this Servant - This is for use on Servants only and when used will allow the Servant to stop itself. i.e. You could use Automation conditions to decide when the Servant should stop running rather than just have it based on time & trigger counts.
 
Stop All Other Servants - This will allow you stop all Servants you currently have running on a market, once this rule type is selected the parameters tab will let you specify if its to stop all Servants on a selection or market.
Any guardian automation rules running on the market will be unaffected if this rule is triggered as will the Servant that triggers it, this makes it a useful rule particularly when part of a closing or greening up Servant to ensure other servants are not able to continue afterwards. 
 
Set / Modify a Stop Stored Value Only - This can be used when you want to set or modify a Stored Value based on its own rule trigger times and Automation conditions; when you don't want the Stored Value change to occur due to the triggering of another rule (such as bet placement).  The action of Storing a Value is set from the Stored Value Tab
ie, you may want to set a signal when the odds of a selection are reached but without yet placing any bets into the market or performing any other action.
 
Clear all Stored Values (Shared) - This allows you to quickly clear all stored values (except those that are shared) regardless of their name and value.
If you have set multiple stored values with different names and wish to clear only ones with a certain name or a 'shared' stored value from either a selection or the market then you can use "Set / Modify a Stored Value Only" rule to perform this type of task.
 
Export All Stored Values - This aids the debugging of rules using stored values.  It will export the current state of your Stored Values to a csv file and will allow you to see if values changed at the expected point in time. Depending on the options selected the most recent value held in each History List can also be exported, but it should be noted that it is not possible to export the entire contents of a History List. See this 'Parameters' page for export options.
 
Set Stored Value using a File - This allows the market to process a CSV file* and set one or more stored values (or shared stored values) on a selection, the Market or the Event. The stored value's name & value will be specified in the file itself along with four filter criteria that determine whether that row of the CSV is applicable to the market processing the file. The filter criteria can be one or more of the following: market name, time, selection name, selection row.
When using this rule the Parameters tab will allow you to browse for the CSV file and also check the file for errors before it is applied to a live market.
*an example CSV file can be found in the templates folder which highlights how to use the filter criteria
 
** SP bets are considered by betfair to be matched as soon as they are placed and cannot be cancelled, so you should be familiar with their behaviour on the web site before using them.