Wednesday turned out to be a bad day for investors betting on a Mitt Romney win.

With Mr. Romney and President Barack Obama virtually neck and neck going into Tuesday's election, traders said that many investors had bets aimed at capturing any rise in stocks should Mr. Romney pull out a win. Their wager: Many largely expected Mr. Obama to be victorious, therefore any selloff would be minimal, with the reward seen as bigger than the risk.

But...