With the start of the French election just days away, investors are contemplating their nightmare scenario: a choice between far-left and far-right candidates.

In recent days, a surge in opinion polls has placed Jean-Luc Mélenchon, a left-wing firebrand who promises higher wages and fewer working hours, as a potential candidate to move past this Sunday’s first round of voting. That could set up a second-round vote in May 7 with Marine Le Pen, an economic nationalist who wants to pull France out of the euro.