The BTC Horse Racing Thread
-
@Dan-MacKinnon
The overal PL field is editable. Click in it and change it -
@Daniel-Mills is there a way to reset the P&L of each strategy? I've duplicated strategies but it keeps the P&L despite no bets being placed
-
@Daniel-Mills
Thats fixed it thanks. Only been using BFBM for a couple of weeks and not seen that problem before.
-
@Jonathan-Jones
any resolution when you go to history on the top bar and 'update bets'?
-
@Jonathan-Jones I've got the same thing. It says matched but not settled, however, when I go to my actual account it is settled and won. It makes the strategy seem like it's performing worse than it is
-
Seeing a bug on BFBM. Anyone else get this and how frequently?
This is this morning. 3 bets stuck at matched. The bets are settled and lost. This has obviously messed up the stats.
#Edit#
Actually its happened across all the strats, about 30% of the bets are not settled. Plus, i now have issues of bets not being taken. The backtest says bets were taken, the selection is in the tipsters window with the correct provider and odds but BFBM simply didnt bother. Think i want to change my vote. BFBM is starting to look like one massive steaming pile of crap.#Edit - Edit#
My missing trades are all on the boundry (so 6.8 and 7 ltp). It seems that when you use the import for min max prices it looks like it uses the default so both back and lay needs to be within the range (if you use the selection criteria rule you can select how you want it to handle the comparison). This is probably OK for low ot high odds but for stuff bouncing in the middle you might miss a lot of trades on the margins.
Learning every day.
-
@Toyin-Butler spot on! I've just started to try and learn coding and my God is it confusing! What @Adam has built from scratch is unreal.
-
@Adam If you ever need to bounce ideas or whiteboard architectural designs, I'm always happy to help. I have some experience here (or can always call a friend). I think ultimately people need to understand that this stuff ain't easy. Much respect for what you have already built and how performant and accessible the data is, and the manner it is displayed.
-
Totally understand, which is why i have had to roll my own solution. I may go for a hybrid as someone suggested. I can use the BFBM url here for anything that doesnt use the ranking then just concentrate on dealing with the few that do.
-
As much as I'd love to just keep everyone's qualifiers constantly in sync, there are about 2000 active strategies in the database at the moment and it just takes time to run them all in the background to grab the latest qualifiers.
We might be able to parallelise them a bit more, or maybe find a more selective / intelligent way of doing it, where for example every time there's a non-runner we instantly recalculate all the strategies that include ranking rules, and ignore the others.
Eventually though, we'll end up with 2000 strategies that use rankings that all need to be refreshed at the same time.
I'm not sure what the permanent, scalable solution is tbh.
-
mixed bag. Without the ranking one of the backs is a little less profitable. The borderline profitable months become losing months, the lay and the other back are not useable without the ranking.
I am also thinking that its something in my selections. The initial post though was just a check that we didnt have missing data again to rule that out. I have run through quite a few scenarios of what could go wrong. So now i have some additional logging and validation. I will track it down at some point, not sure how much it will cost me to get there though.
-
@Daniel-Mills
The ones that cause me the issues use Forecast price rank and Pace rank. Both are black box to this software (or the pace rating and forecast prices the ranks are based off are). The BFBM URL only has bare minimum and there is no way to get that info into BFBM to filter on as far as i know.
-
@Jonathan-Jones
If all the bets have a tipster name against them, then they must be getting this from somewhere and if its not BTC, must be something you (or your software) is doing.
May be an obvious suggestion, but have you backtested those strategies that have a ranking to see what affect the ranking actually has? You may be able to do away with the ranking bit altogether and then no need to worry. But yes I would definitely look to importing the non-ranking specific ones directly from BTC to BFBM, it makes life so much easier. I only run 4 Horse racing strategies and all are direct uploads, run BFBM on a VPS and simply don't have to touch it.
-
@Jonathan-Jones said in The BTC Horse Racing Thread:
Just checked my tips and have an example from a few moments ago why i have to do it this way. The initial selection for my forecast price lays on one of the races is a non-runner in the last ten mins. My little application has removed it, re-ordered the selections and the tips service now has imported the new selection in BFBM. Dont know what time that race is but its a better than fair bet i would miss that selection if i was using the BFBM url the software provides and would only know about it when i do the backtests in the morning.
I wouldn't like to assume here, but what's stopping you from adding those conditions that have a separate script/application for from filtering out in the BFBM strategy? I have a few extra conditions set in my market and selection conditions on my version of lbf and touch wood seem to do fine with the automatic links the software creates. it's run over 1000 times and I haven't had to touch it. I'm sure you'll figure it out, and interested to find out myself, but it does seem from the outside there might be a simpler workflow for you.
-
Its for working towards full automation. I am often away at weekends and have limited or no internet access. I would love to just be able to use the provided mechanism but it updates too slow and as i said loses me money every week (several instances a week in fact). Imagine checking the software in the morning and it tells you your back strategy won 20 points yesterday while you are looking at yet another negative day. The reason being the software has a selection you dont, a rank 2 horse became rank 1 because of a non runner then went on to win. That happens all the damn time and is something i am pretty much fed up with. A ball ache on lays but at least that only costs a point at a time, totally trashes back strategies though.
I have checked the history and all the bets have a tipster name against them. Even though the output of the url couldnt possibly have those as selections (but, that is the area i am focusing on for the source of the bug at the moment). Unfortunately i clear the tips every evening so dont have any from last week but i have turned that off today so can triple check tomorrow.
I will track this down eventually. It will almost certainly be something i have done wrong but i will find it eventually.
Just checked my tips and have an example from a few moments ago why i have to do it this way. The initial selection for my forecast price lays on one of the races is a non-runner in the last ten mins. My little application has removed it, re-ordered the selections and the tips service now has imported the new selection in BFBM. Dont know what time that race is but its a better than fair bet i would miss that selection if i was using the BFBM url the software provides and would only know about it when i do the backtests in the morning.
#Edit#
I guess i could split it and import the ones without a ranking direct from the url provided and just mess the others. That might be a possibilty i will look at. Currently i run four strategies live (Two have rankings, Two dont) plus one on very minimal stake test (no ranking). Then i have three additional ones all currently disabled as they use the favourite critera and i wont run any of them until the update, one of those (the best by a billion miles) also uses rankings) -
@Jonathan-Jones that all sounds very complicated, I import directly through URL to BFBM and have ~0 issues
-
@Jonathan-Jones Wow, that sounds like a complicated way of working, but whatever floats your boat.
So, forgetting your strategies that use Rank criteria and going back to your original query which was about the Lay Beaten Fav strategy, which has no rank criteria. Why not simply use the "load tips from URL" function in BFBM?
Having looked at your BFBM bot, there is no reason that I can see as to why it is putting spurious bets on. It should only be putting bets on selection that have "LBF" as the tipster. If that is not the case as you say, then there is obviously something going wrong between you downloading the qualifiers and them being imported into BFBM.
Do you have the "Tipster" column visible on your BFBM Bets tab, if so, does it show "LBF" next to the "wrong" bets?
-
@Greg-Mitchell
Nope.
I dont use the software selections directly because they create additional problems. I have 3 strategies that use the rank criteria. The software updating times (being a couple of hours at times) is not helpful when non runners mess up the ranking orders. Costs me money every single week. So, every morning i download (automatically) the qualifiers of the strategies i am interested in from modified filters. I have software that imports them and then applies the rank filters. The software then checks betfair every ten mins and re-orders if it needs to because of non runners. I compare the initial creation with the official BFBM url to make sure its all correct as a starting point.So, i know the selections that are being passed to BFBM are correct (automatically validated and because of the issues i have been having are manually validated). I have rechecked the strategies in BFBM to make sure they are using the correct provider id (did find this as a problem on a new one i am testing as i copied it but all the live ones are correct).
So now i have changed them all to a fixed stake (easier to match stuff to check) and removed the selection filter specifying the odds so its only using the imported min max odds. Will see how it goes today but the ones i have noticed the obvious problems on are as simple as it gets.
-
@Jonathan-Jones Are you sure you don't have a duplicate strategy on BTC with the same "LBF" external ID?
-
@John-Folan
Its the same issue as i had on just lay. I thought that was down to sim mode as everything was fine the day after but according to Adam its taking bets on horses that are not even selections and its a totally different strategy. I use the selection import via the tipster servide and i do provide min and max odds as part of that. I had left in the original selection criteria but i have removed it today so its only using the tipster service.
lbf.gz
Lay Beaten Favourite.json