A single bitcoin has surpassed the value of an ounce of gold for the first time as its price surged to an all-time high.

The exchange price for one of the digital currency closed at $1,268 on Thursday, while a troy ounce of gold cost $1,233.