• Title/Summary/Keyword: Closing Stock Price

Search Result 33, Processing Time 0.024 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.

The Effects of the Price Difference Ratios between Preferred and Common Stocks on Preferred Stocks: Evidence from Dynamic Panel Models (우선주-보통주 괴리율이 우선주 수익률 및 종가에 미치는 영향: 동태적 패널 분석)

  • Sujung Choi
    • Asia-Pacific Journal of Business
    • /
    • v.15 no.2
    • /
    • pp.207-222
    • /
    • 2024
  • Purpose - This study investigates whether the lagged price difference ratio between preferred and common stocks is related to the return and closing price of the preferred stock using three panel models. Design/methodology/approach - As a first step, we use a two-way fixed effect panel model with stationary preferred stock returns as a dependent variable. For robustness, we then apply the autoregressive distributed lag model (ARDL) and error correction model (ECM) with nonstationary closing prices of the preferred stocks as a dependent variable and compare the results of each model. The ARDL and ECM models provide an advantage of estimating a long-run equilibrium equation together if a long-run relationship exists between the two time-series variables compared to the fixed effect model. Findings - Our sample consists of 107 preferred stocks with at least four years of daily observations as of the end of December 2023. The coefficients of the error correction terms in the ARDL and ECM models are highly statistically significant, approximately -0.08. This indicates that the disequilibrium between the closing prices of common and preferred stocks adjusts by about 8% per day toward equilibrium. In all three models, the price difference ratio on day t-1 was statistically significant in explaining the preferred stock returns or closing prices on day t, implying that trading based on the previous day's price difference ratio is effective for one day. Research implications or Originality - Furthermore, the returns on preferred stocks are higher for firms with a lower proportion of foreign investors or a lower foreign market capitalization of preferred stocks. This suggests that foreign investors with informational advantages do not actively engage in profit-taking by trading preferred stocks, thus not narrowing the price difference. In summary, the recent surge in preferred stock prices is likely driven mainly by the irrational behavior of retail investors.

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

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.

An Accurate Stock Price Forecasting with Ensemble Learning Based on Sentiment of News (뉴스 감성 앙상블 학습을 통한 주가 예측기의 성능 향상)

  • Kim, Ha-Eun;Park, Young-Wook;Yoo, Si-eun;Jeong, Seong-Woo;Yoo, Joonhyuk
    • IEMEK Journal of Embedded Systems and Applications
    • /
    • v.17 no.1
    • /
    • pp.51-58
    • /
    • 2022
  • Various studies have been conducted from the past to the present because stock price forecasts provide stability in the national economy and huge profits to investors. Recently, there have been many studies that suggest stock price prediction models using various input data such as macroeconomic indicators and emotional analysis. However, since each study was conducted individually, it is difficult to objectively compare each method, and studies on their impact on stock price prediction are still insufficient. In this paper, the effect of input data currently mainly used on the stock price is evaluated through the predicted value of the deep learning model and the error rate of the actual stock price. In addition, unlike most papers in emotional analysis, emotional analysis using the news body was conducted, and a method of supplementing the results of each emotional analysis is proposed through three emotional analysis models. Through experiments predicting Microsoft's revised closing price, the results of emotional analysis were found to be the most important factor in stock price prediction. Especially, when all of input data is used, error rate of ensembled sentiment analysis model is reduced by 58% compared to the baseline.

The Impact of Investor Sentiment on Energy and Stock Markets-Evidence : China and Hong Kong

  • Ho, Liang-Chun
    • Journal of Distribution Science
    • /
    • v.12 no.3
    • /
    • pp.75-83
    • /
    • 2014
  • Purpose - The oil price affects company value, which is the present value of the expected cash flow, by affecting the discount rate and cash flow. This study examines the nonlinear relationships between oil price and stock price using the AlphaShares Chinese Volatility Index as the threshold. Research design, data, and methodology - Data comprise daily closing values of the Shanghai Stock Exchange Composite Index, Shenzhen Stock Exchange Composite Index, and Hang Seng Index of ChinaWest Texas Intermediate crude oil spot price and AlphaShares Chinese Volatility Index from May 25, 2007 to May 24, 2012. The Threshold Error Correction Model is used. Results - The results demonstrate different relationships between the stock price index and oil price under different investor sentiments; however, the stock price index and oil price could adjust to a long-term equilibrium the long-term causality tests between them were all significant. Conclusions - The relationship between the WTI and HANG SENG Index is more significant than the Shanghai Composites Index and Shenzhen Composite Index, when using the AlphaShares Chinese Volatility Index (ASC-VIX) as the investor sentiment variable and threshold.

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 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

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