Author Topic: User variables  (Read 1294 times)

Tags:
  • All members
  • Posts: 17
  • Gender: Male
User variables
« on: 11 Sep 2019, 15:14 »
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...


  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: User variables
« Reply #1 on: 12 Sep 2019, 09:23 »
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?
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 17
  • Gender: Male
Re: User variables
« Reply #2 on: 12 Sep 2019, 13:44 »
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...



  • All members
  • Posts: 17
  • Gender: Male
Re: User variables
« Reply #3 on: 12 Sep 2019, 13:45 »
This is a situation in particular race I mentioned in first post...


  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: User variables
« Reply #4 on: 18 Sep 2019, 15:31 »
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.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 17
  • Gender: Male
Re: User variables
« Reply #5 on: 19 Sep 2019, 12:41 »
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...


  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: User variables
« Reply #6 on: 19 Sep 2019, 17:43 »
Check this out:

Selection rank

The program will always pick only one selection with the given rank.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 17
  • Gender: Male
Re: User variables
« Reply #7 on: 20 Sep 2019, 21:45 »
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"


  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: User variables
« Reply #8 on: 12 Oct 2019, 20:35 »
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.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE