GREEN fail?

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
rain91
Posts: 124
Joined: Tue Feb 07, 2017 7:11 pm

Infos from matched bet tab:
- My Back bet matched at 12:28:53, with 0.54 at odds 240.
- My Lay bet matched at 12:29:41 with 0.68 at odds 190 (=hedged)
- I have a condition with "Close trade on selection with greening", at 12:29:40. Placed the bet with 0.56 at 230.

Guardian log:
- My Lay bet matched at 12:29:38 (so all bets hedged). How do i know? I have an SV*, that store the total amount of matched back bets minus total amount of matched lay bets, and i see at this time: 0.54 - 0.68, so my 0.68 bet is matched. And after this (2 sec later) a fail staked green sent out. Why?
- Placed close bet with greening at 12:29:40 with 0.56 at 230. Its not ok. What was the problem?

EDIT: the "Close trade on selection with greening" watch the earlier bets from the matched bets tab (from bf with delay?), and my SV* calculated with other matched bet amounts? (not from BF, but own guardian value?). If the problem is this, a possible solution, if i cancel all bets before (3-4sec) i place a green bet?
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

When a 'Close Trade on selection (with or without greening), or a 'Green All Selection' rules triggers it will cancel any unmatched bets
If you tick the 'Add markets Betting delay' on the General tab

For bets under the minimum I'd use at least a 2 second re-arm time, plus the betting delay box ticked
rain91
Posts: 124
Joined: Tue Feb 07, 2017 7:11 pm

Hi Dallas, thanks for the reply.
If i trade on pre markets, there is no delay. If i use "Add market betting delay", how it works? This "fail" was in pre market. If its not a solution, i think i need before the green a cancel command and wait now 2-3 sec, and place the green.

Inplay: if i use "Add market betting delay" and 2 sec rearm under minimum stake, if the conditions change in the meantime (after the rearm 2 sec), will guardian not place the bet?
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

rain91 wrote:
Fri Nov 03, 2023 6:18 am
Hi Dallas, thanks for the reply.
If i trade on pre markets, there is no delay. If i use "Add market betting delay", how it works? This "fail" was in pre market. If its not a solution, i think i need before the green a cancel command and wait now 2-3 sec, and place the green.

Inplay: if i use "Add market betting delay" and 2 sec rearm under minimum stake, if the conditions change in the meantime (after the rearm 2 sec), will guardian not place the bet?
If its pre-off you don't need to worry about the delay, but the recommend re-arm time (for any betting rule) is a minimum 0.5 secs, as that should allow time for the Bet to reach betfairs servers, be matched and the information returned back to your PC
But if you have a sluggish connection you might find using a minimum 1 second re-arm safer

Once a rule rearms the next time the market refreshes it will check the conditions are met, if not it wont trigger until they are
rain91
Posts: 124
Joined: Tue Feb 07, 2017 7:11 pm

The re-arm time is not relevant for me. I have a green command before the off (trigger = 1). But i use need manual a cancel command before 2-3 sec the green, to avoid the previous mistake.

Other theme:
there is some trick that, when all conditions true (for example a back bet), then should the system wait for x seconds, and if the condition is still true, only then place the back bet? I need now manually with SV delay, but it isnt perfect.

