Instead of deactivating DCA bots when the account runs out of money, I suggest to pause the bots, show a warning, and resume automatically once money becomes available.
This guarantees that bots will continue to run when the account is not being monitored by the user, and removes the need for manual intervention.