How do I compare lay price, 2nd best lay price etc?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
gregla
Posts: 24
Joined: Sat Dec 06, 2014 6:12 pm

Hi there,

I'm hoping somebody can help me. I'm trying to write an automation file that places a back bet when the 3 lay prices are close together.

So for example, if the best lay price is 2.76, 2nd best is 2.78 and 3rd best is 2.8, then I would place a bet.

But if the best lay price is 2.76, 2nd best is 3.2 and 3rd best is 3.6, then I would not place a bet.

I've looked through the conditions and can't work out how to compare the 3 lay prices. Not sure if I can use stored values or not? As far as I am aware, I can only look at the best lay price, but not the 2nd or 3rd.

Any help would be really appreciated.

Cheers
Greg
gregla
Posts: 24
Joined: Sat Dec 06, 2014 6:12 pm

I have another question as well please.

In another automation file I am using, I use Green All Selections at Reverse Market Price. But is there a way of using this so I green out at reverse market price, MINUS one tick? In other words, I would like to jump in front of the existing price to increase the probability of my closing bet being matched.

I am not sure of the automation supports what I am asking for (not currently anyway), but can anyone suggest a workaround to achieve this?

Cheers
Greg
User avatar
Dallas
Posts: 23532
Joined: Sun Aug 09, 2015 10:57 pm

gregla wrote:
Fri Dec 13, 2019 5:18 pm
I have another question as well please.

In another automation file I am using, I use Green All Selections at Reverse Market Price. But is there a way of using this so I green out at reverse market price, MINUS one tick? In other words, I would like to jump in front of the existing price to increase the probability of my closing bet being matched.

I am not sure of the automation supports what I am asking for (not currently anyway), but can anyone suggest a workaround to achieve this?

Cheers
Greg
No the greening options are reverse or best price.
You could close your position by using net stake, with that you place the bet 1 rick below best reverse market price.
Then once that's matched you can green up and spread your profits evenly
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

gregla wrote:
Fri Dec 13, 2019 5:18 pm
I use Green All Selections at Reverse Market Price. But is there a way of using this so I green out at reverse market price, MINUS one tick? In other words, I would like to jump in front of the existing price to increase the probability of my closing bet being matched.

I am not sure of the automation supports what I am asking for (not currently anyway), but can anyone suggest a workaround to achieve this?

Cheers
Greg
If you want to increae the probability of your closing bet being matched - You say you use "Green All Selections at Reverse Market Price"
Instead use Green all at Current Price.
gregla
Posts: 24
Joined: Sat Dec 06, 2014 6:12 pm

Dallas wrote:
Fri Dec 13, 2019 5:38 pm

No the greening options are reverse or best price.
You could close your position by using net stake, with that you place the bet 1 rick below best reverse market price.
Then once that's matched you can green up and spread your profits evenly
Thanks Dallas, I will give that a try. Really appreciate your help.

Any chance you can help with my question in my OP? That's the one I'm really struggling with.
gregla
Posts: 24
Joined: Sat Dec 06, 2014 6:12 pm

Jukebox wrote:
Fri Dec 13, 2019 6:02 pm
If you want to increae the probability of your closing bet being matched - You say you use "Green All Selections at Reverse Market Price"
Instead use Green all at Current Price.
Thanks. I use this sometimes but also like to green out for a better price if the spread is quite big.
User avatar
whimsies
Posts: 181
Joined: Sun Oct 02, 2016 7:37 am

Would also like the answer to the OP, but think it can only be done in excel.
Atho55
Posts: 678
Joined: Tue Oct 06, 2015 1:37 pm

Thinking out loud here but if you had an SV to capture 4th Best using Best - 3 ticks then the values you are looking for should be increments to Best..... err I think
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

Rather than capturing the three best prices (which are available to store) and then facing the complexity of determining if those prices are neighbours to trigger your bet - you might consider taking an alternative approach.
Instead you could take advantage of the stored value ability to capture how much money is available at any nominated price. If you capture and store the Best Price and from that the Best +/- 1 tick and Best Price +/- 2 ticks and determine if there is more than £x on each to trigger your bet.
This will have the additional advantage of not triggering a bet unless there is proper money there.
Post Reply

Return to “Bet Angel - Automation”