NEW YORK (TheStreet) -- YPF SA (YPF - Get Report), RenaSola (SOL - Get Report), and SandRidge Energy (SD - Get Report) were among the top gainers in the energy space last week, while First Solar (FSLR - Get Report), FMC Technologies (FTI - Get Report), and Ecopetrol (EC - Get Report) topped the losers' list.

YPF, an Argentina-based integrated oil and gas company, jumped 17.1% last week, hitting 52-week highs on Thursday. The company obtained a $250 million loan from lender Corporacion Andina de Fomento to finance its investment plan for production, refining and commercialization of petrol and natural gas, Reuters reports.

Renesola, a highly rated stock selling at a deep discount, manufactures solar wafers and solar power products. The stock gained around 11.3% last week after Goldman Sachs initiated coverage on the stock with a buy rating and a price target of $11 indicating an upside of 21% over current levels.

SandRidge Energy, a natural gas and oil company, continued its gains last week, advancing around 10.8%. Meanwhile, Enerplus Resources Fund ( ERF - Get Report), McMoRan Exploration ( MMR) and Exterran Holdings ( EXH) gained around 9.5%, 8.9%, and 8.2%, respectively.

Chesapeake Energy ( CHK - Get Report) rose 8.7% following the news that billionaire investor Carl Icahn increased his stake in the company.

Holly ( HOC) advanced 8.1% on its announcement that Tulsa refineries will restart operations in a week.

CGG Veritas ( CGV), the world's largest seismic surveyor of oilfields, gained 7.9% on the recent uptrend in oil prices, which will likely increase producers' spending. Analysts at Exane BNP Paribas upgraded the stock to outperform from underperform.

First Solar and FMC Technologies led the pack of losers, declining around 2.7%, and 2.4%, respectively. Ecopetrol, the largest company in Colombia, declined 1.2% despite it receiving approval from the Brazilian government for participation in Santos Basin.

Among other losers, Helix Energy Solutions ( HLX), Oneok Partners ( OKS), and Rosetta Resources ( ROSE) fell 1.1%, 1%, and 1%, respectively.

This commentary comes from an independent investor or market observer as part of TheStreet guest contributor program. The views expressed are those of the author and do not necessarily represent the views of TheStreet or its management.