Author Topic: best way to deal with VAR  (Read 2834 times)

Tags:
  • All members
  • Posts: 151
best way to deal with VAR
« on: 17 Mar 2021, 11:39 »
Hi

Just wondered if anyone had any opinion on how best to deal with disallowed goals and getting triggers to refire?

For example my trigger set has just placed the 2nd back bet into a market and then a goal went in so my green up trigger fired and everything was fine and dandy. Unfortunately the goal was disallowed by VAR so game resumes at 0-0. BUT my triggers have already placed the 2nd back bet and the green up trigger has fired but were cancelled after the restart so now won't replace the 2nd back bet and I've had to green up manually just now. 

Is this something I'll just have to live with?




  • Moderator
  • Posts: 3641
*
Re: best way to deal with VAR
« Reply #1 on: 17 Mar 2021, 18:09 »
Hi
Never tried this but perhaps you could do something with market_pscore variables which are the values of the previous score before market_score.

example:
condition block to detect VAR
OR
selections trigger expression market_pscore1 is greater than 0
and selections trigger expression market_score1 is equal to market_pscore1
OR
selections trigger expression market_pscore2 is greater than 0
and selections trigger expression market_score2 is equal to market_pscore2
.... then do your green up etc...

what I don't know is if market_pscore retains the first value after a VAR

OR you could simply set a user variable as a "high" goal count e.g.
set user variable name: goalhigh value: market_score1+market_score2
condition: market_score1+market_score2 is greater than goalhigh
no more often than say 45 secs

then to detect VAR:
market_score1+market_score2 is less than goalhigh
... do your VAR actions
 
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: 151
Re: best way to deal with VAR
« Reply #2 on: 17 Mar 2021, 18:54 »
ok thanks I'll give those a try.

 

Please note, BetFair is seems to be currently OFFLINE