Using Deep Learning Neural Networks and Candlestick Chart Representation to Predict Stock Market
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Ranking and Automatic Selection of Machine Learning Models Abstract Sandro Feuz
Technical Disclosure Commons Defensive Publications Series December 13, 2017 Ranking and automatic selection of machine learning models Abstract Sandro Feuz Victor Carbune Follow this and additional works at: http://www.tdcommons.org/dpubs_series Recommended Citation Feuz, Sandro and Carbune, Victor, "Ranking and automatic selection of machine learning models Abstract", Technical Disclosure Commons, (December 13, 2017) http://www.tdcommons.org/dpubs_series/982 This work is licensed under a Creative Commons Attribution 4.0 License. This Article is brought to you for free and open access by Technical Disclosure Commons. It has been accepted for inclusion in Defensive Publications Series by an authorized administrator of Technical Disclosure Commons. Feuz and Carbune: Ranking and automatic selection of machine learning models Abstra Ranking and automatic selection of machine learning models Abstract Generally, the present disclosure is directed to an API for ranking and automatic selection from competing machine learning models that can perform a particular task. In particular, in some implementations, the systems and methods of the present disclosure can include or otherwise leverage one or more machine-learned models to provide to a software application one or more machine learning models from different providers. The trained models are suited to a task or data type specified by the developer. The one or more models are selected from a registry of machine learning models, their task specialties, cost, and performance, such that the application specified cost and performance requirements are met. An application processor interface (API) maintains a registry of various machine learning models, their task specialties, costs and/or performances. A third-party developer can make a call to the API to select one or more machine learning models. -
A Statistical Analysis of the Predictive Power of Japanese Candlesticks Mohamed Jamaloodeen Georgia Gwinnett College, [email protected]
Journal of International & Interdisciplinary Business Research Volume 5 Article 5 June 2018 A Statistical Analysis of the Predictive Power of Japanese Candlesticks Mohamed Jamaloodeen Georgia Gwinnett College, [email protected] Adrian Heinz Georgia Gwinnett College, [email protected] Lissa Pollacia Georgia Gwinnett College, [email protected] Follow this and additional works at: https://scholars.fhsu.edu/jiibr Part of the Finance and Financial Management Commons Recommended Citation Jamaloodeen, Mohamed; Heinz, Adrian; and Pollacia, Lissa (2018) "A Statistical Analysis of the Predictive Power of Japanese Candlesticks," Journal of International & Interdisciplinary Business Research: Vol. 5 , Article 5. Available at: https://scholars.fhsu.edu/jiibr/vol5/iss1/5 This Article is brought to you for free and open access by FHSU Scholars Repository. It has been accepted for inclusion in Journal of International & Interdisciplinary Business Research by an authorized editor of FHSU Scholars Repository. Jamaloodeen et al.: Analysis of Predictive Power of Japanese Candlesticks A STATISTICAL ANALYSIS OF THE PREDICTIVE POWER OF JAPANESE CANDLESTICKS Mohamed Jamaloodeen, Georgia Gwinnett College Adrian Heinz, Georgia Gwinnett College Lissa Pollacia, Georgia Gwinnett College Japanese Candlesticks is a technique for plotting past price action of a specific underlying such as a stock, index or commodity using open, high, low and close prices. These candlesticks create patterns believed to forecast future price movement. Although the candles’ popularity has increased rapidly over the last decade, there is still little statistical evidence about their effectiveness over a large number of occurrences. In this work, we analyze the predictive power of the Shooting Star and Hammer patterns using over six decades of historical data of the S&P 500 index. -
A Robust Deep Learning Approach for Spatiotemporal Estimation of Satellite AOD and PM2.5
remote sensing Article A Robust Deep Learning Approach for Spatiotemporal Estimation of Satellite AOD and PM2.5 Lianfa Li 1,2,3 1 State Key Laboratory of Resources and Environmental Information Systems, Institute of Geographic Sciences and Natural Resources Research, Chinese Academy of Sciences, Datun Road, Beijing 100101, China; [email protected]; Tel.: +86-10-648888362 2 University of Chinese Academy of Sciences, Beijing 100049, China 3 Spatial Data Intelligence Lab Ltd. Liability Co., Casper, WY 82609, USA Received: 22 November 2019; Accepted: 7 January 2020; Published: 13 January 2020 Abstract: Accurate estimation of fine particulate matter with diameter 2.5 µm (PM ) at a high ≤ 2.5 spatiotemporal resolution is crucial for the evaluation of its health effects. Previous studies face multiple challenges including limited ground measurements and availability of spatiotemporal covariates. Although the multiangle implementation of atmospheric correction (MAIAC) retrieves satellite aerosol optical depth (AOD) at a high spatiotemporal resolution, massive non-random missingness considerably limits its application in PM2.5 estimation. Here, a deep learning approach, i.e., bootstrap aggregating (bagging) of autoencoder-based residual deep networks, was developed to make robust imputation of MAIAC AOD and further estimate PM2.5 at a high spatial (1 km) and temporal (daily) resolution. The base model consisted of autoencoder-based residual networks where residual connections were introduced to improve learning performance. Bagging of residual networks was used to generate ensemble predictions for better accuracy and uncertainty estimates. As a case study, the proposed approach was applied to impute daily satellite AOD and subsequently estimate daily PM2.5 in the Jing-Jin-Ji metropolitan region of China in 2015. -
An Evaluation of Machine Learning Approaches to Natural Language Processing for Legal Text Classification
Imperial College London Department of Computing An Evaluation of Machine Learning Approaches to Natural Language Processing for Legal Text Classification Supervisors: Author: Prof Alessandra Russo Clavance Lim Nuri Cingillioglu Submitted in partial fulfillment of the requirements for the MSc degree in Computing Science of Imperial College London September 2019 Contents Abstract 1 Acknowledgements 2 1 Introduction 3 1.1 Motivation .................................. 3 1.2 Aims and objectives ............................ 4 1.3 Outline .................................... 5 2 Background 6 2.1 Overview ................................... 6 2.1.1 Text classification .......................... 6 2.1.2 Training, validation and test sets ................. 6 2.1.3 Cross validation ........................... 7 2.1.4 Hyperparameter optimization ................... 8 2.1.5 Evaluation metrics ......................... 9 2.2 Text classification pipeline ......................... 14 2.3 Feature extraction ............................. 15 2.3.1 Count vectorizer .......................... 15 2.3.2 TF-IDF vectorizer ......................... 16 2.3.3 Word embeddings .......................... 17 2.4 Classifiers .................................. 18 2.4.1 Naive Bayes classifier ........................ 18 2.4.2 Decision tree ............................ 20 2.4.3 Random forest ........................... 21 2.4.4 Logistic regression ......................... 21 2.4.5 Support vector machines ...................... 22 2.4.6 k-Nearest Neighbours ....................... -
Predicting Construction Cost and Schedule Success Using Artificial
Available online at www.sciencedirect.com International Journal of Project Management 30 (2012) 470–478 www.elsevier.com/locate/ijproman Predicting construction cost and schedule success using artificial neural networks ensemble and support vector machines classification models ⁎ Yu-Ren Wang , Chung-Ying Yu, Hsun-Hsi Chan Dept. of Civil Engineering, National Kaohsiung University of Applied Sciences, 415 Chien-Kung Road, Kaohsiung, 807, Taiwan Received 11 May 2011; received in revised form 2 August 2011; accepted 15 September 2011 Abstract It is commonly perceived that how well the planning is performed during the early stage will have significant impact on final project outcome. This paper outlines the development of artificial neural networks ensemble and support vector machines classification models to predict project cost and schedule success, using status of early planning as the model inputs. Through industry survey, early planning and project performance information from a total of 92 building projects is collected. The results show that early planning status can be effectively used to predict project success and the proposed artificial intelligence models produce satisfactory prediction results. © 2011 Elsevier Ltd. APM and IPMA. All rights reserved. Keywords: Project success; Early planning; Classification model; ANNs ensemble; Support vector machines 1. Introduction Menches and Hanna, 2006). In particular, researches have indi- cated that project definition in the early planning process is an im- In the past few decades, the researchers and industry prac- portant factor leading to project success (Le et al., 2010; Thomas titioners have recognized the potential impact of early plan- and Fernández, 2008; Younga and Samson, 2008). Based on ning to final project outcomes and started to put more these results, this research intends to further investigate this rela- emphasis on early planning process (Dvir, 2005; Gibson et tionship and to examine if the status of early planning can be used al., 2006; Hartman and Ashrafi, 2004). -
Candlestick—The Main Mistake of Economy Research in High Frequency Markets
International Journal of Financial Studies Article Candlestick—The Main Mistake of Economy Research in High Frequency Markets Michał Dominik Stasiak Department of Investment and Real Estate, Poznan University of Economics and Business, al. Niepodleglosci 10, 61-875 Poznan, Poland; [email protected] Received: 4 August 2020; Accepted: 1 October 2020; Published: 10 October 2020 Abstract: One of the key problems of researching the high-frequency financial markets is the proper data format. Application of the candlestick representation (or its derivatives such as daily prices, etc.), which is vastly used in economic research, can lead to faulty research results. Yet, this fact is consistently ignored in most economic studies. The following article gives examples of possible consequences of using candlestick representation in modelling and statistical analysis of the financial markets. Emphasis should be placed on the problem of research results being detached from the investing practice, which makes most of the results inapplicable from the investor’s point of view. The article also presents the concept of a binary-temporal representation, which is an alternative to the candlestick representation. Using binary-temporal representation allows for more precise and credible research and for the results to be applied in investment practice. Keywords: high frequency econometric; technical analysis; investment decision support; candlestick representation; binary-temporal representation JEL Classification: C01; C53; C90 1. Introduction While researching any subject literature, often one can notice that some popular methods in scientific research are copied and used without second thought by further researchers. Nowadays, the vast majority of papers pertaining to the analysis of course trajectory on financial markets and connected prediction possibilities use historical data in the form of a candlestick representation (or its derivatives such as daily opening prices, usually called daily prices, etc.) (Burgess 2010; Kirkpatrick and Dahlquist 2010; Schlossberg 2012). -
Japanese Candlestick Patterns
Presents Japanese Candlestick Patterns www.ForexMasterMethod.com www.ForexMasterMethod.com RISK DISCLOSURE STATEMENT / DISCLAIMER AGREEMENT Trading any financial market involves risk. This course and all and any of its contents are neither a solicitation nor an offer to Buy/Sell any financial market. The contents of this course are for general information and educational purposes only (contents shall also mean the website http://www.forexmastermethod.com or any website the content is hosted on, and any email correspondence or newsletters or postings related to such website). Every effort has been made to accurately represent this product and its potential. There is no guarantee that you will earn any money using the techniques, ideas and software in these materials. Examples in these materials are not to be interpreted as a promise or guarantee of earnings. Earning potential is entirely dependent on the person using our product, ideas and techniques. We do not purport this to be a “get rich scheme.” Although every attempt has been made to assure accuracy, we do not give any express or implied warranty as to its accuracy. We do not accept any liability for error or omission. Examples are provided for illustrative purposes only and should not be construed as investment advice or strategy. No representation is being made that any account or trader will or is likely to achieve profits or losses similar to those discussed in this report. Past performance is not indicative of future results. By purchasing the content, subscribing to our mailing list or using the website or contents of the website or materials provided herewith, you will be deemed to have accepted these terms and conditions in full as appear also on our site, as do our full earnings disclaimer and privacy policy and CFTC disclaimer and rule 4.41 to be read herewith. -
A Taxonomy of Massive Data for Optimal Predictive Machine Learning and Data Mining Ernest Fokoue
Rochester Institute of Technology RIT Scholar Works Articles 2013 A Taxonomy of Massive Data for Optimal Predictive Machine Learning and Data Mining Ernest Fokoue Follow this and additional works at: http://scholarworks.rit.edu/article Recommended Citation Fokoue, Ernest, "A Taxonomy of Massive Data for Optimal Predictive Machine Learning and Data Mining" (2013). Accessed from http://scholarworks.rit.edu/article/1750 This Article is brought to you for free and open access by RIT Scholar Works. It has been accepted for inclusion in Articles by an authorized administrator of RIT Scholar Works. For more information, please contact [email protected]. A Taxonomy of Massive Data for Optimal Predictive Machine Learning and Data Mining Ernest Fokoué Center for Quality and Applied Statistics Rochester Institute of Technology 98 Lomb Memorial Drive, Rochester, NY 14623, USA [email protected] Abstract Massive data, also known as big data, come in various ways, types, shapes, forms and sizes. In this paper, we propose a rough idea of a possible taxonomy of massive data, along with some of the most commonly used tools for handling each particular category of massiveness. The dimensionality p of the input space and the sample size n are usually the main ingredients in the characterization of data massiveness. The specific statistical machine learning technique used to handle a particular massive data set will depend on which category it falls in within the massiveness taxonomy. Large p small n data sets for instance require a different set of tools from the large n small p variety. Among other tools, we discuss Prepro- cessing, Standardization, Imputation, Projection, Regularization, Penalization, Compression, Reduction, Selection, Kernelization, Hybridization, Parallelization, Aggregation, Randomization, Replication, Se- quentialization. -
A Comparison of Artificial Neural Networks and Bootstrap
Journal of Risk and Financial Management Article A Comparison of Artificial Neural Networks and Bootstrap Aggregating Ensembles in a Modern Financial Derivative Pricing Framework Ryno du Plooy * and Pierre J. Venter Department of Finance and Investment Management, University of Johannesburg, P.O. Box 524, Auckland Park 2006, South Africa; [email protected] * Correspondence: [email protected] Abstract: In this paper, the pricing performances of two learning networks, namely an artificial neural network and a bootstrap aggregating ensemble network, were compared when pricing the Johannesburg Stock Exchange (JSE) Top 40 European call options in a modern option pricing framework using a constructed implied volatility surface. In addition to this, the numerical accuracy of the better performing network was compared to a Monte Carlo simulation in a separate numerical experiment. It was found that the bootstrap aggregating ensemble network outperformed the artificial neural network and produced price estimates within the error bounds of a Monte Carlo simulation when pricing derivatives in a multi-curve framework setting. Keywords: artificial neural networks; vanilla option pricing; multi-curve framework; collateral; funding Citation: du Plooy, Ryno, and Pierre J. Venter. 2021. A Comparison of Artificial Neural Networks and Bootstrap Aggregating Ensembles in 1. Introduction a Modern Financial Derivative Black and Scholes(1973) established the foundation for modern option pricing the- Pricing Framework. Journal of Risk ory by showing that under certain ideal market conditions, it is possible to derive an and Financial Management 14: 254. analytically tractable solution for the price of a financial derivative. Industry practition- https://doi.org/10.3390/jrfm14060254 ers however quickly discovered that certain assumptions underlying the Black–Scholes (BS) model such as constant volatility and the existence of a unique risk-free interest rate Academic Editor: Jakub Horak were fundamentally flawed. -
Bagging and the Bayesian Bootstrap
Bagging and the Bayesian Bootstrap Merlise A. Clyde and Herbert K. H. Lee Institute of Statistics & Decision Sciences Duke University Durham, NC 27708 Abstract reduction in mean-squared prediction error for unsta- ble procedures. Bagging is a method of obtaining more ro- In this paper, we consider a Bayesian version of bag- bust predictions when the model class under ging based on Rubin’s Bayesian bootstrap (1981). consideration is unstable with respect to the This overcomes a technical difficulty with the usual data, i.e., small changes in the data can cause bootstrap in bagging, and it leads to a reduction the predicted values to change significantly. in variance over the bootstrap for certain classes of In this paper, we introduce a Bayesian ver- estimators. Another Bayesian approach for dealing sion of bagging based on the Bayesian boot- with unstable procedures is Bayesian model averaging strap. The Bayesian bootstrap resolves a the- (BMA) (Hoeting et al., 1999). In BMA, one fits sev- oretical problem with ordinary bagging and eral models to the data and makes predictions by tak- often results in more efficient estimators. We ing the weighted average of the predictions from each show how model averaging can be combined of the fitted models, where the weights are posterior within the Bayesian bootstrap and illustrate probabilities of models. We show that the Bayesian the procedure with several examples. bootstrap and Bayesian model averaging can be com- bined. We illustrate Bayesian bagging in a regression problem with variable selection and a highly influen- 1INTRODUCTION tial data point, a classification problem using logistic regression, and a CART model. -
Tensor Ensemble Learning for Multidimensional Data
Tensor Ensemble Learning for Multidimensional Data Ilia Kisil1, Ahmad Moniri1, and Danilo P. Mandic1 1Electrical and Electronic Engineering Department, Imperial College London, SW7 2AZ, UK, E-mails: fi.kisil15, ahmad.moniri13, [email protected] Abstract In big data applications, classical ensemble learning is typically infeasible on the raw input data and dimensionality reduction techniques are necessary. To this end, novel framework that generalises classic flat-view ensemble learning to multidimensional tensor- valued data is introduced. This is achieved by virtue of tensor decompositions, whereby the proposed method, referred to as tensor ensemble learning (TEL), decomposes every input data sample into multiple factors which allows for a flexibility in the choice of multiple learning algorithms in order to improve test performance. The TEL framework is shown to naturally compress multidimensional data in order to take advantage of the inherent multi-way data structure and exploit the benefit of ensemble learning. The proposed framework is verified through the application of Higher Order Singular Value Decomposition (HOSVD) to the ETH-80 dataset and is shown to outperform the classical ensemble learning approach of bootstrap aggregating. Index terms| Tensor Decomposition, Multidimensional Data, Ensemble Learning, Clas- sification, Bagging 1 Introduction The phenomenon of the wisdom of the crowd has been known for a very long time and was originally formulated by Aristotle. It simply states that the collective answer of a group of peo- ple to questions related to common world knowledge, spatial reasoning, and general estimation tasks, is often superior to the judgement of a particular person within this group. With the advent of computer, the machine learning community have adopted this concept under the framework of ensemble learning [1]. -
Development and Analysis of a Trading Algorithm Using Candlestick Patterns
COMP 4971C – Independent Study (Summer 2016) DEVELOPMENT AND ANALYSIS OF A TRADING ALGORITHM USING CANDLESTICK PATTERNS By MUTHUKUMAR, Sivaraam Year 4, Dual Degree in Technology and Management (MEGBA) [email protected] 11th August 2016 Supervised by: Dr David Rossiter Department of Computer Science and Engineering Development and Analysis of a Trading Algorithm using Candlestick Patterns Table of Contents ABSTRACT .................................................................................................................................. 3 INTRODUCTION ......................................................................................................................... 3 Assumptions .......................................................................................................................... 3 PROCESS FLOW .......................................................................................................................... 4 GETTING DATA ........................................................................................................................... 5 Assumptions .......................................................................................................................... 5 COLOUR CODING THE CANDLESTICK CHART ............................................................................. 5 Assumptions .......................................................................................................................... 6 Colour coding algorithm .......................................................................................................