Hi there
I am new to this automation lark and would like pointers on how I can implement this strategy:
Pre Race: Place a back bet on the Fav at 1000 with a fixed stake (at 1000 so it doesnt trigger before the race) and then select "take SP".
In Play: Place a hedge bet with greening at 1.01
Also place a stop loss at a pre determined price, to get this price I need to use Excel to find out how many horses are under say 10.0 then place the stop at this price, for example:
The fav goes off at a BSP price of 2.50 and there are 5 horses that are under a BSP price of 10.0 then I would like to place the stop at 5.0.
Has anyone got an idea where I can setup these rules either in Guardian or on a spreadsheet, and which rules do I need to make, or which Excel commands do I need in order to implement this strategy?
Thanks in advance
Bet Angel - Backing Pre off or at BSP then hedge/green/red up in play
You cant combine excel and advanced automation, it needs to be one or the other
There is a file you can download from the shared files section that will back at BSP
viewtopic.php?f=53&t=11668
not sure why you want to green up at 1.01?
For your stop loss you are better off using a 'close trade with greening rule', it can at least be set to trigger multiple times.
If you use this you would arm it for ANY selection, I'd suggest having it trigger 3 times with a 3 sec rearm with the following three conditions on each
Number of place bet triggers condition is equal to 1
Number of selections condition is equal to 4
Fixed odds condition selections back price is greater than 4
You'll need several of these rules so the next have the following condition
Number of place bet triggers condition is equal to 1
Number of selections condition is equal to 5
Fixed odds condition selections back price is greater than 5
up until you have a close trade rule for each number of runners you will be running the rule on
That should do it
There is a file you can download from the shared files section that will back at BSP
viewtopic.php?f=53&t=11668
not sure why you want to green up at 1.01?
For your stop loss you are better off using a 'close trade with greening rule', it can at least be set to trigger multiple times.
If you use this you would arm it for ANY selection, I'd suggest having it trigger 3 times with a 3 sec rearm with the following three conditions on each
Number of place bet triggers condition is equal to 1
Number of selections condition is equal to 4
Fixed odds condition selections back price is greater than 4
You'll need several of these rules so the next have the following condition
Number of place bet triggers condition is equal to 1
Number of selections condition is equal to 5
Fixed odds condition selections back price is greater than 5
up until you have a close trade rule for each number of runners you will be running the rule on
That should do it
Thanks Dallas
I will give this a go. I'm not completely understanding the logic of this but I will give it a go.
I would like to hedge at 1.01 as horses do lose at 1.01 and that will effect my over all profit. I may decide to just put in the net stake at 1.01 to increase the profits instead of hedging, i will have to run it through my profit and loss spreadsheet.
one question: How does Betangel know how many horses Starting price are under 10.0? and how does it know to place the stop loss at the price/number of horses that are under 10.0?
tbh is quite a complex task your wanting and might be tricky for you to build if your new to automation, even thinking through and mapping out the logic can become tricky
I will give this a go. I'm not completely understanding the logic of this but I will give it a go.
I would like to hedge at 1.01 as horses do lose at 1.01 and that will effect my over all profit. I may decide to just put in the net stake at 1.01 to increase the profits instead of hedging, i will have to run it through my profit and loss spreadsheet.
one question: How does Betangel know how many horses Starting price are under 10.0? and how does it know to place the stop loss at the price/number of horses that are under 10.0?
tbh is quite a complex task your wanting and might be tricky for you to build if your new to automation, even thinking through and mapping out the logic can become tricky
Easiest thing to do is add another green up rule with a fixed odds condition that the selections lay price is equal to 1.01
Sorry mis read that part and thought the stop was being placed at odds equal to the number of runners (not the number whose odds where under 10.0),
To start with on your close trade rule you'll need to forget the 'number of selections' I advised above
You will also now need a 'Set/Modify Signal rule'to create a signal and increment it in value
Then add the following two conditions to this signal 'rule'
'fixed odds condition' selections back price is less than 10.0
'signal set condition' a signal for a selection is NOT set with a value
Basically this is setting an increased signal value on each runner < 10.0, which will identify the number of runners below 10.0
Then on the close trade rules add a signal value condition to each of them
So it would look like
Close trade on selection with greening
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 3
Fixed odds condition selections back price is greater than 3
What I have just thought of when typing this part is what happens if there are only 1 or 2 runners below 10.0 or if the fav BSP is already greater than the number of runners below 10 (ie, above the odds you're going to set your stop-loss at?)
You'll need to factor all that in and include some conditions around what you decide
Yes, it would just trigger straight away if you left it but it won't necessarily 'cancel the trade', you will lose a tick or two most times but also a really good/bad start this will be a lot more
So if I wanted to add a couple of conditions to stop this from happening would it be something like this for example:
1. Cancel all bets if the number of qualifying horses are less than the current best back price of the fav at the official off time
2. Cancel all bets if the number of qualifying horses are less than the BSP price of the fav at the 1 second after actual off time
1. Cancel all bets if the number of qualifying horses are less than the current best back price of the fav at the official off time
2. Cancel all bets if the number of qualifying horses are less than the BSP price of the fav at the 1 second after actual off time
Is that 'Set/Modify Signal rule' a completely separate rule or is it a rule you add within a rule so to speak intergrated into the "Close Trade rule"?Dallas wrote: ↑Tue Jun 12, 2018 10:16 pmEasiest thing to do is add another green up rule with a fixed odds condition that the selections lay price is equal to 1.01
Sorry mis read that part and thought the stop was being placed at odds equal to the number of runners (not the number whose odds where under 10.0),
To start with on your close trade rule you'll need to forget the 'number of selections' I advised above
You will also now need a 'Set/Modify Signal rule'to create a signal and increment it in value
Then add the following two conditions to this signal 'rule'
'fixed odds condition' selections back price is less than 10.0
'signal set condition' a signal for a selection is NOT set with a value
Basically this is setting an increased signal value on each runner < 10.0, which will identify the number of runners below 10.0
Then on the close trade rules add a signal value condition to each of them
So it would look like
Close trade on selection with greening
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 3
Fixed odds condition selections back price is greater than 3
What I have just thought of when typing this part is what happens if there are only 1 or 2 runners below 10.0 or if the fav BSP is already greater than the number of runners below 10 (ie, above the odds you're going to set your stop-loss at?)
You'll need to factor all that in and include some conditions around what you decide
Could you re write the whole explaination again please as its complicated having to go back to the first explaination and then take out the bits you said in the first part and then create the 2nd part with the extra parts. Really sorry!
Only when you have time of course. If this works I'll be buying you a few beers thats for sure!
You will need a 'Set/Modify Signal rule'to create a signal and increment it in value
Then add the following two conditions to this signal 'rule'
'fixed odds condition' selections back price is less than 10.0
'signal set condition' a signal for a selection is NOT set with a value
For your 'close trade with greening rule', apply it to 'ANY' selection, trigger 3 times with a 3 sec rearm
Add the following three conditions
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 3
Fixed odds condition selections back price is greater than 3
You'll need several of these close trade rules with different values for the signal and fixed odds cond - so the next will have the following conditions
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 4
Fixed odds condition selections back price is greater than 4
and so on until you have a close trade rule for each number of runners you will be running the rule on
Then add the following two conditions to this signal 'rule'
'fixed odds condition' selections back price is less than 10.0
'signal set condition' a signal for a selection is NOT set with a value
For your 'close trade with greening rule', apply it to 'ANY' selection, trigger 3 times with a 3 sec rearm
Add the following three conditions
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 3
Fixed odds condition selections back price is greater than 3
You'll need several of these close trade rules with different values for the signal and fixed odds cond - so the next will have the following conditions
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 4
Fixed odds condition selections back price is greater than 4
and so on until you have a close trade rule for each number of runners you will be running the rule on
or 3. If the number of qualifying horses are less than the current best back price then add 1 to the stop loss pricegstar1975 wrote: ↑Wed Jun 13, 2018 11:21 amSo if I wanted to add a couple of conditions to stop this from happening would it be something like this for example:
1. Cancel all bets if the number of qualifying horses are less than the current best back price of the fav at the official off time
2. Cancel all bets if the number of qualifying horses are less than the BSP price of the fav at the 1 second after actual off time
What do I put in to the option "is the signal named"? for the Signal ruleDallas wrote: ↑Tue Jun 12, 2018 10:16 pmEasiest thing to do is add another green up rule with a fixed odds condition that the selections lay price is equal to 1.01
Sorry mis read that part and thought the stop was being placed at odds equal to the number of runners (not the number whose odds where under 10.0),
To start with on your close trade rule you'll need to forget the 'number of selections' I advised above
You will also now need a 'Set/Modify Signal rule'to create a signal and increment it in value
Then add the following two conditions to this signal 'rule'
'fixed odds condition' selections back price is less than 10.0
'signal set condition' a signal for a selection is NOT set with a value
Basically this is setting an increased signal value on each runner < 10.0, which will identify the number of runners below 10.0
Then on the close trade rules add a signal value condition to each of them
So it would look like
Close trade on selection with greening
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 3
Fixed odds condition selections back price is greater than 3
What I have just thought of when typing this part is what happens if there are only 1 or 2 runners below 10.0 or if the fav BSP is already greater than the number of runners below 10 (ie, above the odds you're going to set your stop-loss at?)
You'll need to factor all that in and include some conditions around what you decide
and in the close trade rules "The value of the signal named"?
Regarding the Green Up rule for 1.01, its seems you are suggesting that the automation will only hedge when the price hits 1.01 whereas I want it to basically hit the green at 1.01 so that the hedge figure is placed ready to get matched as the race goes in play and after the back bet has gone in on the fav at BSPDallas wrote: ↑Tue Jun 12, 2018 10:16 pmEasiest thing to do is add another green up rule with a fixed odds condition that the selections lay price is equal to 1.01
Sorry mis read that part and thought the stop was being placed at odds equal to the number of runners (not the number whose odds where under 10.0),
To start with on your close trade rule you'll need to forget the 'number of selections' I advised above
You will also now need a 'Set/Modify Signal rule'to create a signal and increment it in value
Then add the following two conditions to this signal 'rule'
'fixed odds condition' selections back price is less than 10.0
'signal set condition' a signal for a selection is NOT set with a value
Basically this is setting an increased signal value on each runner < 10.0, which will identify the number of runners below 10.0
Then on the close trade rules add a signal value condition to each of them
So it would look like
Close trade on selection with greening
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 3
Fixed odds condition selections back price is greater than 3
What I have just thought of when typing this part is what happens if there are only 1 or 2 runners below 10.0 or if the fav BSP is already greater than the number of runners below 10 (ie, above the odds you're going to set your stop-loss at?)
You'll need to factor all that in and include some conditions around what you decide
The easiest way is probably to add a signal value condition to your back bet rule to test the value is greater than 'X'gstar1975 wrote: ↑Wed Jun 13, 2018 8:47 pmor 3. If the number of qualifying horses are less than the current best back price then add 1 to the stop loss pricegstar1975 wrote: ↑Wed Jun 13, 2018 11:21 amSo if I wanted to add a couple of conditions to stop this from happening would it be something like this for example:
1. Cancel all bets if the number of qualifying horses are less than the current best back price of the fav at the official off time
2. Cancel all bets if the number of qualifying horses are less than the BSP price of the fav at the 1 second after actual off time
Then add a fixed odds condition that the fav's back price is greater than 'X'
Those two will give all the flexibility needed
Whatever you called the signal your setting in your 'set/modify signal rule'gstar1975 wrote: ↑Wed Jun 13, 2018 10:07 pmWhat do I put in to the option "is the signal named"? for the Signal ruleDallas wrote: ↑Tue Jun 12, 2018 10:16 pmEasiest thing to do is add another green up rule with a fixed odds condition that the selections lay price is equal to 1.01
Sorry mis read that part and thought the stop was being placed at odds equal to the number of runners (not the number whose odds where under 10.0),
To start with on your close trade rule you'll need to forget the 'number of selections' I advised above
You will also now need a 'Set/Modify Signal rule'to create a signal and increment it in value
Then add the following two conditions to this signal 'rule'
'fixed odds condition' selections back price is less than 10.0
'signal set condition' a signal for a selection is NOT set with a value
Basically this is setting an increased signal value on each runner < 10.0, which will identify the number of runners below 10.0
Then on the close trade rules add a signal value condition to each of them
So it would look like
Close trade on selection with greening
Number of place bet triggers condition is equal to 1
Signal value condition is equal to 3
Fixed odds condition selections back price is greater than 3
What I have just thought of when typing this part is what happens if there are only 1 or 2 runners below 10.0 or if the fav BSP is already greater than the number of runners below 10 (ie, above the odds you're going to set your stop-loss at?)
You'll need to factor all that in and include some conditions around what you decide
and in the close trade rules "The value of the signal named"?