Bitcoin was knocking on the door of its all-time from March on Tuesday afternoon, with traders tying the rally in part to growing expectations for a victory by Donald Trump in next week’s presidential election.