Bitcoin, the controversial digital currency, is on its way to a major milestone thanks to a confluence of positive factors.

With just a couple trading days left in the year, bitcoin looks poised to break the $1,000 barrier — quite an achievement for a product considered close to dead not that long ago amid a series of embarrassing headlines. The price has surged 122 percent in 2016, making it one of the top trades of the year.