Hi all.
Bit of a concern here. Why has my account gone into a negative amount!?
Negative Betfair account
Thanks for holding, this is due to a charge for over 5000 failed transactions ( usually via API) in 1 hour, details can be found below
7. Transaction Charges
7.1 This section only applies to the Betfair Exchange.
7.2 In addition to any commission payments, Betfair customers will be charged a transaction fee if they process a large number of transactions on the main Betting Exchange or on Exchange Games.
This charge is designed to limit inefficient transactional behaviour, particularly at peak times.
7.3 A ‘transaction’ shall include all bets placed and all failed transactions. Transaction Charges only apply to customers recording more than 5000 transactions an hour.
7.4 For the purpose of calculating Transaction Charges, an “hour” means a continuous period of 60 minutes based on the standard 24-hour clock system. Each new ‘hour’ will start at on the hour (e.g. 10:00:00) and finish at 59 minutes and 59 seconds past that hour (e.g.10.59:59).
What is placed bet?
Any bet that is matched, unmatched, cancelled or lapsed.
What is a failed transaction?
An action that leads to an API error, resulting in a failed bet placement, failed cancellation or other failed transaction. Full descriptions of each failed transaction type can be found in the link below:
https://betfair-developer-docs.atlassia ... tErrorCode
At the end of every day, we add up all the transactions you have recorded. If this number is in excess of 5000 in any hour of the day then (based on the 24-hour clock system) then we will multiply the exceeded amount by 0.2p.:
We will offset any transaction fee against the following amount:
(Commission Generated = (Commission Paid + Implied Commission) ÷ 2
where
Implied Commission = market losses x 3%
Any remaining amount will be charged to your account on a daily basis. Should your (commission) exceed this amount, you will not be charged a transaction fee. Accounts that relate to one person, entity, API subscription or a Master account (Trading version only) with related Sub accounts are treated as one customer for the purposes of transaction charging. Note transaction charges will not generate Betfair points or be offset against any Expert Fees.
Example::
You are a Betfair Exchange user who pays commission generated of £2.10 throughout a given day.
However, between the hours of 14:00:00 and 14:59:59 you placed 4800 bets and recorded 3400 failed transactions, between the hours of 15:00:00 and 15:59:59 you placed 2250 bets and recorded 4200 failed transactions, but in other hours you recorded less than 5000 transactions. Your base transaction charge is (4800+3400-5000) X £0.002 + (2250+4200-5000) X £0.002 = £9.30.
Therefore you will be billed an additional £9.30-£2.10 = £7.20 on the following day.
Yikes!.
How do I stop this from happening again
7. Transaction Charges
7.1 This section only applies to the Betfair Exchange.
7.2 In addition to any commission payments, Betfair customers will be charged a transaction fee if they process a large number of transactions on the main Betting Exchange or on Exchange Games.
This charge is designed to limit inefficient transactional behaviour, particularly at peak times.
7.3 A ‘transaction’ shall include all bets placed and all failed transactions. Transaction Charges only apply to customers recording more than 5000 transactions an hour.
7.4 For the purpose of calculating Transaction Charges, an “hour” means a continuous period of 60 minutes based on the standard 24-hour clock system. Each new ‘hour’ will start at on the hour (e.g. 10:00:00) and finish at 59 minutes and 59 seconds past that hour (e.g.10.59:59).
What is placed bet?
Any bet that is matched, unmatched, cancelled or lapsed.
What is a failed transaction?
An action that leads to an API error, resulting in a failed bet placement, failed cancellation or other failed transaction. Full descriptions of each failed transaction type can be found in the link below:
https://betfair-developer-docs.atlassia ... tErrorCode
At the end of every day, we add up all the transactions you have recorded. If this number is in excess of 5000 in any hour of the day then (based on the 24-hour clock system) then we will multiply the exceeded amount by 0.2p.:
We will offset any transaction fee against the following amount:
(Commission Generated = (Commission Paid + Implied Commission) ÷ 2
where
Implied Commission = market losses x 3%
Any remaining amount will be charged to your account on a daily basis. Should your (commission) exceed this amount, you will not be charged a transaction fee. Accounts that relate to one person, entity, API subscription or a Master account (Trading version only) with related Sub accounts are treated as one customer for the purposes of transaction charging. Note transaction charges will not generate Betfair points or be offset against any Expert Fees.
Example::
You are a Betfair Exchange user who pays commission generated of £2.10 throughout a given day.
However, between the hours of 14:00:00 and 14:59:59 you placed 4800 bets and recorded 3400 failed transactions, between the hours of 15:00:00 and 15:59:59 you placed 2250 bets and recorded 4200 failed transactions, but in other hours you recorded less than 5000 transactions. Your base transaction charge is (4800+3400-5000) X £0.002 + (2250+4200-5000) X £0.002 = £9.30.
Therefore you will be billed an additional £9.30-£2.10 = £7.20 on the following day.
Yikes!.
How do I stop this from happening again
- jamesedwards
- Posts: 4331
- Joined: Wed Nov 21, 2018 6:16 pm
There is a stored value condition called "the betfair transactions this hour" which you can use to prevent trades from triggering when you reach a certain number.
How many transactions per hour were you doing? You might need to investigate ways of reducing the number of transactions.
The cost of transactions is netted off against commission so if you are generating enough commission they don't necessarily end up costing you anything.
How many transactions per hour were you doing? You might need to investigate ways of reducing the number of transactions.
The cost of transactions is netted off against commission so if you are generating enough commission they don't necessarily end up costing you anything.
- ShaunWhite
- Posts: 10559
- Joined: Sat Sep 03, 2016 3:42 am
As per James, but if £7.20 took the account into the red then the failed transactions are probably insufficient funds.
I'm not too sure tbh. Its a collection of matched, unmatched, cancelled or lapsed.
So I'm going to have to find a way around this so it doesn't happen again
I'll look into the SV that you mentioned. TBH I imiagine I'm not the first person who has walked into this.
Do you have a similar code written up to protect you james?
I imagine there probably one on the forum mind you.
So I'm going to have to find a way around this so it doesn't happen again

I'll look into the SV that you mentioned. TBH I imiagine I'm not the first person who has walked into this.
Do you have a similar code written up to protect you james?
I imagine there probably one on the forum mind you.
- jamesedwards
- Posts: 4331
- Joined: Wed Nov 21, 2018 6:16 pm
That confused me as well, until I realised the £7.20 was just the Betfair example from their Ts & Cs.ShaunWhite wrote: ↑Sat May 10, 2025 2:22 pmAs per James, but if £7.20 took the account into the red then the failed transactions are probably insufficient funds.
-
- Posts: 1653
- Joined: Fri Nov 20, 2015 9:38 am
I seem to remember something about transactions less than BF min bet count double - was a while ago though and maybe no longer applies...
- jamesedwards
- Posts: 4331
- Joined: Wed Nov 21, 2018 6:16 pm
Not an issue for me because I don't do enough transactions to ever risk qualifying, and then it wouldn't matter because I create enough generated commission to cover it.Emtaxx wrote: ↑Sat May 10, 2025 2:23 pmI'm not too sure tbh. Its a collection of matched, unmatched, cancelled or lapsed.
So I'm going to have to find a way around this so it doesn't happen again![]()
I'll look into the SV that you mentioned. TBH I imiagine I'm not the first person who has walked into this.
Do you have a similar code written up to protect you james?
I imagine there probably one on the forum mind you.
It's simple to add it as a condition to your rule line/s that triggers a trade.
You do not have the required permissions to view the files attached to this post.
As always I really appriciate the help.
Also this is not an example. This is the charge from the support team.
I was also charged double, which I'm chasing why. But will only be an email reply.
Just don't want this to happen again. I've got something I feel could be really cool. But may come at a cost. Will need to tailor it so I dont go into the damages of over betting... Just need to figure out a way, where I dont miss the oppotunities etc.
N.B. with this happened. is there anything else I should be aware of that can damage your bank
Also this is not an example. This is the charge from the support team.
I was also charged double, which I'm chasing why. But will only be an email reply.
Just don't want this to happen again. I've got something I feel could be really cool. But may come at a cost. Will need to tailor it so I dont go into the damages of over betting... Just need to figure out a way, where I dont miss the oppotunities etc.
N.B. with this happened. is there anything else I should be aware of that can damage your bank

- ShaunWhite
- Posts: 10559
- Joined: Sat Sep 03, 2016 3:42 am
You'd usually trial something in PM to gauge how many it's going to do. But with commission covering the fee and only 0.2p per transaction it's not insurmountable.
"N.B. with this happened. is there anything else I should be aware of that can damage your bank"
Nothing that isn't in the Ts&Cs like voids or withdrawals on antipost markets.
"N.B. with this happened. is there anything else I should be aware of that can damage your bank"
Nothing that isn't in the Ts&Cs like voids or withdrawals on antipost markets.
Last edited by ShaunWhite on Sat May 10, 2025 4:23 pm, edited 1 time in total.
- ShaunWhite
- Posts: 10559
- Joined: Sat Sep 03, 2016 3:42 am
That's not a Betfair thing, BA swerves the min bet check by submitting a bigger bet and then modifies it downwards. Twice the transactions, twice the time to place. I guess the trn count James mentioned includes those.sionascaig wrote: ↑Sat May 10, 2025 3:16 pmI seem to remember something about transactions less than BF min bet count double - was a while ago though and maybe no longer applies...
- jamesedwards
- Posts: 4331
- Joined: Wed Nov 21, 2018 6:16 pm
Also beware Australian markets. They have significantly higher commission, and NSW horse races specifically carry a turnover charge which can be very expensive depending how you trade.ShaunWhite wrote: ↑Sat May 10, 2025 4:20 pmYou'd usually trial something in PM to gauge how many it's going to do. But with commission covering the fee and only 0.2p per transaction it's not insurmountable.
"N.B. with this happened. is there anything else I should be aware of that can damage your bank"
Nothing that isn't in the Ts&Cs like voids or withdrawals on antipost markets.
Hopefully that counter also includes the TOTAL transactions.
I’ll add it in tomorrow and see how we go. Or modify the bot somewhat however I’d be giving away edge then… im only running 10ps for now but seems promising. Not making enough to offset the commission just yet tho.
I’ll add it in tomorrow and see how we go. Or modify the bot somewhat however I’d be giving away edge then… im only running 10ps for now but seems promising. Not making enough to offset the commission just yet tho.
You do not have the required permissions to view the files attached to this post.
- jamesedwards
- Posts: 4331
- Joined: Wed Nov 21, 2018 6:16 pm
I don't think this is an issue any more.sionascaig wrote: ↑Sat May 10, 2025 3:16 pmI seem to remember something about transactions less than BF min bet count double - was a while ago though and maybe no longer applies...