The most important factor is the latency of detecting unhealthy accounts. The Account Service provided by Compound Finance has considerable block delay and is insufficient for a liquidation bot. Implement Accounts Service to reduce latency of account data by querying the blockchain directly via the Compound smart contracts and storing it off chain.