Bitcoin posts first monthly gain after five straight losing months

Bitcoin has ended the month in positive territory for the first time in six months, snapping a run of five consecutive monthly declines.