Linked Automation Re-arming

Share your automation file with other users.
Post Reply
User avatar
Tuco
Posts: 916
Joined: Wed Apr 15, 2009 1:43 pm

I'm delighted to announce I've successfully made/altered 5 different sets of servants all with linked automation rules in different markets, but the one thing I've not yet managed is to get the automation rules in the linked markets to re-arm after they have done their initial set of tasks. The servant fires again on the selection of choice but not the automation rules in the linked markets.

I'm sure there is a simple condition or stored file that I need to add but I'm not sure where to find/learn about this, so any help to point me in the direction would be much appreciated :)

TIA
User avatar
jamesedwards
Posts: 4954
Joined: Wed Nov 21, 2018 6:16 pm

Tuco wrote:
Fri Nov 28, 2025 11:49 am
I'm delighted to announce I've successfully made/altered 5 different sets of servants all with linked automation rules in different markets, but the one thing I've not yet managed is to get the automation rules in the linked markets to re-arm after they have done their initial set of tasks. The servant fires again on the selection of choice but not the automation rules in the linked markets.

I'm sure there is a simple condition or stored file that I need to add but I'm not sure where to find/learn about this, so any help to point me in the direction would be much appreciated :)

TIA
Lots of different ways to do this.

You could set the Betfair ID SV back to = 0 once it's triggered the bet. Or you could have a separate trigger signal or SV that switches between 0 and 1 when you want the trigger armed/disarmed. Or you could do something with 'stored value changed' condition.
User avatar
Tuco
Posts: 916
Joined: Wed Apr 15, 2009 1:43 pm

Thank you James. I'm still very much in the servant/automation learning phase so don't yet know how to go about this.

Are there any examples of this in action in a baf file I could look at? Or perhaps a thread explaining how to do this?

If someone has a couple of minutes, perhaps you could add these to the multiple Markets (A)? and Market (B) files for me to take a look at?

Many TIA :)
User avatar
jamesedwards
Posts: 4954
Joined: Wed Nov 21, 2018 6:16 pm

Tuco wrote:
Fri Nov 28, 2025 4:14 pm
Thank you James. I'm still very much in the servant/automation learning phase so don't yet know how to go about this.

Are there any examples of this in action in a baf file I could look at? Or perhaps a thread explaining how to do this?

If someone has a couple of minutes, perhaps you could add these to the multiple Markets (A)? and Market (B) files for me to take a look at?

Many TIA :)
For a start you'll probably find it much easier if you combine your rules into one rulesfile using the 'market type' condition to define which rule triggers where.

Should I assume that Market A is the win market, and Market B is all the place markets?
User avatar
Tuco
Posts: 916
Joined: Wed Apr 15, 2009 1:43 pm

...yes it's a variation of Dallas':

"Trigger a Rule on same Selection in a Different Market (Template)"
viewtopic.php?t=26361

Many thanks James - I'll take a look at 'Tucotastic' now :lol:
User avatar
jamesedwards
Posts: 4954
Joined: Wed Nov 21, 2018 6:16 pm

Tuco wrote:
Fri Nov 28, 2025 4:48 pm
...yes it's a variation of Dallas':

"Trigger a Rule on same Selection in a Different Market (Template)"
viewtopic.php?t=26361

Many thanks James - I'll take a look at 'Tucotastic' now :lol:
Hold the line, I think I misunderstood what you were doing.

Is your market A rule a servant trigger? So you want to trigger a servant on a context selection in the WIN market, and have a rule running on PLACE markets that duplicates the bet?
User avatar
Tuco
Posts: 916
Joined: Wed Apr 15, 2009 1:43 pm

...yes Market (A) is a servant trigger, which then triggers the linked markets (B), (C), (D) no problem - all works well for the first click on the context selection.

But if I click Market (A) again on the same or any other context selection, Market (A) triggers and fires in the bets just as it should, but the linked markets (B), (C), (D) do not trigger for a second time.

So there must be a checkpoint or a signal or similar that I need to put somewhere to allow the linked markets to trigger after the second click of Market (A).
User avatar
jamesedwards
Posts: 4954
Joined: Wed Nov 21, 2018 6:16 pm

Tuco wrote:
Fri Nov 28, 2025 4:56 pm
...yes Market (A) is a servant trigger, which then triggers the linked markets (B), (C), (D) no problem - all works well for the first click on the context selection.

But if I click Market (A) again on that or any other selection, Market (A) triggers and fires in the bets as it should, but the linked markets (B), (C), (D) do not trigger for a second time.

So there must be a checkpoint or a signal or similar that I need to put somewhere to allow the linked markets to trigger after the second click of Market (A).
Hmmm, this would be super-easy with just two markets but much more complicated with more than two because you don't know which order Bet Angel will be cycling through them.
User avatar
jamesedwards
Posts: 4954
Joined: Wed Nov 21, 2018 6:16 pm

It is very easy to do this if each trigger is on a different selection. But tricky if you need to repeat the same selection more than once.
User avatar
Tuco
Posts: 916
Joined: Wed Apr 15, 2009 1:43 pm

Thanks James - maybe Dallas or Dabbla will have some thoughts as to how to achieve this?

Somehow I need Markets (B), (C), (D) to reset/re-arm themselves for another click on Market (A).

Once I have some idea of where/how to start on this, I'm more than happy to play around and try and find a solution for additional multiple linked markets.
User avatar
jamesedwards
Posts: 4954
Joined: Wed Nov 21, 2018 6:16 pm

I love a good BA puzzle. I think I may have an idea...

Give me 20 mins.
User avatar
Tuco
Posts: 916
Joined: Wed Apr 15, 2009 1:43 pm

jamesedwards wrote:
Fri Nov 28, 2025 5:02 pm
It is very easy to do this if each trigger is on a different selection. But tricky if you need to repeat the same selection more than once.
It might be needed on the same selection or on a different one - all depends upon the in-play real-time circumstances.
User avatar
jamesedwards
Posts: 4954
Joined: Wed Nov 21, 2018 6:16 pm

Tuco wrote:
Fri Nov 28, 2025 5:07 pm
jamesedwards wrote:
Fri Nov 28, 2025 5:02 pm
It is very easy to do this if each trigger is on a different selection. But tricky if you need to repeat the same selection more than once.
It might be needed on the same selection or on a different one - all depends upon the in-play real-time circumstances.
Try these. This is for back bets only. Each market will trigger up to 5 times, but can easily be adjusted.

The place markets rule will only trigger when each market is hit by the Guardian cycle so make sure your markets are cycling through Guardian as fast as possible. Fast repeat triggers are unlikely to work every time because Guardian won't always have had the chance to complete a full cycle.

There's lots of things that could go wrong in here so make sure you do thorough testing in practice mode first! Also in your original rule you were trying to bet to £100 liability at 1.01 which meant a £10,000 stake, so you might want to change that for the future. :lol:

Tucotastic - servant.baf
Tucotastic - apply to all place markets.baf
You do not have the required permissions to view the files attached to this post.
User avatar
Tuco
Posts: 916
Joined: Wed Apr 15, 2009 1:43 pm

Many thanks James - Qatar F1 Sprint Qualifying has just finished so I'll take a look now.

The files you looked at have been updated a few times to include place/fill/kill and other adjustments.

------------------------------

What are the best settings in your opinion to get the triggers to cycle in the quickest time?

In the rules file I've set '0.1s before re-arming' and the global setting will have 'Refresh every 20 ms'
Post Reply

Return to “Bet Angel Automation - Shared files”