analysis of trading investment patterns