666768697071727374
}; double[] xmin = new double[]{minBuy, minSell, 0.0}; double[] xmax = new double[]{maxBuy, maxSell, maxStop}; SimpleParticleSwarmOptimizer optimizer = new SimpleParticleSwarmOptimizer(fitness, xmin, xmax, generations); return optimizer.learn(); }