Getting that Green Lay bet to stay open

We were all new to Bet Angel once. Ask any question you like here and fellow forum members promise not to laugh. Betfair trading made simple.
Post Reply
james4bond
Posts: 20
Joined: Sun Sep 02, 2018 10:26 am

Hi everyone

I have had this problem since I started with Bet Angel and if I have a back bet on the start of a horse race in automation with a lay bet to follow (Greening) I find that unless I am at the screen to monitor I have enough lay bets not opening to create a loss over the day. I realise sometimes it might be the case that the lay bet doesn't meet my target ticks or there is not enough money around to open the lay but I have watched races where the selection goes substantially down in price with money flowing and the lay bet stops firing and does not open.

Is there anyway to put another rule in Bet Angel related to the previous rule whereby if there is a back bet is still open Bet Angel opens a Lay Bet at the relevant amount to create a greening oportunity and for profit and therefore green out?

There's an example below where the lay cancelled when as I understand it they are supposed to stay open to the end. The other bets are just some dutching I did as well but left them in to show bets were still greening out after my lay bet cancelled.

Thanks as always and still loving Bet Angel!!
.

02/11/2018 21:12:13: £ 2.00 Back bet placed on Swiss Cross at 6.2. Fully matched at 6.2. Ref: 143376531233
02/11/2018 21:12:13: £ 2.64 Back bet placed on Father Mckenzie at 4.7. Fully matched at 4.7. Ref: 143376531234
02/11/2018 21:12:14: £ 1.59 Back bet placed on Soar Above at 7.8. Fully matched at 7.8. Ref: 143376532389
02/11/2018 21:12:14: £ 1.51 Back bet placed on Kraka at 8.2. Fully matched at 8.2. Ref: 143376532390
02/11/2018 21:12:14: £ 1.18 Back bet placed on Jeopardy John at 10.5. Fully matched at 10.5. Ref: 143376532391
02/11/2018 21:12:14: £ 1.08 Back bet placed on Spanish Star at 11.5. Fully matched at 11.5. Ref: 143376532392
02/11/2018 21:15:29: Guardian has detected that the market is suspended
02/11/2018 21:15:30: Guardian has detected that the market is in-play
02/11/2018 21:15:30: Guardian has detected that the market is now unsuspended
02/11/2018 21:15:34: [G_Auto] : £ 12.00 Back bet placed on Father Mckenzie at 4.5. Entirely unmatched when it initially reached the market. Ref: 143376980868 ( Fill or kill bet with 0.5 seconds delay. Offsetting by 10 ticks with greening. )
02/11/2018 21:15:35: [G_Auto] : £ 12 of unmatched bet (Ref:143376980868) was filled before remainder was killed.
02/11/2018 21:15:36: [G_Auto] : £ 14.40 Lay bet placed on Father Mckenzie at 3.75. Entirely unmatched when it initially reached the market. Ref: 143376984120
[*][*][*][*][*][*]02/11/2018 21:16:15: [G_Auto] : Cancelling bets 143376984120[*][*][*][*][*][*][*]
02/11/2018 21:16:16: [G_Auto] : Greened up Father Mckenzie by Laying 8.97 at 7.4
02/11/2018 21:16:16: [G_Auto] : Greened up Soar Above by Laying 3.44 at 3.6
02/11/2018 21:16:16: [G_Auto] : Greened up Swiss Cross by Laying 2.21 at 5.6
02/11/2018 21:16:18: [G_Auto] : Greened up Kraka by Laying 0.48 at 26
02/11/2018 21:16:18: [G_Auto] : Greened up Jeopardy John by Laying 0.95 at 13
02/11/2018 21:16:18: [G_Auto] : Greened up Spanish Star by Laying 1.29 at 9.6
02/11/2018 21:16:41: Guardian has detected that the market is suspended
User avatar
Dallas
Posts: 22708
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

The log is showing you have a 'cancel all unmatched bets' rule running within the automation file your using
james4bond
Posts: 20
Joined: Sun Sep 02, 2018 10:26 am

Thanks Dallas as simple as that :-)

I have fill or kill so if the back does not open the lay doesn't open on its own.

Would this also mean it would kill the lay like you mentioned above? I obviously wouldn't want the lay opening on its own so need the fill or kill to work. If that's the case how could I do a fill or kill for the back but leave open for the greening? I ask that because the back and greening is part of the same rule.

