Help with Fill/Kill Bot Please
The aim is to place different groups of Lay bets on horse racing at X % below the best back price with each group having different pre-set time ( fill or kill ) and liability amounts, repeat until In play then cancel all unmatched bets.
The bot works sporadically, not cancelling bets and they accumulate to some times 200 + unmatched bets?
I have tried different time settings for the Fill/Kill and Trigger refresh times with no success.
I just cannot work out what is wrong, it seems a simple trigger to me?
Any advice would be much appreciated.
I have attached the baf file.
Thanks
Michael
You do not have the required permissions to view the files attached to this post.
Everything looks fine with your rules (except maybe you aren't aware the 4th is using a 20sec fill/kill and the rest 8secs)
but all the rest should never have more that one unmatched bet at a time at in the market, although you don't have anything to stop the amount of times each rule could be matched so you could end up with some massive liabilities.
If you strip out the 2nd-4th lay rules (as these could only be matched if the first has been), then run it with just that first one and if it doesn't work right post a copy of the log
but all the rest should never have more that one unmatched bet at a time at in the market, although you don't have anything to stop the amount of times each rule could be matched so you could end up with some massive liabilities.
If you strip out the 2nd-4th lay rules (as these could only be matched if the first has been), then run it with just that first one and if it doesn't work right post a copy of the log
Hi Dallas,
Thanks for the reply.
I will try your suggestion "If you strip out the 2nd-4th lay rules (as these could only be matched if the first has been), then run it with just that first one and if it doesn't work right post a copy of the log"
I have a question, I dont understand the logic "(as these could only be matched if the first has been)" these rules are not independent of each other?
Cheers
Michael
Thanks for the reply.
I will try your suggestion "If you strip out the 2nd-4th lay rules (as these could only be matched if the first has been), then run it with just that first one and if it doesn't work right post a copy of the log"
I have a question, I dont understand the logic "(as these could only be matched if the first has been)" these rules are not independent of each other?
Cheers
Michael
They are independent but each one is placing the bet further away so the 2nd can't be matched unless the 1st has been matched, the 3rd can't be matched unless the 1st and 2nd have been matched and so on1856 wrote: ↑Thu Aug 19, 2021 12:53 amHi Dallas,
Thanks for the reply.
I will try your suggestion "If you strip out the 2nd-4th lay rules (as these could only be matched if the first has been), then run it with just that first one and if it doesn't work right post a copy of the log"
I have a question, I dont understand the logic "(as these could only be matched if the first has been)" these rules are not independent of each other?
Cheers
Michael
So for testing you can run it with just the first rule, if that fill/kills ok and everything works as expected then so will the other three - but if not it'll be a lot easier to read the log to trap the error than try and pick apart four rules