HELP - Double firing

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
LittlePickle
Posts: 2
Joined: Thu Nov 21, 2019 7:45 am

Hi,

Please help someone :(

Have been working on an automation file and it is going very well but I am having problems with double firing.
This happens very rarely but happened to me on a loss, and with lay odds so high a double loss can wipe out a huge profit :(

I have the trigger rearming after 3 seconds. Refresh is 20ms and restricted refresh is on so only a couple markets are active.
Both conditions of "number of matched bets" and "number of unmatched bets" are both set to =0 for the selection

Yet the log below happened.

LOG Example:

20/12/2019 11:26:49: [G_Auto] : $ 2.50 Lay bet placed on 13. Snowfire at 6.2. Fully matched at 6.2. Ref: x ( Fill or kill bet with 13 seconds delay. )
20/12/2019 11:26:51: [G_Auto] : $ 2.41 Lay bet placed on 13. Snowfire at 6.4. Fully matched at 6.4. Ref: x ( Fill or kill bet with 13 seconds delay. )

is there something i can be doing to help stop this, i'm happy to increase the rearm time but i'm not sure that's the problem?

Thanks.
User avatar
Euler
Posts: 26459
Joined: Wed Nov 10, 2010 1:39 pm

Is this something inplay or pre-off?
LittlePickle
Posts: 2
Joined: Thu Nov 21, 2019 7:45 am

Euler wrote:
Fri Dec 20, 2019 1:01 pm
Is this something inplay or pre-off?
Pre-off
User avatar
whimsies
Posts: 181
Joined: Sun Oct 02, 2016 7:37 am

I find it is usually the re arm time if I get multiple entries
mickypaul72
Posts: 116
Joined: Tue May 15, 2018 1:52 pm

Number of Place Bet Trigger condition
on The Selection
is equal to 0
Anbell
Posts: 2399
Joined: Fri Apr 05, 2019 2:31 am

I see this issue double-firing popping up occasionally.

It happened to me today 5 times today on a new automation (not excel)

I want to lay every horse once, pre-off, if certain conditions are met.

Rule: place lay bet on any selection. Trigger 24 times, wait 1 sec before rearming. I'm streaming at 200ms.

Conditions:
1. not in play
2. unmatched bets on selection = 0
3. matched bets on selection = 0

Should that be sufficient to execute?

TIA
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

Condition: Number of place bet triggers on selection = 0 should cure this for you A - you could then even be able to safely shorten up the rearm time if you want.
Anbell
Posts: 2399
Joined: Fri Apr 05, 2019 2:31 am

Thanks Jukebox.

Appreciate it.

ETA. OMG. I realize that answer it exactly the same as the post above my question. Sorry everyone. It's a wonder I can tie my shoelaces some days.

(I thought 'Place Bet Trigger condition' referred to the place market. Doh)
Tiger
Posts: 61
Joined: Wed Mar 29, 2023 8:41 pm

How do I stop the double firing if I want the bet to repeat itself when the conditions are right, but only fire once each time.

For example I want to lay @ 1.2 and take 10 ticks profit. Then do the same again if and when the price goes back to 1.2. This can happen several times in a game.

How would I set this up please?
User avatar
jamesedwards
Posts: 4239
Joined: Wed Nov 21, 2018 6:16 pm

Tiger wrote:
Thu Jul 31, 2025 1:01 pm
How do I stop the double firing if I want the bet to repeat itself when the conditions are right, but only fire once each time.

For example I want to lay @ 1.2 and take 10 ticks profit. Then do the same again if and when the price goes back to 1.2. This can happen several times in a game.

How would I set this up please?
Use an appropriate condition.

For example you could say there has to be zero unmatched bets on the market for the rule to trigger.
Tiger
Posts: 61
Joined: Wed Mar 29, 2023 8:41 pm

When I have the condition of 0 unmatched bets on the selection it double fires. I can't condition the number of matched bets because I don't know how many times the trade will present itself in each game.

I think the place bet triggers condition prevents it from triggering more then once?

Can you suggest any other conditions I could use to solve the problem.
User avatar
jamesedwards
Posts: 4239
Joined: Wed Nov 21, 2018 6:16 pm

Tiger wrote:
Thu Jul 31, 2025 11:00 pm
When I have the condition of 0 unmatched bets on the selection it double fires. I can't condition the number of matched bets because I don't know how many times the trade will present itself in each game.

I think the place bet triggers condition prevents it from triggering more then once?

Can you suggest any other conditions I could use to solve the problem.
This shouldnt be possible, unless your bets are matching straight away, or you are trading in an in-play market with a bet placement delay.

Most likely you've made a mistake somewhere. Post your .baf file and someone will probably be able to spot the issue.
Tiger
Posts: 61
Joined: Wed Mar 29, 2023 8:41 pm

It could be the delay. I'm trading in play. Is there anything I can do to stop it. My last resort was to half my stake because it almost always double fires.
User avatar
Dabbla
Posts: 826
Joined: Wed Apr 15, 2009 1:50 pm

When you place a bet, store a value called (placed bet) for the selection. Store the value of 1
Then add a condition called (Stored value SET condition) to the bet rule. Then select (NOT SET).
This will stop any other bets.
Then create another rule the clears the SV (placed bet), when you’re ready to fire another bet.
User avatar
jamesedwards
Posts: 4239
Joined: Wed Nov 21, 2018 6:16 pm

Dabbla wrote:
Fri Aug 01, 2025 6:55 am
When you place a bet, store a value called (placed bet) for the selection. Store the value of 1
Then add a condition called (Stored value SET condition) to the bet rule. Then select (NOT SET).
This will stop any other bets.
Then create another rule the clears the SV (placed bet), when you’re ready to fire another bet.
Easier way to achieve this is to use the 'add market betting delay" checkbox. With this checked, any repeat trigger will not activate until the original bet has hit the market, so the unmatched bet = 0 condition will now work.
z186.jpg
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Bet Angel - Automation”