Fundamentals of investor psychology