Oil prices stabilized and stocks rose on optimism that diplomatic talks could yield a permanent peace deal.