I have the following problem ...one of my Bots scalps Horse Racing during the Overtime ... I mean after Start of the Eventtime till the Horses are Off .. closes the trade with "Take SP all unmatched bets" and then emergency greening. It works well when the opening bet is matched and the bot has in fact a position and offers it reverse with greening to be closed ... if its open at Start of the race, it will be closed with BSP and the rest greened (or red) up with emergency greening through automation. All fine.
But if the bot has no position .. if the opening bet is open and waiting to get matched when the race starts ... then the "Take SP all unmatched bets" takes this unmatched opening order, matches it .. and - it´s a Lay Bot - opens with the BSP the position and I then have a Lay Bet for a tenner open on the horse what I not have wanted. Is there a possibility to take SP only for one side of the book? Its a Lay Bot .. so the question is how do I get back bets matched in BSP, but not possible open Lay Bets at the start? Pre Off you could cancel such bets over the timer ... but in this case this didn´t work.
Somone with an idea or a solution? Haha .. thanks in advance.
Take SP all unmatched bets - is this rule available for only Back OR Lay Bets?
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
Last edited by Mastermind on Tue Sep 26, 2023 11:38 pm, edited 1 time in total.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
I need different rules for lay and back bets. Its a L2B bot, so the open closing back bets can Take SP, but if the race starts in the moment the bot offers a new lay bet to be matched, then this bet can NOT take SP. Thats the problem.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
Looks good, thanks for now .. I will implement it and see how it works .. but looks good .. was exact what was needed.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
Hard work. The Bot seems to be profitable in practice mode. It is ... but it still needs to be tested and tested and tested and modified. Different problems still unsolved and occuring, other things are about to be changed to optimize better, even if it looks over the races running till now profitable. I record everything in excel .. but yes ... very mixed feelings. I see the bot working and see of course its weaknesses ... and see it throwing money out of the window every 30 Seconds or so ... same mistakes always .. which need to be optimized. Without going in to much details ... of course not .. it scalps and scalps and scalps its laybets... and then the backing comes in ... the price shortens ... and the position needs to be closed with taking the back bets in the BSP. But this is so randomly .. and its greening up with emergency greening one second later twice ... both ... the BSP and the emergency greening is like flipping up a coin. Maybe profitable .. but explain it this way .. it scalps 3 Pound win ... then a position is open and with the emergency greening it depends on the start of the horse .. this can make 5 loss or 7 profit out of the scalped 3 pound. ok 3 Pound was nice .. but when I have a profit from scalping with 50 Pound stakes ... 1,50 Pound .. and the BSP and the Start-Second .. turn it into 5 loss or 5 profit additional .. then its not what I have expected .. to much randomness, even profitable after .. I have to finish the results from today .. three days of testing all together around 70 races ... I want to scalp it including the overtime till loading finished, then to be greened up before they are off .. and this is in automation not possible .. because no one knows the delay of the starting time in advance .. just with testing in UK/IRE, television on and press greening when television shows the last horse is short of finishing to be loaded into the startbox. So I have to make science out of it during the UK/IRE-Session .. and start different versions of the bot .. test them all together at the whole session parallel on different devices .. I have a big monitorwall and can incl. laptop possibly test up to six versions at the same time.. different greenings and so on .. on at the End of the Event Start Time, one after Overtime back bet taken in the BSP, one with one tick spread during overtime, one with two.. and so on ... you got the point ... everything in Excel at the evening ... to compare the results. All can run automatically .. and on one Laptop ... I will let the bot scalp till end of overtime and green up with the television pictures during last seconds of the loading of the last horse. This seems to be the most optimized point. Lets see what happens, but I dont know if I get it done tomorrow ... if not then next weekend. I must have produced all this different versions of the bot of course before I do this ... hahaha ... will be a funny and interesting day ... hahaha
Included the matched bets of a race which was going from the first bet in the wrong direction .. never scalped, because I have in this version no stoploss .. and then greened up in total random chaos. Should be the worst emergency greening of the day as I see it right now .. Should be recorded and worked on this mess during the "coinflip-greening" like I will say ... I mean its clear .. if we say over 1000 races the luck and the both luck in both direction are equal over the time and are neutralizing each other .. then the rest of the chips on the table are the profits from the scalping. But yeah .. a lot of fun and I will work further on this. Hahaha
Included the matched bets of a race which was going from the first bet in the wrong direction .. never scalped, because I have in this version no stoploss .. and then greened up in total random chaos. Should be the worst emergency greening of the day as I see it right now .. Should be recorded and worked on this mess during the "coinflip-greening" like I will say ... I mean its clear .. if we say over 1000 races the luck and the both luck in both direction are equal over the time and are neutralizing each other .. then the rest of the chips on the table are the profits from the scalping. But yeah .. a lot of fun and I will work further on this. Hahaha
You do not have the required permissions to view the files attached to this post.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
Here the bot also needed two emergency greenings to close the position completely after taking a horrible jump to the wrong side in taking the BSP ... funfact ... a horrible price .. but with all the mess still 0.30 Pound slightly green after all. But without this horrible shortening into that awful BSP .. it must have been 7 Pound or so profit. I have to work on grabbing that profit earlier for sure and maybe I implement the profit and loss bot to simple make a full stop after a target profit is reached. And yes .. that will be also a version of the then different bots to be compared with each other in parallel running.
You do not have the required permissions to view the files attached to this post.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
Here for example was the BSP not taken and no one knows why .. biggest loss of today in practice mode and it of course hits like an axe stroke in the results.
Good start for the runner and so - as a lay bet - a jump in the wrong direction in the greening time one second after In-Play. But thats not the issue, the issue is that the BSP has not been taken to close the open back bet. I have to learn to record all this and yes .. at this race I was cleaning the balcony during greening .. haha .. shit ... I have to sit and watch the closing of ALL the races. Not missing some ...
Good start for the runner and so - as a lay bet - a jump in the wrong direction in the greening time one second after In-Play. But thats not the issue, the issue is that the BSP has not been taken to close the open back bet. I have to learn to record all this and yes .. at this race I was cleaning the balcony during greening .. haha .. shit ... I have to sit and watch the closing of ALL the races. Not missing some ...

