ouch

The sport of kings.
Post Reply
The dog of ry
Posts: 262
Joined: Sat Dec 20, 2014 2:17 am

just cost me a small fortune.... any ideas as to what might have caused this? tried to cancel bets inplay, this is the log

30/06/2019 19:09:41: Cancelling bets 169746452447 169746484594
30/06/2019 19:09:43: An error occurred while cancelling bets: The entire order has been rejected.
User avatar
napshnap
Posts: 1191
Joined: Thu Jan 12, 2017 6:21 am

Not enough info, there can be many reasons why your order to cancel bets was rejected. https://docs.developer.betfair.com/disp ... tErrorCode
The dog of ry
Posts: 262
Joined: Sat Dec 20, 2014 2:17 am

Understand, but is there any way to pinpoint the reason other than contacting Betfair? The log picked up I was canceling.. screen froze and roughly 3 seconds later red appeared. I’m sure Betfair will just tell me the bet was matched
User avatar
Derek27
Posts: 23617
Joined: Wed Aug 30, 2017 11:44 am
Location: UK

If the bet was matched it would appear on your account statement.

If the market froze followed by a red book, are you sure there wasn't a horse withdrawn from the market?
User avatar
napshnap
Posts: 1191
Joined: Thu Jan 12, 2017 6:21 am

Where did you get this log form? What software are you uising?
User avatar
Dallas
Posts: 22709
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

The dog of ry wrote:
Sun Jun 30, 2019 10:13 am
just cost me a small fortune.... any ideas as to what might have caused this? tried to cancel bets inplay, this is the log

30/06/2019 19:09:41: Cancelling bets 169746452447 169746484594
30/06/2019 19:09:43: An error occurred while cancelling bets: The entire order has been rejected.

That message 'An error occurred while cancelling bets: The entire order has been rejected.' will be sent by Betfair when you try to cancel a group of bets that have already been matched or are in the process of being matched.
The dog of ry
Posts: 262
Joined: Sat Dec 20, 2014 2:17 am

Thanks for replies.. I'm using BetAngel and those lines were from the log.

Dallas I agree but I'm sure it would usually say something along the lines of "Unable to cancel order as fully matched"... or if partially matched, then it states how much was filled...

I'm started to think maybe my internet dropped out for a second as I hit cancel? So it was registered in the log but didn't immediately get sent to Betfair?.... I'm guessing there's no way to tell? Now I'm a bit worried about it happening again.
User avatar
mcgoo
Posts: 898
Joined: Thu Jul 18, 2013 12:30 pm

Seen that error more than a few times when running bots and they always cost money :evil: ..usually because the bet is not detected as matched when it is filled..from what I could work out BA records the bet as not matched when Betfair has it as matched and your rules will be looking for matched bet conditions..boom down you go..at least that was my analysis of it :roll: It happens enough to be concern so you have to put protections in place...like (one option) check if your profit/red is dropping fast and green all..that sort of thing... :ugeek:
Post Reply

Return to “Trading Horse racing”