I assume I make a second rule for greening and settings in global action on first rule would be none?

Thanks
User avatar
Dallas
Posts: 22708
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

james4bond wrote:
Sun Nov 04, 2018 9:57 am
Thanks Dallas as simple as that :-)

I have fill or kill so if the back does not open the lay doesn't open on its own.

Would this also mean it would kill the lay like you mentioned above? I obviously wouldn't want the lay opening on its own so need the fill or kill to work. If that's the case how could I do a fill or kill for the back but leave open for the greening? I ask that because the back and greening is part of the same rule.

I assume I make a second rule for greening and settings in global action on first rule would be none?

Thanks
No the fill or kill only works with your opening bet
Actually just looking at the timings again it will have been cancelled by your 'green all' rule triggering
james4bond
Posts: 20
Joined: Sun Sep 02, 2018 10:26 am

Hi Dallas

Sorry to bring this up again but I has the following today but it wasn't killed but appears on my log as below as killed at 15:46 13 seconds. The whole £20 from automation was filled but the lay (greening) did not open and it is not mentioned below either as even attempted to open. This was filled at 15:46 02 seconds 05/11/18. The race finished at 15:49 so there was plenty of time. I haven't changed the settings and all was ok yesterday.Is it common for automation to show not opened but a bet still to open? Thanks! James

05/11/2018 15:45:41: Guardian has detected that the market is in-play
05/11/2018 15:45:41: Guardian has detected that the market is suspended
05/11/2018 15:45:51: Guardian has detected that the market is now unsuspended
05/11/2018 15:46:02: [G_Auto] : £ 20.00 Back bet placed on Sadma at 4.4. Entirely unmatched when it initially reached the market. Ref: 143773450616 ( Fill or kill bet with 0.5 seconds delay. Offsetting by 10 ticks with greening. )
05/11/2018 15:46:13: [G_Auto] : £ 20 unmatched bet (Ref:143773450616) was killed.
05/11/2018 15:49:53: Guardian has detected that the market is suspended
User avatar
Dallas
Posts: 22708
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

james4bond wrote:
Mon Nov 05, 2018 4:07 pm
Hi Dallas

Sorry to bring this up again but I has the following today but it wasn't killed but appears on my log as below as killed at 15:46 13 seconds. The whole £20 from automation was filled but the lay (greening) did not open and it is not mentioned below either as even attempted to open. This was filled at 15:46 02 seconds 05/11/18. The race finished at 15:49 so there was plenty of time. I haven't changed the settings and all was ok yesterday.Is it common for automation to show not opened but a bet still to open? Thanks! James

05/11/2018 15:45:41: Guardian has detected that the market is in-play
05/11/2018 15:45:41: Guardian has detected that the market is suspended
05/11/2018 15:45:51: Guardian has detected that the market is now unsuspended
05/11/2018 15:46:02: [G_Auto] : £ 20.00 Back bet placed on Sadma at 4.4. Entirely unmatched when it initially reached the market. Ref: 143773450616 ( Fill or kill bet with 0.5 seconds delay. Offsetting by 10 ticks with greening. )
05/11/2018 15:46:13: [G_Auto] : £ 20 unmatched bet (Ref:143773450616) was killed.
05/11/2018 15:49:53: Guardian has detected that the market is suspended
It's not that common no, what type of connection are you using, is it WiFi or wired also are you using steaming or polling to fetch market updates?

What's telling in the log is the 10-sec gap between your two orders (11 secs if you include the 1-sec in-play delay) but 10 secs is how long Bet Angel will spend attempting to retrieve something from Betfair before giving up.

So it looks like it may not have been able to retrieve any info (ie, it had been matched) so resorted to having to report the bet was killed as per the kill/kill instruction
james4bond
Posts: 20
Joined: Sun Sep 02, 2018 10:26 am

Hi Dallas

I have a wired connection to the internet which is normally very reliable on my pc with BT Homehub.

I had another strange thing happen today. My first trade opened and greened as below. I did not touch the settings and the second trade opened with £12 but the greening trade opened with £2 and it didn't mention that £10 or as it probably would have been slightly over£10 for the greening was not matched. I have copied the logs for the first race to show you how all was working ok and the second where actually the selection did win so I benefited from it not greening with the proper amount but that was just luck

Thanks again

James

