Greening too soon

User to User support only. For technical support visit www.betangel.com/support/
Post Reply
fishtownraider
Posts: 76
Joined: Mon Feb 20, 2023 3:05 pm

This is a l2b bot that includes a rule to close the trade after 10 minutes if the back bets haven't been matched by then. Most of the time it works fine, but twice today it has greened up early and I can't see why. Any ideas, please?

17/08/2024 15:03:53: Guardian has detected that the market is in-play
17/08/2024 15:03:53: Guardian has detected that the market is suspended
17/08/2024 15:04:49: Guardian has detected that the market is now unsuspended
17/08/2024 15:15:51: [G_Auto 1] : £ 1.51 Lay bet placed on Over 2.5 Goals at 2.66. Fully matched at 2.6. Ref: 357867972377 ( Offsetting by 12 ticks with greening. )
17/08/2024 15:15:51: [G_Auto 1] : £ 3.01 Lay bet placed on Over 2.5 Goals at 2.66. Fully matched at 2.6. Ref: 357867972380 ( Offsetting by 6 ticks with greening. )
17/08/2024 15:15:51: [G_Auto 1] : £ 1.51 Lay bet placed on Over 2.5 Goals at 2.66. Fully matched at 2.6. Ref: 357867972416 ( Offsetting by 9 ticks with greening. )
17/08/2024 15:15:57: [G_Auto 1] : £ 1.38 Back bet placed on Over 2.5 Goals at 2.84. Entirely unmatched when it initially reached the market. Ref: 357867997265
17/08/2024 15:15:57: [G_Auto 1] : £ 2.88 Back bet placed on Over 2.5 Goals at 2.72. Entirely unmatched when it initially reached the market. Ref: 357867997281
17/08/2024 15:15:57: [G_Auto 1] : £ 1.41 Back bet placed on Over 2.5 Goals at 2.78. Entirely unmatched when it initially reached the market. Ref: 357867997284
17/08/2024 15:17:04: [G_Auto 1] : Cancelling bets 357867997265 357867997281 357867997284
17/08/2024 15:17:09: [G_Auto 1] : Placed closure bet with greening on Over 2.5 Goals by Backing 6.03 at 2.6


and

17/08/2024 15:36:19: Guardian has detected that the market is in-play
17/08/2024 15:36:19: Guardian has detected that the market is suspended
17/08/2024 15:36:44: Guardian has detected that the market is now unsuspended
17/08/2024 15:46:54: [G_Auto 1] : £ 1.52 Lay bet placed on Over 2.5 Goals at 2.64. Fully matched at 2.6. Ref: 357877111723 ( Offsetting by 12 ticks with greening. )
17/08/2024 15:46:54: [G_Auto 1] : £ 3.05 Lay bet placed on Over 2.5 Goals at 2.64. Fully matched at 2.6. Ref: 357877111724 ( Offsetting by 6 ticks with greening. )
17/08/2024 15:46:54: [G_Auto 1] : £ 1.52 Lay bet placed on Over 2.5 Goals at 2.64. Fully matched at 2.6. Ref: 357877111737 ( Offsetting by 9 ticks with greening. )
17/08/2024 15:47:06: [G_Auto 1] : £ 1.42 Back bet placed on Over 2.5 Goals at 2.78. Entirely unmatched when it initially reached the market. Ref: 357877164358
17/08/2024 15:47:06: [G_Auto 1] : £ 2.92 Back bet placed on Over 2.5 Goals at 2.72. Entirely unmatched when it initially reached the market. Ref: 357877164268
17/08/2024 15:47:06: [G_Auto 1] : £ 1.39 Back bet placed on Over 2.5 Goals at 2.84. Entirely unmatched when it initially reached the market. Ref: 357877164261
17/08/2024 15:47:29: [G_Auto 1] : Cancelling bets 357877164261 357877164268 357877164358
17/08/2024 15:47:41: [G_Auto 1] : Placed closure bet with greening on Over 2.5 Goals by Backing 6.14 at 2.58
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4106
Joined: Wed Nov 21, 2018 6:16 pm

Your bottom greening rule is set to trigger 10m01s after the first rule has triggered, which will be your keep bets rule at the very latest. So 10m36s into in-play it will green on Guardian's next refresh.
fishtownraider
Posts: 76
Joined: Mon Feb 20, 2023 3:05 pm

