Author Topic: Price Difference  (Read 1505 times)

Tags:
  • All members
  • Posts: 207
Price Difference
« on: 01 Mar 2016, 22:09 »
What condition can I use to define the gap in price between the favourite, second favourite and third favourite in a race so that I can stipulate a gap of say 1.5 pts. as in odds of 3 and 4 would not be a bet but odds of 3 and 4.5 would be a bet
Mike

  • Moderator
  • Posts: 3597
*
Re: Price Difference
« Reply #1 on: 01 Mar 2016, 22:23 »
Hi
g_ticks(r_1_back_price, r_2_back_price) will give you the difference in ticks between the back price of the fav and second fav.

and selections trigger expression g_ticks(r_1_back_price, r_2_back_price) is greater than <your number of ticks between 1st and 2nd favs>
and selections trigger expression g_ticks(r_2_back_price, r_3_back_price) is greater than <your number of ticks between 2nd and 3rd favs>

or you could simply subtract the prices:
and selections trigger expression r_2_back_price - r_1_back_price is greater than 1.5 
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: 207
Re: Price Difference
« Reply #2 on: 02 Mar 2016, 11:54 »
Hi
Many thanks for that, I am struggling using difference in ticks as opposed to difference in prices,
you seem to have sorted it for me I am grateful.
Mike

 

Please note, BetFair is seems to be currently OFFLINE