Author Topic: Basic in-play football (soccer) trigger  (Read 6878 times)

Tags:
  • All members
  • Posts: 22
  • Gender: Male
Basic in-play football (soccer) trigger
« on: 12 Feb 2025, 19:08 »
Hi all,

Could anyone please direct me to a basic IP football trigger that I can use as a basis for my own triggers, i.e. to give me the basic structure of a trigger? I'm not having much success contacting the support team and my 2-week trial expires soon.

Thanks in advance, Mark

  • Moderator
  • Posts: 3673
*
Re: Basic in-play football (soccer) trigger
« Reply #1 on: 12 Feb 2025, 21:58 »
Hi
There are loads of football triggers here
If you have something specific in mind please give a bit more detail what you want to do IP and I'll try help 
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #2 on: 13 Feb 2025, 10:31 »
This is very kind of you Mark, thanks. I purchased a priority trigger last week but I've had no response. Here's what I requested:

The bet will trigger for each selected fixture, as follows:

1.


2. Place 4 separate KEEP 'overs' orders on 1 more goal in the match, e.g. if the score is 1-1 the bet is on o2.5 goals
3. Each order should specify a different price and a different amount, e.g. order 1, £10 @ 3.1, order 2, £5 @ 4.1, etc.

I would like to be able to duplicate & amend the trigger so I can have 1 trigger for first-half goals and another for second-half goals.

Thanks again! :)

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #3 on: 13 Feb 2025, 10:33 »
Point 1 should be "minutes played, where 'x' is the number of minutes played (1-90)"

  • Moderator
  • Posts: 3673
*
Re: Basic in-play football (soccer) trigger
« Reply #4 on: 13 Feb 2025, 18:12 »
Hi
I should have a basic framework you can work with probably Saturday pm please check back then.

Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #5 on: 13 Feb 2025, 20:00 »
That's great, thanks again Mark!

  • Moderator
  • Posts: 3673
*
Re: Basic in-play football (soccer) trigger
« Reply #6 on: 15 Feb 2025, 16:01 »
Hi
Please see attached trigger for 1 more goal. It will bet on overs in the current OU market according to the specified time slot and price.

Notes:
Set the amounts, timings, and price required for each of the bets in the constants
I've put in triggers for three successive  bets, you can add the constants and trigger for the fourth once you have the hang of the trigger
In the triggers where the number of goals is greater than 0 there is a condition to bet 1 minute after the last goal was scored to allow the market prices to settle

Please test the trigger carefully in test mode before going live
     
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #7 on: 15 Feb 2025, 17:35 »
Superb, thanks so much for organising this. I'll let you know how I get on.

All the best, Mark :)

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #8 on: 16 Feb 2025, 17:15 »
H again,

If I have 2 triggers but the list of markets is different for each trigger can I accommodate this, or do all triggers automatically apply to the 'my markets' list?

Thanks, Mark

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #9 on: 16 Feb 2025, 17:42 »
P.S. I can see that the p1, p2, etc. is compared to the current market price. What would I use to place the bets so that p1, p2, etc. is the price I require? So they go in as orders regardless of the current market prices.

Thanks, Mark

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #10 on: 16 Feb 2025, 18:16 »
So essentially I just want to place 3 'keep' orders on the same goal line simultaneously, but with different prices and different stakes. Hope this makes sense :)

Cheers, Mark

  • Moderator
  • Posts: 3673
*
Re: Basic in-play football (soccer) trigger
« Reply #11 on: 16 Feb 2025, 18:19 »
Hi
Depending of how your lists of markets differ, you can use appropriate conditions separate them e.g.
Markets name contains "First Half"
this refers to first half goals markets

another example:

Trigger 1
Markets betting code is over under soccer market_score1+market_score2+0.5
and selections trigger expression match_minute is equal or less than 45 

Trigger 2
Markets betting code is over under soccer market_score1+market_score2+0.5
and selections trigger expression match_minute is greater than 45

and another way to separate the two triggers would be to run 2 instances of the program each running their own trigger with different market lists. see helpfile section: login window

Regarding putting in unmatched orders in the triggers replace Price: back_price with p1 or p2 etc
bear in mind these bets are placed in-play and will be cancelled by betfair on a market suspension / goal / red card etc. "Keep" bets can only be placed before market goes inplay    
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • Moderator
  • Posts: 3673
*
Re: Basic in-play football (soccer) trigger
« Reply #12 on: 16 Feb 2025, 18:26 »
So essentially I just want to place 3 'keep' orders on the same goal line simultaneously, but with different prices and different stakes. Hope this makes sense :) Cheers, Mark

Keep bets can only be placed before the market goes in-play, but the next goal line (1 more goal) is not known until a goal, or another etc is scored, so in this case the bets will need to be placed in-play, but you can put in unmatched orders bearing in mind the will be cancelled if a goal is scored  
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 22
  • Gender: Male
Re: Basic in-play football (soccer) trigger
« Reply #13 on: 16 Feb 2025, 18:36 »
Thanks for the speedy reply Mark :)

Yes, I see what you mean. So for the first-half games I just select the first-half goal markets. Good point.

Regarding the trigger you kindly wrote for me. I seem to be getting matched at the current market price. How do I specify the price I want to be matched at please? It seems to ignore the p1, p2, etc. variables on the order itself.

Many thanks, Mark

  • Moderator
  • Posts: 3673
*
Re: Basic in-play football (soccer) trigger
« Reply #14 on: 17 Feb 2025, 07:17 »
Hi
Please see attached trigger. It is similar to the previous one but instead of waiting for the required price to bet it will put in unmatched orders at the time and price specified.  
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE