A pure Python Fast Threshold Clustering Algorithm Implementation. Based on David Varady's pseudocode as suggested in CSS Analytics site. You can find it in the following link.
While the algorithm is meant for stocks prices, it can be used for any multivariate time series.
To run the example, please install 'pandas' and 'pandas_datareader' modules.