An autumn rally has put bitcoin on track to finish the year in the green. Gold, meanwhile, is on track for a loss.

The digital currency rose to a fresh 2015 high on Monday, when one bitcoin bought $338.72, according to the Coindesk bitcoin price index. It has gained 5.8% so far this year.

Meanwhile, gold slumped to its lowest price in nearly a month on Monday, closing at $1,135.90 an ounce. Gold futures traded on Nymex have shed about 4.6% of its value this year.