Trading system optimization algorithm studies