Automation Fired But Bets Not Placed

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
DrJAT
Posts: 58
Joined: Wed Feb 16, 2022 3:20 pm

Hi all,

I had some automation running overnight on the Japan J League games, but it didn't place any bets. All the signals fired saying that the markets were good and it even set the signals saying which bets had been placed and when I had exited my position, but no actual bets placed. Any idea why this might have been? I can only think that maybe it had signed me out of my Betfair account as I'd been logged in for a few days on that session. It was obviously still connected to the API to have gotten the market data. Any thoughts?
Thanks,
JT
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

Being log out of your betfair account wouldn’t make any difference.
You would really need to post the log and/or the file.
Did your computer go in to sleep mode ?
Are you using SV for your odds placement.
DrJAT
Posts: 58
Joined: Wed Feb 16, 2022 3:20 pm

Thanks for the swift reply. I use a combination of Stored Values and Signals (depends if I need markets to talk to each other or not). Generally I used SV for cross-market communication, and anything I need to run a calculation on, and signals within a market just to map out the logic and keep track of which rules have fired etc.

My computer doesn't sleep, just the monitors turn off after 15 mins. The rules all fired and signals were all sent (including the "Backed" and "ExitPosition" signals), just no money went into the markets at all, despite the conditions being correct.
I've already closed Bet Angel and re-opened it, so is it still possible to access the logs if those markets are now closed?
DrJAT
Posts: 58
Joined: Wed Feb 16, 2022 3:20 pm

Dabbla wrote:
Sat Apr 02, 2022 10:48 am
Are you using SV for your odds placement.
Not on this particular rule. I'm using a SV for stake size and then calculating a half and quarter stake from that. But the odds I'm placing at are just the market value (or second best).
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

It could be the stake needs rounding down to 2 decimal places.
DrJAT
Posts: 58
Joined: Wed Feb 16, 2022 3:20 pm

Dabbla wrote:
Sat Apr 02, 2022 11:17 am
It could be the stake needs rounding down to 2 decimal places.
The stakes are 100, 50 and 25, but okay I'll try that! Thanks
DrJAT
Posts: 58
Joined: Wed Feb 16, 2022 3:20 pm

Dabbla wrote:
Sat Apr 02, 2022 11:17 am
It could be the stake needs rounding down to 2 decimal places.
I'm not seeing any other rules using rounding for calculated stakes, and I've used the same rule with the same quantities in one of my other systems, so I don't think it's that. Any other possibilities? It's just done the same thing again on the games that started at 11:00 :(
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

The rounding is done in the SV tab.
rounding.PNG
You can get older logs here
loghistfile.PNG
No not really, maybe its triggering on the wrong selection and not picking up certain info need to bet. without seeing the logs or the file, its really just a gussing game.
if you remove the conditions that giveaway your edge or change them. It would be easier look at he file.
You do not have the required permissions to view the files attached to this post.
DrJAT
Posts: 58
Joined: Wed Feb 16, 2022 3:20 pm

Dabbla wrote:
Sat Apr 02, 2022 12:12 pm
without seeing the logs or the file, its really just a gussing game.
Thanks. There doesn't seem to be anything in my saved logs, apart from a couple of days in March. Would that be because I typically just remove my markets from Guardian rather than exiting?

The logs for the game going on right now are:

O/U 1.5G:

02/04/2022 10:58:00: [G_Auto 1] : Store Value (Shared) for event: OUmarketgood = 1
02/04/2022 11:03:19: Guardian has detected that the market is suspended
02/04/2022 11:03:19: Guardian has detected that the market is in-play

Match Odds:

2/04/2022 10:15:38: [G_Auto 2] : Store Value (Shared) for event: Time = 0
02/04/2022 10:15:47: [G_Auto 1] : Store Value (Shared) for market: StakeSize = 100
02/04/2022 10:15:47: [G_Auto 1] : Store Value (Shared) for market: HalfStake = 100 / 2 = 50
02/04/2022 10:15:47: [G_Auto 1] : Store Value (Shared) for market: HalfStake = 100 / 4 = 25
02/04/2022 10:58:00: [G_Auto 1] : Store Value (Shared) for event: MOmarketgood = 1
02/04/2022 10:59:00: [G_Auto 1] : Automation Signal for market: Backed = 1
02/04/2022 10:59:00: [G_Auto 1] : Automation Signal for market: LTD = 1
02/04/2022 11:03:19: Guardian has detected that the market is in-play
02/04/2022 11:03:19: Guardian has detected that the market is suspended
02/04/2022 11:03:19: [G_Auto 2] : Automation Signal for market: Output = 1
02/04/2022 11:03:19: Guardian has detected that the market is now unsuspended
02/04/2022 11:03:49: [G_Auto 2] : Automation Signal for market: Output = 1
02/04/2022 11:04:19: [G_Auto 2] : Automation Signal for market: Output = 1
02/04/2022 11:04:49: [G_Auto 2] : Automation Signal for market: Output = 1
02/04/2022 11:10:55: Guardian has detected that the market is suspended
02/04/2022 11:10:58: Guardian has detected that the market is now unsuspended
02/04/2022 11:12:29: [G_Auto 1] : Automation Signal for market: ExitLTD = 1
02/04/2022 11:12:29: [G_Auto 1] : Automation Signal for market: HomeLead = 1

Correct Score:

02/04/2022 10:59:01: [G_Auto 1] : Automation Signal for 0 - 1: Backed = 1
02/04/2022 11:03:19: Guardian has detected that the market is in-play
02/04/2022 11:03:19: Guardian has detected that the market is suspended


It's meant to check the Match Odds and O/U1.5 markets for certain conditions, and if they're met it sets a half-stake LTD and a quarter-stake back of the away team and 0-1 correct score. There are then different actions depending on the score (using the SofaScore in-play stats bot from Sniffer, which is what the "Output = 1" logs are from). The condition detection is working and the logic for the actions is correct. Is it literally that it doesn't like 50 and 25 stakes if they're not rounded?

EDIT: I can send you the .baf files and remove the conditions if that's useful?
EDIT2: Just noticed that the quarter stake isn't working properly because I've reset half stake instead. But that doesn't explain why the half stake LTD isn't firing.
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

It looks like you’re only setting the stakes on the match odds screen.
You would need to change the stake SV, for (THE MARKET) to, for (THE EVENT).

Edit: you will also need to do this for the stake parameters in you betting rules .
DrJAT
Posts: 58
Joined: Wed Feb 16, 2022 3:20 pm

Ah ha, I see, thanks!
I still don't understand why the LTD rule didn't fire though? That's within the Match Odds market so the set value should have been valid, no?

EDIT: OK I see now, the SV was set for the market and the bet rules were looking for a variable set for the event. Totally on board now. Thanks for your help!
Post Reply

Return to “Bet Angel - Automation”