Recent presidents have stayed away from trading stocks in companies whose fortunes they could lift or scuttle with the stroke of a pen.