Oil prices extended their rally to near their highest in seven months on Monday, as dollar weakness, stock market optimism and sustained hope for economic recovery supported the market's best monthly gains in a decade.