• Title/Summary/Keyword: closing stock

Search Result 55, Processing Time 0.023 seconds

An Empirical Study on the Comparison of LSTM and ARIMA Forecasts using Stock Closing Prices

  • Gui Yeol Ryu
    • International journal of advanced smart convergence
    • /
    • v.12 no.1
    • /
    • pp.18-30
    • /
    • 2023
  • We compared empirically the forecast accuracies of the LSTM model, and the ARIMA model. ARIMA model used auto.arima function. Data used in the model is 100 days. We compared with the forecast results for 50 days. We collected the stock closing prices of the top 4 companies by market capitalization in Korea such as "Samsung Electronics", and "LG Energy", "SK Hynix", "Samsung Bio". The collection period is from June 17, 2022, to January 20, 2023. The paired t-test is used to compare the accuracy of forecasts by the two methods because conditions are same. The null hypothesis that the accuracy of the two methods for the four stock closing prices were the same were rejected at the significance level of 5%. Graphs and boxplots confirmed the results of the hypothesis tests. The accuracies of ARIMA are higher than those of LSTM for four cases. For closing stock price of Samsung Electronics, the mean difference of error between ARIMA and LSTM is -370.11, which is 0.618% of the average of the closing stock price. For closing stock price of LG Energy, the mean difference is -4143.298 which is 0.809% of the average of the closing stock price. For closing stock price of SK Hynix, the mean difference is -830.7269 which is 1.00% of the average of the closing stock price. For closing stock price of Samsung Bio, the mean difference is -4143.298 which is 0.809% of the average of the closing stock price. The auto.arima function was used to find the ARIMA model, but other methods are worth considering in future studies. And more efforts are needed to find parameters that provide an optimal model in LSTM.

Empirical Analysis on Bitcoin Price Change by Consumer, Industry and Macro-Economy Variables (비트코인 가격 변화에 관한 실증분석: 소비자, 산업, 그리고 거시변수를 중심으로)

  • Lee, Junsik;Kim, Keon-Woo;Park, Do-Hyung
    • Journal of Intelligence and Information Systems
    • /
    • v.24 no.2
    • /
    • pp.195-220
    • /
    • 2018
  • In this study, we conducted an empirical analysis of the factors that affect the change of Bitcoin Closing Price. Previous studies have focused on the security of the block chain system, the economic ripple effects caused by the cryptocurrency, legal implications and the acceptance to consumer about cryptocurrency. In various area, cryptocurrency was studied and many researcher and people including government, regardless of country, try to utilize cryptocurrency and applicate to its technology. Despite of rapid and dramatic change of cryptocurrencies' price and growth of its effects, empirical study of the factors affecting the price change of cryptocurrency was lack. There were only a few limited studies, business reports and short working paper. Therefore, it is necessary to determine what factors effect on the change of closing Bitcoin price. For analysis, hypotheses were constructed from three dimensions of consumer, industry, and macroeconomics for analysis, and time series data were collected for variables of each dimension. Consumer variables consist of search traffic of Bitcoin, search traffic of bitcoin ban, search traffic of ransomware and search traffic of war. Industry variables were composed GPU vendors' stock price and memory vendors' stock price. Macro-economy variables were contemplated such as U.S. dollar index futures, FOMC policy interest rates, WTI crude oil price. Using above variables, we did times series regression analysis to find relationship between those variables and change of Bitcoin Closing Price. Before the regression analysis to confirm the relationship between change of Bitcoin Closing Price and the other variables, we performed the Unit-root test to verifying the stationary of time series data to avoid spurious regression. Then, using a stationary data, we did the regression analysis. As a result of the analysis, we found that the change of Bitcoin Closing Price has negative effects with search traffic of 'Bitcoin Ban' and US dollar index futures, while change of GPU vendors' stock price and change of WTI crude oil price showed positive effects. In case of 'Bitcoin Ban', it is directly determining the maintenance or abolition of Bitcoin trade, that's why consumer reacted sensitively and effected on change of Bitcoin Closing Price. GPU is raw material of Bitcoin mining. Generally, increasing of companies' stock price means the growth of the sales of those companies' products and services. GPU's demands increases are indirectly reflected to the GPU vendors' stock price. Making an interpretation, a rise in prices of GPU has put a crimp on the mining of Bitcoin. Consequently, GPU vendors' stock price effects on change of Bitcoin Closing Price. And we confirmed U.S. dollar index futures moved in the opposite direction with change of Bitcoin Closing Price. It moved like Gold. Gold was considered as a safe asset to consumers and it means consumer think that Bitcoin is a safe asset. On the other hand, WTI oil price went Bitcoin Closing Price's way. It implies that Bitcoin are regarded to investment asset like raw materials market's product. The variables that were not significant in the analysis were search traffic of bitcoin, search traffic of ransomware, search traffic of war, memory vendor's stock price, FOMC policy interest rates. In search traffic of bitcoin, we judged that interest in Bitcoin did not lead to purchase of Bitcoin. It means search traffic of Bitcoin didn't reflect all of Bitcoin's demand. So, it implies there are some factors that regulate and mediate the Bitcoin purchase. In search traffic of ransomware, it is hard to say concern of ransomware determined the whole Bitcoin demand. Because only a few people damaged by ransomware and the percentage of hackers requiring Bitcoins was low. Also, its information security problem is events not continuous issues. Search traffic of war was not significant. Like stock market, generally it has negative in relation to war, but exceptional case like Gulf war, it moves stakeholders' profits and environment. We think that this is the same case. In memory vendor stock price, this is because memory vendors' flagship products were not VRAM which is essential for Bitcoin supply. In FOMC policy interest rates, when the interest rate is low, the surplus capital is invested in securities such as stocks. But Bitcoin' price fluctuation was large so it is not recognized as an attractive commodity to the consumers. In addition, unlike the stock market, Bitcoin doesn't have any safety policy such as Circuit breakers and Sidecar. Through this study, we verified what factors effect on change of Bitcoin Closing Price, and interpreted why such change happened. In addition, establishing the characteristics of Bitcoin as a safe asset and investment asset, we provide a guide how consumer, financial institution and government organization approach to the cryptocurrency. Moreover, corroborating the factors affecting change of Bitcoin Closing Price, researcher will get some clue and qualification which factors have to be considered in hereafter cryptocurrency study.

