Ant colony optimization approach to portfolio optimization

Similar documents
Ant Colony Optimization Approach to Portfolio Optimization A Lingo Companion

Portfolio Optimization Using Ant Colony Method a Case Study on Tehran Stock Exchange

An Intelligent Approach for Option Pricing

COMPARATIVE STUDY OF OPTIMAL PORTFOLIO SELECTION USING ALGORITHM IMPERIALIST COMPETITIVE AND CULTURAL EVOLUTION

Management Science Letters

A Big Data Analytical Framework For Portfolio Optimization

Optimization Financial Time Series by Robust Regression and Hybrid Optimization Methods

Modern Portfolio Theory -Markowitz Model

Multistage risk-averse asset allocation with transaction costs

COMPARISON BETWEEN SINGLE AND MULTI OBJECTIVE GENETIC ALGORITHM APPROACH FOR OPTIMAL STOCK PORTFOLIO SELECTION

The mathematical model of portfolio optimal size (Tehran exchange market)

Solving dynamic portfolio choice problems by recursing on optimized portfolio weights or on the value function?

Select Efficient Portfolio through Goal Programming Model

PORTFOLIO MODELLING USING THE THEORY OF COPULA IN LATVIAN AND AMERICAN EQUITY MARKET

A Study on Importance of Portfolio - Combination of Risky Assets And Risk Free Assets

A COMPARISON BETWEEN MEAN-RISK MODEL AND PORTFOLIO SELECTION MODELS WITH FUZZY APPROACH IN COMPANIES LISTED IN TEHRAN STOCK EXCHANGE

Application of MCMC Algorithm in Interest Rate Modeling

CHAPTER II LITERATURE STUDY

COMPARATIVE STUDY OF TIME-COST OPTIMIZATION

An Application of Mathematical Model to Time-cost Trade off Problem (Case Study)

THE STUDY OF RELATIONSHIP BETWEEN UNEXPECTED PROFIT AND SHARES RETURN IN ACCEPTED COMPANIES LISTED IN TEHRAN STOCK EXCHANGE

FISHER TOTAL FACTOR PRODUCTIVITY INDEX FOR TIME SERIES DATA WITH UNKNOWN PRICES. Thanh Ngo ψ School of Aviation, Massey University, New Zealand

Random Search Techniques for Optimal Bidding in Auction Markets

A Recommended Financial Model for the Selection of Safest portfolio by using Simulation and Optimization Techniques

Portfolio Optimization by Using Birds Flight Algorithm

Optimal Portfolio Inputs: Various Methods

Application of Data Mining Tools to Predicate Completion Time of a Project

Motif Capital Horizon Models: A robust asset allocation framework

Financial Analysis The Price of Risk. Skema Business School. Portfolio Management 1.

Determining the Ranking of the Companies Listed in TSE by the Studied Variables and Analytic Hierarchy Process (AHP)

Portfolio Optimization by Heuristic Algorithms. Collether John. A thesis submitted for the degree of PhD in Computing and Electronic Systems

International Review of Management and Marketing ISSN: available at http:

(IIEC 2018) TEHRAN, IRAN. Robust portfolio optimization based on minimax regret approach in Tehran stock exchange market

Risk Measuring of Chosen Stocks of the Prague Stock Exchange

(High Dividend) Maximum Upside Volatility Indices. Financial Index Engineering for Structured Products

Accelerated Option Pricing Multiple Scenarios

Mean Variance Analysis and CAPM

The Relationship between Cash Flow and Financial Liabilities with the Unrelated Diversification in Tehran Stock Exchange

International Journal of Computer Science Trends and Technology (IJCST) Volume 5 Issue 2, Mar Apr 2017

THE OPTIMAL HEDGE RATIO FOR UNCERTAIN MULTI-FOREIGN CURRENCY CASH FLOW

Dynamic Portfolio Optimization with Transaction Cost

Chapter 5 Portfolio. O. Afonso, P. B. Vasconcelos. Computational Economics: a concise introduction

International diversification for Asia-Pacific Property Investors Abstract

A New Approach to Solve an Extended Portfolio Selection Problem

FORECASTING EXCHANGE RATE RETURN BASED ON ECONOMIC VARIABLES

Optimal Search for Parameters in Monte Carlo Simulation for Derivative Pricing

Markowitz portfolio theory. May 4, 2017

Markowitz portfolio theory

Correlation vs. Trends in Portfolio Management: A Common Misinterpretation

Iran s Stock Market Prediction By Neural Networks and GA

Two Stage Portfolio Selection and Optimization Model with the Hybrid Particle Swarm Optimization

Evaluating the Relationship between Economic Values Added and Stock Return in Companies Listed at Tehran Stock Exchange

