Hello Dallas,
I have a bot that triggers in play when the price reaches a point, say 1.65. Often, the price caught is 1.4 or so. Please see attachment how I set it up.
Is there any way I can avoid this and get a price that is closer to what I want?
Thank you.
Back the Likely Winner Automation Bot for Horse Racing
- jamesedwards
- Posts: 4103
- Joined: Wed Nov 21, 2018 6:16 pm
There is a Betfair-enforced one-second delay between a bet being triggered and it hitting the Betfair market in an in-play horse race. Therefore the price might be long gone in that second, especially towards the end of the race when prices can move very quickly. The only thing you can do is set the price to the minimum you are willing to accept, eg place your bet at 1.50. The trouble is you will always get matched on a loser but might often not match on a winner.nodina21 wrote: ↑Wed Oct 16, 2024 5:17 pmHello Dallas,
I have a bot that triggers in play when the price reaches a point, say 1.65. Often, the price caught is 1.4 or so. Please see attachment how I set it up.
Is there any way I can avoid this and get a price that is closer to what I want?
Thank you.
Oh,. and make sure you are getting the lowest possible refresh latency on whatever screen you have the market loaded.
Hello,
It seems that the bot backed a horse at 2.04 in play when it should have been on odds of 1.65 or less. I have provided some attachments.
Would you be able to advise please.
It seems that the bot backed a horse at 2.04 in play when it should have been on odds of 1.65 or less. I have provided some attachments.
Would you be able to advise please.
You do not have the required permissions to view the files attached to this post.
- jamesedwards
- Posts: 4103
- Joined: Wed Nov 21, 2018 6:16 pm
Betfair will match it at the highest available price. So it was at the price requested when triggered, but the price moved outwards between the trigger and it hitting the market on Betfair.
Dear James,
My bot has 2 bets:
1) It should place a bet when the price is less than 1.65, in=play.
2) The second bet, as helped by Dallas, should trigger on the same selection if the odds start to drift and if greater than 1.8.
So, it seems that the second bet was triggered but the not the first one, which I feel, should not be the case.
The above can be seen from the screenshots I provided.
Could you please advise accordingly.
My bot has 2 bets:
1) It should place a bet when the price is less than 1.65, in=play.
2) The second bet, as helped by Dallas, should trigger on the same selection if the odds start to drift and if greater than 1.8.
So, it seems that the second bet was triggered but the not the first one, which I feel, should not be the case.
The above can be seen from the screenshots I provided.
Could you please advise accordingly.
- jamesedwards
- Posts: 4103
- Joined: Wed Nov 21, 2018 6:16 pm
The times on the lay rule is not correct. Currently set to 0 secs before to 0 secs after going into play.nodina21 wrote: ↑Thu Oct 17, 2024 7:56 amDear James,
My bot has 2 bets:
1) It should place a bet when the price is less than 1.65, in=play.
2) The second bet, as helped by Dallas, should trigger on the same selection if the odds start to drift and if greater than 1.8.
So, it seems that the second bet was triggered but the not the first one, which I feel, should not be the case.
The above can be seen from the screenshots I provided.
Could you please advise accordingly.
-
- Posts: 1632
- Joined: Fri Nov 20, 2015 9:38 am
You might also want to condition on the 1st bet being triggered and / or matched before the 2nd bet is placed (taking into account the in-play bet delay).
Thank you. When I spoke to Dallas, that was not mentioned.
How do I condition that the first bet is triggered first and then the second.
Are screenshots I have provided previously sufficient for you to work it out?
In addition, this is the first time that bot did not trigger the first bet first which is very odd and I feel we should get to the bottom of that. Could you do that?
How do I condition that the first bet is triggered first and then the second.
Are screenshots I have provided previously sufficient for you to work it out?
In addition, this is the first time that bot did not trigger the first bet first which is very odd and I feel we should get to the bottom of that. Could you do that?
nodina21 wrote: ↑Thu Oct 17, 2024 11:55 amThank you. When I spoke to Dallas, that was not mentioned.
How do I condition that the first bet is triggered first and then the second.
Are screenshots I have provided previously sufficient for you to work it out?
In addition, this is the first time that bot did not trigger the first bet first which is very odd and I feel we should get to the bottom of that. Could you do that?
The first condition sionacaig mentioned was the one I advised you to add, the other he mentioned (number of matched bet cond) could also be used and will do the same thing in this situation, but the former of the two is set locally so doesn't need to wait for the information to come back from BF to be satisfied then trigger the greening rule - giving you a chance of exiting the trade for a smaller loss
The first bet not triggering will be down to your Guardian refresh rate not being set fast enough, this post explains in detail how that effects your rules and where/how to make the change/s required
viewtopic.php?t=11491
Looking at your earlier screenshots as long as you've changed the arm time for the new rule as James advised (just use the same arm times as the back bet rule already uses), and you have the two conditions on the lay bet (or the one advised by sionacaig) then it should be good to go
You do not have the required permissions to view the files attached to this post.
- jamesedwards
- Posts: 4103
- Joined: Wed Nov 21, 2018 6:16 pm
Dallas, does the "number of place bet triggers" refer to that specific rulesfile, or the number of times Bet Angel has requested a bet? eg if I have placed a bet on a selection through the one-click screen, and then a second bet automatically through that rulesfile, will the "number of place bet triggers" = 1 or =2?Dallas wrote: ↑Thu Oct 17, 2024 12:31 pmThe first condition sionacaig mentioned was the one I advised you to add, the other he mentioned (number of matched bet cond) could also be used and will do the same thing in this situation, but the former of the two is set locally so doesn't need to wait for the information to come back from BF to be satisfied then trigger the greening rule - giving you a chance of exiting the trade for a smaller loss
Screenshot 2024-10-17 122231.png
Its specfic to bets placed by rules, all manual bets are excludedjamesedwards wrote: ↑Thu Oct 17, 2024 1:31 pmDallas, does the "number of place bet triggers" refer to that specific rulesfile, or the number of times Bet Angel has requested a bet? eg if I have placed a bet on a selection through the one-click screen, and then a second bet automatically through that rulesfile, will the "number of place bet triggers" = 1 or =2?Dallas wrote: ↑Thu Oct 17, 2024 12:31 pmThe first condition sionacaig mentioned was the one I advised you to add, the other he mentioned (number of matched bet cond) could also be used and will do the same thing in this situation, but the former of the two is set locally so doesn't need to wait for the information to come back from BF to be satisfied then trigger the greening rule - giving you a chance of exiting the trade for a smaller loss
Screenshot 2024-10-17 122231.png
From memory I'm also 99% sure its specfic to bets placed only by rules within the file the condition is in, ie, bets placed by rules in other automation files applied to same market and servants etc are also excluded, but I'd need to test it to be 100% sure
- jamesedwards
- Posts: 4103
- Joined: Wed Nov 21, 2018 6:16 pm
Cheers. I forget this option exists and have always used separate stored values before.Dallas wrote: ↑Thu Oct 17, 2024 1:42 pmIts specfic to bets placed by rules, all manual bets are excludedjamesedwards wrote: ↑Thu Oct 17, 2024 1:31 pmDallas, does the "number of place bet triggers" refer to that specific rulesfile, or the number of times Bet Angel has requested a bet? eg if I have placed a bet on a selection through the one-click screen, and then a second bet automatically through that rulesfile, will the "number of place bet triggers" = 1 or =2?Dallas wrote: ↑Thu Oct 17, 2024 12:31 pmThe first condition sionacaig mentioned was the one I advised you to add, the other he mentioned (number of matched bet cond) could also be used and will do the same thing in this situation, but the former of the two is set locally so doesn't need to wait for the information to come back from BF to be satisfied then trigger the greening rule - giving you a chance of exiting the trade for a smaller loss
Screenshot 2024-10-17 122231.png
From memory I'm also 99% sure its specfic to bets placed only by rules within the file the condition is in, ie, bets placed by rules in other automation files applied to same market and servants etc are also excluded, but I'd need to test it to be 100% sure
-
- Posts: 5
- Joined: Thu Dec 19, 2024 9:06 pm
Should the lay bet rule be set to be armed for the same time interval as the back bet i.e. 00:00:01 to 00:10:00 I play? And on that note, what if a race is longer than 10 mins, or does that never happen? Thanks so much!
Dallas wrote: ↑Wed Oct 16, 2024 3:45 pmNo its a new rule you need to add, at the top of the rules editor window click the 'Green plus' iconnodina21 wrote: ↑Wed Oct 16, 2024 2:58 pmHello Dallas,
Thank you for your speedy reply.
I assume I need to go to Condition tab. If so, I can not find 'Close Trade on Selection" in drop down menu.
I can find Close Trade Profit condition". though.
Apologies if I am missing something obvious.
Kind Regards,
Dino.
You can then begin adding another rule to the file
The first two lines of my reply are done on the 'General' tab, the 'Close Trade on Selection with Greening' is about the 9th rule down in the list
https://www.betangel.com/user-guide/rule_types.html
I should of said in my last reply but while on this General tab I'd set this rule to trigger at least 3 times, re-arming every 2 or 3 seconds
On the Parameters tab, just leave it set 'best market price'
Then move onto the Conditions tab and add the two conditions advised previously
The existing back bet rule doesn't need to be touched, your just adding an additional rule to exit the trade if once backed it bounces back out above 1.80 (or whatever odds you specify)
If doing something similar to the previous poster and closing the trade/greening up then yes it can be armed the same timemarcknight64 wrote: ↑Tue Jan 28, 2025 7:59 pmShould the lay bet rule be set to be armed for the same time interval as the back bet i.e. 00:00:01 to 00:10:00 I play? And on that note, what if a race is longer than 10 mins, or does that never happen? Thanks so much!
Dallas wrote: ↑Wed Oct 16, 2024 3:45 pmNo its a new rule you need to add, at the top of the rules editor window click the 'Green plus' iconnodina21 wrote: ↑Wed Oct 16, 2024 2:58 pmHello Dallas,
Thank you for your speedy reply.
I assume I need to go to Condition tab. If so, I can not find 'Close Trade on Selection" in drop down menu.
I can find Close Trade Profit condition". though.
Apologies if I am missing something obvious.
Kind Regards,
Dino.
You can then begin adding another rule to the file
The first two lines of my reply are done on the 'General' tab, the 'Close Trade on Selection with Greening' is about the 9th rule down in the list
https://www.betangel.com/user-guide/rule_types.html
I should of said in my last reply but while on this General tab I'd set this rule to trigger at least 3 times, re-arming every 2 or 3 seconds
On the Parameters tab, just leave it set 'best market price'
Then move onto the Conditions tab and add the two conditions advised previously
The existing back bet rule doesn't need to be touched, your just adding an additional rule to exit the trade if once backed it bounces back out above 1.80 (or whatever odds you specify)
The profit condition will prevent it from triggering before the back bet has been placed