Skip to content
Get started

Trade as often as you like

A stock's closing prices over 12 days are

12, 15, 11, 14, 19, 17, 16, 22, 13, 18, 21, 20.

You may hold at most one share at a time, may buy and sell any number of times (each trade at a closing price, a sell must follow its buy), and there are no fees. What is the maximum total profit?

Show hints (2)+
  1. The profit of one holding period is a telescoping sum of daily price changes.
  2. Can holding through a down-day ever help when trades are free?

Answer

Reveal answer →

25

Create a free account to see the full worked solution and track your progress.

Interview format: Hedge Fund Quant, Prop Trading

Related questions