You do not have the required permissions to view the files attached to this post.
Last edited by Mastermind on Sun Oct 01, 2023 12:45 am, edited 1 time in total.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
In this race it closed the open position with backing accidentaly twice and had it then to correct with another lay bet in the next emergency greening. It was (in practice mode) for a profit, but its of course another malfunction with yet unknown reason. And yes, I had 20ms refresh and restricted refreshrate ... markets in Guardian .. the whole UK/Ire-Horse Race Session of today .. let it be around 45 markets .. I can restrict the freshrate more tomorrow. but this should not have been the problem .. on other days .. for example australian racing .. there are more races in this short time .. maybe this has something to do with the In-Play Delay ..
You do not have the required permissions to view the files attached to this post.
Last edited by Mastermind on Sun Oct 01, 2023 12:46 am, edited 2 times in total.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
Last race of the day ... big, big profit .. but because of malfunction ... Back Bet was open .. should be closed with "Taking Back Bet BSP only" .. and it did not happen .. closed then with the following emergency greening .. but yeah .. big jump in the right direction .. but malfuncion as well.
Funny fact in this last post for tonight ,this profit is nearly exact the same amount the other malfunction .. same issue posted earlier .. produced as loss .. so over 1000, 2000, 5000 .. races .. this problem eliminates itself ... its nothing what is more bad then good .. its neutral or nonpartisan for the result .. but it produces crazy spikes in the results .. the whole day small gains .. small losses .. 1 pound, 2, 5 .. 7 .. and then in both direction 16,22 and 16,33 ... so that malfunction needs to be eliminated anyhow during the next weeks. Not sure how, must think this through the next days
Good night.
Funny fact in this last post for tonight ,this profit is nearly exact the same amount the other malfunction .. same issue posted earlier .. produced as loss .. so over 1000, 2000, 5000 .. races .. this problem eliminates itself ... its nothing what is more bad then good .. its neutral or nonpartisan for the result .. but it produces crazy spikes in the results .. the whole day small gains .. small losses .. 1 pound, 2, 5 .. 7 .. and then in both direction 16,22 and 16,33 ... so that malfunction needs to be eliminated anyhow during the next weeks. Not sure how, must think this through the next days
Good night.

You do not have the required permissions to view the files attached to this post.
- Mastermind
- Posts: 112
- Joined: Mon Jul 27, 2020 8:39 pm
Yesterday I have tested the difference between manually fullstop with my new Servant "ASC Greening and Fullstop" after the last horse is loaded .. and the Take BSP and 2x Emergency Greening In-Play as I used it before. Complete coinflip results. Purpose of this test was not focussed on entrys for the profitability, it was just same starting time and to see the difference in each races result between this two kind of greenings. Very much different, even the result is not so much apart after the 26 races .. if we see it without the last one. But yes, it´s a lot of randomness in taking the BSP´s .. you are half a tick up compared to taking best price for all manual greenings ... needs to be better optimised with possibly offering at best reverse price for some seconds during loading. So it´s both not the best solution.
You do not have the required permissions to view the files attached to this post.