European markets rose Wednesday as investor confidence rose on hopes that Spain will soon apply for a conditional credit line and hence trigger the European Central Bank’s new bond buying plan.

The French CAC 40 index was up 0.20 percent or 6.87 points to 3507.81. Shares of BNP Paribas SA rose 1.86 percent and shares of Societe Generale SA gained 1.27 percent.

London’s FTSE 100 index rose 0.12 percent or 6.98 points to 5877.52. Shares of TESCO PLC advanced 1.98 percent and shares of Evraz PLC were up 1.03 percent.

The German DAX 30 index advanced 0.13 percent or 9.75 points to 7386.02. Shares of Commerzbank AG rose 1.41 percent and shares of Allianz SE gained 0.52 percent.

Spain's IBEX 35 was up 0.95 percent or 73 points to 7751.50. Shares of Bankia SA rose 4.61 percent and shares of Bankinter SA gained 4.39 percent.

Investor sentiment was lifted as many companies in the U.S. reported better than expected earnings. Among the Fortune 500 companies that reported strong quarterly earnings were Johnson & Johnson, Goldman Sachs, UnitedHealth and Mattel.

Reports that Spain is getting closer to requesting a bailout from the ECB have boosted market sentiment. German resistance to a full Spanish aid package appears to be weakening as the door opens wider to a formal request by Spain for a credit line.

Market players sense that Spain will request a PCCL rather than an enhanced conditions credit line (ECCL). “The difference is that, unlike the ECCL, the PCCL only makes ex ante requests from the country demanding it and associates no corrective action as conditions for providing the funds,” Credit Agricole said in a note.

However, it is likely that the Spanish government is anxious to put off any bailout until after the regional elections in Galicia and Basque on Oct. 21. Also, the pressure on Spain to enter an aid program has been eased by the drop in government bond yields seen in the last couple of months.