Markets fluctuated sharply within a range and ended up losing nearly half a percent, wiping out the gains from Tuesday's session