Practice Drills: Solving a Constrained Portfolio Optimization Problem Using Lagrange Multipliers
A drill-heavy course for quant analyst aspirants, prop trading applicants and systematizing traders who have seen the Lagrangian derivation of the minimum variance portfolio but have never actually solved one with real numbers. Every lesson is a worked exercise on Nifty 50 stocks: you write the problem in matrix form, check the covariance matrix, solve the first-order system by hand for two and three assets, use the closed forms, add a target return constraint and trace the frontier, read every multiplier as a shadow price, find the tangency portfolio, then hit the wall where a weight goes negative and switch to KKT and an active set. The course closes by verifying each hand solution in NumPy and solving a four-stock constrained problem end to end. The kind of problem quant interviewers put on a whiteboard.