Basic Portfolio Optimization and Optimal Stopping 20241212.pdf