Oil retreated while global stocks diverged as investors assessed early signs of progress in diplomatic talks between the US and Iran, according to Bloomberg.