Parameter Estimation Techniques, Optimization Frequency, and Equity Portfolio Return Enhancement*

A Study of the Efficiency of Polish Foundries Using Data Envelopment Analysis

COST MANAGEMENT IN CONSTRUCTION PROJECTS WITH THE APPROACH OF COST-TIME BALANCING

PortfolioConstructionACaseStudyonHighMarketCapitalizationStocksinBangladesh

A Hybrid Solver for Constrained Portfolio Selection Problems preliminary report

Fuzzy Grey Cognitive Maps Approach for portfolio Optimization

Comparative Study between Linear and Graphical Methods in Solving Optimization Problems

Stock Portfolio Selection using Genetic Algorithm

American Option Pricing Formula for Uncertain Financial Market

Value-at-Risk Based Portfolio Management in Electric Power Sector

On the Distribution and Its Properties of the Sum of a Normal and a Doubly Truncated Normal

Solving Risk Conditions Optimization Problem in Portfolio Models

The Relationship between Earning, Dividend, Stock Price and Stock Return: Evidence from Iranian Companies

Modern Portfolio Theory

Macroeconomic Analysis and Parametric Control of Economies of the Customs Union Countries Based on the Single Global Multi- Country Model

Investigation and Comparison of Ohlson, Model, Economic Value Added Model and Dividend Discount Model in 50 Top Companies in Tehran Stock Exchange

Leverage Aversion, Efficient Frontiers, and the Efficient Region*

Classifying Market States with WARS

International Financial Management

Advances in Environmental Biology

International Finance. Estimation Error. Campbell R. Harvey Duke University, NBER and Investment Strategy Advisor, Man Group, plc.

PORTFOLIO OPTIMIZATION AND SHARPE RATIO BASED ON COPULA APPROACH

Stock Trading System Based on Formalized Technical Analysis and Ranking Technique

Maximizing Operations Processes of a Potential World Class University Using Mathematical Model

[D7] PROBABILITY DISTRIBUTION OF OUTSTANDING LIABILITY FROM INDIVIDUAL PAYMENTS DATA Contributed by T S Wright

European Journal of Economic Studies, 2016, Vol.(17), Is. 3

The Effective Factors in Abnormal Error of Earnings Forecast-In Case of Iran

Michael (Xiaochen) Sun, PHD. November msci.com

THE OPTIMAL ASSET ALLOCATION PROBLEMFOR AN INVESTOR THROUGH UTILITY MAXIMIZATION

Fireworks Algorithm Applied to Constrained Portfolio Optimization Problem

Prediction Models of Financial Markets Based on Multiregression Algorithms

Does cost of common equity capital effect on financial decisions? Case study companies listed in Tehran Stock Exchange

Applying Modern Portfolio Theory to Timberland Allocation

Fitting financial time series returns distributions: a mixture normality approach

The Duration Derby: A Comparison of Duration Based Strategies in Asset Liability Management

The Capital Assets Pricing Model & Arbitrage Pricing Theory: Properties and Applications in Jordan

Elton, Gruber, Brown, and Goetzmann. Modern Portfolio Theory and Investment Analysis, 7th Edition. Solutions to Text Problems: Chapter 6

The Relationship between Ownership Structure and Risk Management: Evidence from Iran

Option Pricing Formula for Fuzzy Financial Market

The Intertemporal Relationship between Risk and Return with Dynamic Conditional Correlation and Time -Varying Beta

Management Science Letters

A bacterial foraging optimization approach for the index tracking problem

Sample Size for Assessing Agreement between Two Methods of Measurement by Bland Altman Method

Introduction to Risk Parity and Budgeting

Some derivative free quadratic and cubic convergence iterative formulas for solving nonlinear equations

Robust Portfolio Optimization SOCP Formulations

A Comparative Study on Markowitz Mean-Variance Model and Sharpe s Single Index Model in the Context of Portfolio Investment

The duration derby : a comparison of duration based strategies in asset liability management

Transcription:

