Bet Angel - Automation : Green meanie

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
toogoodtobetrue
Posts: 10
Joined: Mon Sep 28, 2015 8:47 pm

Mon Jan 15, 2018 5:39 pm

Hi All
Have been running a simple in running scalping bot today and on one race
the green all feature turned a (£0.70) profit into a (£5.54) loss. The green all
will only trigger with no unmatched bets. Have looked through the log and it
does not make any sense. Can someone double check for me?
BA Log
15/01/2018 14:15:20: Guardian has detected that the market is suspended
15/01/2018 14:15:23: Guardian has detected that the market is in-play
15/01/2018 14:15:23: Guardian has detected that the market is now unsuspended
15/01/2018 14:16:25: [G_Auto] : £ 4.00 Back bet placed on Mac N Cheese at 4.3. Fully matched at 4.34675. Ref: 113730588513 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:16:26: [G_Auto] : £ 4.14 Lay bet placed on Mac N Cheese at 4.2. Entirely unmatched when it initially reached the market. Ref: 113730589466
15/01/2018 14:17:34: [G_Auto] : £ 4.00 Back bet placed on Mac N Cheese at 4.3. Entirely unmatched when it initially reached the market. Ref: 113730639333 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:17:35: [G_Auto] : £ 4 of unmatched bet (Ref:113730639333) was filled before remainder was killed.
15/01/2018 14:17:36: [G_Auto] : £ 4.10 Lay bet placed on Mac N Cheese at 4.2. Entirely unmatched when it initially reached the market. Ref: 113730641161
15/01/2018 14:17:48: [G_Auto] : £ 4.00 Back bet placed on Chef Doeuvre at 3.9. £ 3.07 matched at 4.2 £ 0.93 unmatched when it initially reached the market. Ref: 113730650689 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:17:49: [G_Auto] : £ 0.93 of unmatched bet (Ref:113730650689) was filled before remainder was killed.
15/01/2018 14:17:50: [G_Auto] : £ 4.13 Lay bet placed on Chef Doeuvre at 4. Entirely unmatched when it initially reached the market. Ref: 113730652037
15/01/2018 14:19:57: [G_Auto] : £ 4.00 Back bet placed on Chef Doeuvre at 3.75. Fully matched at 3.785875. Ref: 113730771315 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:19:59: [G_Auto] : £ 4.09 Lay bet placed on Chef Doeuvre at 3.7. Entirely unmatched when it initially reached the market. Ref: 113730772859
15/01/2018 14:20:01: [G_Auto] : £ 4.00 Back bet placed on Mac N Cheese at 3.7. Fully matched at 3.7. Ref: 113730776111 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:20:03: [G_Auto] : £ 4.05 Lay bet placed on Mac N Cheese at 3.65. Entirely unmatched when it initially reached the market. Ref: 113730777920
15/01/2018 14:20:20: [G_Auto] : £ 4.00 Back bet placed on Mac N Cheese at 3.55. Fully matched at 3.55. Ref: 113730798955 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:20:21: [G_Auto] : £ 4.06 Lay bet placed on Mac N Cheese at 3.5. Entirely unmatched when it initially reached the market. Ref: 113730800502
15/01/2018 14:20:33: [G_Auto] : £ 4.00 Back bet placed on Mac N Cheese at 4.1. Fully matched at 4.3. Ref: 113730811968 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:20:34: [G_Auto] : £ 4.10 Lay bet placed on Mac N Cheese at 4.2. Entirely unmatched when it initially reached the market. Ref: 113730813735
15/01/2018 14:20:44: [G_Auto] : £ 4.00 Back bet placed on Too Many Chiefs at 4.5. £ 1.78 matched at 4.5 £ 2.22 unmatched when it initially reached the market. Ref: 113730823784 ( Fill or kill bet with 3 seconds delay. Offsetting by 1 ticks with greening. )
15/01/2018 14:20:45: [G_Auto] : £ 2.22 of unmatched bet (Ref:113730823784) was filled before remainder was killed.
15/01/2018 14:20:46: [G_Auto] : £ 4.09 Lay bet placed on Too Many Chiefs at 4.4. Entirely unmatched when it initially reached the market. Ref: 113730825661
15/01/2018 14:22:11: [G_Auto] : Automation Signal for market: equal = 1
15/01/2018 14:22:12: [G_Auto] : Greened up Too Many Chiefs by Laying 4.09 at 4.4
15/01/2018 14:22:14: [G_Auto] : Automation Signal for market: equal = 2
15/01/2018 14:22:15: [G_Auto] : Greened up Too Many Chiefs by Backing 10.58 at 1.7
15/01/2018 14:22:17: [G_Auto] : Automation Signal for market: equal = 3
15/01/2018 14:22:20: [G_Auto] : Greened up Too Many Chiefs by Laying 0.22 at 1.82
15/01/2018 14:22:27: Guardian has detected that the market is suspended
Thanks
Kevin

