Hi,
I was hoping someone could help. I'm trying to set something up so that if the favorite is losing 1-0, a bet is placed backing the favorite to win. Could anyone help with that? thanks
Football back favourite if 1-0 down
- jamesedwards
- Posts: 3935
- Joined: Wed Nov 21, 2018 6:16 pm
To do this properly is a bit complex for a beginner.
You could use a stored value saved at event level to identify when a goal has been scored, perhaps looking at the price of 0-0 on the correct score market. Then if the fav price is bigger than it was at kick-off, then assume it's 0-1, and place the bet.
Or a simpler but less accurate way could just look at the fav match odds price and assume if the price suddenly jumps up then they have gone 1-0 down. But the price jump could have just been they had a man sent off, or are playing badly?
You could use a stored value saved at event level to identify when a goal has been scored, perhaps looking at the price of 0-0 on the correct score market. Then if the fav price is bigger than it was at kick-off, then assume it's 0-1, and place the bet.
Or a simpler but less accurate way could just look at the fav match odds price and assume if the price suddenly jumps up then they have gone 1-0 down. But the price jump could have just been they had a man sent off, or are playing badly?