Distinguishing between chaotic and stochastic systems in financial time series