Real markets are not the frictionless ideal we often start with. Every trade costs money, borrowing has limits, and you cannot always adjust your portfolio instantly. This chapter shows how to build optimal investment strategies when those real-world obstacles are present — and the answers are often beautifully simple, like “do nothing” zones and occasional large rebalancings.