applying dirichlet process for clustering price movement