Increasing Accuracy of Stock Price Pattern Prediction through Data Augmentation for Deep Learning (데이터 증강을 통한 딥러닝 기반 주가 패턴 예측 정확도 향상 방안)

  • Kim, Youngjun;Kim, Yeojeong;Lee, Insun;Lee, Hong Joo
    • The Journal of Bigdata
    • /
    • v.4 no.2
    • /
    • pp.1-12
    • /
    • 2019
  • As Artificial Intelligence (AI) technology develops, it is applied to various fields such as image, voice, and text. AI has shown fine results in certain areas. Researchers have tried to predict the stock market by utilizing artificial intelligence as well. Predicting the stock market is known as one of the difficult problems since the stock market is affected by various factors such as economy and politics. In the field of AI, there are attempts to predict the ups and downs of stock price by studying stock price patterns using various machine learning techniques. This study suggest a way of predicting stock price patterns based on the Convolutional Neural Network(CNN) among machine learning techniques. CNN uses neural networks to classify images by extracting features from images through convolutional layers. Therefore, this study tries to classify candlestick images made by stock data in order to predict patterns. This study has two objectives. The first one referred as Case 1 is to predict the patterns with the images made by the same-day stock price data. The second one referred as Case 2 is to predict the next day stock price patterns with the images produced by the daily stock price data. In Case 1, data augmentation methods - random modification and Gaussian noise - are applied to generate more training data, and the generated images are put into the model to fit. Given that deep learning requires a large amount of data, this study suggests a method of data augmentation for candlestick images. Also, this study compares the accuracies of the images with Gaussian noise and different classification problems. All data in this study is collected through OpenAPI provided by DaiShin Securities. Case 1 has five different labels depending on patterns. The patterns are up with up closing, up with down closing, down with up closing, down with down closing, and staying. The images in Case 1 are created by removing the last candle(-1candle), the last two candles(-2candles), and the last three candles(-3candles) from 60 minutes, 30 minutes, 10 minutes, and 5 minutes candle charts. 60 minutes candle chart means one candle in the image has 60 minutes of information containing an open price, high price, low price, close price. Case 2 has two labels that are up and down. This study for Case 2 has generated for 60 minutes, 30 minutes, 10 minutes, and 5minutes candle charts without removing any candle. Considering the stock data, moving the candles in the images is suggested, instead of existing data augmentation techniques. How much the candles are moved is defined as the modified value. The average difference of closing prices between candles was 0.0029. Therefore, in this study, 0.003, 0.002, 0.001, 0.00025 are used for the modified value. The number of images was doubled after data augmentation. When it comes to Gaussian Noise, the mean value was 0, and the value of variance was 0.01. For both Case 1 and Case 2, the model is based on VGG-Net16 that has 16 layers. As a result, 10 minutes -1candle showed the best accuracy among 60 minutes, 30 minutes, 10 minutes, 5minutes candle charts. Thus, 10 minutes images were utilized for the rest of the experiment in Case 1. The three candles removed from the images were selected for data augmentation and application of Gaussian noise. 10 minutes -3candle resulted in 79.72% accuracy. The accuracy of the images with 0.00025 modified value and 100% changed candles was 79.92%. Applying Gaussian noise helped the accuracy to be 80.98%. According to the outcomes of Case 2, 60minutes candle charts could predict patterns of tomorrow by 82.60%. To sum up, this study is expected to contribute to further studies on the prediction of stock price patterns using images. This research provides a possible method for data augmentation of stock data.

  • PDF

