Howdy.
I've been having some issues with my automations and have been going through the logs looking for issues.
One thing I found is log lines saying:
12/16/2020 19:30:35: [G_Auto] : Cancelling bets 219565247193
But there isnt any corresponding bet placed with that number in the log.
Ie I dont know which bet is being cancelled , or what else is going on.
Can anyone shed light on that?
"Cancelling bets" question
It's neither of those. I think it probably "Cancel All unmatched Bets on Selection"
I have been getting other errors as well that I was going to put in another post, but it might be related:
I don't know what that refers to. I'm simply placing a lay bet a Best Reverse. I dont think I'm trying to modify any prices.An error occurred while modifying price: The entire order has been rejected.
Unable to place lay bet on 3. Ask Nino at 9.4. Modify price - The bet has already been taken or lapsed.
TIA
Good move

Do you have that other log you mentioned above or a similar one with a few lines of activity so I can see the full run up to the errors?
Good morning!
Here's one from a race just now where I was trying to trace the errors, and it's just a dog's breakfast. I'm not sure what's going on (this is the full log):
In this case,12/19/2020 19:21:30: [AS 646] : Automation Servant ( AS Cancel All Safety ) Started as Safety Servant.
12/19/2020 19:21:30: [G_Auto] : Store Value (Shared) for market: selections = 1
12/19/2020 19:21:31: [G_Auto] : Store Value (Shared) for market: selections = 1 + 1 = 2
12/19/2020 19:21:31: [G_Auto] : Store Value (Shared) for market: selections = 2 + 1 = 3
12/19/2020 19:21:31: [G_Auto] : Store Value (Shared) for market: selections = 3 + 1 = 4
12/19/2020 19:21:32: [G_Auto] : Store Value (Shared) for market: selections = 4 + 1 = 5
12/19/2020 19:21:32: [G_Auto] : Store Value (Shared) for market: selections = 5 + 1 = 6
12/19/2020 19:21:32: [G_Auto] : Store Value (Shared) for market: selections = 6 + 1 = 7
12/19/2020 19:21:32: [G_Auto] : Store Value (Shared) for market: selections = 7 + 1 = 8
12/19/2020 19:21:33: [G_Auto] : Store Value (Shared) for market: selections = 8 + 1 = 9
12/19/2020 19:21:33: [G_Auto] : Store Value (Shared) for market: selections = 9 + 1 = 10
12/19/2020 19:21:33: [G_Auto] : Store Value (Shared) for market: selections = 10 + 1 = 11
12/19/2020 19:22:00: [G_Auto] : $ 3.95 Back bet placed on 10. Bobbie Jo at 8.6. Entirely unmatched when it initially reached the market. Ref: 219829265833 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:00: [G_Auto] : $ 1.50 Back bet placed on 8. Silvaplana at 21. Entirely unmatched when it initially reached the market. Ref: 219829265846 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:00: [G_Auto] : $ 1.36 Back bet placed on 3. Snap On at 23. Entirely unmatched when it initially reached the market. Ref: 219829265837 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:00: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:00: [G_Auto] : Modify bet persistence 219829265833 from 'Cancel' to 'Take SP'
12/19/2020 19:22:00: [G_Auto] : Modify bet persistence 219829265833 from 'Cancel' to 'Take SP'
12/19/2020 19:22:00: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:00: [G_Auto] : Modify bet persistence 219829265833 from 'Cancel' to 'Take SP'
12/19/2020 19:22:01: [G_Auto] : $ 1.36 of unmatched bet (Ref:219829265837) was filled before remainder was killed.
12/19/2020 19:22:01: [G_Auto] : $ 1.5 of unmatched bet (Ref:219829265846) was filled before remainder was killed.
12/19/2020 19:22:01: [G_Auto] : $ 1.30 Back bet placed on 8. Silvaplana at 24. Entirely unmatched when it initially reached the market. Ref: 219829267859 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:01: [G_Auto] : $ 1.30 Back bet placed on 3. Snap On at 24. Entirely unmatched when it initially reached the market. Ref: 219829267837 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:05: [G_Auto] : Warning: Timeout occurred while updating bet persistence: NULL
12/19/2020 19:22:00: [G_Auto] : Modify bet persistence 219829265833 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : $ 4.44 Back bet placed on 10. Bobbie Jo at 8.4. Entirely unmatched when it initially reached the market. Ref: 219829276072 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:08: [G_Auto] : $ 3.95 of unmatched bet (Ref:219829265833) was filled before remainder was killed.
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : $ 4.44 of unmatched bet (Ref:219829276072) was filled before remainder was killed.
12/19/2020 19:22:09: [G_Auto] : $ 3.76 Lay bet placed on 10. Bobbie Jo at 8.6. Fully matched at 8.6. Ref: 219829278351
12/19/2020 19:22:17: [G_Auto] : $ 1.3 unmatched bet (Ref:219829267837) was killed.
12/19/2020 19:22:17: [G_Auto] : $ 1.3 unmatched bet (Ref:219829267859) was killed.
12/19/2020 19:22:17: [G_Auto] : $ 0.31 Back bet placed on 8. Silvaplana at 22. Entirely unmatched when it initially reached the market. Ref: 219829290525 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:21: [G_Auto] : $ 0.31 Back bet placed on 3. Snap On at 23. Entirely unmatched when it initially reached the market. Ref: 219829294926 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:33: [G_Auto] : $ 0.31 unmatched bet (Ref:219829290525) was killed.
12/19/2020 19:22:33: [G_Auto] : $ 0.31 Back bet placed on 8. Silvaplana at 22. Entirely unmatched when it initially reached the market. Ref: 219829308096 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:36: [G_Auto] : $ 0.31 unmatched bet (Ref:219829294926) was killed.
12/19/2020 19:22:37: [G_Auto] : $ 0.31 Back bet placed on 3. Snap On at 23. Entirely unmatched when it initially reached the market. Ref: 219829312336 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:41: [G_Auto] : $ 0.31 of unmatched bet (Ref:219829308096) was filled before remainder was killed.
12/19/2020 19:22:41: [G_Auto] : $ 0.31 Back bet placed on 8. Silvaplana at 22. Entirely unmatched when it initially reached the market. Ref: 219829319353 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:42: [G_Auto] : $ 0.31 of unmatched bet (Ref:219829319353) was filled before remainder was killed.
12/19/2020 19:22:42: [G_Auto] : Cancelling bets 219829319979 219829319988
12/19/2020 19:22:42: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:42: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:42: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:42: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:44: [G_Auto] : Cancelling bets 219829322206 219829322207
12/19/2020 19:22:44: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:44: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:44: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:44: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:46: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:46: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:46: [G_Auto] : Cancelling bets 219829324472 219829324475
12/19/2020 19:22:46: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:46: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:48: [G_Auto] : Cancelling bets 219829326859 219829326881
12/19/2020 19:22:48: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:48: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:48: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
12/19/2020 19:22:48: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:50: [G_Auto] : Placed closure bet with greening on 10. Bobbie Jo by Laying 5.56 at 7
12/19/2020 19:22:51: [G_Auto] : An error occurred while cancelling bets: The entire order has been rejected.
12/19/2020 19:22:51: [G_Auto] : Cancelling bets 219829329613 219829329629
12/19/2020 19:22:51: [G_Auto] : $ 0.55 Lay bet placed on 8. Silvaplana at 22. Entirely unmatched when it initially reached the market. Ref: 219829330213
12/19/2020 19:22:51: [G_Auto] : $ 0.55 Lay bet placed on 8. Silvaplana at 22. Entirely unmatched when it initially reached the market. Ref: 219829330212
12/19/2020 19:22:51: [G_Auto] : $ 0.31 of unmatched bet (Ref:219829312336) was filled before remainder was killed.
12/19/2020 19:22:52: [G_Auto] : Cancelling bets 219829330212 219829330213
12/19/2020 19:22:53: [G_Auto] : $ 0.54 Lay bet placed on 8. Silvaplana at 22. Entirely unmatched when it initially reached the market. Ref: 219829333211
12/19/2020 19:22:53: [G_Auto] : $ 0.54 Lay bet placed on 8. Silvaplana at 22. Entirely unmatched when it initially reached the market. Ref: 219829333295
12/19/2020 19:22:53: [G_Auto] : An error occurred while cancelling bets: The entire order has been rejected.
12/19/2020 19:22:53: [G_Auto] : Cancelling bets 219829332604 219829332682
12/19/2020 19:22:54: [G_Auto] : $ 1.56 Back bet placed on 12. Dreamalina at 22. Entirely unmatched when it initially reached the market. Ref: 219829334320 ( Fill or kill bet with 15 seconds delay. )
12/19/2020 19:22:54: [G_Auto] : Cancelling bets 219829333211 219829333295
12/19/2020 19:22:54: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Initial bet - The order cannot be processed as the market is suspended.
12/19/2020 19:22:54: [G_Auto] : Exception: Key cannot be null.
Parameter name: key
12/19/2020 19:22:54: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Initial bet - The order cannot be processed as the market is suspended.
12/19/2020 19:22:54: [G_Auto] : Exception: Key cannot be null.
Parameter name: key
12/19/2020 19:22:55: Guardian has detected that the market is suspended
12/19/2020 19:22:55: Guardian has detected that the market is in-play
12/19/2020 19:22:55: Guardian has detected that the market is now unsuspended
12/19/2020 19:23:02: [AS 646] : Automation Servant ( AS Cancel All Safety ) Stopped.
12/19/2020 19:23:19: [G_Auto] : $ 1.56 unmatched bet (Ref:219829334320) was killed.
12/19/2020 19:23:53: Guardian has detected that the market is suspended
19:22:52: [G_Auto] : Cancelling bets 219829330212 219829330213
refers 2 two actual bets that are referenced elsewhere.
But these do not:
12/19/2020 19:22:51: [G_Auto] : Cancelling bets 219829329613 219829329629
Also, I have no idea where this comes from:
AFAIK I havent even tried to place a closure bet with or without greening so I'm surprised to see it in the logs (havent seen it before.) If I sort my rules by description the only items are:"12/19/2020 19:22:50: [G_Auto] : Placed closure bet with greening on 10. Bobbie Jo by Laying 5.56 at 7"
set/modify SV
Place stake (Liability) Back bet
Cancel unmatched
TakeSP
(I'm sure I'm going to look very stupid tomorrow, but I have to run now.)
Thanks for your help, as always!
I haven't gone through every part line by line to match up the numbers but a few things of note which might explain what you are seeing
The log only repaints 1 every second and sometimes things can appear out of order, so in the section below it looks like you have a fast refresh on a take SP rule so its triggered several times within 1 second, but it all gets writen to the log at the same time, and in the case below the bet will have been filled but just BA hadn't got that info back from BF while still sending further take SP orders (for a bet no longer unmatched).
but the log has then written the fill/killed part at the end, if this had been at the top it would make more sense
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : $ 4.44 of unmatched bet (Ref:219829276072) was filled before remainder was killed.
The following errors usually mean that because the bet was below min stakes and therefore two orders are needed to place them the initial bet was taken before the bet could be re-priced
12/19/2020 19:22:42: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:42: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
I would be sure at least one of those belongs to greening bet just above, (this was why i asked about greening orders being used in my earlier reply)
12/19/2020 19:22:50: [G_Auto] : Placed closure bet with greening on 10. Bobbie Jo by Laying 5.56 at 7
12/19/2020 19:22:51: [G_Auto] : An error occurred while cancelling bets: The entire order has been rejected.
12/19/2020 19:22:51: [G_Auto] : Cancelling bets 219829329613 219829329629
There must be a rule in your file issuing a close trade order, perhaps you have a rule named one thing but the wrong rule type set for it, the only way to be sure would be to go through each one and double check each rule type being used irrespective of the rule name
i'm not sure if any of that helped specifically as I said i've not matched up each bet id line by line but the general overview of the errors and how the log works might help you piece things together with how you rules file works.
If there's anything specific you want to highlight I'm happy to take a closer look
The log only repaints 1 every second and sometimes things can appear out of order, so in the section below it looks like you have a fast refresh on a take SP rule so its triggered several times within 1 second, but it all gets writen to the log at the same time, and in the case below the bet will have been filled but just BA hadn't got that info back from BF while still sending further take SP orders (for a bet no longer unmatched).
but the log has then written the fill/killed part at the end, if this had been at the top it would make more sense
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : $ 4.44 of unmatched bet (Ref:219829276072) was filled before remainder was killed.
The following errors usually mean that because the bet was below min stakes and therefore two orders are needed to place them the initial bet was taken before the bet could be re-priced
12/19/2020 19:22:42: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:42: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
I would be sure at least one of those belongs to greening bet just above, (this was why i asked about greening orders being used in my earlier reply)
12/19/2020 19:22:50: [G_Auto] : Placed closure bet with greening on 10. Bobbie Jo by Laying 5.56 at 7
12/19/2020 19:22:51: [G_Auto] : An error occurred while cancelling bets: The entire order has been rejected.
12/19/2020 19:22:51: [G_Auto] : Cancelling bets 219829329613 219829329629
There must be a rule in your file issuing a close trade order, perhaps you have a rule named one thing but the wrong rule type set for it, the only way to be sure would be to go through each one and double check each rule type being used irrespective of the rule name
i'm not sure if any of that helped specifically as I said i've not matched up each bet id line by line but the general overview of the errors and how the log works might help you piece things together with how you rules file works.
If there's anything specific you want to highlight I'm happy to take a closer look
Unsurprisingly, you are right about everything. Thanks so much.Dallas wrote: ↑Sat Dec 19, 2020 10:19 amI haven't gone through every part line by line to match up the numbers but a few things of note which might explain what you are seeing
The log only repaints 1 every second and sometimes things can appear out of order, so in the section below it looks like you have a fast refresh on a take SP rule so its triggered several times within 1 second, but it all gets writen to the log at the same time, and in the case below the bet will have been filled but just BA hadn't got that info back from BF while still sending further take SP orders (for a bet no longer unmatched).
but the log has then written the fill/killed part at the end, if this had been at the top it would make more sense
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : An error occurred while updating bet persistence: The entire order has been rejected.
12/19/2020 19:22:08: [G_Auto] : Modify bet persistence 219829276072 from 'Cancel' to 'Take SP'
12/19/2020 19:22:08: [G_Auto] : $ 4.44 of unmatched bet (Ref:219829276072) was filled before remainder was killed.
The following errors usually mean that because the bet was below min stakes and therefore two orders are needed to place them the initial bet was taken before the bet could be re-priced
12/19/2020 19:22:42: [G_Auto] : Unable to place lay bet on 8. Silvaplana at 22. Modify price - The bet has already been taken or lapsed.
12/19/2020 19:22:42: [G_Auto] : An error occurred while modifying price: The entire order has been rejected.
I would be sure at least one of those belongs to greening bet just above, (this was why i asked about greening orders being used in my earlier reply)
12/19/2020 19:22:50: [G_Auto] : Placed closure bet with greening on 10. Bobbie Jo by Laying 5.56 at 7
12/19/2020 19:22:51: [G_Auto] : An error occurred while cancelling bets: The entire order has been rejected.
12/19/2020 19:22:51: [G_Auto] : Cancelling bets 219829329613 219829329629
There must be a rule in your file issuing a close trade order, perhaps you have a rule named one thing but the wrong rule type set for it, the only way to be sure would be to go through each one and double check each rule type being used irrespective of the rule name
i'm not sure if any of that helped specifically as I said i've not matched up each bet id line by line but the general overview of the errors and how the log works might help you piece things together with how you rules file works.
If there's anything specific you want to highlight I'm happy to take a closer look