Yeah I've had logical errors before that have resulted in a bet being put on every refresh of the market. If you're in streaming mode at 20 millisecond refresh rate - that can be a lot, even at micro stakes. Luckily I was watching it at the time and was able to stop the automation and cancel the bets before they were matched.
Now I always test in practice mode before moving to real stakes.