A Study of the Physical Asset Accounts for the Forested Land and Forest Stock (산지 및 임목의 물적 자산계정 체계에 관한 연구)

  • Kim, Joon-Soon
    • Journal of Korean Society of Forest Science
    • /
    • v.94 no.1 s.158
    • /
    • pp.45-49
    • /
    • 2005
  • Although the forest accounts in Korea have been constructed partly as the research projects since the mid-1990s, the framework of the accounts has not yet been established. The objective of this study is to provide the physical asset accounts of forested land and forest stock based on the system of integrated environmental economic accounts(SEEA) by utilizing the restructured 2004 statistical yearbook of forestry in Korea. In 2004 yearbook, new variables such as logging area and volumes are added. The logging area and volumes play important roles in constructing forest accounts because the basic structure of the physical asset accounts are composed of the opening stock, closing stock, and the changes between the two. The changes between the opening and closing stock are largely explained by the harvest. In forest accounts, in general, the main elements for the increase in stock are afforestation and reforestation while the main cause for the decrease is logging. In this study we separate the logging into natural or man-made causes. In addition, other useful information for the status of forest is recorded in an annex even if it is not necessary element in the account table. According to the forested land asset accounts generated with 2003 data, the logging area is larger than the reforestation area, and the total forested land is decreased. The logging volume is 0.4% of the total stock volume, and the planed logging volume is more than 3 times larger than the damaged logging volume. The damaged logging volumes by man-made causes is about $300,000m^3$, and it is much than that of natural causes, which is about $55,000m^3$.

Developing Pairs Trading Rules for Arbitrage Investment Strategy based on the Price Ratios of Stock Index Futures (주가지수 선물의 가격 비율에 기반한 차익거래 투자전략을 위한 페어트레이딩 규칙 개발)

  • Kim, Young-Min;Kim, Jungsu;Lee, Suk-Jun
    • Journal of Korean Society of Industrial and Systems Engineering
    • /
    • v.37 no.4
    • /
    • pp.202-211
    • /
    • 2014
  • Pairs trading is a type of arbitrage investment strategy that buys an underpriced security and simultaneously sells an overpriced security. Since the 1980s, investors have recognized pairs trading as a promising arbitrage strategy that pursues absolute returns rather than relative profits. Thus, individual and institutional traders, as well as hedge fund traders in the financial markets, have an interest in developing a pairs trading strategy. This study proposes pairs trading rules (PTRs) created from a price ratio between securities (i.e., stock index futures) using rough set analysis. The price ratio involves calculating the closing price of one security and dividing it by the closing price of another security and generating Buy or Sell signals according to whether the ratio is increasing or decreasing. In this empirical study, we generate PTRs through rough set analysis applied to various technical indicators derived from the price ratio between KOSPI 200 and S&P 500 index futures. The proposed trading rules for pairs trading indicate high profits in the futures market.

Mean-VaR Portfolio: An Empirical Analysis of Price Forecasting of the Shanghai and Shenzhen Stock Markets

  • Liu, Ximei;Latif, Zahid;Xiong, Daoqi;Saddozai, Sehrish Khan;Wara, Kaif Ul
    • Journal of Information Processing Systems
    • /
    • v.15 no.5
    • /
    • pp.1201-1210
    • /
    • 2019
  • Stock price is characterized as being mutable, non-linear and stochastic. These key characteristics are known to have a direct influence on the stock markets globally. Given that the stock price data often contain both linear and non-linear patterns, no single model can be adequate in modelling and predicting time series data. The autoregressive integrated moving average (ARIMA) model cannot deal with non-linear relationships, however, it provides an accurate and effective way to process autocorrelation and non-stationary data in time series forecasting. On the other hand, the neural network provides an effective prediction of non-linear sequences. As a result, in this study, we used a hybrid ARIMA and neural network model to forecast the monthly closing price of the Shanghai composite index and Shenzhen component index.