2012 International Conference on Economics, Business and Marketing Management IPEDR vol.29 (2012) (2012) IACSIT Press, Singapore Ant colony optimization approach to portfolio optimization Kambiz Forqandoost Haqiqi 1 and Tohid Kazemi 2 + 1 Member of Faculty, Economics & Accounting, Iran Islamic Azad University, Central Tehran Branch, Tehran, Iran 2 Accounting, Iran Islamic Azad University, Central Tehran Branch, Tehran, Iran Accounting, Shahid Chamran University of Ahvaz, Iran Abstract. The purpose of this paper is to apply ACO approach to the portfolio optimization mean variance model. The problem of portfolio optimization is a multiobjective problem that aims at simultaneously maximizing the expected return of the portfolio and minimizing portfolio risk. Present study is a heuristic approach to portfolio optimization problem using Ant Colony Optimization technique. The test data set is the monthly prices since 2008/20/3 up to 2011/20/03 from Tehran stock exchange. Reliability of proposed algorithm is evaluated. The performance of ACO is compared with frontcon function of MATLAB software as an exact method. The results show that proposed ACO approach is reliable but not preferred to an exact method. Keywords: Portfolio Optimization, Ant Colony Optimization (ACO), Multiobjective 1. Introduction One of the vital problems in finance is Portfolio Optimization Problem (POP) that has received a lot of attention in recent decades. Harry M. Markowitz was the first to come up with a parametric optimization model to this problem which meanwhile has become the foundation for Modern Portfolio Theory (MPT) [5]. The problem usually has two criteria: expected return is to be maximized, while the risk is to be minimized [2]. In the other words POP presents a multiobjective problem that could be solved with metaheuristic approaches inspired biologically. In present paper we will use the standard Markowitz model as a multiobjective problem solving model, in order to design an algorithm that is based on Ant Colony Optimization approach. This paper is structured as follows. First importance of this study and a summery of POP is presented. A brief literature review is provided in section 2, followed in section 3 by problem description. In section 4 ACO approach is explained and proposed algorithm is presented. Empirical study is presented in section 5. The paper concludes in section 6 with conclusion. 2. Literature Review Maringer addressed the issue of finding an optimal portfolio structure when there is a limit on the number of different assets that may be included. He used Ant systems, empirical studies were performed for NYSE, FTSE and DAX data. The results confirmed that small portfolios can indeed be very well diversified provided the asset and weight selection has been done with a suitable method [6]. Wang and Yang worked on securities-investment market s situation of China, proposed an objective model of the securities investment combination optimization under conditions of the nonnegative investment ratio, and designed ant group algorithm to solve this model s continual optimization. + Corresponding author. Tel.: + 989143892705 E-mail address:drtohid.acc@gmail.com 292

Through the example of computer simulation, they could see that this algorithm was effective in solving the multiobjective programming and in optimizing portfolio investment s application [8]. Eslami Bidgoli et al used Ant Colony Optimization to solve portfolio optimization problem with cardinality constrain on the maximum number of assets on Tehran Exchange Market. The results showed that a small portfolio of assets could be found having a comparable performance with much diversified portfolios [4]. 3. Portfolio Optimization In 1952, Harry Markowitz published a paper on portfolio selection. He divided portfolio selecting process in two stages. The first stage starts with observation and experience and ends with beliefs about the future performances of available securities. The second stage starts with the relevant beliefs about future performances and ends with the choice of portfolio [7]. 3.1. Problem Description The basic mean variance portfolio selection problem we consider in present paper can be formalized as follows: (1) Subject to: (4) Where: R p : return of portfolio, r i : expected return of stock i, x i : weight of stock i in portfolio, σ ij : covariance between stock i and j, M = {1,2,,N} that N is the number of assets in market. Equation (1) maximizes the profit associated with the portfolio. Equation (2) minimizes the total standard deviation (the risk) associated with the portfolio. The purpose is to determine value of x i, that optimize the objective functions. 4. Ant Colony Optimization Approach One of the first behaviors studied by entomologists was the ability of ants to find the shortest path between their nest and a food source. From these studies and observations followed the first algorithmic models of the foraging behavior of ants, as developed by Marco Dorigo [3]. 4.1. Applying the Algorithm Solution space could be described as a vector with n members which points to number of stocks in the market. This vector called stock vector. Object is allocating proper coefficients to each member of stock vector. Therefore coefficient vector would be introduced as c = [0, 1, 2,, k]. Allocating 0 to each stock means that stock does not participate in portfolio and more than 0 means that stock is a participant. The proposed algorithm is based on pheromone trail. Saved information about density of solution fragments, guide ants to proper choose. This collective memory is known as pheromone matrix. Pheromone matrix contains n culms and m rows. Where n is the number of stocks and m points to coefficient vector members. To continue, each member of stock vector should be assigned a weight in the set. Algorithm does this duty with employing coefficient vector. The probability of coefficient allocation could be determined as: (2) (3) (7) Ants use this strategy to select a proper portfolio. After, all the ants have constructed solutions to the problem, the quality of each of these solutions is assessed, and this information is used to update the pheromone trails. For each portfolio, a fitness value would be calculated as following: 293

