Trading Using Nonparametric Time Series Classification Models