Place Bets not working occasionally

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

Howdy - I'm still having trouble with placing bets not firing occasionally.



Rule1: Place bets on any runner, starting at 14sec before start time to 1 hour after start time, rearm 999 time, with 0.3 secs before rearming

Rule2: Take SP All starting 2 secs after start time to 1 hour after race time, trigger 1000 time, rearm one second.

conditions:
projectedspHH > 0
favepriceHH > 0
market not in play
place bet triggers = 0

Restrict refresh set 60secs before and 60 secs after, and streaming at 200 ms.

In the case below, Race time 19:15.

It picks up the race properly because it stores to SVs 30sec before the off, but then doesnt start placing the bets till 8 secs after race time (not 14s before) for some reason, then it runs Take SP once, and no other bets are placed.

16/04/2020 19:14:30: [G_Auto] : Store Value for 2. The Last Breeze: projectedspHH = 4.2
16/04/2020 19:14:30: [G_Auto] : Store Value for 2. The Last Breeze: favepriceHH = 4.1
16/04/2020 19:15:08: [G_Auto] : $ 41.90 Back bet placed on 1. Shadow Hunter at 10.5. Entirely unmatched when it initially reached the market. Ref: 199394026269
16/04/2020 19:15:09: [G_Auto] : Modify bet persistence 199394026269 from 'Cancel' to 'Take SP'
16/04/2020 19:15:40: Guardian has detected that the market is suspended
16/04/2020 19:15:42: Guardian has detected that the market is in-play
16/04/2020 19:15:42: Guardian has detected that the market is now unsuspended


The automation works fine most of the day, but about 10% of the time it doesnt place any bets at all, or like the above where it places just one bet, despite the (seemingly) very simple rules to back every horse/dog in a race.

Does anyone have any suggestions? Is it likely that there's a coding error that I havent found? Or is it probable that my computer is having a heart attack that I'm not aware of? Something else?
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

Hmmm.

I was watching the Automation and on this particular race (below) it only placed two bets on the first 2 dogs and then stopped, so I manually Cancelled All (both) at 12:47:40 which then triggered the automation to immediately start again and back the remaining animals.

Can anyone think what might have happened there?

12:46:40: [G_Auto] : Store Value for 1. Sarah Smirnoff: projectedspG = 2.96
12:46:41: [G_Auto] : Store Value for 1. Sarah Smirnoff: favepriceG = 3.05
12:46:51: [G_Auto] : $ 37.93 Back bet placed on 1. Sarah Smirnoff at 2.9. Entirely unmatched when it initially reached the market. Ref: 199409920154
12:46:51: [G_Auto] : $ 16.67 Back bet placed on 2. Voluptuous Dot at 6.6. Entirely unmatched when it initially reached the market. Ref: 199409920481
12:46:57: [G_Auto] : Modify bet persistence 199409920154 from 'Cancel' to 'Take SP'
12:46:57: [G_Auto] : Modify bet persistence 199409920481 from 'Cancel' to 'Take SP'

*********12:47:40: Cancelling bets 199409920154 199409920481 ***********

12:47:41: [G_Auto] : $ 4.78 Back bet placed on 4. Villa Maldini at 23. Entirely unmatched when it initially reached the market. Ref: 199409958067
12:47:42: [G_Auto] : Modify bet persistence 199409958067 from 'Cancel' to 'Take SP'

12:47:43: [G_Auto] : $ 11.46 Back bet placed on 5. Goorawin at 9.6. Entirely unmatched when it initially reached the market. Ref: 199409959137
12:47:43: [G_Auto] : Modify bet persistence 199409959137 from 'Cancel' to 'Take SP'

12:47:49: [G_Auto] : $ 4.23 Back bet placed on 6. Black Rose Texas at 26. Entirely unmatched when it initially reached the market. Ref: 199409963036
12:47:49: [G_Auto] : $ 37.16 Back bet placed on 7. Run Maggie Run at 2.96. Entirely unmatched when it initially reached the market. Ref: 199409963299
12:47:49: [G_Auto] : Modify bet persistence 199409963036 from 'Cancel' to 'Take SP'

12:47:49: [G_Auto] : $ 14.86 Back bet placed on 8. Taylor Jayde at 7.4. Entirely unmatched when it initially reached the market. Ref: 199409963563
12:47:50: [G_Auto] : Modify bet persistence 199409963299 from 'Cancel' to 'Take SP'
12:47:50: [G_Auto] : Modify bet persistence 199409963563 from 'Cancel' to 'Take SP'

12:47:54: Cancelling bets 199409958067 199409959137 199409963036 199409963299 199409963563
12:48:20: Guardian has detected that the market is suspended
User avatar
Dallas
Posts: 23534
Joined: Sun Aug 09, 2015 10:57 pm

It sounds like there could be an intermittent connection issue on your computer, are you using a wired or wireless/4g to connect with?

If you post up the rules files i'll have a chech through to see if there's anything been missed
sionascaig
Posts: 1624
Joined: Fri Nov 20, 2015 9:38 am

