Author Topic: Placing second bet in correct score  (Read 637 times)

Tags:
  • All members
  • Posts: 13
  • Gender: Male
Placing second bet in correct score
« on: 13 Feb 2023, 19:14 »
Hi,

What is the best or recommended way to have a second trigger place bets if the first trigger has placed bets.

For example, Trigger_1 places a back bet on 1-1. Later, after the first goal, I want Trigger_2 to place a back bet on 2-1 and 3-1 or 1-2 and 1-3 depending on which team scored the goal.

But I don't want Trigger_2 to place bets if Trigger_1 didn't place bets on the same match.

What is the rule I put in Trigger_2 to test if Trigger_1 placed bets? Is it "Number of matched bets" or "Number of runs in the event" or something else? 

What is the best way to test?

Thank you for any guidance you can offer.

Jim

  • Moderator
  • Posts: 3597
*
Re: Placing second bet in correct score
« Reply #1 on: 14 Feb 2023, 11:36 »
Hi
Like you suggest there are several ways and they will all work. As you are trading in Correct Score market only, conditions should apply to that market.

number of runs should be 
Trigger 1 number of runs in the market rather than event. Event will include all markets relating to that football match

So for trigger 2:
trigger 1 number of runs in the market is greater than 0
and markets number of matched back bets is greater than 0

If you wanted to be really accurate, you could include scorelines as well e.g.:
selections trigger expression market_score1 is equal to 1
and selections trigger expression market_score2 is equal to 0
and trigger 1 number of runs in the market is greater than 0
and markets number of matched back bets is greater than 0

 
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: 13
  • Gender: Male
Re: Placing second bet in correct score
« Reply #2 on: 14 Feb 2023, 17:50 »
Thank you.

Hmmm.

I can't figure out why my rules never are satisfied:

Market'sBetting Code isCorrect Score (Soccer)
ANDSelection'sNameis in list"2 - 0", "3 - 0"
ANDMarket'sMinutes Since the Last Goalis equal or greater than1.5
ANDSelection'sTrigger Expression10 *market_score1 + market_score2is equal to10
ANDTriggerPlace initial back betsNumber of runs in the sports eventis greater than0

I know I get the first set of bets placed by "Place initial back bets", but I never get the bets placed on 2-0 and 3-0. (Note: the calculation in the first trigger expression gives 10 if the score is 1-0, 11 if 1-1, 20 if 2-0, etc.)

Any thoughts on why these conditions fail? (There are no other conditions.)

  • Moderator
  • Posts: 3597
*
Re: Placing second bet in correct score
« Reply #3 on: 14 Feb 2023, 20:09 »
Hi
The trigger log should show which condition is FALSE 

try replacing the number of runs condition with:
and markets number of matched back bets is greater than 0
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