In this post, we will explore some basic notions in quantitative finance.
More specifically, buying and selling stocks.
Suppose 1 unit of a stock KMATH costs $1 at time t = 0. Assume negligible trading fees.
Problem 1. At time t = 0, you buy 200 units of KMATH. What is the value of your position?
(Click for Solution)
Solution. The value of units of KMATH is
Problem 2. Suppose at time t = 1, the price per unit of KMATH increased by 10%. What is the value of your position at t = 1?
(Click for Solution)
Solution. The value of the position has increased by , that is,
Therefore, the position has a new value of
Alternate Solution. If the initial position has a value of and the price increased by a percentage of
, then the position increases by the value
Therefore, the position would have a new value of
In particular, setting and
in Problem 2 yields a new value of
Problem 3. Suppose at time t = 2, the price per unit of KMATH decreased by 10%. What is the overall change in your position from t = 0 to t = 2? How about its overall percentage change? Is your position in a profit or a loss?
(Click for Solution)
Solution. We will use the calculation in Remark 1. Let
denote the percentage decrease of the price per unit of KMATH from to
.
By Remark 1, the new position at is
. Therefore, the new position at
has a value of
Substituting , the new position has a value of
The overall percentage change is
Since the percentage change is negative, our position currently sits in a loss.
Problem 4. For any positive integer n, let rn denote the percentage change in your position from t = n – 1 to t = n. Show that the overall percentage change between t = 0 and t = n is calculated by
1 + r = (1 + r1) × (1 + r2) × … × (1 + rn).
(Click for Solution)
Solution. Let denote the value of the position at time
. Applying the alternate solution in Problem 2 repeatedly,
On the other hand, denoting the overall percentage change by , we have
Equating the two sides,
Dividing by on both sides yields the desired result:
Problem 5. What is the minimum percentage increase of the price per unit of KMATH from t = 2 to t = 3 required for you to not incur loss?
(Click for Solution)
Solution. Let denote the required percentage increase of the price per unit of KMATH from
to
. By Problem 3, the overall percentage change
is given by
Substituting and
, since
and
, we can divide on both sides to obtain
Subtracting by on both sides,
Since we do not want to incur loss, the overall percentage change must be non-negative, that is to say, :
In particular, we need more than increase in order to compensate for an overall decrease of
.
—Joel Kindiak, 22 Feb 26, 1324H
Leave a comment