It was a great year to be invested in cannabis stocks.

Horizons Marijuana Life Sciences Index ETF (HMMJ), the largest marijuana-focused exchange-traded fund, has surged 74 percent since it debuted in April this year, bringing its market value to almost C$450 million ($358 million). While the fund dipped on the last trading day of the year, it still gained 12 percent during the past week.

Of course some individual stocks performed even better in 2017, with Delta 9 Cannabis Inc. up more than 1,200 percent and WeedMD Inc. up 165 percent.

Bloomberg’s North American Marijuana Index has climbed 48 percent since its creation in March.

Bloomberg noted the gains in marijuana-exposed stocks earlier last week as California rolls toward recreational legalization. Canopy Growth Corp. Chief Executive Officer Bruce Linton also told Bloomberg in a recent interview he sees globalization of medical pot as a theme for 2018.

This article was provided by Bloomberg News.