I am trying to automate an in play L2B strategy.
Currently using Set Stored Values to read my selections from a CSV.
In that CSV I have a percentage figure that I use to calculate my entry point. I would like to be able to store the BSP which I know is possible, but then be able to re-read the CSV to grab the % and calculate BSP * % = entry point. A lay is then placed at those odds and I can trade out for X ticks profit and apply a stop loss.
I can’t seem to figure out how to do it or at all if this is even possible without Guardian.
Any help or pointers would be much appreciated
Store BSP and calculate bet using % in CSV
You are probably best off just reading the values from the CSV once, storing this in a SV at selection level, and then performing the calculations from within Guardian in your rules file when BSP is known.
So you’d have a rule to calculate STORED__%_VALUE * BSP. Store this as another value and then use it to place your lay bet at ‘Stored Value Price’.
Otherwise you need to do calculations on the fly outside of Guardian.
There will be other methods but I do similar things to this and it works well!
So you’d have a rule to calculate STORED__%_VALUE * BSP. Store this as another value and then use it to place your lay bet at ‘Stored Value Price’.
Otherwise you need to do calculations on the fly outside of Guardian.
There will be other methods but I do similar things to this and it works well!
-
delboy1234
- Posts: 6
- Joined: Wed Jul 22, 2020 2:04 pm
Amazing thanks for the quick reply. I will have a play now and see if I can get it to work
-
delboy1234
- Posts: 6
- Joined: Wed Jul 22, 2020 2:04 pm
Sorry if it’s obvious be how exactly do I set a rule to calculate Stored Value % * BSP? I have tried all sorts but I just cannot seem to figure it out
