





































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






































arXiv:1907.03093v1 [q-fin.PM] 6 Jul 2019
I would like to express my gratitute to people who helped me to make this thesis possible. Firstly, I would like to thank my supervisor Prof. Zhou Chao. Your guidence and patience are the most influential factors that motivated me to conduct the research. I also need to say thanks to my parents, who have been constatntly encouraged me when I feel lost. The complete work will not be there without your continuous support.
ii
Introduction
In modern mathematical finance, portfolio optimisation has been a fundamental and central topic to understanding the stock market and making decisions. It was Harry Markowitz that made the major breakthough of the area in 1952 [ 1 ], whose theory is commonly known as Modern Portfolio Theory (MPT). The theory provides an answer to the fundamental question of how should an investor allocate funds among all possible combinations of assets. All theories before Markowitz had obstacled by the trade-off between the return and risk of investments. Markowitz quantified the return and risk using the statistical measure of sample mean and variance, and further showed that both return and risk should be considered together in order to make an optimal selection.
There are a few reasons why the theory made a revolutionary change in investment deci- sions. Firstly, the theory shows that the risk of a portfolio does not only depend on the risk of individual constituents, but also relies on their co-movements. A qualitative principle correspond- ing to this is the diversification of unsystematic risks. In the classical point of view, investors aim to select securities that can generate the highest future cash flow given the current price. However, Markowitz’s portfolio theory suggests that the correlation among the constituents in a portfolio makes an important role in deciding the total riskiness, which is another factor that should be considered in decisions. Secondly, the theory formulated the decision process as an optimisation problem. It suggests that an optimal, or efficient portfolio should be the one that has the minimum variance given a certain level of expected return. Any other combinations of securities are considered as inefficient portfolios because they have larger variance. In other words, we are looking for the portfolio that possesses least risk while retaining the same return.
more general terms. The approach, which studies a general form of dynamic objective function, is able to handle different market settings and a certain group of stochastic control problems. Bjork, Murgoci and Zhou [ 7 ] further study the case of general risk aversion in 2014. In their research, risk aversion is treated as the function of wealth instead of a constant, and a linear system solution is derived using dynamic programming. They also derived the explicit solution to a specific case, studied its practical behaviour, and proved it is economically reasonable.
The paper is organised as follows: In section 2, we review the classical MVO problem. In section 3, we study a time-consistent strategy of DMVO. In section 4, we incorporate the theo- ritical result with market data. Two set of market data, one from the real world and the other from simulation, are chosen as samples to illustrate effectiveness of our strategies. In section 5, we compare results under our "theoritical" strategies to those from the Long Short-Term Memory (LSTM), an representative apporach where the deep learning technique is applied.
Mean-Variance Optimisation
Assume the stock market consists n risky assets S 1 , S 2 , ..., S n. Denote their means returns as the vector μμμ = (μ 1 , μ 2 , ..., μ n ) and the covariance matrix as Σ = (σ ij ). An investment portfolio is represented by the vector ωωω = (ω 1 , ω 2 , ..., ω n ), where each ω i represents the proportion of the money invested in the stock i. The portfolio mean and variance, which are proxies for portfolio return and risk, is given by μ = ωω ω TTT^ μμμ and σ^2 = ωω ω TTT^ Σωωω respectively. In the paper, we assume that the covariance matrix is positive-definite, i.e. ωω ω TTT^ Σωωω > 0 for every ωωω 6 = 000. This constraint ensures that each strategy made up by S 1 , S 2 , ..., S n cannot be replicated by the others.
Given a certain level of expected portfolio return, one seeks a portfolio ωωω that minimises the risk. The MVO problem takes the form:
min 12 ω ω ω TTT^ Σωωω (2.1) s.t. 111 TTT^ ωωω = 1 (2.2) ω ω ω TTT^ μμμ ≥ μ (2.3)
This formulation satisfies the normal investment case. For a certain market, a portfolio manager could have lowest expected return in mind, based on the market feature and global trend. However, the risk does not seem to be obvious. It is then natural to define the objective of the strategy as minimising the portfolio risk. Other formulations are readily available on litera- tures, for example, to maximize the expected return subject to an upper limit on the portfolio risk.
We observe for the problem above, if we set the last constraint to equality, the MVO will
Applying Cauchy-Schwartz inequality, and noting that the covariance is positive-definite, we can easily see that ac > b^2. Hence, the solution of the system, or the optimal portfolio is given by
ω^ ω ω∗∗∗^ = ( (^) acc^ − −^ bμ b 2 )Σ−^111 1 + ( (^) acaμ −^ − b^ b 2 )Σ−^1 μμμ (2.10)
From the solution above, we observe that the strategy is highly dependent on mean return, covariance matrix and the expected return. In general, stocks which has a better risk-return ratio (Sharpe ratio) will be allocated with more weight. In addition, we will see in Chapter 4 that the expected return influences the volatility of the investment.
Dynamic Mean-Variance Optimisation
We firstly consider a market satisfying Markov property and consisting two assets: a riskless bond and a risky stock. We further assume a finite investment horizon of [0, T ]. Uncertainty is represented by a filtered probability space (Ω, F , {F t }, P ). Two Brownian motions with correlation ρ are defined on the space, namely w and w x. Then, {F t t ∈ [0, T ]} is in fact the augmented filtration generated by w and w x , and we assume all stochastic processes are adapted by it. In addition, all processes are assumed to be well-defined without explicitly stated regularity conditions. Let r be the constant interest rate of the riskless bond, and let the stock price follows the dynamic: dS t = μS t dt + σS t dw t (3.1) where μ is the mean return of the stock and σ is the volatility. Introduce the state variable X that satisfies
dX t = m(X t , t)dt + ν(X t , t)dw Xt (3.2)
In the following part of the paper, we use μ t , σ t , m t , ν t to denote four coefficients defined in 3. and 3.2. It is clear that the market is incomplete when − 1 < ρ < 1 since the uncertainties in the state variable cannot be perfectly hedged by any portfolio consisting only the bond and stock. On the other hand, for the special case when ρ = ± 1 , the market attains dynamic completeness.
Assume an investor has initial wealth W 0 at time 0. Define the policy she chooses as θ t ,
accounts for the variance of expected terminal wealth at time t + τ. As a result, at time t + τ , the investor could have incentive to deviate from the optimal policy obtained at time t. We recall the DMVO objective function at time t:
U t = E t [W T ] − γ 2 V ar t [W T ] (3.7)
We now incorporate the incentive to deviate to policy into the DMVO objective, i.e. substitute 3.6 into 3.7. Further applying the tower property to E[W T ], we obtain the new DMVO objective:
U t = E t [U t + τ ] − γ 2 V ar t [E t + τ (W T )] (3.8)
This adjustment makes it possible for us to determine the optimal policy recursively, and converts the problem to a time-consistent problem. In other words, the investor chooses her optimal policy by considering that the policy will be always optimal in the future and she is able to revise the policy through later in the investment horizon.
Next, we seek for a recusive relation with respect to the value function, which will be then used to derive the HJB equation. Given the optimal policy θ∗ s , s ∈ [t, T ] derived by backward induction, we define the value function J t as:
J t = J(W t , S t , X t , t) := E t [W (^) T ∗ ] − γ 2 V ar t [W (^) T ∗ ] (3.9)
Note that the optimal terminal wealth W (^) T ∗ is deduced by the optimal policy θ s ∗ , s ∈ [t, T ]. Denote [t, t + τ ], τ > 0 as the decision interval, i.e., the investor can opt to adjust her time t investment policy after the interval at time t + τ. We further assume that the investor follows the optimal policy θ∗ s from t + τ to T. Then, regarding the recursive step, the problem is reduced to seek an investment policy θ s from t to t + τ such that the following objective is maximized:
E t [J t + τ ] − γ 2 V ar t [E t + τ (W T )] (3.10)
Note again due to existance of the second term (time-consistency adjustment term), the optimal policy θ s ∗ over [t + τ, T ] is not necessarily optimal over [t, t + τ ].
Before getting to the HJB equation, we would like to rewrite the objective over [t, t + τ ]. Applying Ito’s Lemma to the wealth constraint 3.3, we have:
d(W t e r ( T^ − t )) = θ t (μ t − r)e r ( T^ − t )dt + θ t σ t e r ( T^ − t )dw t (3.11)
Integrating 3.11 from t + τ to T , and take the expectation at time t + τ , we obtain:
E t + τ [W (^) T ∗ ] = W t + τ e r ( T^ − t − τ^ )^ + f t + τ (3.12)
where W (^) T ∗ is the optimal wealth followed by θ∗ s over [t + τ, T ], f t = E t [W (^) T ∗ ] − W t e r ( T^ − t )^ = E t [∫^ tT θ∗ s (μ s − r)e r ( T^ − s )ds] represents anticipated gain over [t, T ]. Substituting 3.12 to 3.10, and further noticing that f t and W t e r ( T^ − t )^ are adapted to the filtration F t , the objective over [t, t + τ ] is rewritten as:
J t = (^) θs,s max∈[ t,t + τ ]{E t [J t + τ ] − γ 2 V ar t [f t + τ − f t + W t + τ e r ( T^ − t − τ^ )^ − W t e r ( T^ − t )]} (3.13)
subject to the wealth constraint 3.3 and the terminal condition J T = W T. The terminal condition is derived as a result of V ar T [W T ] = 0 and E T [W T ] = W T. It is obvious from 3.13 that f t + τ is also determined by the optimal policy θ∗ s over t + τ to T. Hence, we establish connection among θ∗ t , f t , J t by the HJB equation given in the following Lemma:
Lemma 1. The value function J under DMVO objective followes the recursive relation
0 = max θt E t [dJ t ] − γ 2 V ar t [df t + d(W t e r ( T^ − t ))] (3.14) s.t. d(W t e r ( T^ − t )) = θ t (μ t − r)e r ( T^ − t )dt + θ t σ t e r ( T^ − t )dw t J T = W T
Interestingly, we found from the definition of f t in 3.12 that f t is computed via the optimal strategy θ∗ t and does not depend on W t. Hence, for the HJB equation 3.14, θ t should have no effect on df t.
It is not surprising from 3.17 that besides the normal term D J˜ t dt + θ t (μ t − r)e r ( T^ − t ), there are other terms adjusting the investment policy θ t and the anticipated gain f t. Furthermore, 3.17 is in fact a maximazation problem on quadratic function of θ t. Noticing this property, we have a the following proposition:
Proposition 1. The optimal stock investment policy of a dynamic mean-variance optimizer is given by:
θ∗ t = μγσ t^ − 2 r e− r ( T^ − t )^ − (S t ∂S^ ∂f tt + ρν σ tt^ ∂f ∂S tt )e− r ( T^ − t )^ (3.19)
where f t = E t [W (^) T ∗ ] − W t e r ( T^ − t )^ = E t [∫^ tT θ∗ s (μ s − r)e r ( T^ − s )ds] represents the expected total gains or losses from the stock investment
From the expression above, we observe that the optimal policy is made up by two parts, namely myopic demand and hedging demand. Firstly, the myopic demand μγσ t^ − 2 ris popularly known as the Sharpe Ratio [ 8 ] incorporated with the risk aversion γ. Typically, it tells the investor how well the return of an asset compensates for the risk taken. Making investment based on the Sharpe Ratio is a strategy that optimises return only for the next small time interval, without considering fluctuations from future investments. That is why we refer it to the name "myopic demand". Secondly, the hedging demand arises as a result of compensating future fluctuations under a dynamic optimisation objective. Moreover, the term (S t ∂S^ ∂f tt + ρν σ tt ∂S^ ∂f tt ) implies it is sensitivities of anticipated portfolio gains to stock prices ( ∂f ∂S tt ) and condition of state variables ( ρν σ tt ) that drive the hedging demand, which gives an intuition about factors that affect the strategy. We can actually show this relationship quantitatively. Recall dynamics of stock and state variables are given by dS t = μS t dt + σS t dw t , dX t = m t dt + ν t dw Xt , and the correlation
between w t and w Xt is ρ. We rewrite the hedging term as follows:
−S t ∂S^ ∂f tt + ρν σ tt^ ∂f ∂S tt = − (^) σ (^2) t^1 dt (S t σ^2 t ∂S^ ∂f tt dt + ρν t σ t ∂S^ ∂f tt dt) = − (^) σ 21 t dt^ (cov(σ t dw t , S t σ t ∂S^ ∂f tt dw t + (^) ∂X∂f tt ν t dw Xt )) = − (^) σ (^2) t^1 dt cov( dS S tt , df t ) (3.20)
From the expression above, the hedging demand is positive (negative) when the short-term stock return is negatively (positively) correlated to the short-term anticipated portfolio gain. Assume in a small interval, there is a negative correlation between stock and portfolio gain, which means the stock will move in a opposite direction as the portfolio gain. In this case, investing in the stock will lead to a smaller variance for the portfolio, which is an optimising direction for the mean-variance objective. Hence, the negative correlation leads to a positive hedging demand.
In proposition 1, we have deduced the expression of the optimal policy. However, 3.19 only gives an implicit formula. Specifically, f t = E t [W (^) T ∗ ] − W t e r ( T^ − t )^ = E t [∫^ tT θ∗ s (μ s − r)e r ( T^ − s )ds] is not a computable formula. Our aim now is to obtain a expression of optimal policy with explicitly characterized market parameters μ t , σ t , m t , ν t. To solve the problem, we substitute the optimal policy 3.19 into the definition of f t :
f t =E t [
∫ (^) T t^ θ s ∗ (μ s^ −^ r)e r ( T^ − s )ds] =E t [
∫ (^) T t
γ (^
μ s − r σ s^ )
(^2) ds] − E t [^ ∫^ T t^ (S s
∂f s ∂S s^ +^
ρν s σ s
∂f s ∂S s^ )(μ s^ −^ r)ds]^ (3.21)
It is not difficult to observe that the first term comes from the myopic demand and the second term arises from the hedging demand. In order to avoid the second term, which prevents us to do the explicit computation, we now seek for a probabiliy measure that can potentially eliminate the hedging effect. Noticing that f t + W t e r ( T^ − t )^ = E t [W (^) T ∗ ] is a martingale, we then apply Ito’s
Proposition 2. The optimal investment policy is denoted by:
θ t ∗ = μγ t^ t −σ 2 r e− r ( T^ − t )− (S t^ ∂E t ∗ [∫^ tT^1 γ (^ μsσ − s r )^2 ds] ∂S t^ +^
ρν t σ t
∂E t ∗ [∫^ tT^1 γ ( μsσ − s r )^2 ds] ∂S t^ )e
− r ( T − t ) (^) (3.28)
where the anticipated portfolio gain is be represented as:
f t = f (S t , X t , t) = E t ∗ [
∫ (^) T t
γ (^
μ s − r σ s^ )
(^2) ds] (3.29)
under a hedge-neutral mesure P ∗ , where two standard Brownian motions with correlation ρ are given by:
dw t ∗ = dw t + μ t^ σ− t^ r dt, dw Xt ∗ = dw Xt + ρ μ t σ^ − t^ r dt (3.30)
The Radon-Nikodym derivative from P to P ∗^ is given by:
dP ∗ dP =^ e
− 12 ∫^0 T ( μsσs − r )^2 ds −∫^0 T^ μsσs − rdws (^) (3.31)
Equation 3.28 presents an explicit expression of investment policy, from which all parameters are characterized by the market itself. For situations where analytical solution cannot be obtained, we can go through Monte-Carlo methods to obtain numerical results. It is necessarily to notice that simulations have to be conducted under the hedge-neutral measure P ∗, and partial derivatives can rewritten as Malliavin derivatives in order to be adapted by Monte-Carlo.
We recalled that for the case of DMVO, time-inconsistency is an obstacle that prevents dynamic programming. We have handled the issue using the "magic" formula of total variance. However, this is not a pure coincidence. While deriving the HJB equation, we assume we already have the future optimal strategy and react optimally in the next instant time interval. In this case, choosing optimal strategy is to reach a pure-strategy Nash equilibrium in the game.
To be more precise, we assume there are infinitely many players standing at each time point on the investment horizon [0, T ]. Each player takes an investment strategy θ t such that the value function J t is maximized over the time interval [t, T ]. Note that J t = J(θ t , S t , X t , t) depends on θ t. The pure-strategy Nash-equilibrium point θ∗^ should satisfy the following two conditions:
Hence, the equilibrium point as described above should satisfy the HJB equation 3.14, and coincides with our optimal strategy which takes the explicit form 3.28.
Having obtained an explicit form of optimal strategy, we would like to explore more intuition behind the DMVO. The way we achieve this is to derive expressions for the optimal terminal wealth and value function. Before going there, we firstly introduce the following notation and result:
d(W t e r ( T^ − t )) = −df t + μγσ t^ − t^ r dw t +
√ 1 − ρ^2 ν t ∂X^ ∂f tt d w˜ t (3.32)
Integrating 3.32 from t to T, we can obtain the optimal wealth. Its mean, variance, and the value function J t can be derived accordingly. We summarize the result as the following proposition:
Proposition 3. With a DMVO objective, the terminal wealth, its mean, variance, and the value