Dynamic electronic asset allocation comparing genetic algorithm with particle swarm optimization