Genetic programming for financial time series prediction