Author Topic: trade out bet sometimes not matched  (Read 21899 times)

Tags:
  • All members
  • Posts: 4
  • Gender: Male
trade out bet sometimes not matched
« on: 21 Jun 2024, 19:24 »
Hi All,

Sometimes my trade out bets don't get matched due to the price moving while it is being placed and I end up losing my full stake.  What is the best approach to making sure the trade out is always successful?  

Thanks

  • Moderator
  • Posts: 3689
*
Re: trade out bet sometimes not matched
« Reply #1 on: 22 Jun 2024, 15:24 »
Hi
Probably several ways to address this.

In the Stop-Loss settings you can automatically match unmatched bets under certain criteria.

Or use a trigger action: match unmatched back bets or match unmatched lay bets. This will give you better control than the settings option above. For example use a condition to trigger this x seconds after tradeout trigger fired.

Or use a back or lay trigger (whichever is appropriate for your tradeout) but set the price x ticks above or below current tradeout price.
If opening bet is back and want to trade out with a lay set the price for the lay bet as r_ticks(lay_price, x)
If opening bet is lay and want to trade out with a back set the price for the back as r_ticks(back_price, -x)
e.g. lay at r_ticks(lay_price, 6) will send a lay bet 6 ticks higher than current best lay price. Betfair will match it at best available lay price.

Or use a back or lay trigger as appropriate to trade out and use "best" in the price field. Betfair will match at best available price.  

   
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: 4
  • Gender: Male
Re: trade out bet sometimes not matched
« Reply #2 on: 22 Jun 2024, 17:42 »
Thanks for the reply MarkV!

I like the sound of the second option you suggested, using a trigger action: match unmatched back bets.  I think this will work well for my situation. I will try it out and let you know how it goes!

Cheers.

 

Please note, BetFair is seems to be currently OFFLINE