Colorado-based Riot recorded a net loss of $27.7 million in Q2, compared with a net loss of $353.6 million in the same quarter last year, its earnings showed.