Volume I: The Physics of Capital

Interactive Jupyter notebooks for each chapter. Execute models directly. Modify parameters. Export results. Each notebook implements the production-grade code referenced in the text.

14 Notebooks
37 BUILD Exercises
127 Production Models
Part I

Foundations of Value

CH. I

The Language of Capital

Financial statement decomposition. Income statement as flow. Balance sheet as stock. Cash flow as the translation layer between accounting and economics.

3 BUILD exercises sample_financials.csv
CH. II

Time Value Mechanics

Discounting frameworks. Yield curve construction from treasury data. Duration and convexity calculations with sensitivity analysis.

2 BUILD exercises treasury_yields.csv
CH. III

Capital Budgeting

NPV and IRR computation. Payback period analysis. Project selection under capital constraints with integer programming.

3 BUILD exercises project_cashflows.csv
Part II

Risk and Return

CH. IV

Statistical Foundations

Return distribution analysis. Moments computation. Correlation matrices and covariance estimation for portfolio inputs.

2 BUILD exercises stock_returns.csv
CH. V

CAPM and Factor Models

Systematic risk decomposition. Beta estimation with rolling windows. Fama-French three-factor and five-factor model implementation.

3 BUILD exercises ff_factors.csv
CH. VI

Cost of Capital

WACC derivation and sensitivity. Capital structure optimization. Iterative debt capacity estimation for levered firms.

2 BUILD exercises wacc_inputs.csv
Part III

Valuation Systems

CH. VII

DCF Architecture

Free cash flow projection engine. Terminal value calculation. Monte Carlo sensitivity analysis with tornado diagrams.

4 BUILD exercises company_financials.csv
CH. VIII

Relative Valuation

Trading multiples analysis. Comparable company selection algorithms. Sector adjustment methodology for cross-industry comparisons.

2 BUILD exercises comps_data.csv
CH. IX

Real Options Valuation

Option-embedded project valuation. Binomial tree construction for expansion and abandonment options. Flexibility value quantification.

3 BUILD exercises
Part IV

Portfolio Theory

CH. X

Mean-Variance Optimization

Efficient frontier computation. Sharpe ratio maximization. Constraint handling for long-only, sector limits, and tracking error.

3 BUILD exercises asset_returns.csv
CH. XI

Advanced Portfolio Methods

Black-Litterman implementation with view specification. Risk parity allocation. Factor-based portfolio construction.

2 BUILD exercises
CH. XII

Performance Attribution

Brinson-Hood-Beebower attribution. Allocation vs selection decomposition. Multi-period linking and risk contribution analysis.

2 BUILD exercises portfolio_holdings.csv
CH. XIII

Fixed Income Fundamentals

Bond pricing and yield calculations. Duration matching for liability-driven investment. Credit spread decomposition.

2 BUILD exercises bond_data.csv
CH. XIV

Volume I Capstone

Integration case study combining DCF, relative valuation, and portfolio construction. Full workflow from data to decision.

5 BUILD exercises capstone_data.csv

Technical Requirements

Python Environment

  • Python 3.10+
  • numpy, pandas, scipy
  • matplotlib, plotly
  • statsmodels, sklearn

Financial Libraries

  • yfinance
  • pandas-datareader
  • cvxpy (optimization)
  • arch (GARCH models)

Decision Lab Access

  • Professional tier or higher
  • Hosted Jupyter workspace
  • Preloaded datasets
  • GPU compute available