jamesedwards wrote:
Sat Aug 17, 2024 6:49 pm
Your bottom greening rule is set to trigger 10m01s after the first rule has triggered, which will be your keep bets rule at the very latest. So 10m36s into in-play it will green on Guardian's next refresh.
I don't think so, James. The first rule is to lay the first offset bet if a number of conditions are satisfied. The first rule can trigger up to 35 min after Guardian detects the event is in-play. The last rule triggers 10.01 after that. It does work that way in practice (usually).
User avatar
jamesedwards
Posts: 4106
Joined: Wed Nov 21, 2018 6:16 pm

fishtownraider wrote:
Sun Aug 18, 2024 1:17 pm
jamesedwards wrote:
Sat Aug 17, 2024 6:49 pm
Your bottom greening rule is set to trigger 10m01s after the first rule has triggered, which will be your keep bets rule at the very latest. So 10m36s into in-play it will green on Guardian's next refresh.
I don't think so, James. The first rule is to lay the first offset bet if a number of conditions are satisfied. The first rule can trigger up to 35 min after Guardian detects the event is in-play. The last rule triggers 10.01 after that. It does work that way in practice (usually).
'After the first trigger from this rules file' tests against the first rule to trigger, not the first rule in your file.
z14.png


[edit] Sunset Riot won, matching as high as 500. How annoying! :lol:
You do not have the required permissions to view the files attached to this post.
Last edited by jamesedwards on Sun Aug 18, 2024 2:33 pm, edited 4 times in total.
User avatar
Dabbla
Posts: 825
Joined: Wed Apr 15, 2009 1:50 pm

It’s not the first rule in the file, it’s the first rule to trigger. From what I can see, James is correct.

If you add a (Matched bets condition ) > 0 , to the keep bets rule , then that rule will not trigger until the bets have been placed and matched. You may also find that the (goal for overs) rule could also trigger first.
fishtownraider
Posts: 76
Joined: Mon Feb 20, 2023 3:05 pm

Dabbla wrote:
Sun Aug 18, 2024 2:30 pm
It’s not the first rule in the file, it’s the first rule to trigger. From what I can see, James is correct.

If you add a (Matched bets condition ) > 0 , to the keep bets rule , then that rule will not trigger until the bets have been placed and matched. You may also find that the (goal for overs) rule could also trigger first.
Ah, I see what you mean. I'll do that, thanks.
fishtownraider
Posts: 76
Joined: Mon Feb 20, 2023 3:05 pm

fishtownraider wrote:
Sun Aug 18, 2024 5:15 pm
Dabbla wrote:
Sun Aug 18, 2024 2:30 pm
It’s not the first rule in the file, it’s the first rule to trigger. From what I can see, James is correct.

If you add a (Matched bets condition ) > 0 , to the keep bets rule , then that rule will not trigger until the bets have been placed and matched. You may also find that the (goal for overs) rule could also trigger first.
Ah, I see what you mean. I'll do that, thanks.
Unmatched bets on the market >0 would work too, I think?
User avatar
Dabbla
Posts: 825
Joined: Wed Apr 15, 2009 1:50 pm

fishtownraider wrote:
Sun Aug 18, 2024 5:35 pm
fishtownraider wrote:
Sun Aug 18, 2024 5:15 pm
Dabbla wrote:
Sun Aug 18, 2024 2:30 pm
It’s not the first rule in the file, it’s the first rule to trigger. From what I can see, James is correct.

If you add a (Matched bets condition ) > 0 , to the keep bets rule , then that rule will not trigger until the bets have been placed and matched. You may also find that the (goal for overs) rule could also trigger first.
Ah, I see what you mean. I'll do that, thanks.
Unmatched bets on the market >0 would work too, I think?
Your taking the 3rd best market price, you should really shouldn't have unmatched bets, they will only be matched. so it wouldn’t work and need to use matched bets.
fishtownraider
Posts: 76
Joined: Mon Feb 20, 2023 3:05 pm

Dabbla wrote:
Sun Aug 18, 2024 5:53 pm
fishtownraider wrote:
Sun Aug 18, 2024 5:35 pm
fishtownraider wrote:
Sun Aug 18, 2024 5:15 pm


Ah, I see what you mean. I'll do that, thanks.
Unmatched bets on the market >0 would work too, I think?
Your taking the 3rd best market price, you should really shouldn't have unmatched bets, they will only be matched. so it wouldn’t work and need to use matched bets.
I won't have unmatched lays, but the back orders will be placed with the lays and will remain unmatched until the trade closes one way or another.
Post Reply

Return to “Support”