Stored Values Persistence Question

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
ArticalBadboy
Posts: 106
Joined: Tue Feb 14, 2017 1:43 pm

Hello all, hope you are well.

I have two rules; one places a back bet on the current fav at a certain point in play, the other places a lay bet on the current fav at another time.
I have two other rules, that record what price I took on these two bets, storing the 'price of the most recent bet matched'. (I do this so I can display the prices in a custom column in Guardian)
I assumed that because I set the rules to trigger once, that these prices would be hard-coded as a snapshot of the price, but bizarrely I'm finding that some of the values are changing to zero once the market is suspended.

Can anyone help me please; either to fix my method, or suggest another way of recording a snaphot of prices in custom columns.

Thanks in advance
User avatar
Dabbla
Posts: 827
Joined: Wed Apr 15, 2009 1:50 pm

If you want to post the file, I’ll try and fix it.
Im wondering if the snapshot rules are triggering to quick after a bet has been placed. If that is the case , you would need to add something like a matched bets condition, to slow it down.
ArticalBadboy
Posts: 106
Joined: Tue Feb 14, 2017 1:43 pm

Thanks for the reply.
Yes I have a matched bet condition.

Perhaps it's simpler if I pose my original problem...

How does one record the price that is matched on a single bet in play, and get that data to persistently remain in a stored value so that it can be shown in a guardian custom column?
ArticalBadboy
Posts: 106
Joined: Tue Feb 14, 2017 1:43 pm

After some analysis, I've discovered that the prices are stored correctly during the race, and even when the race is suspended.
The problem occurs when the market is closed, at which point one or both of the stored prices is turned to zero.
Post Reply

Return to “Bet Angel - Automation”