Pages:
Actions
  • #1 by hdtv11 on 11 Sep 2019
  • Hi,

    I'm trying to figure it out how to set user variables to be more accurate in live horse racing...

    I use variables to constanty monitor match_b_book on win markets for 1st, 2nd, 3rd favourite etc, or together 1st and 2nd,  1st, 2nd and 3rd, etc...to place a bets on place markets...

    1st favourite match_b_book  (1book)
    Selection's back price is equal to r_1_back_price
    Selection's trigger expression matching_number is equal to 1
    Execute no more often then 0.2 sec

    2nd favourite match_b_book (2book)
    Selection's back price is equal to r_2_back_price
    Selection's trigger expression matching_number is equal to 1
    Execute no more often then 0.2 sec

    1st and 2nd favourite match_b_book (12book)
    Selection's back price is between r_1_back_price and r_2_back_price
    Selection's trigger expression matching_number is equal to 2
    Execute no more often then 0.2 sec

    The problem is when two horses have the same rank...

    In one race, I got these variables:

    1book = 66,7
    2book = 66,7
    12book = 66,7
    3book = 28,17
    123book = 94,84

    Because 2book variable was so high, it caused a trigger to place a back bet on 2nd favourite on place market (at the end it was a lost bet)

    Next second, variables were:

    1book = 33,33
    2book = 29,85
    12book = 63,18
    3book = 28,17
    123book = 91,35

    Are there any setting or trigger condition to avoid these situations ?

    I thought that matching_number would help...

    Thanks for any help or suggestion...

  • #2 by Oxa (WellDoneSoft) on 12 Sep 2019
  • Hi!

    I get the feeling that you are approaching the task from the wrong side.

    First of all, to get the chance (the reverse of the price) of any selection, you just need to use 100/back_price. There is no need to write a special trigger that will set a dedicated variable.

    Second, you are probably trying to place Dutching bets, and through some complicated manual path. Why don't you explain what you are trying to achieve, and I'll come up with a simpler solution?
  • #3 by hdtv11 on 12 Sep 2019
  • Hi Oxa

    I want to place separate BACK bets on 1st or 2nd favourite on PLACE market, depending on dedicated variable on WIN market that presents their chance of win (match_b_book)...I called these variables 1bookwin, 2bookwin, 3bookwin, 4bookwin, etc...

    The trigger should place BACK bet on 1st favourite on PLACE market if his chance to win (1bookwin) is xy times bigger then the chance of 4th favourite to win (4bookwin)... Or trigger should place BACK bet on 2nd favourite on PLACE market if his chance to win (2bookwin) is xy times bigger then the chance of 4th favourite to win (4bookwin)....So it's not about dutching...


  • #4 by hdtv11 on 12 Sep 2019
  • This is a situation in particular race I mentioned in first post...

  • #5 by Oxa (WellDoneSoft) on 18 Sep 2019
  • Quote
    The trigger should place BACK bet on 1st favourite on PLACE market if his chance to win (1bookwin) is xy times bigger then the chance of 4th favourite to win (4bookwin)...

    Here is how you would do this:



    Look at the prices of the Win market:



    Obviously, you would need to refresh both Place and Win markets.
  • #6 by hdtv11 on 19 Sep 2019
  • Thx Oxa

    I will try using above formulas (100/winplace_back price, 100/winplace_r_4_back_price, etc.) in triggers instead of user variables...

    Still concerned how to avoid triggering in situations where for example 2 or more horses have the same back price on win market and rank...

  • #7 by Oxa (WellDoneSoft) on 19 Sep 2019
  • Check this out:

    Selection rank

    The program will always pick only one selection with the given rank.
  • #8 by hdtv11 on 20 Sep 2019
  • Ok, it's clear now...

    So, just to check...formula to get the chance of winning for the 1st, 2nd and 3rd favourite together would be:
    (100/winplace_r_1_back_price)+(100/winplace_r_2_back_price)+(100/winplace_r_3_back_price)

    And one more thing (because I want to delete unnecessary conditions in my triggers)...

    If I bet on 1st and 2nd favourite in place markets, with ranks and mentioned formulas in this topic, do I need Trigger Expressions:
    "matching_number is equal to 1" and
    "winplace_sel_order is equal to sel_order"

  • #9 by Oxa (WellDoneSoft) on 12 Oct 2019
  • Quote
    do I need Trigger Expressions:
    "matching_number is equal to 1" and
    "winplace_sel_order is equal to sel_order"

    Sometimes the rank of a selection in the Win market is not equal to its rank in the Place market, so double-checking that won't hurt.
Pages:
Actions