Bet Angel - Automation : Bet Angel - Backing Pre off or at BSP then hedge/green/red up in play

Advanced automation available in Guardian - Chat with others and share files here.
User avatar
gstar1975
Posts: 108
Joined: Thu Nov 24, 2011 11:59 am

Wed Jun 13, 2018 8:47 pm

gstar1975 wrote:
Wed Jun 13, 2018 11:21 am
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
or 3. If the number of qualifying horses are less than the current best back price then add 1 to the stop loss price

User avatar
gstar1975
Posts: 108
Joined: Thu Nov 24, 2011 11:59 am

Wed Jun 13, 2018 10:07 pm

Dallas wrote:
Tue Jun 12, 2018 10:16 pm
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm

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.
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
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm
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?
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
What do I put in to the option "is the signal named"? for the Signal rule
and in the close trade rules "The value of the signal named"?

User avatar
gstar1975
Posts: 108
Joined: Thu Nov 24, 2011 11:59 am

Wed Jun 13, 2018 10:31 pm

Dallas wrote:
Tue Jun 12, 2018 10:16 pm
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm

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.
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
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm
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?
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
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 BSP

User avatar
Dallas
Posts: 8999
Joined: Sun Aug 09, 2015 10:57 pm
Contact:

Thu Jun 14, 2018 10:13 am

gstar1975 wrote:
Wed Jun 13, 2018 8:47 pm
gstar1975 wrote:
Wed Jun 13, 2018 11:21 am
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
or 3. If the number of qualifying horses are less than the current best back price then add 1 to the stop loss price
The easiest way is probably to add a signal value condition to your back bet rule to test the value is greater than 'X'
Then add a fixed odds condition that the fav's back price is greater than 'X'

Those two will give all the flexibility needed

User avatar
Dallas
Posts: 8999
Joined: Sun Aug 09, 2015 10:57 pm
Contact:

Thu Jun 14, 2018 10:14 am

gstar1975 wrote:
Wed Jun 13, 2018 10:07 pm
Dallas wrote:
Tue Jun 12, 2018 10:16 pm
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm

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.
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
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm
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?
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
What do I put in to the option "is the signal named"? for the Signal rule
and in the close trade rules "The value of the signal named"?
Whatever you called the signal your setting in your 'set/modify signal rule'

User avatar
Dallas
Posts: 8999
Joined: Sun Aug 09, 2015 10:57 pm
Contact:

Thu Jun 14, 2018 10:17 am

gstar1975 wrote:
Wed Jun 13, 2018 10:31 pm
Dallas wrote:
Tue Jun 12, 2018 10:16 pm
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm

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.
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
gstar1975 wrote:
Tue Jun 12, 2018 9:31 pm
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?
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
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 BSP
You can't use an offset with 'take SP' so you will need to trigger the bet in-play and have it 'placed at' actual SP, then on the parameters tab you can use the offset option under 'global settings'

User avatar
gstar1975
Posts: 108
Joined: Thu Nov 24, 2011 11:59 am

Thu Jun 14, 2018 10:38 am

To make it clear and simple, these are the steps I would like to automate:

At 10 seconds out Place Back bet on favourite at 1000 with a fixed stake of £10
Select Take SP
Market goes inplay
Favourite gets matched at BSP with £10
Count number of horses under BSP 10.0 including the fav, say there are 5 (10 runners BSP priced 2.5, 3.5, 4.5, 5.5, 6.5, 10.5, 11.5, 12.5, 13.5, 14.5)
Right click on Price 5.0 to set Stop Loss
Scroll down to 1.01
Click on Green hedge figure

User avatar
gstar1975
Posts: 108
Joined: Thu Nov 24, 2011 11:59 am

Fri Jun 15, 2018 10:41 am

Hi Dallas

What if I used the Betangel Spreadsheet to count the number of runners under 10.0 then link that cell to Betangel automation rule to read this cell and then place the stop at that price?

User avatar
Dallas
Posts: 8999
Joined: Sun Aug 09, 2015 10:57 pm
Contact:

Fri Jun 15, 2018 1:08 pm

gstar1975 wrote:
Fri Jun 15, 2018 10:41 am
Hi Dallas

What if I used the Betangel Spreadsheet to count the number of runners under 10.0 then link that cell to Betangel automation rule to read this cell and then place the stop at that price?
No, as per my first response you cant combine excel and advanced automation, the whole thing needs to be one or the other

User avatar
gstar1975
Posts: 108
Joined: Thu Nov 24, 2011 11:59 am

Fri Jun 15, 2018 2:32 pm

Hi Dallas

Please find attached copy of the automation file I have created. It only places the back bet. Can you have a look at it please and tell me what needs amending to get it to work properly. Only if you have time of course. Or anyone reading this.

Many Thanks
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “Bet Angel - Automation”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 3 guests