I want to cancel bets if the odds change during the in-play bet delay time.
For Example,
If the lay bet triggers at the odds of 2.0 in the in-play market and during the in-play delay of 5 seconds if the market moves from 2.0 to any other odds lets say 1.99, I want my automation bot to cancel the bets at very second they are listed as unmatched bets.
I have tried using historic relative odd conditions with unmatched bet conditions.
i.e.
Cancel bets when
1. unmatched bet > 0
2. lay price now = lay price 6 seconds ago.
But it is canceling all the wanted bets as well.
Cancel bets if price changes during in-play delay time
- Kafkaesque
- Posts: 886
- Joined: Fri Oct 06, 2017 10:20 am
Given that you're mentioning specific prices in this way, can I assume, you're looking to take the prices? If so, fill or kill of 1 second should do the trick surely.doctor143 wrote: ↑Mon Oct 14, 2019 2:18 amI want to cancel bets if the odds change during the in-play bet delay time.
For Example,
If the lay bet triggers at the odds of 2.0 in the in-play market and during the in-play delay of 5 seconds if the market moves from 2.0 to any other odds lets say 1.99, I want my automation bot to cancel the bets at very second they are listed as unmatched bets.
I have tried using historic relative odd conditions with unmatched bet conditions.
i.e.
Cancel bets when
1. unmatched bet > 0
2. lay price now = lay price 6 seconds ago.
But it is canceling all the wanted bets as well.
No, I am not taking the prices so fill or kill won't work I guess. Let's assume, I am placing bets 25 ticks below the best price, so it will remain unmatched. Now what I want my bot to do is, cancel all the unmatched bets if price now(i.e. after 5 secs in-play delay) is not equal to price when the bet was triggered.
I think what you want is impossible, its almost like asking your bot to unclick its mouse, Betfair will always match you at the best available price.doctor143 wrote: ↑Mon Oct 14, 2019 6:31 amNo, I am not taking the prices so fill or kill won't work I guess. Let's assume, I am placing bets 25 ticks below the best price, so it will remain unmatched. Now what I want my bot to do is, cancel all the unmatched bets if price now(i.e. after 5 secs in-play delay) is not equal to price when the bet was triggered.
- ShaunWhite
- Posts: 10472
- Joined: Sat Sep 03, 2016 3:42 am
Equals? Don't you want <> price 6 secs ago?
And have you tried this.. A straight cancel will cancel everything, wanted or otherwise. A price dependant cancel will let you cancel bets above/below a given price.
You do not have the required permissions to view the files attached to this post.