Stocks climb 229 points as govt, IMF reach staff-level pact