New beta version of Bet Angel v1.59.0 - Now on general release

Post Reply
Bet Angel
Bet Angel
Bet Angel
Posts: 3924
Joined: Tue Apr 14, 2009 3:47 pm

Dabbla wrote:
Thu Jun 23, 2022 10:23 pm

Today I let guardian run from 15.45 till 21.00. Again everything was fine until I started trading.

The first race I traded failed, that was the 17.45. The race finished in a photo.
The second was the 18.30, I can’t see anything unusual,
The third was the 19.00. Looks like a close finish but no photo.

No files were altered during this session.
Could you download and test with this file https://www.betangel.com/securedownload ... _test2.exe
It's sorted out the issue in the tests at our end, but I'd like to make sure it works for you too.
User avatar
Dabbla
Posts: 528
Joined: Wed Apr 15, 2009 1:50 pm

Bet Angel wrote:
Fri Jun 24, 2022 5:00 pm
Dabbla wrote:
Thu Jun 23, 2022 10:23 pm

Today I let guardian run from 15.45 till 21.00. Again everything was fine until I started trading.

The first race I traded failed, that was the 17.45. The race finished in a photo.
The second was the 18.30, I can’t see anything unusual,
The third was the 19.00. Looks like a close finish but no photo.

No files were altered during this session.
Could you download and test with this file https://www.betangel.com/securedownload ... _test2.exe
It's sorted out the issue in the tests at our end, but I'd like to make sure it works for you too.
Guardian has been running a automation trading file for just over an hour .So far, so good.
Ill leave it till the end of the greyhounds and repot back.
User avatar
Dabbla
Posts: 528
Joined: Wed Apr 15, 2009 1:50 pm

Dabbla wrote:
Fri Jun 24, 2022 7:10 pm
Bet Angel wrote:
Fri Jun 24, 2022 5:00 pm
Dabbla wrote:
Thu Jun 23, 2022 10:23 pm

Today I let guardian run from 15.45 till 21.00. Again everything was fine until I started trading.

The first race I traded failed, that was the 17.45. The race finished in a photo.
The second was the 18.30, I can’t see anything unusual,
The third was the 19.00. Looks like a close finish but no photo.

No files were altered during this session.
Could you download and test with this file https://www.betangel.com/securedownload ... _test2.exe
It's sorted out the issue in the tests at our end, but I'd like to make sure it works for you too.
Guardian has been running a automation trading file for just over an hour .So far, so good.
Ill leave it till the end of the greyhounds and repot back.
Everything triggered as it should, 59/59 races over 4 hours.
So well done, it looks like you cracked it. :D
I’ll keep an eye on it over the weekend and report back, if there are any problems
parrettt
Posts: 15
Joined: Sun Jul 28, 2013 11:31 pm

thank you!
User avatar
Dabbla
Posts: 528
Joined: Wed Apr 15, 2009 1:50 pm

Bit of a strange one here, not sure if its related to the other issue or the test version.
I think it has something to do with fill or kills, which I don’t normally use, so not sure if this is new bug.

The results triggered @ 03:00:29, it’s not in the log. Then half hour later Guardian comes back alive and starts logging info. This is happening a lot.

The last trigger this file made was 02:58:49 when it suspended. None of the rules are set to trigger when a when the market is suspended.

27/06/2022 02:58:49: Guardian has detected that the market is suspended
27/06/2022 03:28:12: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 03:28:12: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272507620563)
27/06/2022 03:28:13: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 03:28:13: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation on the second request. It could cause calculation problems with this fill or kill bet and may leave the bet active in the market. (Ref: 272507620563)
27/06/2022 03:28:13: [G_Auto 4] : Unmatched bet (Ref:272507620563) kill results unknown.
27/06/2022 03:44:29: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 03:44:29: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272508114720)
27/06/2022 03:44:29: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 03:44:29: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation on the second request. It could cause calculation problems with this fill or kill bet and may leave the bet active in the market. (Ref: 272508114720)
27/06/2022 03:44:29: [G_Auto 4] : Unmatched bet (Ref:272508114720) kill results unknown.

Not too sure what to make of it.

This is a log from a greyhound race today, Doncaster 18:28 this as goes on for 12 pages, this is the top and bottom

