Learning about markets