User avatar
ShaunWhite
Posts: 3706
Joined: Sat Sep 03, 2016 3:42 am

Mon Jan 15, 2018 6:06 pm

Just a guess but how frequently are you allowing your greenall rule to fire? You might need to give it a little bit longer to be processed by BF if you're triggering it at 1s intervals. There's a chance BF might not be showing your previous trade as unmatched before you check your #unmatched again.

toogoodtobetrue
Posts: 10
Joined: Mon Sep 28, 2015 8:47 pm

Mon Jan 15, 2018 6:28 pm

Hi Shaun
Thanks for looking
The Green all triggers near the end of the race 3 times at 3 sec intervals
and my BF account shows the same number of matched bets as the BA log
with no unmatched bets
Thanks
Again

User avatar
ShaunWhite
Posts: 3706
Joined: Sat Sep 03, 2016 3:42 am

Mon Jan 15, 2018 9:44 pm

Sorry it didn't help, I don't do much automation but had seen a similar problem caused by that. I'm sure someone else will have an idea.

User avatar
Dallas
Posts: 9288
Joined: Sun Aug 09, 2015 10:57 pm
Contact:

Mon Jan 15, 2018 9:55 pm

Can you check your matched bets to see if the following was matched
113730825661

Is your final greening up on a timer and normal for it to trigger nearly one and a half minutes after the last bet was?

toogoodtobetrue
Posts: 10
Joined: Mon Sep 28, 2015 8:47 pm

Mon Jan 15, 2018 11:06 pm

Hi Dallas
Thanks for looking
Bet ref 113730825661 was matched OK and the timing of the green all command is normal
Have attached a screenshot (PNG) of matched bets from BA

Thanks
Again
You do not have the required permissions to view the files attached to this post.

toogoodtobetrue
Posts: 10
Joined: Mon Sep 28, 2015 8:47 pm

Mon Jan 15, 2018 11:08 pm

And the matched bets from BF just in case
Cheers
Kevin
You do not have the required permissions to view the files attached to this post.

User avatar
Dallas
Posts: 9288
Joined: Sun Aug 09, 2015 10:57 pm
Contact:

Mon Jan 15, 2018 11:16 pm

Its def that bet 113730825661 (3rd from top on lay) and you have just been very unlucky that its been matched at the moment the next green up (ref ending 449) triggered
So when that reached the market it undone the 661 green up so then had to trigger a 3rd by which time the price had gone badly against you

It's one of those flukes that can happen in the milli seconds of latency but next time it could just as easily increase your green up amount

Derek27
Posts: 3546
Joined: Wed Aug 30, 2017 11:44 am
Location: UK

Tue Jan 16, 2018 12:41 am

Dallas wrote:
Mon Jan 15, 2018 11:16 pm
It's one of those flukes that can happen in the milli seconds of latency but next time it could just as easily increase your green up amount
If you're scalping in-play I would expect it to happen quite often. Too Many Chiefs appears to have moved from 4.4 (lay) to 1.7 (back) in 3 seconds. It's not unusual in-play when the shape of the race changes drastically and it's quite possible in-play that there could have been a 1.7 - 4.4 spread.

toogoodtobetrue
Posts: 10
Joined: Mon Sep 28, 2015 8:47 pm

Tue Jan 16, 2018 4:47 pm

Thanks very much Dallas and Derek27
You are both indeed correct!
Just been through all of the logs for the last two weeks and every race had a profit
at the time of the green all command. On average I am getting one bad (loss) and two
better (increased profit) green ups a day. The loss wipes out the increased profit and some!
Despite this, the scalping strategy is still making good money every day
Just need to find a way around this
Thanks so much for your time and effort
Kev

Post Reply

Return to “Bet Angel - Automation”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests