Reverse DoB Automation Going Wrong

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
DanMcWilliams
Posts: 55
Joined: Thu Nov 20, 2014 12:11 pm

Morning,

I have attached a copy of a rule i have started. Im trying to lay multiple horses and if their odds half, take the best price and get out for a loss

I believe i have done the following,

Stored the Value for the price of Horse 1 based on the price of the lay bet that will be matched
Placed a lay bet on Horse 1, 10 seconds before schedule start time (Value should now be stored)
Placed Back Bet on Horse 1in running at half the odds of the stored value.

(once i figure this out for one horse i will copy for the rest)

The lay bet triggers, but the back bet does not kick in.
Have I stored the value incorrectly? Or have i set the -50% on the stored value wrong?

Any help will be greatly appreciated, thanks.
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 4728
Joined: Wed Nov 21, 2018 6:16 pm

There's lots of things wrong with this.

Think about the order in which you need these events to happen. I would recommend ordering your rulelines roughly in the order of expected trigger time.

Your lay bet need to be triggered and matched before you store 'the price of the most recent lay bet matched' as a stored value.

If you're intending to do this on every selection in the race then you can just do it once using 'applies to selection' 'EVERY selection'. You don't need to repeat all your rulelines for every selection separately.

For the back bet condition you need to either divide the stored value by 2 or multiply it by 0.5 or multiply it by 50 percent. You're currently trying to multiply it by 0.5 percent.

You can't automatically back at half the odds because there is a Betfair delay of 1 second between bet trigger and placement for ion-play horse races, so your bet will trigger then match at the best price after 1 second, which may be well below, or above the desired price.

You're probably better off just halving your initial stake and letting it ride rather than trying to escape for 50% of possible loss. Every time you trade by taking a price you're losing expected value by the size of the spread at that moment, so unless you have reason to believe each trade has a positive expected value, the least number of trades the better.
Post Reply

Return to “Bet Angel - Automation”