Buying stocks is free but investing is not.