A while ago I had an issue with using "any selection" on the "applies to" drop down... (at the time I assumed there was a cycle type issue related to guardian and where focus of the automation was at any particular time).

Anyways, I got round whatever the problem was by creating a rule for each selection. A bit more of a headache to maintain if you are continuing to develop but maybe worthwhile to see if it addresses the problem.. At least that way you will have a better idea if the problem is with use of the "any selection" option..
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

back bet general.png
Dallas wrote:
Fri Apr 17, 2020 10:30 am
It sounds like there could be an intermittent connection issue on your computer, are you using a wired or wireless/4g to connect with?

If you post up the rules files i'll have a chech through to see if there's anything been missed
Thanks Dallas.

That particular computer is using a wifi connection. I guess that could be an issue, although that wouldnt explain my 2nd post where the AUtomation started running again when I cancelled those 2 bets.

Here's the Rules & Place Back Bet General Tab
back bet general.png
Place Back Bet parameters
back bet parameters.png
Place Back Bet conditions
bb conditions.png
You do not have the required permissions to view the files attached to this post.
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

And here's the Take SP rule (which doesnt have any parameters or conditions)
take sp general.png
Appreciate you taking a look. THanks again.
You do not have the required permissions to view the files attached to this post.
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

I plugged a wire cable (NBN) into my machine yesterday, and still got the same weird results occasionally.

Here's another race for reference. Similar but not identical automation, same problems.

There are a few weirdish things going on here:
1. It took 10 secs to place the 2nd bet.
2. It placed the last bet at start time, and didnt place bets on the last 4 horses
3. For some reason the log seems not in exact chronological order (!) - it goes from 17.25.59 to 17.25.58 and back to 17.25.59.

Images of rules are below.

Take SP is set to trigger from 2 sec before to 1hour after, every sec, 500 times, not in-play.

Thanks again, as always

18/04/2020 17:25:30: [G_Auto] : Store Value for 7. High Stakes: projectedspH = 3.9
18/04/2020 17:25:30: [G_Auto] : Store Value for 7. High Stakes: favepriceH = 3.85
18/04/2020 17:25:47: [G_Auto] : $ 6.21 Back bet placed on 1. Final River at 29. Entirely unmatched .... Ref: 199461279756
18/04/2020 17:25:57: [G_Auto] : $ 13.33 Back bet placed on 2. Christian Brother at 13.5. Entirely unmatched .... Ref: 199461291121
18/04/2020 17:25:58: [G_Auto] : $ 36.73 Back bet placed on 3. Rollin Jayjay at 4.9. Entirely unmatched .... Ref: 199461291682
18/04/2020 17:25:58: [G_Auto] : $ 18.00 Back bet placed on 5. Dennington Heights at 10. Entirely unmatched .... Ref: 199461292659
18/04/2020 17:25:59: [G_Auto] : Modify bet ... 199461279756 from 'Cancel' to 'Take SP'
18/04/2020 17:25:59: [G_Auto] : Modify bet ... 199461291121 from 'Cancel' to 'Take SP'
18/04/2020 17:25:59: [G_Auto] : Modify bet ... 199461291682 from 'Cancel' to 'Take SP'
18/04/2020 17:25:59: [G_Auto] : Modify bet ... 199461292659 from 'Cancel' to 'Take SP'

18/04/2020 17:25:59: [G_Auto] : An error occurred while updating bet ...: The entire order has been rejected.
18/04/2020 17:25:58: [G_Auto] : Modify bet ... 199461279756 from 'Cancel' to 'Take SP'
18/04/2020 17:25:58: [G_Auto] : Modify bet ... 199461291121 from 'Cancel' to 'Take SP'

18/04/2020 17:25:59: [G_Auto] : $ 5.00 Back bet placed on 4. Mizzz Adele at 36. Entirely unmatched .... Ref: 199461293982

18/04/2020 17:26:00: [G_Auto] : $ 20.45 Back bet placed on 6. Slingin A Gun at 8.8. Entirely unmatched .... Ref: 199461294699
18/04/2020 17:26:00: [G_Auto] : Modify bet ... 199461293982 from 'Cancel' to 'Take SP'

18/04/2020 17:26:01: [G_Auto] : Modify bet ... 199461294699 from 'Cancel' to 'Take SP'

18/04/2020 17:27:46: Guardian has detected that the market is in-play

18/04/2020 17:29:37: Guardian has detected that the market is suspended


harness general.png
harness conditions.png
harness parameters.png
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 23534
Joined: Sun Aug 09, 2015 10:57 pm

The 10 seconds gap you just seen sounds like its a communication error with Betfair API
It's always been the case that if Bet Angel fails to get a response after 10 seconds for something it will try again and it looks like that 2nd request is then waking up or unblocking whatever it is that caused your PC not to get the reponce Bet Angel was waiting for.

Which version of Bet Angel are you using?
version number is located in the top left corner of your screen or in the bottom right corner of the blue login window
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

Thanks Dallas

1.54.1
Post Reply

Return to “Bet Angel - Automation”