Bitcoin rose to a three-week high after the US and Iran agreed to an initial ceasefire, prompting a surge in risk assets.