FD Technologies has agreed to sell its consulting business First Derivative for £230m to an American firm.