Before revision:  We formulate the optimal investing problem as an optimal portfolio choice problem under a time-varying risk capacity constraint.
After revision:  We formulate the optimal investing problem as a portfolio choice problem under a time-varying risk capacity constraint.