Privatizing profits and socializing losses with smoothly operating capital markets