Pages:
Actions
  • #1 by grinder on 07 Sep 2016
  • Hi everyone,
    Would you be so nice to explain me how to back a football team in HT market if it's already backet in Match Odds market by another trigger?

    I just dont know how to remember the selection ID which was backed by the first trigger and then back the same selection ID with the second.

    Thanks!
  • #2 by MarkV on 07 Sep 2016
  • Hi
    football1_

    Maybe try a condition block like this in the HT trigger:
    OR
       selections index is equal to 1
       and selections trigger expression football1_s_1_back_matched is greater than 0
    OR
       selections index is equal to 2
       and selections trigger expression football1_s_2_back_matched is greater than 0
    OR
       selections index is equal to 3
       and selections trigger expression football1_s_3_back_matched is greater than 0
  • #3 by grinder on 07 Sep 2016
  • Hi
    football1_

    Maybe try a condition block like this in the HT trigger:
    OR
       selections index is equal to 1
       and selections trigger expression football1_s_1_back_matched is greater than 0
    OR
       selections index is equal to 2
       and selections trigger expression football1_s_2_back_matched is greater than 0
    OR
       selections index is equal to 3
       and selections trigger expression football1_s_3_back_matched is greater than 0

    Is always Index 1 the same team in every market?
    Lets say in Next Goal market Index 1 is Barcelona but in Match Odds market Index 1 can be Albacete?

    P.S: Just checked a few markets - Index 1 is the lowest odd. It has nothing to do with teams
  • #4 by MarkV on 07 Sep 2016
  • Hi
    selection index is the order of selections as displayed by Betfair. You are correct sometimes the index is not the same in some markets, but you can adjust your conditions to take that into account. In your first post you asked about betting the same selection in the Half Time market if a bet has been placed in the Match Odds market. Now the index numbers are always the same in those two markets:
    1 = Home Team
    2 = Away Team
    3 = The Draw

    another way to do the HT / MO is:
    markets betting code is Half Time (Soccer)
    AND
         OR
             selections trigger expression football1_s_1_back_matched is greater than 0
             and selections trigger expression sel_id is equal to football1_s_1_sel_id
         OR
             selections trigger expression football1_s_2_back_matched is greater than 0
             and selections trigger expression sel_id is equal to football1_s_2_sel_id

    The method is the same if you want to bet in Next Goal if a selection has a matched back bet in Match Odds:
    markets betting code is Next Goal (Soccer)
    AND
         OR
             selections trigger expression football1_s_1_back_matched is greater than 0
             and selections trigger expression sel_id is equal to football1_s_1_sel_id
         OR
             selections trigger expression football1_s_2_back_matched is greater than 0
             and selections trigger expression sel_id is equal to football1_s_2_sel_id
  • #5 by grinder on 07 Sep 2016

  •           selections trigger expression sel_id is equal to football1_s_1_sel_id
       

    That's all I needed,I just didn't know the parameter. Thanks a lot!!
  • #6 by grinder on 09 Sep 2016
  • One last question, please.
    football5_ is the code for HT market. What's the code for Next Goal market?

    Thanks!
  • #7 by MarkV on 09 Sep 2016
  • Hi
    football21_
  • #8 by grinder on 09 Sep 2016
  • Hi
    football21_

    Thank you, sir.
Pages:
Actions