Author Topic: Number of matched bets previous market  (Read 1054 times)

Tags:
  • All members
  • Posts: 13
  • Gender: Male
Number of matched bets previous market
« on: 02 Dec 2019, 11:45 »
I am working on a trigger that can lay on either the 2nd or 3rd favourites if they meet certain criteria.  Occasionally both do and the trigger lays both. However, I want to use an incremental recovery that increases by a certain amount if the last settled market was an overall loss.  This had been working fine until the weekend when a loss occurred having layed two horses in the market.  UP to now I have been using hist_1_laya but I obviously discovered that this would use the total layed in previous market and not the amount for each bet.  

Is there any way to calculate the total number of matched lay bets in the previous settled market, as that way I can just set up a simple formula and divide the hist_1_laya by 2 if there happened to be two lays in previous market.

Thanks for your help.

Paul

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: Number of matched bets previous market
« Reply #1 on: 04 Dec 2019, 09:06 »
I think the easiest way is to set a "user variable" with bet placement trigger (add a second action) with the amount placed (or whatever you need for calculations).
So it'll always be holding the last bet amount placed.
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

 

Please note, BetFair is seems to be currently OFFLINE