Heterogeneity, Market Mechanisms, and Asset Price Dynamics