Author Topic: How do i get the approximate_race_time to bet 50% through a race?  (Read 1938 times)

Tags:
  • All members
  • Posts: 185
Hi,

I am manually using my bet inplay system but would like to try and automate it. The key is to bet halfway through a race so 50% into a race. How can I add the condition to the approximate_race_time trigger to wait into 50% of the race is done before betting?

Many thanks

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Hello!

We have a stats-based calculation of an average race time, with a related trigger example:

Acting towards the end of a race: calculating race duration based on stat

So download that example and use the condition similar to the one in the betting trigger:

Market's Minutes Since the Off is equal or greater than (raceTime/60)*0.5
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 185
That's great thank you , I will add and remove seconds_to_end function ? 

  • Administrator
  • Posts: 8821
  • Gender: Female
*
You may, but if you keep it, it won't do any harm either (you may want to use it somewhere in future).
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 185
Thank you,

I made the changes , but the trigger not placing any bets.

I want to lay the fav when the odds are equal or greater then 8 inplay after halfway through the race but for some reason it's not working :( any idea why?

It's very difficult to do it manually was hoping this would would resolve it.

Thanks again

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Please attach the logs of the betting trigger.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 185
Hi,

The trigger did bot do much see attached

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Please see the triggers I developed for you in the related topic.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

 

Please note, BetFair is seems to be currently OFFLINE