Quite a technical one for me

Advanced automation available in Guardian - Chat with others and share files here.
User avatar
ShaunWhite
Posts: 10352
Joined: Sat Sep 03, 2016 3:42 am

jamesedwards wrote:
Thu Jun 12, 2025 2:25 pm
ShaunWhite wrote:
Thu Jun 12, 2025 2:22 pm
Bear in mind that betting sub min means you're close to 3s before your order hits the market, 2x bet delays, 2 x placement latency, and addition order adjustment transaction (one of the slower Betfair ops). You won't be 'fast' until you get to a minimum size stake.
This isn't true anymore. Trades under £1 go straight in.
Where did you see that? They can, but I thought that was set at account level by Betfair following a request to be allowed to?
User avatar
ShaunWhite
Posts: 10352
Joined: Sat Sep 03, 2016 3:42 am

Emtaxx wrote:
Thu Jun 12, 2025 2:27 pm
Basically the 1 second to now is too slow, so I've thought of a way round it where its probably more like 0.5 when the bet gets placed. maybe even faster to 20ms
You can't get round the in-running delay. You can act faster to send a bet, but the delay is in the Betfair matching process, not BA.
User avatar
jamesedwards
Posts: 3913
Joined: Wed Nov 21, 2018 6:16 pm

ShaunWhite wrote:
Thu Jun 12, 2025 2:43 pm
jamesedwards wrote:
Thu Jun 12, 2025 2:25 pm
ShaunWhite wrote:
Thu Jun 12, 2025 2:22 pm
Bear in mind that betting sub min means you're close to 3s before your order hits the market, 2x bet delays, 2 x placement latency, and addition order adjustment transaction (one of the slower Betfair ops). You won't be 'fast' until you get to a minimum size stake.
This isn't true anymore. Trades under £1 go straight in.
Where did you see that? They can, but I thought that was set at account level by Betfair following a request to be allowed to?
It changed for me some time ago, perhaps a year? I don't generally stake below £1 anyway and didn't ever request anything. I assumed it was a global change.

12/06/2025 14:51:37: [G_Auto 1] : Store Value (Shared) for market: 50p bet trigger = 1
12/06/2025 14:51:38: [G_Auto 1] : £ 0.50 Back bet placed on Sea Force at 1.05. Fully matched at 1.18. Ref: 391875687733
Emtaxx
Posts: 234
Joined: Mon Feb 10, 2025 10:00 pm

Bloody hell.... Its a long learning curve this game... That's the stuff that really locks me up really, quantifying things :roll: this is where being a mathematician would be advantageous... I just have a higher creativity than most, but terrible at everything else I need to do to get it to how i imagine it lol
Emtaxx
Posts: 234
Joined: Mon Feb 10, 2025 10:00 pm

Did you know, some people can't picture things or imagine things in their head. i.e. an apple. as i'm sure like you guys, its like working on lego when all components are exploded you can pick them out etc
User avatar
ShaunWhite
Posts: 10352
Joined: Sat Sep 03, 2016 3:42 am

jamesedwards wrote:
Thu Jun 12, 2025 2:51 pm
It changed for me some time ago, perhaps a year? I don't generally stake below £1 anyway and didn't ever request anything. I assumed it was a global change.

12/06/2025 14:51:37: [G_Auto 1] : Store Value (Shared) for market: 50p bet trigger = 1
12/06/2025 14:51:38: [G_Auto 1] : £ 0.50 Back bet placed on Sea Force at 1.05. Fully matched at 1.18. Ref: 391875687733
🤔
Would be interested to know the exact match time. The log looks like that's 14:51:38 but that might be the time the place happened.

Removing the min bet size completely is huge, a much bigger deal than going from £2 to £1. I'd have expected a parade with brass band but saw nothing 😕
Last edited by ShaunWhite on Thu Jun 12, 2025 3:40 pm, edited 1 time in total.
User avatar
ShaunWhite
Posts: 10352
Joined: Sat Sep 03, 2016 3:42 am

Emtaxx wrote:
Thu Jun 12, 2025 3:10 pm
Did you know, some people can't picture things or imagine things in their head. i.e. an apple. as i'm sure like you guys, its like working on lego when all components are exploded you can pick them out etc
Practice, experience & exposure. You'll get there. I got my first programming job over 40yrs ago so just think a certain way.

Lego or Mecanno is a good analogy, it's a box of parts, but you can put them together in different ways to do the same thing. Some ways are just slicker than others. But start simple and build on it, having 10 different signals and a whole heap of triggers and resets is going in at the deep end.
Screenshot_20250612_153449_Google.jpg
You do not have the required permissions to view the files attached to this post.
Emtaxx
Posts: 234
Joined: Mon Feb 10, 2025 10:00 pm

I do throw myself in the deep end often and always come out with a positive, just a trade off with stress lol
Emtaxx
Posts: 234
Joined: Mon Feb 10, 2025 10:00 pm

