Hi Mcbee
Thanks for that. Hopefully I’ve coded it properly in the attached trigger
The bets I place manually on bf no longer seem to be influencing how the triggers work which is good, although I have noticed a few other minor problems which I’d be interested in your thoughts on – I’ve been monitoring it for some time on Sunday’s racing but still can’t quite work out where the program is falling down. Here are some observations which may be linked to the same issues:
1) Most of the time the “Laying Some Selections” (LSS) bets are not cancelling at the end of the (now) 24 second period. So it is increasing the unmatched stake on the relevant selections at every update. I can’t work out the pattern of when this happens and when it cancels the bets - it seems quite random.
2) Other times all “LSS” bets do cancel properly, although this is rare. I thought it might be when no bets or perhaps one bet got matched on the initial 24-second period, but it is more complicated than that. Other times some LSS selections get cancelled at a given update but not others. For example, a horse might have been laid 11 times at successive updates (without ever getting matched) and then it might get cancelled at the next update, with zero bets on it, whilst no bets on other selections are cancelled at the same time. I cant fathom it
3) The “FaveLay1.01” bets generally do cancel but there are times when a second bet is placed without cancelling the first. Unlike the LSS (where unmatched bets often grow in size at end of every period) then the FaveLay1.01 bets never seem to get bigger than twice default stake (ie. are then cancelled at end of following period)
4) I did think some issues might relate to when a horse went above the £100 exposure, and this might be the time when the FaveLay1.01 bets dont get cancelled, but I experimented with removing this condition and still had many of the above issues. When exposure goes >100, some complicated things do happen though - sometimes other unmatched bets on the horse with >100 exposure are cancelled at this time, other times not etc. Also if a horse goes from >100 exposure to <100 exposure (ie. as other selections get laid) then it can cause complex trains of event which might cause things to trip up
If you could let me know what you think might be causing the above then that would be great! Thanks again for your help, am enjoying using the program