German stock exchange operator Deutsche Boerse AG is in advanced talks to buy FXall, a foreign exchange electronic trading platform owned by data provider Refinitiv, for about $3.5 billion (£2.7 billion), people familiar with the matter said on Wednesday.