Risk-Constrained Optimal Dynamic Trading Strategies Under Short- and Long-Term Uncertainties