Oil rises as broader markets gain on hopes for more stimulus