06/2022 18:28:16: Guardian has detected that the market is suspended
27/06/2022 18:28:45: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556981874)
27/06/2022 18:28:48: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556981874) was killed.
27/06/2022 18:28:48: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556981205)
27/06/2022 18:28:51: [G_Auto 4] : £ 0.96 unmatched bet (Ref:272556981205) was killed.
27/06/2022 18:28:51: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556980413)
27/06/2022 18:28:54: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556980413) was killed.
27/06/2022 18:28:54: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556979582)
27/06/2022 18:28:57: [G_Auto 4] : £ 5.43 unmatched bet (Ref:272556979582) was killed.
27/06/2022 18:28:57: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556978411)
27/06/2022 18:29:00: [G_Auto 4] : £ 1.09 unmatched bet (Ref:272556978411) was killed.
27/06/2022 18:29:00: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556977085)
27/06/2022 18:29:03: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556977085) was killed.
27/06/2022 18:29:03: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556974186)
27/06/2022 18:29:06: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556974186) was killed.
27/06/2022 18:29:06: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556973297)
27/06/2022 18:29:10: [G_Auto 4] : £ 4.81 unmatched bet (Ref:272556973297) was killed.
27/06/2022 18:29:10: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556972962)
27/06/2022 18:29:13: [G_Auto 4] : £ 0.96 unmatched bet (Ref:272556972962) was killed.
27/06/2022 18:29:13: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556971962)
27/06/2022 18:29:16: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556971962) was killed.
27/06/2022 18:29:16: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556970696)
27/06/2022 18:29:19: [G_Auto 4] : £ 5.21 unmatched bet (Ref:272556970696) was killed.
27/06/2022 18:29:19: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556970704)
27/06/2022 18:29:22: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556970704) was killed.
27/06/2022 18:29:22: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556969429)
27/06/2022 18:29:25: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556969429) was killed.
27/06/2022 18:29:25: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556969050)
27/06/2022 18:29:28: [G_Auto 4] : £ 7.81 unmatched bet (Ref:272556969050) was killed.
27/06/2022 18:29:28: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556968767)
27/06/2022 18:29:31: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556968767) was killed.
27/06/2022 18:29:31: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556967832)
27/06/2022 18:29:34: [G_Auto 4] : £ 5.21 unmatched bet (Ref:272556967832) was killed.
27/06/2022 18:29:34: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556967521)
27/06/2022 18:29:37: [G_Auto 4] : £ 7.81 unmatched bet (Ref:272556967521) was killed.
27/06/2022 18:29:38: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556967500)
27/06/2022 18:29:41: [G_Auto 4] : £ 1.04 unmatched bet (Ref:272556967500) was killed.
27/06/2022 18:29:41: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556967130)
27/06/2022 18:29:44: [G_Auto 4] : £ 3.91 unmatched bet (Ref:272556967130) was killed.
27/06/2022 18:29:44: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556966506)
27/06/2022 18:29:47: [G_Auto 4] : £ 5 unmatched bet (Ref:272556966506) was killed.
27/06/2022 18:31:41: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation on the second request. It could cause calculation problems with this fill or kill bet and may leave the bet active in the market. (Ref: 272556854762)
27/06/2022 18:31:41: [G_Auto 4] : Unmatched bet (Ref:272556854762) kill results unknown.
27/06/2022 18:31:41: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 18:31:41: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556854535)
27/06/2022 18:31:41: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 18:31:41: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation on the second request. It could cause calculation problems with this fill or kill bet and may leave the bet active in the market. (Ref: 272556854535)
27/06/2022 18:31:41: [G_Auto 4] : Unmatched bet (Ref:272556854535) kill results unknown.
27/06/2022 18:31:41: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 18:31:41: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556854489)
27/06/2022 18:31:41: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 18:31:41: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation on the second request. It could cause calculation problems with this fill or kill bet and may leave the bet active in the market. (Ref: 272556854489)
27/06/2022 18:31:41: [G_Auto 4] : Unmatched bet (Ref:272556854489) kill results unknown.
27/06/2022 18:31:41: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 18:31:41: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 272556853570)
27/06/2022 18:31:42: [G_Auto 4] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
27/06/2022 18:31:42: [G_Auto 4] : WARNING: The Betfair API was unable to process the bet cancellation on the second request. It could cause calculation problems with this fill or kill bet and may leave the bet active in the market. (Ref: 272556853570)
27/06/2022 18:31:42: [G_Auto 4] : Unmatched bet (Ref:272556853570) kill results unknown.


And a snap shot from greyhound race in practice mode.
27/06/2022 19:16:13: Guardian has detected that the market is suspended
27/06/2022 19:16:53: [G_Auto 3] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 13333)
27/06/2022 19:16:56: [G_Auto 3] : £ 2.6 unmatched bet (Ref:13333) was killed.
27/06/2022 19:16:56: [G_Auto 3] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 13332)
27/06/2022 19:16:59: [G_Auto 3] : £ 3.47 unmatched bet (Ref:13332) was killed.
27/06/2022 19:16:59: [G_Auto 3] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: 13328)
27/06/2022 19:17:02: [G_Auto 3] : £ 1 unmatched bet (Ref:13328) was killed.

This file can cause the issue, I have removed all conditions, so it will be starting placing bets at 30 seconds . It doesn’t seem as bad in practice mode
(A) AFTER TEST.baf
Also not seen this be for
27/06/2022 20:37:03: [G_Auto 3] : Exception: Key cannot be null.
Parameter name: key


That was in practice mode.
You do not have the required permissions to view the files attached to this post.
Bet Angel
Bet Angel
Bet Angel
Posts: 3924
Joined: Tue Apr 14, 2009 3:47 pm

Dabbla wrote:
Mon Jun 27, 2022 8:54 pm
Bit of a strange one here, not sure if its related to the other issue or the test version.
I think it has something to do with fill or kills, which I don’t normally use, so not sure if this is new bug.
We'll have a look, but it's unlikely to be anything new.

It's not recommend to have dozens of fill or kills active in parallel as they each have to be handled individually: wait for the timer to expire, if it hasn't been seen to completely fill attempt to kill the remainder, see if betfair reports back something useful indicating it's actually been killed, if betfair gives a generic ambiguous error (which can still happen in live active markets) have another go just to make sure, offset the filled amount as necessary.
In this case because the market was suspended/closed it was guaranteed to get the error code from betfair - we could probably add a filter to stop the process when the market is closed, and delay the cancellation request if the market is currently suspended. That should stop the error messages.

Can't explain why there was the 30 min gap for the first example - that's a strange one.
DrG
Posts: 17
Joined: Sat Feb 20, 2021 4:35 pm

Hi

Is there any way to store a WIn Status as a numeric value in Historic Values or SV?

Thanks
DrG
Post Reply

Return to “Bet Angel - Release & version history”