This article is related to Financial Risk Management, Investment Management and Portfolio Optimisation.
The aim is to compute optimal investment allocations from one period to another.
Financial market systems are governed by random behaviours expressing the complexity of the economy and the politics. Risk Measure and Management are current and major issues for financial market operators and attract the attention of researchers who develop suitable tools and methods to describe and control risk. In this article, financial risk management is considered for an investor operating in the financial market.
This research developed Mathematical Models to describe the problem and Computational Simulations to compute, summarise the results and show their reliabilities.
The results are the investments allocations stored, some tables and the related computational simulations. By going from period one to another, one can notice from the graphs that the portfolio risk is decreasing and the portfolio profit increasing.
The approach used in this article shows a way of solving rigorously any linearly constrained quadratic optimisation problem and any constrained nonlinear problem. It gives the ability of transforming judiciously certain linearly constrained nonlinear programming problems into sequences of linearly constrained quadratic problems and solving them efficiently.
This article developed Mathematical Models and Matlab Computer Optimisation Programs to give Computational Simulations. It wrote Computer Programs for a fifth-order autoregressive model to forecast asset profits.
The importance of optimal investment allocations and judicious historical data management are discussed in this article. These are everyday issues that financial operators, financial managers, financial planners and financial regulators have been addressing for decades. A considerable body of work exists on optimal investment allocations (also called portfolio optimisation, portfolio selection, etc.), which focuses on specific hypotheses and assumptions. Examples are provided in the referenced papers (Bielecki et al.
Even when financial data describing features of portfolio assets are used to optimise a portfolio over a specified period, such data may impact the future. Thus, this data may be needed in some way to predict future financial data of the same type, as the historical data may contain relevant hidden or implicit information. Autoregressive (AR) models are one of the tools suitable to forecasting and prediction of data.
Autoregressive models are used to study the correlation between various random variables constituting a time series. They are extensively applied in finance, which is the reason why AR models for financial data are critical. The use of these models can facilitate the investigation of financial systems by revealing meaningful and useful information about financial processes. For example, AR models can be used to predict asset prices. This article also proposes the use of AR models to forecast expected profit vectors for financial assets, as well as the covariance matrices related to asset profits.
Certain mathematical, statistical and econometric models for mean forecasting, as well as statistical and econometric models for volatility, covariance, etc., are available. This article notes that every element of the covariance matrix is an expected value and can thus be forecast by using a mean forecasting model. Consequently, this article deals with the computation of optimal investment allocations to minimise risk for a specified minimum level of profit.
Markowitz was one of the first researchers to propose a model for solving single-period portfolio optimisation problems (Markowitz
Merton (
Given a long time horizon [0,
Subject to:
The above problem can be reformulated as a sequence of the following equality constrained quadratic optimisation problems:
Subject to:
For the case in which Σ is positive definite, the above problem becomes a special case of the more general field of convex optimisation. By applying the Lagrangian method, the problem sequence (4)–(6) can be reformulated as the computation of
Without loss of generality, consider a fixed integer
As an example, a hypothetical data set (containing 10 time series on financial asset profits for a period of 12 months, generated randomly using Matlab Software) has been processed according to the optimal investment allocations, and the trade-off between risk and profit is given in
Plot of portfolio return as a function of portfolio risk.
A further data set is presented in
Twelve-month historical asset profits (Inputs).
Months | Profit1 | Profit2 | Profit3 | Profit4 | Profit5 | Profit6 | Profit7 | Profit8 | Profit9 | Profit10 |
---|---|---|---|---|---|---|---|---|---|---|
January 2017 | 0.27 | 0.41 | 0.42 | 0.12 | 0.26 | 0.33 | 0.39 | 0.18 | 0.31 | 0.58 |
February 2017 | 0.46 | 0.50 | 0.34 | 0.08 | 0.20 | 0.36 | 0.35 | 0.25 | 0.37 | 0.77 |
March 2017 | 0.23 | 0.41 | 0.34 | 0.12 | 0.32 | 0.37 | 0.36 | 0.18 | 0.36 | 0.75 |
April 2017 | 0.26 | 0.53 | 0.38 | 0.13 | 0.21 | 0.32 | 0.24 | 0.29 | 0.53 | 0.63 |
May 2017 | 0.35 | 0.36 | 0.36 | 0.12 | 0.31 | 0.40 | 0.23 | 0.28 | 0.51 | 0.72 |
June 2017 | 0.28 | 0.48 | 0.42 | 0.11 | 0.35 | 0.25 | 0.36 | 0.30 | 0.37 | 0.67 |
July 2017 | 0.23 | 0.44 | 0.41 | 0.13 | 0.27 | 0.36 | 0.25 | 0.15 | 0.50 | 0.56 |
August 2017 | 0.42 | 0.38 | 0.35 | 0.14 | 0.27 | 0.38 | 0.39 | 0.26 | 0.56 | 0.57 |
September 2017 | 0.44 | 0.36 | 0.50 | 0.11 | 0.21 | 0.31 | 0.36 | 0.21 | 0.46 | 0.60 |
October 2017 | 0.37 | 0.31 | 0.43 | 0.12 | 0.30 | 0.42 | 0.34 | 0.18 | 0.58 | 0.64 |
November 2017 | 0.34 | 0.50 | 0.48 | 0.12 | 0.28 | 0.29 | 0.27 | 0.19 | 0.54 | 0.62 |
December 2017 | 0.28 | 0.48 | 0.42 | 0.11 | 0.27 | 0.33 | 0.24 | 0.23 | 0.45 | 0.50 |
Minimum expected profit and optimal (minimum) portfolio risk.
Minimum level of expected portfolio profit | Portfolio minimum risk |
---|---|
0.45 | 1.9527e-005 |
Ten optimal investment allocations.
Assets | Optimal allocations (%) |
---|---|
Asset 1 | 0 |
Asset 2 | 19.6 |
Asset 3 | 32.9 |
Asset 4 | 0 |
Asset 5 | 3.1 |
Asset 6 | 2.1 |
Asset 7 | 17.5 |
Asset 8 | 17.5 |
Asset 9 | 3.1 |
Asset 10 | 3.1 |
The optimal allocations in
As for the first example, additional examples were considered to support the study of the trade-off between the portfolio minimum risk and maximum expected profit. The related computational simulations are illustrated by
Plot of portfolio expected rate of return as a function of portfolio risk.
Plot of portfolio expected profit as a function of portfolio risk.
For long-period investment allocations, the first-period investment allocations problem must be solved. Then the historical data (the expected rate-of-profit vector and the covariance matrix) can be forecast to build a new expected rate-of-profit vector and a new covariance matrix for the second period.
At every period other than the second period, the expected rate-of-profit vector and the covariance matrix are obtained by forecasting the expected rate of profit and the covariance matrix for the previous period.
Many techniques exist for forecasting data. Such techniques are described by autoregressive (AR) models, moving average (MA) models and autoregressive moving average (ARMA) models. These are all captured by autoregressive integrated moving average (ARIMA) models. This article uses AR to obtain the asset expected rate-of-profit vector
The following section illustrates the use of forecasting from one period to another.
This section deals with deriving future expected rate--of-profit vectors and future covariance matrices for the portfolio assets of the previous period. The second expected rate-of-profit vector and the covariance matrix are derived from those of the first period. AR models, which are widely used in finance, are applied in this derivation. At every period other than the second period, the expected rate-of-profit vector, as well as the expected covariance matrix, is obtained from the estimated rate-of-profit vector and the estimated covariance matrix of the previous period.
The first period uses the expected rate-of-profit vector and the covariance matrix for the asset profits obtained from given historical data. The second period applies first-order AR modelling to the first period expected rate-of-profit vector and covariance matrix to obtain the second period expected rate-of-profit vector and covariance matrix and then finally to obtain the second-period investment allocations. The third period applies second-order AR modelling simultaneously to the first and second period expected rate-of-profit vectors, and covariance matrices, to obtain the third-period expected rate-of-profit vector and covariance matrix and then finally to obtain the third-period investment allocations.
In general, the
Define the AR order.
Estimate the unknown AR model parameters by means of Yule–Walker approach.
Plot the time series associated with the AR model results.
The AR models that are used to sequentially forecast the financial assets rate-of-profit vectors and the covariance matrices characteristically generate systems of finite difference equations, which can be reformulated as an algebraic linear system of equations where the unknowns are the parameters. The equations may be simplified by reducing the financial data time series to a zero mean after having subtracted the sample mean.
Thus, the task can be done with a mean-adjusted series. The series is called an AR model. For this article, AR models may define the time series of expected rate-of-profit vectors and the time series of financial assets covariance matrices as functions of their past values. The order of the AR model will reveal the number of past values that are involved. An investment allocations period may typically involve the previous period data or data from more than one prior period. Some order-based AR models are described below.
The computation of
The computation of
In matrix form, the computation of the expected rate of profit, based on the first-order autoregressive model (AR(1)), can be expressed as follows:
By letting:
Then using the least square approach, parameter
In matrix form, the computation of the covariance matrix, based on the first-order autoregressive model (AR 1), can be expressed as follows:
By letting:
Then, using the least square approach, parameter
The computation of
The computation of
By letting:
Then the third-period inputs
Similarly, for Σ in matrix form, the third-period inputs for the expected rate of profit and the covariance matrix can be computed from the following linear system:
By letting:
The third-period inputs can also be obtained by:
At the (
The computation of
For the computational simulations, the fifth-order autoregressive model (defined by
The concern is the following: find the investment allocations
Subject to:
For the first period, the optimal investment allocations can be computed from collected historical data and some specified level of expected profit. Subsequently, for period
The computational simulations are based on ‘Sequential investment allocations’ section to show the effectiveness of the theory. The first period investment allocations are based on historical data of
By applying a fifth-order autoregressive model to forecast the financial data of
Autoregressive coefficients ∅_(j_π) (
Autoregressive coefficients | Profit1 | Profit2 | Profit3 | Profit4 | Profit5 | Profit6 | Profit7 | Profit8 | Profit9 | Profit10 |
---|---|---|---|---|---|---|---|---|---|---|
∅1π | 1.09201 | 0.10380 | −0.73062 | 0.486818 | 0.509355 | −0.00059976 | 0.267625 | 0.13375 | 0.38433 | 1.14369 |
∅2π | −0.83426 | −0.23070 | −0.15226 | 0.054135 | −0.118681 | 0.17215478 | 0.353337 | 0.28666 | −0.41873 | −1.33239 |
∅3π | 0.81231 | −0.57085 | 0.49470 | 0.521450 | 0.094610 | 0.21962250 | 0.033513 | 0.21674 | 0.95078 | 0.57674 |
∅4π | −0.32229 | 0.56427 | 1.01727 | 0.197083 | 0.037116 | −0.20701822 | −0.104932 | 0.52334 | −0.39808 | −0.20262 |
∅5π | 0.26989 | 1.03991 | 0.59569 | −0.287504 | 0.470893 | 0.79414588 | 0.455793 | −0.26870 | 0.58139 | 0.71549 |
For each of the 10 considered assets, the associated autoregressive coefficients enable one to perform forecasting and obtain four time series of length 12 each (time series for the next four periods where each period has 12 months). For each period, an investment allocation was performed and was summarised by an efficient frontier curve. An investment allocation (portfolio selection) is associated with each point of the efficient frontier (each pair of [risk, profit]).
Sequential portfolio investment allocations. Efficient frontier: Period 1.
Sequential portfolio investment allocations. Efficient frontier: Period 2.
Sequential portfolio investment allocations. Efficient frontier: Period 3.
Sequential portfolio investment allocations. Efficient frontier: Period 4.
Sequential portfolio investment allocations. Efficient frontier: Period 5.
By browsing and comparing the efficient frontier of Periods 1–5 defining the sequential optimal investment allocation for portfolio optimisation, one can notice that the more we progress in time, the more the portfolio risk (the portfolio variance) decreases and the portfolio profit increases, which shows a good process for the optimisation of the considered investor’s portfolio.
The more time is passing the more risk is getting minimised and profit is getting maximised. One may continue forecasting and analyse the mean-variance performance.
The aim of this article was to compute the optimal investment allocations of a number of portfolio assets over a long-term period. The trade-off between risk and profit for such a long-term formulation was investigated, and computational simulations corroborate the notion that the higher the risk, the higher the profit. For efficient risk management, the given period was subdivided into discrete sub-periods so that every sub-period addressed an optimal investment allocations problem. The forecast data could be computed iteratively for consecutive periods.
The authors are grateful to the University of Johannesburg for funding their research.
The authors declare that they have no financial or personal relationships that may have inappropriately influenced them in writing this article.
M.M. was responsible for problem formulation mathematical modelling and computational simulations. E.H. and T.M. performed the supervision of the research.
This paper was not based on the involvement of people. This article followed all ethical standards for research without direct contact with human or animal subjects.
This research was funded by the University of Johannesburg.
Data sharing is not applicable to this article.
The views and opinions expressed in this article are those of the authors and do not necessarily reflect the official policy or position of any affiliated agency of the authors.