Author Topic: Trigger Help  (Read 984 times)

Tags:
  • All members
  • Posts: 15
  • Gender: Male
Trigger Help
« on: 21 Jun 2020, 20:09 »
How would I set up a trigger based on the best 3 lay_amounts prices available?

I'm looking at, for example, all horses with amounts over £50 but I only want to bet on the horse with the highest amount. The example below 2 horses have prices over £50 but I would want to only bet on Horse 2 with £52 amount

Example 

Horse1 Lay amounts £25 £51 £17
Horse2 Lay amounts £17 £52 £12
Horse3 Lay amounts £25 £10 £5

I have selections Trigger Expression lay_amount, lay_amount2, lay_amount3
 is equal or greater than the min_lay_adv 

selections Trigger Expression lay_amount, lay_amount2, lay_amount3 is the maximum


The section in Bold is wrong I need correct formula thanks 



  • Moderator
  • Posts: 3597
*
Re: Trigger Help
« Reply #1 on: 22 Jun 2020, 05:31 »
Hi

lay_amount+lay_amount2+lay_amount3

you can also use lay_volume which is the sum of the three amounts offered at the best lay prices.
In the settings, retrieve all price offers should be unticked. If it is ticked lay_volume will return the sum of all the amounts that are offered for the selection on the lay side.
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: 15
  • Gender: Male
Re: Trigger Help
« Reply #2 on: 22 Jun 2020, 06:27 »
Thank you for your reply 

If I use lay_amount+lay_amount2+lay_amount3 does this add up the 3 available amounts?

For example 3.2@£10 + 3.4@£20 + 4.0@£52 =£82 

I need the formula to check prices with amounts over £50 for example on all horses and back the horse with the highest amount if that makes sense.




  • All members
  • Posts: 15
  • Gender: Male
Re: Trigger Help
« Reply #3 on: 22 Jun 2020, 06:50 »
I 've uploaded a screenshot for example.

You can see Birdie Bowers has £281 @ odds of 2.38 sitting on Lay_amount2
also, Manolith has £115 @ 5.0 sitting on Lay_amount3

If I was looking at the all amounts over say £100 what calculation would I use to back the highest amount Birdie Bower at the current price.

There are other factors within the method but I can work out this section

Thanks

  • Moderator
  • Posts: 3597
*
Re: Trigger Help
« Reply #4 on: 22 Jun 2020, 07:16 »
Hi
Please see attached screenshot.

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: 15
  • Gender: Male
Re: Trigger Help
« Reply #5 on: 22 Jun 2020, 08:40 »
Hello, thanks for your reply,

I have run trigger through the test and I'm getting different results ( attached examples)

The Trigger has placed a bet on Exchequer with money available at £204 lay_amount2
however, if you look Knowing Glance has lay_amount2 of £227 that's the selection it should have chosen.

It shouldn't include the other totals lay_amount & lay_amount3 in this instance  

Thanks 

  • Moderator
  • Posts: 3597
*
Re: Trigger Help
« Reply #6 on: 22 Jun 2020, 18:27 »
Hi
Sorry I misunderstood you did not want the 3 lay_amounts added together.

Please try this condition block:

AND
    OR
      selections trigger expression lay_amount is greater than 100.00
      and selections trigger expression lay_amount is the maximum
    OR
      selections trigger expression lay_amount2 is greater than 100.00
      and selections trigger expression lay_amount2 is the maximum
     OR
      selections trigger expression lay_amount3 is greater than 100.00
      and selections trigger expression lay_amount3 is the maximum
and selections trigger expression MAXV(lay_amount, lay_amount2, lay_amount3) is the maximum
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: 15
  • Gender: Male
Re: Trigger Help
« Reply #7 on: 22 Jun 2020, 18:44 »
Thanks, I have tried but won't let me save the trigger with AND & OR combined.

  • All members
  • Posts: 15
  • Gender: Male
Re: Trigger Help
« Reply #8 on: 22 Jun 2020, 18:47 »
I have tried the triggers below and almost achieves what I want it to do but must be a better way.

  • Moderator
  • Posts: 3597
*
Re: Trigger Help
« Reply #9 on: 22 Jun 2020, 18:49 »
start with an AND block and put the ORs in
see attached screenshot 
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: 15
  • Gender: Male
Re: Trigger Help
« Reply #10 on: 22 Jun 2020, 19:32 »
Works a treat thank you ... I 've been experimenting all-day trying different methods :)

 

Please note, BetFair is seems to be currently OFFLINE