MIDLAND, Texas (AP) --€” Diamondback Energy (NASDAQ:FANG) said Wednesday that completed an initial public offering of 12.5 million shares.

The company, which develops oil and natural gas reserves in Texas, had its first day of trading as a public company on Friday.

It raised $218.8 million in the IPO, which was priced at $17.50 apiece. Diamondback Energy had projected a price of $17 to $19 per share.

The underwriters have a 30-day option to buy up to an additional 1.9 million shares.

The company anticipates net proceeds of about $204.6 million, after underwriting discounts and estimated expenses. Diamondback has used some of the proceeds to repay debt, and it plans to use the remaining proceeds to settle existing crude oil swaps, fund a portion of exploration and development activities and for general corporate purposes.

The stock is down 20 cents to $17.59 in afternoon trading.

The Motley Fool has no positions in the stocks mentioned above. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.