Good Morning Everybody.
I'm using a new method on the footy. Starting AFTER the initial suspension at kick-off the bot places regular bets. I successfully greened up yesterday on all but a couple of matches.......basically what I need is for the bot to stop betting on the first 'in-play' suspension.....whenever that be. Lower the potential profit but lower the risk massively I think........
I have searched this topic but the solution is somewhat complex and I'm struggling a bit. I would be eternally grateful if somebody with greater knowledge could put in steps for me what I need to do. Dallas has done it this way for me with qquueries before:-
1. Go here do this
2. Go there, do that.......etc. etc.
As mentioned, this just needs to stop on 'in-play' suspensions.....my triggers don't start until the game is in play and I am not bothered whether the suspension is the result of a possible goal or for any other reason.
Finally, if I find a way to stop my regular timed back and lay bets........can I still program the bot to green up after the suspension when the regular timed bets are stopped?
1000 x Thanks!
D.
Stopping BA from Betting on Suspension
-
- Posts: 1676
- Joined: Fri Nov 20, 2015 9:38 am
There is a condition "Market Status condition" which could be used in a rule - after the event goes in play - to set a signal that the market has been suspended.
In your bets rule then you just need to condition that the signal is not set (for any in-play bets anyway).
Your green up rule then just need a condition that the signal has been set, and probably want to wait until market reformed after suspension so also use the "Time since Unsuspended" condition in that if you want.
In your bets rule then you just need to condition that the signal is not set (for any in-play bets anyway).
Your green up rule then just need a condition that the signal has been set, and probably want to wait until market reformed after suspension so also use the "Time since Unsuspended" condition in that if you want.
Could somebody help?
Since attempting to use signals to stop BA placing bets after an in-play suspension, no bets on my nice little system are being placed at all. Trying to keep my cool...........etc etc.........nobody's fault but mine....I know........
Its footy of course - how do I stop BA betting after an in-play suspension?
I have 2 betting rules in the file.......One back and one lay which are placed every 30 seconds and the bot only starts after kick off.
If anybody has the time, can they say that I need to (1) do this then (2) do that then (3) do the okie kokie then (4) turn around......if you get my drift. I don't have a mind and I need help.
I'm not paying a contractor so I appreciate that any help I receive is personal kindness
Since attempting to use signals to stop BA placing bets after an in-play suspension, no bets on my nice little system are being placed at all. Trying to keep my cool...........etc etc.........nobody's fault but mine....I know........
Its footy of course - how do I stop BA betting after an in-play suspension?
I have 2 betting rules in the file.......One back and one lay which are placed every 30 seconds and the bot only starts after kick off.
If anybody has the time, can they say that I need to (1) do this then (2) do that then (3) do the okie kokie then (4) turn around......if you get my drift. I don't have a mind and I need help.
I'm not paying a contractor so I appreciate that any help I receive is personal kindness

- jamesedwards
- Posts: 4370
- Joined: Wed Nov 21, 2018 6:16 pm
See attached.
> When signal named "in-play_suspension?" at 'market level' is set with "1" then the game has been in-play for at least 10 secs and has been suspended at least once.
> When signal named "in-play_suspension?" is NOT set then there has been no in-play suspension yet.
Be aware that football matches can be suspended for many reasons including if the operator at the match thinks a goal or sending off is likely, or there is a VAR decision etc. A suspension doesn't necessarily mean a goal or sending off has occurred. Some matches you'll find they are suspension happy. Ask Derek, he knows
If you're looking to only stop trading after a goal, you could instead build something that stops trading once the odds for correct score of 0-0 hits over 100 or similar. This will generally happen as soon as a goal is scored on any match with reasonable liquidity.
> When signal named "in-play_suspension?" at 'market level' is set with "1" then the game has been in-play for at least 10 secs and has been suspended at least once.
> When signal named "in-play_suspension?" is NOT set then there has been no in-play suspension yet.
Be aware that football matches can be suspended for many reasons including if the operator at the match thinks a goal or sending off is likely, or there is a VAR decision etc. A suspension doesn't necessarily mean a goal or sending off has occurred. Some matches you'll find they are suspension happy. Ask Derek, he knows

If you're looking to only stop trading after a goal, you could instead build something that stops trading once the odds for correct score of 0-0 hits over 100 or similar. This will generally happen as soon as a goal is scored on any match with reasonable liquidity.
You do not have the required permissions to view the files attached to this post.
Thank you very much James - I've imported that
The thing is.........that is very similar to the rule I had made myself and failed with last night
I have no doubt what you have given me works so there is a gap in my understanding somewhere......
Let me show my ignorance
Do I simply put your rule in a file along with my back rule and lay rules? When there is an in-play suspension would your rule simply stop the backing and laying rules OR is there something else I need to do first? Do I not need to 'configure' my back and lay rules to understand that they must stop when the signal 'in-play_suspension?' gives a value of '1' rather than '0?'
I must be 99% there but it's this 'link' between the rules that's screwing me over! How do I make it so my bet rules know to take notice of this signal?
Thanks again.

The thing is.........that is very similar to the rule I had made myself and failed with last night

I have no doubt what you have given me works so there is a gap in my understanding somewhere......
Let me show my ignorance

Do I simply put your rule in a file along with my back rule and lay rules? When there is an in-play suspension would your rule simply stop the backing and laying rules OR is there something else I need to do first? Do I not need to 'configure' my back and lay rules to understand that they must stop when the signal 'in-play_suspension?' gives a value of '1' rather than '0?'
I must be 99% there but it's this 'link' between the rules that's screwing me over! How do I make it so my bet rules know to take notice of this signal?
Thanks again.
-
- Posts: 1676
- Joined: Fri Nov 20, 2015 9:38 am
Yes. you would need to incorporate the signal as a condition into your bet rules...
I've not looked at James's baf but if the signal is "incremented" every time there is a suspension it should give you an idea how many suspensions there has been (so you can get a feel for how often it occurs v goals scored).
Cheers.
I don't think I need any increments or anything. I just want the bot to stop betting after ONE in-play suspension and I'm finished with that match. After that things get volatile - been through it a million times manually
I need:-
0 = bets being placed
1 = bets stopped
How do I get that into the back rule and the lay rule?
You lot are so far ahead of me. I am just a single cell sort of guy!
I don't think I need any increments or anything. I just want the bot to stop betting after ONE in-play suspension and I'm finished with that match. After that things get volatile - been through it a million times manually
I need:-
0 = bets being placed
1 = bets stopped
How do I get that into the back rule and the lay rule?
You lot are so far ahead of me. I am just a single cell sort of guy!
- jamesedwards
- Posts: 4370
- Joined: Wed Nov 21, 2018 6:16 pm
You need to test the "in-play_suspension?" signal at 'market level' as a condition in your trigger rule/s. So if the signal is not set then it will trigger. If the signal is set then it won't pass the condition and so won't trigger.Safeway wrote: ↑Sat Nov 18, 2023 10:26 amCheers.
I don't think I need any increments or anything. I just want the bot to stop betting after ONE in-play suspension and I'm finished with that match. After that things get volatile - been through it a million times manually
I need:-
0 = bets being placed
1 = bets stopped
How do I get that into the back rule and the lay rule?
You lot are so far ahead of me. I am just a single cell sort of guy!
You do not have the required permissions to view the files attached to this post.
That was probably the worst market to test it on, a goal after two minutes.
You need to test it on a 0-0 draw, it will probably stop trading after five minutes.