07/11/2018 13:40:22: Guardian has detected that the market is suspended
07/11/2018 13:40:22: Guardian has detected that the market is in-play
07/11/2018 13:40:23: Guardian has detected that the market is now unsuspended
07/11/2018 13:40:44: [G_Auto] : £ 12.00 Back bet placed on Cape Inlay at 2.48. Entirely unmatched when it initially reached the market. Ref: 143964275611 ( Fill or kill bet with 0.5 seconds delay. Offsetting by 10 ticks with greening. )
07/11/2018 13:40:44: [G_Auto] : £ 12 of unmatched bet (Ref:143964275611) was filled before remainder was killed.
07/11/2018 13:40:45: [G_Auto] : £ 13.05 Lay bet placed on Cape Inlay at 2.28. Entirely unmatched when it initially reached the market. Ref: 143964279429
07/11/2018 13:42:37: Guardian has detected that the market is suspended

This is the second trade. Looking at it again it looks like the lay part opened based on an unmatched £2 that was eventually filled although my amount is set at £12 for back so it was all filled and this £2 was an extra back bet from nowhere which the greening lay part opened based on this ghost back bet of £2 I assume?

07/11/2018 13:50:15: Guardian has detected that the market is suspended
07/11/2018 13:50:16: Guardian has detected that the market is in-play
07/11/2018 13:50:16: Guardian has detected that the market is now unsuspended
07/11/2018 13:50:37: [G_Auto] : £ 12.00 Back bet placed on Return Ticket at 2.68. Entirely unmatched when it initially reached the market. Ref: 143965685120 ( Fill or kill bet with 0.5 seconds delay. Offsetting by 10 ticks with greening. )
07/11/2018 13:50:47: [G_Auto] : £ 2 of unmatched bet (Ref:143965685120) was filled before remainder was killed.
07/11/2018 13:50:48: [G_Auto] : £ 2.16 Lay bet placed on Return Ticket at 2.48. Fully matched at 2.24. Ref: 143965713348
07/11/2018 13:54:01: Guardian has detected that the market is suspended

Following log from the next race when all back to normal

07/11/2018 14:00:46: Guardian has detected that the market is in-play
07/11/2018 14:00:46: Guardian has detected that the market is suspended
07/11/2018 14:01:12: Guardian has detected that the market is now unsuspended
07/11/2018 14:01:13: [G_Auto] : £ 12.00 Back bet placed on Our Reward at 3.55. Fully matched at 3.55. Ref: 143967006186 ( Fill or kill bet with 0.5 seconds delay. Offsetting by 10 ticks with greening. )
07/11/2018 14:01:14: [G_Auto] : £ 13.97 Lay bet placed on Our Reward at 3.05. Entirely unmatched when it initially reached the market. Ref: 143967008122
07/11/2018 14:07:02: Guardian has detected that the market is suspended
james4bond
Posts: 20
Joined: Sun Sep 02, 2018 10:26 am

Hi everyone

I had another one today when the second automated back bet then seemed to influence the greening. I had the back trade open for £12 then a further 0.01p back trade opened and then greening with 0.01p instead of £12.00. The 0.01p trade seems to be a ghost trade as the expected back of £12 had already opened. Luckily for me I was there to green manually.

08/11/2018 13:50:42: [G_Auto] : £ 12.00 Back bet placed on Lostintranslation at 2.24. Entirely unmatched when it initially reached the market. Ref: 144081583367 ( Fill or kill bet with 0.5 seconds delay. Offsetting by 10 ticks with greening. )
08/11/2018 13:50:53: [G_Auto] : £ 0.01 of unmatched bet (Ref:144081583367) was filled before remainder was killed.
08/11/2018 13:50:56: [G_Auto] : £ 0.01 Lay bet placed on Lostintranslation at 2.04. Fully matched at 1.98. Ref: 144081607029
08/11/2018 13:51:40: Greened up Lostintranslation by Laying 14.21 at 1.91
08/11/2018 13:56:00: Guardian has detected that the market is suspended

Has anyone else ever had this happen?
User avatar
Dallas
Posts: 22708
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

Do you have another connection you can try?

These latest logs contain the same 10-sec gap I previously referred to which suggests there is a communications problem to Betfair and Bet Angel is not able to retrieve the correct status of your bet.

Also if your not already doing so ensure the market the rule is running on is on your main trading screen (use the switch to market option in guardian) so you know the market is getting the full attention of your refresh rate
Post Reply

Return to “Bet Angel for newbies / Getting started”