Applying GPs to stock market prediction