Annoyingly looks like it just missed out on taking a nice reward of profit.

But anyway this is the speed I'm roughly got it working on. so there's now a second when triggered to it being matched, which is pretty fast probably going to reduce the tick amount offset so at least I take a little profit from them
You do not have the required permissions to view the files attached to this post.
User avatar
jamesedwards
Posts: 3913
Joined: Wed Nov 21, 2018 6:16 pm

ShaunWhite wrote:
Thu Jun 12, 2025 3:23 pm
jamesedwards wrote:
Thu Jun 12, 2025 2:51 pm
It changed for me some time ago, perhaps a year? I don't generally stake below £1 anyway and didn't ever request anything. I assumed it was a global change.

12/06/2025 14:51:37: [G_Auto 1] : Store Value (Shared) for market: 50p bet trigger = 1
12/06/2025 14:51:38: [G_Auto 1] : £ 0.50 Back bet placed on Sea Force at 1.05. Fully matched at 1.18. Ref: 391875687733
🤔
Would be interested to know the exact match time. The log looks like that's 14:51:38 but that might be the time the place happened.

Removing the min bet size completely is huge, a much bigger deal than going from £2 to £1. I'd have expected a parade with brass band but saw nothing 😕
Definitely 1 sec delay for me:
12/06/2025 16:48:07: [G_Auto 1] : Store Value (Shared) for market: time of trigger = 10.008
12/06/2025 16:48:08: [G_Auto 1] : £ 0.10 Back bet placed on Dovey Moon at 1.2. Fully matched at 4.8. Ref: 391884130723
12/06/2025 16:48:08: [G_Auto 1] : Store Value (Shared) for market: time matched bet detected = 11.241
Emtaxx
Posts: 234
Joined: Mon Feb 10, 2025 10:00 pm

Guys , got my first end of race spike bot to make me a profit. Finally my first one after many attempts! :) made it quickly this morning
You do not have the required permissions to view the files attached to this post.
User avatar
ShaunWhite
Posts: 10352
Joined: Sat Sep 03, 2016 3:42 am

jamesedwards wrote:
Thu Jun 12, 2025 4:23 pm
Definitely 1 sec delay for me:
12/06/2025 16:48:07: [G_Auto 1] : Store Value (Shared) for market: time of trigger = 10.008
12/06/2025 16:48:08: [G_Auto 1] : £ 0.10 Back bet placed on Dovey Moon at 1.2. Fully matched at 4.8. Ref: 391884130723
12/06/2025 16:48:08: [G_Auto 1] : Store Value (Shared) for market: time matched bet detected = 11.241
Fascinating and thx for the test.
Would be interested to hear from Peter or BA dev about when the place/amend code was changed or removed for sub mins. Or maybe that only ran if the place returned an error?

Everyday is a schoolday I guess, looks like I can change my system to place a swarm of 10p bets rather than everything being £10 liability. :)

It's not like I didn't believe what you said, it's just I couldn't believe it iykwim 🤔😉
User avatar
jamesedwards
Posts: 3913
Joined: Wed Nov 21, 2018 6:16 pm

ShaunWhite wrote:
Thu Jun 12, 2025 5:45 pm
jamesedwards wrote:
Thu Jun 12, 2025 4:23 pm
Definitely 1 sec delay for me:
12/06/2025 16:48:07: [G_Auto 1] : Store Value (Shared) for market: time of trigger = 10.008
12/06/2025 16:48:08: [G_Auto 1] : £ 0.10 Back bet placed on Dovey Moon at 1.2. Fully matched at 4.8. Ref: 391884130723
12/06/2025 16:48:08: [G_Auto 1] : Store Value (Shared) for market: time matched bet detected = 11.241
... looks like I can change my system to place a swarm of 10p bets rather than everything being £10 liability.
Perhaps that is why there was no fanfare. :lol:
Emtaxx
Posts: 234
Joined: Mon Feb 10, 2025 10:00 pm

Guys I'm still having some issues with this. (I've chopped it down for simplistic reasons, but the principles are still the same).

What its not doing, is betting on the whole market where a trigger has been activated by one of the runners.

Instead its just firing on 1 at a time, I've ran this all day yesterday (this is a smaller version) and it only bets on one horse at a time, Not all the runners and I don't understand why.

I've selected the 'applies to selection' to EVERY, So in my head it should fire on EVERY runner where the trigger has been activated and then place a back bet on all the runners (excluding the one that caused the trigger in the first place). However its not dong it and I require help to diagnose why :(

Attached below
You do not have the required permissions to view the files attached to this post.
eatyourgreens
Posts: 275
Joined: Sun Feb 18, 2018 12:53 am

Hi
your "back bet" rules are not applied to "every", they are applied to 1,2 and 3rd fav. :roll:
Post Reply

Return to “Bet Angel - Automation”