We develop an analytical solution to the dynamic portfolio choice problem of an investor with power utility defined over wealth at a finite horizon who faces an investment opportunity set with time-varying risk premia, real interest rates and inflation. The variation in investment opportunities...