So i have an SV, it watch the conditions, with rearming 1sec. Its store a value with starting 0, and +1. So the value will be 3 in the 3rd second. My back bet condition true if this value min. 3 (and after the back bet sent out, this store will be resetet for 0 value. I'm currently solving it this way, do you have a simpler solution?

Thanks for the help.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

rain91 wrote:
Fri Nov 03, 2023 1:25 pm

Other theme:
there is some trick that, when all conditions true (for example a back bet), then should the system wait for x seconds, and if the condition is still true, only then place the back bet? I need now manually with SV delay, but it isnt perfect.

So i have an SV, it watch the conditions, with rearming 1sec. Its store a value with starting 0, and +1. So the value will be 3 in the 3rd second. My back bet condition true if this value min. 3 (and after the back bet sent out, this store will be resetet for 0 value. I'm currently solving it this way, do you have a simpler solution?

Thanks for the help.
The way you are doing it is the best way, Ive posted an example here but used Signals rather than Stored Values
viewtopic.php?f=56&t=119554

Do you also have a reset rule if the conditions become untrue before it gets to 3?
rain91
Posts: 124
Joined: Tue Feb 07, 2017 7:11 pm

Yes. For example, my back bet have 4 conditions.

I created 4 separate rules to create the OR relationship.
1.: if the 1st back condition not true, then re-set this SV
2.: if the 2nd back condition not true, then re-set this SV
3.: if the 3rd back condition not true, then re-set this SV
4.: if the 4th back condition not true, then re-set this SV

i cant open your link: The requested topic does not exist.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

rain91 wrote:
Fri Nov 03, 2023 5:10 pm
Yes. For example, my back bet have 4 conditions.

I created 4 separate rules to create the OR relationship.
1.: if the 1st back condition not true, then re-set this SV
2.: if the 2nd back condition not true, then re-set this SV
3.: if the 3rd back condition not true, then re-set this SV
4.: if the 4th back condition not true, then re-set this SV

i cant open your link: The requested topic does not exist.
Sorry, slight typo in the link
viewtopic.php?f=56&t=11954
rain91
Posts: 124
Joined: Tue Feb 07, 2017 7:11 pm

Hi Dallas,

can you please watch this situation?

My matched BACK bets: avg odds 763,55 with 0,62
My matched LAY bets: avg odds 610,8 with 0,78

I requested a "Close trade on selection with greening"

In log, i see this: "Placed closure bet with greening on Overabottleofred by Laying 0.39 at 830"

Why did it make a LAY-bet? With these matched bets, a back bet should have followed.
User avatar
Dallas
Posts: 23597
Joined: Sun Aug 09, 2015 10:57 pm

rain91 wrote:
Tue Nov 07, 2023 5:51 pm
Hi Dallas,

can you please watch this situation?

My matched BACK bets: avg odds 763,55 with 0,62
My matched LAY bets: avg odds 610,8 with 0,78

I requested a "Close trade on selection with greening"

In log, i see this: "Placed closure bet with greening on Overabottleofred by Laying 0.39 at 830"

Why did it make a LAY-bet? With these matched bets, a back bet should have followed.
That doesn't really tell us anything, we'd need the full log along with the matched bets timings.

But it wont have fired in the wrong bet (it would be impossible for it to do so), it will only act on the information retrieved from Betfair in the refresh cycle it triggered in
User avatar
ShaunWhite
Posts: 10562
Joined: Sat Sep 03, 2016 3:42 am

rain91 wrote:
Tue Nov 07, 2023 5:51 pm
Hi Dallas,

can you please watch this situation?

My matched BACK bets: avg odds 763,55 with 0,62
My matched LAY bets: avg odds 610,8 with 0,78

I requested a "Close trade on selection with greening"

In log, i see this: "Placed closure bet with greening on Overabottleofred by Laying 0.39 at 830"

Why did it make a LAY-bet? With these matched bets, a back bet should have followed.
Was this the first greening bet or were there others before it which might have changed your position?

From what you say you had a net position of a 16p lay at 18.89. To green that at 830 it's a back bet of 0.36p ? Less than a penny, rounding might have made that zero??
rain91
Posts: 124
Joined: Tue Feb 07, 2017 7:11 pm

Sorry, it was only my fail, the problem was the same as I wrote above. I just need to use a delay and everything will be fine.

Dallas: the signal method is better than my solving with stored value for the delay (counting)?
my method works but yours is better, should i use signal? Unfortunately I don't know signal, I've never used it.
Post Reply

Return to “Bet Angel - Automation”