Store matched bet information of a selection

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
User avatar
abgespaced
Posts: 176
Joined: Sun Aug 23, 2020 2:25 am
Location: Australia

I am trying to get the log to display the bet ID, price and amount of the first bet matched once the market has gone in play.

To do this I am modifying a stored value to store "matched bet information of a selection". It is triggered by a separate signal rule that is signalled when the number of matched bets in the market is > 0 and the time since the signal was modified is between 1 and 2 seconds.

I added this signal as a separate rule because I was only getting intermittent results. I.e. sometimes it would correctly log the data I want, but mostly it didn't. But that didn't change anything. The data is still only logged intermittently or not at all.

Is there some secret setting I'm missing?
problem with logging 2.png
problem with logging 3.png
You do not have the required permissions to view the files attached to this post.
Last edited by abgespaced on Sat Sep 19, 2020 1:02 am, edited 1 time in total.
User avatar
abgespaced
Posts: 176
Joined: Sun Aug 23, 2020 2:25 am
Location: Australia

problem with logging 4.png
problem with logging.png
typical result.png
You do not have the required permissions to view the files attached to this post.
User avatar
Dallas
Posts: 22671
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

You haven't placed any bets according to that log
Unless they were done pre off and not showing in the part of the log you've displayed above?
User avatar
abgespaced
Posts: 176
Joined: Sun Aug 23, 2020 2:25 am
Location: Australia

Dallas wrote:
Sat Sep 19, 2020 1:37 pm
You haven't placed any bets according to that log
Unless they were done pre off and not showing in the part of the log you've displayed above?
My bets are placed pre-off, kept in-play and matched in-play. I just truncated the log to keep the screen clear.

You can see my signal "firstBet" has been set to "1" which means guardian itself has detected the number of bets matched is > 0 as per my rules.

Here's what's normally above my logs (I had 12 bets matched in-play in this particular market):
problem with log pt2.png
You do not have the required permissions to view the files attached to this post.
User avatar
Dabbla
Posts: 662
Joined: Wed Apr 15, 2009 1:50 pm

This file will save the bet info once a bet is matched on the selection.
STORE MATCHED BET.baf
20/09/2020 09:41:48: £ 20.00 Lay bet placed on 2. Border Cross at 9.2. Entirely unmatched when it initially reached the market. Ref: 10006
20/09/2020 09:41:49: [G_Auto] : Store Value for 2. Border Cross: AMOUNT = 0.41
20/09/2020 09:41:49: [G_Auto] : Store Value for 2. Border Cross: PRICE = 9.2
20/09/2020 09:41:49: [G_Auto] : Store Value for 2. Border Cross: REF = 10006
20/09/2020 09:41:54: £ 15.00 Lay bet placed on 1. Altana Blue at 19. Fully matched at 19. Ref: 10007
20/09/2020 09:41:54: [G_Auto] : Store Value for 1. Altana Blue: AMOUNT = 15
20/09/2020 09:41:54: [G_Auto] : Store Value for 1. Altana Blue: PRICE = 19
20/09/2020 09:41:54: [G_Auto] : Store Value for 1. Altana Blue: REF = 10007
20/09/2020 09:42:40: Market is in-play
You do not have the required permissions to view the files attached to this post.
User avatar
abgespaced
Posts: 176
Joined: Sun Aug 23, 2020 2:25 am
Location: Australia

Dabbla wrote:
Sun Sep 20, 2020 9:45 am
This file will save the bet info once a bet is matched on the selection.
STORE MATCHED BET.baf

20/09/2020 09:41:48: £ 20.00 Lay bet placed on 2. Border Cross at 9.2. Entirely unmatched when it initially reached the market. Ref: 10006
20/09/2020 09:41:49: [G_Auto] : Store Value for 2. Border Cross: AMOUNT = 0.41
20/09/2020 09:41:49: [G_Auto] : Store Value for 2. Border Cross: PRICE = 9.2
20/09/2020 09:41:49: [G_Auto] : Store Value for 2. Border Cross: REF = 10006
20/09/2020 09:41:54: £ 15.00 Lay bet placed on 1. Altana Blue at 19. Fully matched at 19. Ref: 10007
20/09/2020 09:41:54: [G_Auto] : Store Value for 1. Altana Blue: AMOUNT = 15
20/09/2020 09:41:54: [G_Auto] : Store Value for 1. Altana Blue: PRICE = 19
20/09/2020 09:41:54: [G_Auto] : Store Value for 1. Altana Blue: REF = 10007
20/09/2020 09:42:40: Market is in-play
It works! You're a bloody legend. Thanks mate :D
Post Reply

Return to “Bet Angel - Automation”