Multi-Period Trading via Convex Optimization (Foundations and Trends(r) in Optimization)