Financial regulation and the invisible hand