Abstract
This paper reports a case study on modeling the SPDR Silver Trust (SLV) and Nasdaq Composite Index timeseries by using a financial agent based system using simulated annealing. We show here how adding financial information to the modeling system can significantly improve the modeling results. The learning system LFABS, previously developed by the author, will be used as a testbed for the empirical evaluation of the proposed methodology on the two case studies.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Bonabeau, E.: Agent-based modeling: methods and techniques for simulating human systems. Proc. Nat. Acad. Sci. 99, 7280–7287 (2002)
Epstein, J.M., Axtell, R.: Growing Artificial Societies: Social Science From the Bottom up. The Brookings Institution, Washington, DC, USA (1996)
Lebaron, B.: Agent based computational finance: suggested readings and early research. J. Econ. Dyn. Control 24, 679–702 (1998)
Tesfatsion, L.: Agent-based computational economics: growing economies from the bottom up. Artif. Life 8, 55–82 (2002)
Hoffmann, A.O.I., Delre, S.A., von Eije, J.H., Jager, W.: Artificial multi-agent stock markets: simple strategies, complex outcomes. In: Advances in Artificial Economics. Lecture Notes in Economics and Mathematical Systems, vol. 584, pp. 167–176. Springer-Verlag (2006)
Kendall, G., Su, Y.: A multi-agent based simulated stock market - testing on different types of stocks. In: Congress on Evolutionary Computation CEC 2003, pp. 2298–2305 (2003)
Schulenburg, S., Ross, P.: An adaptive agent based economic model. In: Lanzi, P.L., Stolzmann, W., Wilson, S.W. (eds.) IWLCS 1999. LNCS (LNAI), vol. 1813, pp. 263–282. Springer, Heidelberg (2000)
Creamer, G., Freund, Y.: Automated trading with boosting and expert weighting. Quant. Financ. 4, 401–420 (2010)
Takahashi, H., Terano, T.: Analyzing the influence of overconfident investors on financial markets through agent-based model. In: Yin, H., Tino, P., Corchado, E., Byrne, W., Yao, X. (eds.) IDEAL 2007. LNCS, vol. 4881, pp. 1042–1052. Springer, Heidelberg (2007)
Arthur, W.B., Holland, J.H., LeBaron, B., Palmer, R., Taylorm, P.: Asset pricing under endogenous expectation in an artificial stock market. In: The Economy as an Evolving Complex System II, Santa Fe Institute Studies in the Sciences of Complexity. Lecture Notes, pp. 15–44 (1997)
Majhi, R., Sahoo, G., Panda, A., Choubey, A.: Prediction of sp500 and DJIA stock indices using particle swarm optimization techniques. In: Congress on Evolutionary Computation 2008, pp. 1276–1282. IEEE press (2008)
Kitov, I.: Predicting conocophillips and exxon mobil stock price. J. Appl. Res. Finan. 2, 129–134 (2009)
Burke, E.K., Hyde, M., Kendall, G., Ochoa, G., Ozcan, E., Woodward, J.: A classification of hyper-heuristics approaches, handbook of metaheuristics. In: Gendreau, M., Potvin, J.Y. (eds.) Handbook of Metaheuristics. International Series in Operations Research and Management Science. Springer (2009, in press)
Dunis, C., Middleton, P.W., Karathanasopolous, A., Theofilatos, K.A. (eds.): Artificial Intelligence in Financial Markets: Cutting Edge Applications for Risk Management Portfolio Optimization and Economics. Palgrave Macmilian, London (2016)
Suciu, G., Sticlan, A.M., Butca, C., Vulpe, A., Stancu, A., Halunga, S.: Cloud search based applications for big data-challenges and methodologies for acceleration. In: International Workshop on Adaptive Resource Management and Scheduling for Cloud Computing. Springer (2015)
Neri, F.: Agent-based modeling under partial and full knowledge learning settings to simulate financial markets. AI Commun. 25, 295–304 (2012)
Goldberg, D.: Genetic Algorithms in Search, Optimization, and Machine Learning. Addison-Wesley, Reading, MA (1989)
Quinlan, J.R.: C4.5: Programs for Machine Learning. Morgan Kaufmann, California (1993)
Rumelhart, D.E., Hinton, G.E., Williams, R.J.: Learning internal representations by error propagation. In: Rumelhart, D.E., McClelland, J.L. (eds.) Parallel Distributed Processing: Explorations in the Microstructure of Cognition, vol. 1: Foundations, pp. 318–362. MIT Press, Cambridge, MA, USA (1986)
Kirkpatrick, S., Gelatt, C.D., Vecchi, M.P.: Optimization by simulated annealing. Science 220, 671–680 (1983)
Acknowledgements
The author would like to thank the anonymous reviewers and the editors for their specific and detailed comments which have helped to improve the final version of the paper. Any residual error in the paper is of course only my responsibility.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
A The Simple Financial Agent Based Simulator
A The Simple Financial Agent Based Simulator
Please note that the description of the LFABS system appearing in the Appendix has already been reported in our previous publications such as [16]. We will repeat here the description of LFABS’ architectures for improving the readability of the paper. Before proceeding, we would like to point out the two main assumptions that we made about the economic behavior of an individual. We hypothesize that each investment decision for each individual depends on two main components:
-
(a) his/her propensity to take some risks today, by buying a financial asset, in exchange for a future uncertain reward, when selling the asset. Indeed any investor has to decide if it is good for her/him to buy, for instance, a Treasury Bond (very safe, but low return), a corporate obligation (not safe as a treasury bond, giving a discrete return), or a company share (no guarantee on the capital as the company may fail, but good return). The investment decision is made according to the investor’s risk/reward profile which we will model as a risk/reward propensity rate in the system.
-
(b) the common and public consensus about the future behavior of the asset. Public knowledge about the economic outlook diffused by financial news, economic reports, etc. will influence the investment decision of every one operating in the market. If the economic outlook is forecast negative, on average people will tend to sell some of their assets. If the economic future looks positive, investors tend by more assets. In the paper, we call market sentiment, or just sentiment, the common perception of economy outlook and we will model it accordingly in our system.
Let’s move now to explaining the architecture of our system. We start by describing the basic component of our simulator: the FinancialAgent. The FinancialAgent implements the simple decision making process underlying the investment decision of buying, selling or holding an asset. The algorithm is:
Said in plain words, a Financial Agent will decide to buy some asset with probability P(X \(<\,\)BuyThreshold), it will hold to its assets with probability P(BuyThreshold < X < SellThreshold), and it will sell some of its assets with probability P(SellThreshold < X). As it can be seen in the algorithm, the probabilities are dependent on the current level of sentiment about the economy. In fact the probability to buy assets increases along with the sentiment, while the probability to sell assets decreases when the sentiment is raising and vice versa. Also the amount of assets to be bought or sold is set to 2% of the total assets of the investors. The value 2% has been chosen as it represents twice the average daily variation of the timeseries we have investigated. We verified empirically in earlier works [16] that it provides reasonable simulation results and has been kept constant since then. It might be changed in case the time series under investigation displays an average daily variation higher than 1%.
Given FinancialAgent, the algorithm for simulating a simulation of the entire financial market can be obtained by creating several FinancialAgents, each one with its own status in terms of own assets, invested assets and risk/reward propensity, and then performing a sequence of investment rounds where each agent decides if buying, selling, or holding taking into account the current Sentiment value. At the end of each round, it is possible to measure the percentage of invested assets, this percentage can then be used as an estimated for one data point of the target time serie. If the simulation is repeated for n rounds, the output will represent an estimate for an n-length time serie. After explaining what the financial simulator S-FABS does, here is its algorithm:
S-FABS take as input the vector of risk/rewards propensity rates for each Financial Agent. During each round, the risk/rewards propensity rates are used in combination with the current value of the economic sentiment by each Financial Agent.
Rights and permissions
Copyright information
© 2018 Springer International Publishing AG, part of Springer Nature
About this paper
Cite this paper
Neri, F. (2018). Case Study on Modeling the Silver and Nasdaq Financial Time Series with Simulated Annealing. In: Rocha, Á., Adeli, H., Reis, L., Costanzo, S. (eds) Trends and Advances in Information Systems and Technologies. WorldCIST'18 2018. Advances in Intelligent Systems and Computing, vol 746. Springer, Cham. https://doi.org/10.1007/978-3-319-77712-2_71
Download citation
DOI: https://doi.org/10.1007/978-3-319-77712-2_71
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-77711-5
Online ISBN: 978-3-319-77712-2
eBook Packages: EngineeringEngineering (R0)