The Relation between Net Purchase of Foreign and Institution Investors and Expected Returns in the Korea Stock Market (외국인 및 기관투자자의 순매수강도와 주식수익률 간의 관계)

  • Kim, Soo-Kyung;Byun, Young-Tae
    • Management & Information Systems Review
    • /
    • v.30 no.4
    • /
    • pp.23-44
    • /
    • 2011
  • In this paper we examines the relation between net purchase of foreign and institution investors and stock returns in Korean stock market. For this study, KOSPI returns are classified into three parts: close to close, close to open and open to close returns. Close to close returns is measured by the closing price of t-1 day and the closing price of t day. Close to open returns is measured by the closing price of t-1 day and the opening price of t day. Open to close returns is measured by the opening price of t day and the closing price of the day. Empirically major findings are as follows. First, the previous day both foreign and institution investors' behavior have an statistically significant negative effect on the close to close returns. However, the current day their behavior positively affect close to close returns. Second, the previous day both foreign and institution investors' net purchase have a significantly positive effect on the open to close returns. Finally, the previous day foreign behavior has little effect on open to close returns, but institution investors negatively affect open to close.

  • PDF

The Effect of COVID-19 Pandemic on Stock Market: An Empirical Study in Saudi Arabia

  • ALZYADAT, Jumah Ahmad;ASFOURA, Evan
    • The Journal of Asian Finance, Economics and Business
    • /
    • v.8 no.5
    • /
    • pp.913-921
    • /
    • 2021
  • The objective of the study is to investigate the impact of the COVID-19 pandemic on Saudi Arabia stock market. The study relied on the data of the daily closing stock market price index Tadawul All Share Index (TASI), and the number of daily cases infected with COVID-19 during the period from March 15, 2020, to August 10, 2020. The study employs the Vector Auto-Regressive (VAR) model, the Impulse Response Function (IRF) and Autoregressive Conditional Heteroscedasticity (ARCH) models. The results of the correlation matrix and the Impulse Response Function (IRF) show that stock market returns responded negatively to the growth in COVID-19 infected cases during the pandemic. The results of ARCH model confirmed the negative impact of COVID-19 pandemic on KSA stock market returns. The results also showed that the negative market reaction was strong during the early days of the COVID-19 pandemic. The study concluded that stock market in KSA responded quickly to the COVID-19 pandemic; the response varies over time according to the stage of the pandemic. However, the Saudi government's response time and size of the stimulus package have played an important role in alleviating the impacts of the COVID-19 pandemic on Saudi Arabia Stock Market.

The Behavior of Stock Prices on Ex-Dividend Day in Korea

  • Park, Cheol;Park, Soo-Cheol
    • The Korean Journal of Financial Management
    • /
    • v.26 no.1
    • /
    • pp.221-263
    • /
    • 2009
  • This paper studies the behaviour of stock prices on the ex-dividend day in the Korean stock market. Since a majority of listed Korean firms are December firms whose fiscal year end in December and whose ex-dividend day falls on the same calendar day in the year, we use stock prices of Non-December firms to estimate the general stock price movements not related to cash dividends. We estimate excess returns on days around the ex-dividend day. Our major findings are (a) there is no tax clientele effect in Korea, (b) the opening price stock prices fell by the amount of the current cash dividend per share until 2001, but it does not fall as much as the current dividend per share since 2001. Furthermore, in contrast to the U.S. and the Japanese findings, (c) stocks earned negative excess returns on the ex-dividend day until 2001, after which all stocks are earning positive excess returns on the ex-dividend day, and (d) the closing stock price on the ex-dividend day that used to be even higher than the cum-dividend price until 2001 is lower than the opening stock price since 2001. The evidence suggests a structural break has happened around the year 2001.

  • PDF

COVID-19 Pandemic and Dependence Structures Among Oil, Islamic and Conventional Stock Markets Indexes

  • ALQARALLEH, Huthaifa;ABUHOMMOUS, Alaa Adden
    • The Journal of Asian Finance, Economics and Business
    • /
    • v.8 no.5
    • /
    • pp.515-521
    • /
    • 2021
  • The popularity of Islamic financial instruments among Muslims is not surprising. The Islamic capital market is where sharia-compliant financial assets are transacted. It works parallel to the conventional market and helps investors find sharia-compliant investment opportunities. At a time of collective confusion when the COVID-19 epidemic is contributing to unprecedented change, this paper is keen to understand how attractive conventional and Islamic stock markets have been to investors recently. Second, this paper takes advantage of the time-scale decomposition property of the wavelet to simultaneously capture risk exposure and distinguish the risks faced by short- and long-term investors. To this end, this research conducted a two-step investigation of the daily closing equity market price indices for three Islamic stock markets and their conventional counterparts. Given that different financial decisions occur with greater or less frequency, the paper examines the connectedness of stock markets operating at heterogeneous rates and identifies the timescales using wavelet-DCC-GARCH analysis to take account of both the time and the frequency domains of stock market connectedness. The paper findings highlight the strong evidence of contagion that can be seen in nearly all conventional stock markets in the COVID-19 pandemic; they reach a high level of dependency in such health crises. Furthermore, Islamic stock markets prove to be a rich ground for global diversification.