The Mind of the Market