The best fitness value points to the best portfolio. System could recognize the best value and starts to update the pheromone trail information according to the best portfolio. The update process could be presented as follows: (9) And (8) (10) Where: : evaporation rate, : best portfolio, Q : fixed amount The algorithm ends after a prefixed number of iterations. 5. EMPIRICAL STUDY 5.1. Data The empirical study in this paper is based on data set in Tehran Stock Exchange (TSE). Data set is the monthly prices over the period 2008/20/03 up to 2011/20/03. Out of quoted companies in TSE, 30 companies, participating in TEFIX 30, were chosen in order to test the performance of algorithm. Brabozan and O Nell (2007) underlined the effect of the collected data quality on a model success. Out of 30 companies, 6 of them were not fully active in predefined time period. The expected return computed for the period of 3 companies, were negative. So these companies were ignored. 5.2. Algorithm implementation Proposed algorithm was programmed using MATLAB software. After several experiments, the numerical parameters have been determined as following: Ants number: 168, Q = 0.1, evaporation rate ( ): 0.01 and repeat count: 500 times. Figures 1 and 2 show the performance of proposed algorithm on objective functions. Fig.1: return of optimal portfolio for each iteration. As figure 1 shows return of optimum portfolio increases as a whole in a converging trend. 294

Fig.2: risk of optimal portfolio for each iteration. As figure 2 shows risk of optimum portfolio decreases as a whole in a converging trend. To evaluate the reliability, algorithm was run 30 times. Figure 3 presents the distribution graph of the results of algorithm run for 30 times. Figure.3: distributions of results for ant colony optimization algorithm. Correlation coefficient of scattered points on the graph was calculated by correlation coefficient analysis. Reliability of proposed algorithm is confirmed by score of 93% for correlation coefficient. In order to compare the performance of ACO algorithm with an exact method, efficient frontier line is drown using the frontcon function of MATLAB software. As figure.4 shows the results of ACO points, are located under the efficient frontier of frontcon function. In other words, performance of frontcon function is preferred to ACO approach. return Figure.4: comparing exact method with ACO approach. To ensure that there is significant difference between the results obtained by ACO approach and exact method, Wilcoxon Signed-Rank Test was performed. The Wilcoxon Signed-Rank Test, compare two sets of 295

scores that come from the same participants. The distribution of the differences between the scores of the two related groups, were tested for normality. Because of abnormally distribution, Wilcoxon Signed-Rank Test was used as a nonparametric test. Table 1, points to test result. Table.1: Wilcoxon Signed-Rank Test frontcon - ant Z -4.783 a Asymp. Sig. (2-tailed).000 a. Based on negative ranks. b. Wilcoxon Signed Ranks Test A Wilcoxon Signed Ranks Test shows that there is significant difference between the results obtained by ACO approach and exact method. 6. Conclusion Nowadays, studies on ACO approach are extending in several fields of finance, like banking, ecommerce, marketing, risk management and etc. Following the pheromone trail and exploring the shortest path is interpreted as effectiveness and efficiency in biological life. It shows the potential ability of ACO to be used in finance. In present study, an ACO algorithm was proposed for POP. This algorithm, search the solution space using ants for optimum rate of return on risk. Algorithm performs in two major steps, coefficient allocation and updating. Convergence of the algorithm is a good feature. Despite the stochastic condition of Ant Colony Algorithm, its reliability is proved at a high level. The results confirmed the preferred of frontcon function as an exact method with significant difference. It means that more attempts are needed to improve the ACO algorithm toward a more directed one. 7. Acknowledgements The authors are grateful for scientific support from Dr. Maghsud solimanpur. 8. References [1] Brabozan, Anthony and O Neill, Michael (2007), Biologically Inspired Algorithms for Financial Modeling, New York, Springer. [2] Branke et al (2009), Portfolio optimization with an envelope-based multi-objective evolutionary algorithm, European Journal of Operational Research,199, pp.684-693. [3] Engelbrecht, Andries (2007) Computational Intelligence, John Wiley & Sons Ltd, pp. 356-411. [4] Eslami Bidgoli, Gholamreza et al (2009), Portfolio Optimization and Examining the Effect of Diversification on Its Performance through Using Ant Colony Algorithm, Quarterly Journal of Securities Exchange, Vol. 2, No. 5, pp 57-75. [5] Maringer, Dietmar (2005), Portfolio Management with Heuristic Optimization, Netherlands, Springer, pp.1-37. [6] Maringer, Dietmar (2006), Small Is Beautiful. Diversification With a Limited Number of Assets Centre for Computational Finance and Economic Agents, Working Paper 005-06. University of Essex. [7] Markowits, H (1952), Portfolio Selection, The Journal of Finance, Vol. 7, No. 1, pp. 77-91. [8] Wang, Ting and Yang, Xia (2009), The Study of Model for Portfolio Investment Based on Ant Colony Algorithm, L. Qi (Ed.): FCC 2009, CCIS 34, Springer-Verlag Berlin Heidelberg, pp. 136 141. 296