Pages:
Actions
  • #1 by joaofrancisco on 21 May 2024
  • Hello. I have a trigger for soccer but I need some help to finish this because I´m stucked....


    BOT parameters:

    Lay Bet:
    - Bet on MATCH ODDS
    - lay 50% of the full stake in pre live on the underdog with the odds between 3.5 and 6

    Greenup:
    - If the favourite scores a goal close the bet in hedge

    Distribute Loss
    - If the match reaches 70 minutes 0-0 close hedge

    Second Lay Bet:
    - if the underdog scores, lay the other 50% of the stake

    Second Greenup
    - if the favourite draws 1-1 close the bet on hedge

    No Bet
    - if the match ends with the non-favourite winning, it's a total loss

    I already have the trigger of the first Lay Bet, and the distribute Loss if is 0-0 after 70 mins (I think it´s right).

    But my difficult is to determine which the teams scored first to fire the next triggers.

    Can you help me on this?

    Thank you



  • #2 by joaofrancisco on 23 May 2024
  • Anyone can point me a direction to solve this?
  • #3 by MarkV on 23 May 2024
  • Hi
    Lay Underdog - 1st bet
    I don't think you want to include The Draw in the first lay bet trigger (its possible Draw price could be rank 3)
    selections index is between 1 and 2
    and selections back price is the maximum
    and then your other conditions for first bet
    also set a user variable in this trigger e.g. udog, value sel_index

    Lay again Underdog - if the underdog scores first
    selections index is equal to udog
    and selections lay matched is greater than 0
    AND
    OR
      selections index is equal to 1
      and selections trigger expression market_score1 is equal to 1
      and selections trigger expression market_score2 is equal to 0
    OR
      selections index is equal to 2
      and selections trigger expression market_score1 is equal to 0
      and selections trigger expression market_score2 is equal to 1

    Greenup -Close all bets if favourite equalize 1-1
    selections trigger expression market_score1 is equal to 1
    and selections trigger expression market_score2 is equal to 1

    I have not tested this
  • #4 by joaofrancisco on 25 May 2024
  • Thanks MarkV. I'll give it a try with your suggestions and see if it's all good...

    The only doubt I have is about that user variable e.g. name udog, value sel_index . How does the program knows the right index (1 or 2) for the underdog?
  • #5 by MarkV on 25 May 2024
  •  The only doubt I have is about that user variable e.g. name udog, value sel_index . How does the program knows the right index (1 or 2) for the underdog?
    Hi
    The conditions for the first lay bet identify the underdog and then in the same trigger record the index of the selection who had the first lay bet. So this trigger has 2 actions: Lay and Set User Variable.
    selections index is between 1 and 2
    and selections back price is the maximum
    and then your other conditions for first bet
    also set a user variable in this trigger e.g. udog, value sel_index  
  • #6 by joaofrancisco on 28 May 2024
  • Hello again MarkV....

    I´ve been around here with this trigger and I think it misses something that I can´t figure...

    So:

    - Lay Underdog 1st bet -> It´s working
    - Close if 0-0 at 70mins -> It´s working
    - Lay again Underdog -> It´s working

    but

    - GreenUp if Fav scores first -> not working
    - GreenUp is Fav equalizes 1-1 -> not working

    I´ve try with 2 games, where the Fav plays at home and away. It happens both ways. Won´t trigger the "Greenup if Fav scores first". I think that what is missing is the same in both triggers (if Fav scores first and if Fav equalizes 1-1). The error is the same ("None of the selections qualifies for the tradeout").


    The games are:

    - "Lazio vs Empoli" - 12/05/2024
    - "Nottm Forest - Chelsea" - 11/05/2024


    Maybe it´s in the blocks and how they are build (AND, OR, OR).....

    Can you see where this is stucked?


    Again, thank you for your help....


  • #7 by joaofrancisco on 28 May 2024
  • Sorry, forgot to put the trigger....
  • #8 by MarkV on 28 May 2024
  • Hi
    GreenUp - Fav Scores First change All Matching Selections to All Market's Selections

    GreenUp - Fav equalizes 1 - 1 change to All Market's Selections and add these conditions:
    and trigger lay again underdog - if the underdog scores first number of runs in the market is greater than 0
    and trigger greenup - fav scores first number of runs in the market is equal to 0

    please test in test mode 
  • #9 by joaofrancisco on 01 Jun 2024
  • I MarkV... I already made the changes that you suggested and it worked fine. The triggers are working. Thank you.


    But I have another issue, that sometimes happens. I have the trigger "GreenUp - Fav equalizes 1-1", that fire when the Favourite equalizes 1-1 (that´s the name ;D;D;D) and it fires 2 minutes after the goal for the odds to stabilize. But sometimes the odds takes to long time to stabilze and the trigger "catch" a lower odd and put me in red (that´s not the objective).


    So, there are some trigger expression (or another feature) to "see" if the back price is over the average of the 2 lays matched (because I have trigger to fire a second lay bet if the underdog scores first)?


    Do you understand what I mean (sorry for my English)? I´ve been around here and I can´t find any feature or see any trigger expression to solve this....


  • #10 by joaofrancisco on 01 Jun 2024
  • I'm very boring (I know, sorry)....

    But I can I select the matches that I know that will have the score in the screen? I see that not every matches have the score, so how can I delete or not to bet in those matches?

  • #11 by MarkV on 01 Jun 2024
  • I MarkV... I already made the changes that you suggested and it worked fine. The triggers are working. Thank you. But I have another issue, that sometimes happens. I have the trigger "GreenUp - Fav equalizes 1-1", that fire when the Favourite equalizes 1-1 (that´s the name ;D;D;D) and it fires 2 minutes after the goal for the odds to stabilize. But sometimes the odds takes to long time to stabilze and the trigger "catch" a lower odd and put me in red (that´s not the objective). So, there are some trigger expression (or another feature) to "see" if the back price is over the average of the 2 lays matched (because I have trigger to fire a second lay bet if the underdog scores first)? Do you understand what I mean (sorry for my English)? I´ve been around here and I can´t find any feature or see any trigger expression to solve this....
    Hi
    and selections back price is greater than bm_layavp

    or you can use market current trade out value:
    and selections trigger expression market_tradeout is greater than 0 (or any positive amount)
     
  • #12 by MarkV on 01 Jun 2024
  • I'm very boring (I know, sorry).... But I can I select the matches that I know that will have the score in the screen? I see that not every matches have the score, so how can I delete or not to bet in those matches?
    say give it a few minutes to see if score is there.

    DELETE MARKET
    in-play
    conditions:
    markets minutes since the is off is greater than 3
    and selections trigger expression score_exists is equal to 0

    or if you want to check for score in the betting trigger:
    and selections trigger expression score_exists is equal to 1
Pages:
Actions