Optimal Dynamic Portfolio Risk with First-Order and Second-Order Predictability