×
Full Guide
Quick Links

Stored Values

 
Storing a value is just like setting a ‘Signal’, to start with you need to give your Stored Value a name, then select if the Stored Value is going to be on the Selection, Market, or Event, you can also specify if the stored value is to be shared, this will allow other automation files and servants to reference and use it as well as display it within a custom column on your one-click screen.
 
If you chose to store a value for the 'Event' the shared box will automatically be selected, this powerful option allows you to connect not just rules together but also full strategies including cross-market strategies making this feature especially useful in soccer markets. 
 
Stored Values differ from signals in that you don't have to enter a value manually or just have them automatically incremented/decremented upon each trigger, instead they are used to store prices, volume, entered values etc. From a programming point of view they can be thought of as variables local to a running instance of an Automation rules file (or Servant) were as Signals would be considered as flags.
 

Stored Values Throughout Bet Angel

Stored Values when ticked as 'Shared' can also be referenced throughout other areas of Bet Angel.
This includes :-
 

Storing a Value

When you arrive at the Stored Values tab the first option is to choose an 'Action' to occur when the rule triggers.
 
 
Store Value - Will Store a new value
Clear a Stored Value - Allows you to clear an existing Stored Value by name, if you wish to clear ALL stored values (that are not shared) then you can run the 'Clear all Stored Values' rule type
Store a Value in a History List - Allows you to store values into a History List to keep track of values changing over time (there are 10 unique History Lists available)
Clear the Current Value in the History List - Allows you to clear the value held in a History List
 
Next you need to give the unique name of the value your about to store or clear then specify if your going to store the value for a selection, market or event, if you also wish to make it available for other automation files and servants to use then tick the 'Shared' box
 
Then select from the drop list of options the type of value you want to store
 
 
 
Most of the values that can be stored are self explanatory but for clarification each is detailed below
 
A / Another Stored Value - Will allow you to select an existing stored value 
An Entered Amount - Allows you to enter your own amount to be stored (similar to setting a signal)
The Back Price of a Selection - Will store the current back price of the selection chosen
The Lay Price of a Selection - Will store the current lay price of the selection chosen
The Last Traded Price of a Selection - Will store the last traded price of the selection chosen
The VWAP of a Selection - Will store the VWAP (Volume Weighted Average Price) of the selection chosen
The Actual SP of a Selection - Will store the actual BSP of a selection (this must be used after the market is In-Play and SP is known)
The Projected SP of a Selection - Will store the projected BSP of a selection
The Highest Traded Price of a Selection - Will store the highest price a selection has traded at since the market opened
The Lowest Traded Price of a Selection - Will store the lowest price a selection has traded at since the market opened
The Servant Context Price - Stores the value of the price your cursor is hovering over or selected  when a servant is started
The Back Book% of a Selection - Will store the current back book% of a selection, otherwise know as its implied percentage IP%
The Lay Book% of a Selection - Will store the current lay book% of a selection, otherwise know as its implied percentage IP%
The Last Traded Price Book% of a Selection - Will store the (LTP) Last Traded Price book% of a selection, otherwise know as its implied percentage IP%
The VWAP Book% of a Selection - Will store the current VWAP% (Volume Weighted Average Price %) of a selection
The Back Book% of the Market - Will store the current back book%
The Lay Book% of the Market - Will store the current lay book%
The Volume of a Selection - Will store the current volume of a selection
The Volume% of a Selection - Will store the current percentage of traded volume a selection holds
The Volume of the Market - Will Store the current market volume
Matched Bet Information of a Selection - Can Store the Price of a Matched Bet, Amount Matched or Bet Reference of the most recent bet, most recent back bet or most recent lay bet on a selection
Matched Bet Information of the Market - Can Store the Price of a Matched Bet, Amount Matched or Bet Reference of the most recent bet, most recent back bet or most recent lay bet in the market
The Money Available to Back at a Price for a Selection** - Will store the amount of money currently on offer on the selection at the specified price (waiting to be backed)
The Money Available to Lay at a Price for a Selection** - Will store the amount of money currently on offer on the selection at the specified price (waiting to be laid)
The Volume Traded at a Price for a Selection** - Will store the amount of money traded at your specified price for the selection
The Net Stake of a Selection - Will store your current net stake of that selection
A Selections Close Trade Profit at a Price - Will store a selections close trade profit at the chosen price
A Selections Close Trade Profit with Greening at a Price- Will store a selections close trade profit with greening at the chosen price
The Markets Green All Profit (current Market Price) - Will store the green all profit value at the current market price/s
The Markets Green All Profit (reverse Market Price) - Will store the green all profit value at the reverse market price/s
Profit & Loss of a Selection - Will store the profit or loss amount of a selection (this is the win/lose amount displayed next to a selections name above each ladder or directly below the names on the one-click screen).
The Balance - Will store your Betfair balance
The Servant Context Back Stake - Will store the current servant context back stake you have chosen for that selection
The Servant Context Lay Stake - Will store the current servant context lay stake you have chosen for that selection (when using a servant on the one-click screen)
The Number of Selections in the Market - Will store the number of selections in the market the rule triggers on
 
**When either of these three options are used a pick list will appear for you to select which price is used to look up the 'Money Available' or the 'Volume Traded'
 
 
It is possible to store as many values as you want each time a rule triggers, you could therefore store the values of the back, lay, LTP and volume% of a selection etc all at the same time. Or you may want to store the money waiting at the best, 2nd best and 3rd best back prices.
When storing multiple values with the same rule they are processed in order, you can use the up/down icons located next to the left pane to modify there order if you need to ensure one value is tested before another.
 
Adjustment
For added flexibility when using stored values you can use this option adjust the end value before it is stored, the options you have are to
plus, minus, multiply by and divide by.
 
Rounding
This gives you the option to round a value up, down or to the nearest whole number or valid price before being stored or to two decimal places.
 
In the image below I have already stored a value named '5minvol' for the favourite which I triggered 5 mins before the start to store its traded volume at that time, now I am storing its traded volume again with a new name 'nowvol' but before it stores the value its first going to deduct the original stored value (the volume at 5mins) then round up to the nearest number, effectively this latest stored value will show how much traded volume the favourite has increased by in the time between each value being stored.
 
 
NB; Remember Stored Values (Shared) can be used as a condition of another rule including from those in a separate automation file or servant, be displayed in a custom column on your one-click screen or on your ladder screen as additional information and/or marker, plot advanced charts from, and be exported for later analysis.
 
Note. At the bottom of the tab you will see "Note value assignments in the market log", this is included for the purpose of debugging your Automation rules. Once your rule is functioning as intended, we recommend unticking this option and not logging the value changes.
 
See this section of our forum for some detailed examples of way Stored Values can be used