US stocks advanced as voting got underway in a presidential race that will have major consequences for the future of economic policy.