My code for Coursera Asset Pricing course, by John H. Cochrane, fall 2013.