What Condition can be used to Check if a Book side is empty

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
cybernet69

AngelsWithDirtyFaces wrote:Thanks Dallas for all of the tremendous work you have put into these automation files. I'm sure many members of the community are indebted to you.

Regarding this particular make market bot. What condition can be used to test if any particular selection actually has existing odds posted on BOTH the back and lay sides. E.g Test the lay side has odds of 1000 or less already posted rather than being an empty box?
Selections Back Price is > 1.01 and
Selections Lay Price is > 1.01
User avatar
Dallas
Posts: 23490
Joined: Sun Aug 09, 2015 10:57 pm

AngelsWithDirtyFaces wrote:Thanks Dallas for all of the tremendous work you have put into these automation files. I'm sure many members of the community are indebted to you.

Regarding this particular make market bot. What condition can be used to test if any particular selection actually has existing odds posted on BOTH the back and lay sides. E.g Test the lay side has odds of 1000 or less already posted rather than being an empty box?

The "relative odds condiiton" that i have used is what controls the number of gaps required between the prices.
To pick a specific range of odds or prices to target you would add 2 x "Fixed odds conditons"

So if you wanted to find the gaps only if the price was between 4.0 & 5.0 it would be

"Fixed Odds Condition"
Selections "lay price"
is "less" than 5.0

"Fixed odds Condition"
Selections "Back price"
is "Greater" than 4.0
AngelsWithDirtyFaces
Posts: 57
Joined: Tue Jul 05, 2011 12:08 am

Dallas wrote:

The "relative odds condiiton" that i have used is what controls the number of gaps required between the prices.
To pick a specific range of odds or prices to target you would add 2 x "Fixed odds conditons"

So if you wanted to find the gaps only if the price was between 4.0 & 5.0 it would be

"Fixed Odds Condition"
Selections "lay price"
is "less" than 5.0

"Fixed odds Condition"
Selections "Back price"
is "Greater" than 4.0
Thanks Dallas and cybernet69 for your responses. They both make sense when a selection has both existing back and lay odds. Is there an automation condition that would return as 'TRUE' if the lay price was empty/null?
User avatar
Dallas
Posts: 23490
Joined: Sun Aug 09, 2015 10:57 pm

Do you mean if whole lay side was empty/null?
Or
If there was any isolated lay prices empty on the ladder no matter how far away from the trading price?
AngelsWithDirtyFaces
Posts: 57
Joined: Tue Jul 05, 2011 12:08 am

Dallas wrote:Do you mean if whole lay side was empty/null?
Or
If there was any isolated lay prices empty on the ladder no matter how far away from the trading price?
I meant the whole lay side for any selection in the market. For example, Trap 5 may be such a rank outsider that odds to back are 50 but no has asked for any price which you can lay. Such a state may more easily apply to horses or possibly football correct score markets for massive underdogs.

Having said that, is there a way to find isolated lay prices on the ladder?

Many thanks once again.
User avatar
Dallas
Posts: 23490
Joined: Sun Aug 09, 2015 10:57 pm

If you where to set the fixed odds cond i mentioned above to

lay price
is greater than 1000

That should ensure there is nothing yet on that side of the ladder or at least nothing below 1000.


"Having said that, is there a way to find isolated lay prices on the ladder?"

No its not possible to find isolated prices with no money yet on one side of the book or other.
AngelsWithDirtyFaces
Posts: 57
Joined: Tue Jul 05, 2011 12:08 am

Dallas wrote:If you where to set the fixed odds cond i mentioned above to

lay price
is greater than 1000

That will ensure there is nothing yet on that side of the ladder or at least nothing below 1000.
Apologies for going slightly off thread.

As a test, I've just tried using the above condition to place a £2 back bet at odds of 1000 on Midnight Owle in the 15:30 at Southwell because he has an existing back price of 370 and no lay price at all. The bet won't submit so I assume the condition doesn't return 'TRUE'.

No other conditions were in my baf file. Have you any further advice on this one?

Cheers.
User avatar
Dallas
Posts: 23490
Joined: Sun Aug 09, 2015 10:57 pm

I have just had a quick play around, if you set it to
Lay price
is greater than 990

It will only trigger if there is lay money sitting at 1000 if there is any at lower odds or no money at all it wont trigger
AngelsWithDirtyFaces
Posts: 57
Joined: Tue Jul 05, 2011 12:08 am

Dallas wrote:I have just had a quick play around, if you set it to
Lay price
is greater than 990

It will only trigger if there is lay money sitting at 1000 if there is any at lower odds or no money at all it wont trigger

OK thanks. So it seems there's no way to trigger on an empty lay side.
User avatar
Dallas
Posts: 23490
Joined: Sun Aug 09, 2015 10:57 pm

Not using the fixed odds cond but its not something i have ever tried so will have a proper look later see if there is another cond that can be used and let you know
cybernet69

I could be wrong but I thought the following was true...

- If a selection has no odds on the back or lay side of the market then the back book% and/or lay book% would be equal to 0.

So, if that is true then you could use a condition like the following...

- back book % = 0 or lay book % = 0

Hope that helps,

Cheers.
AngelsWithDirtyFaces
Posts: 57
Joined: Tue Jul 05, 2011 12:08 am

cybernet69 wrote:I could be wrong but I thought the following was true...

- If a selection has no odds on the back or lay side of the market then the back book% and/or lay book% would be equal to 0.

So, if that is true then you could use a condition like the following...

- back book % = 0 or lay book % = 0

Hope that helps,

Cheers.
Hi cybernet69. Thanks for thinking about this issue.

If you look at some sparsely populated football correct score markets, you will often notice multiple selections have no lay prices but the lay book % will still show some (usually very low) percentage. Also how can you test which of a market's selections have the empty lay side?

Apologies once again for off-topic discussion.
Cheers.
PeterLe
Posts: 3724
Joined: Wed Apr 15, 2009 3:19 pm

Gents
Just a heads up...
Ive been doing some testing this morning on the greyhound market using stop losses with various settings (in practice mode)
I would strongly recommend doing this in practice mode to prevent large losses before you deploy live
Regards
Peter
User avatar
Dallas
Posts: 23490
Joined: Sun Aug 09, 2015 10:57 pm

AngelsWithDirtyFaces wrote:Apologies once again for off-topic discussion.
Cheers.
Prob best it moved to seperate topic
cybernet69

PeterLe wrote:Gents
Just a heads up...
Ive been doing some testing this morning on the greyhound market using stop losses with various settings (in practice mode)
I would strongly recommend doing this in practice mode to prevent large losses before you deploy live
Regards
Peter
YES. You also need a way in BA of entering a SL of 0. This effectively means if the market moves against you then you can try and scratch it for 0 P/L.
Post Reply

Return to “Bet Angel - Automation”