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.
Post Reply
User avatar
gstar1975
Posts: 83
Joined: Thu Nov 24, 2011 11:59 am

Tue Jun 12, 2018 1:56 pm

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

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

Tue Jun 12, 2018 2:33 pm

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

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

Tue Jun 12, 2018 9:31 pm

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

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

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

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

Tue Jun 12, 2018 10:43 pm

Thanks Dallas

That last point you make I have already thought of this and if this does happen then wouldnt it just hedge itself at the BSP? effectively cancelling the trade.

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

Tue Jun 12, 2018 10:58 pm

gstar1975 wrote:
Tue Jun 12, 2018 10:43 pm
Thanks Dallas

That last point you make I have already thought of this and if this does happen then wouldnt it just hedge itself at the BSP? effectively cancelling the trade.
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

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

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

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

Wed Jun 13, 2018 12:33 pm

Hi Dallas

How do I get around running the automation and trading manually at the same time and the automation not interfering with my manual trading?

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

Wed Jun 13, 2018 1:28 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
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"?

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!

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

Wed Jun 13, 2018 6:09 pm

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

Post Reply

Return to “Bet Angel - Automation”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests