The deal concludes a months-long process to find a new owner for the Danish online trading and investment provider.