Colonies of bacteria balance growth against risk, just like financial investors, ecologists have found.