Author Topic: Current score in soccer  (Read 753 times)

Tags:
  • All members
  • Posts: 5
Current score in soccer
« on: 06 Nov 2018, 08:12 »
Hi all, I am trying to create a trigger that checks current score in HT but I am having some issues. I am using selection contains market_score1 - market_score2. It works most of the times but often the trigger place the bet on another score than the HT score. I get the imporession the trigger place the bet on the favorite selection instead of current correct score.

Is there anybody who could figure out what I am doing wrong?

Thanks all!
Anders

  • Moderator
  • Posts: 3605
*
Re: Current score in soccer
« Reply #1 on: 06 Nov 2018, 11:06 »
Hi
the condition for the current score is:
selections name contains "market_score1 - market_score2"

and your trigger should be:
first matching selection
once per market
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: 5
Re: Current score in soccer
« Reply #2 on: 06 Nov 2018, 13:30 »
Okay thanks! Should the " " be in the condition as well? Could it be that Test mode sometimes return the wrong value?

Another question, what is the best condition for HT in soccer. Now I am using :

Selection's trigger expression match_minute is between 45 and 46.

Is that correct?

  • Moderator
  • Posts: 3605
*
Re: Current score in soccer
« Reply #3 on: 06 Nov 2018, 14:55 »
Hi
Yes quotation marks to be included and one space before and after the hyphen. Should work just as well in test mode and real mode, but the score must be available for it to work. You can check the score is available by adding this condition as the first condition:
selections trigger expression score_exists is equal to 1

another way to do the current score is to use a block of conditions for each scoreline and the selection index. e.g. for Correct Score market:

OR
selections trigger expression market_score1 is equal to 0
and selections trigger expression market_score2 is equal to 1
and selections index is equal to 2
OR
selections trigger expression market_score1 is equal to 1
and selections trigger expression market_score2 is equal to 0
and selections index is equal to 5
OR
etc...

for half-time I would use:
markets minutes since the off is between 52 and 57
and selections trigger expression match_minute is between 45 and 48

because sometimes the match_minute remains at say 47 after first half added time, and then resets to 46 after the start of second half. Have a play and see what suits you best.     

   
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: 5
Re: Current score in soccer
« Reply #4 on: 06 Nov 2018, 16:57 »
Thank you very much MarkV!

 

Please note, BetFair is seems to be currently OFFLINE