Shares rises on factory data, dollar gain on election jitters