Research on price forecasting and trading strategy based on data insight

Authors

  • Kongrui Hong
  • Xiaoqi Wang
  • Liming Xu

DOI:

https://doi.org/10.54691/bcpbm.v22i.1234

Keywords:

ARIMA; Quantitative Trading Strategy; Dynamic Programming; Particle Swarm Algorithm.

Abstract

The goal of establishing the model in this paper is to find the historical price patterns of gold and bitcoin according to the data provided. The purpose is to maximize returns under various market constraints and avoid loss risk as much as possible. Traders provide the best trading strategy. In this paper, two models are established: model 1: price prediction model based on ARIMA; Model 2: quantitative trading strategy model based on dynamic programming. For Model 1, a classical time series modeling approach based on stock forecasting was used: the ARIMA price forecasting model. The model's validity was demonstrated by analyzing the intrinsic trend of the data movements and verifying the smoothness. Next, historical data were used to fit the parameters of ARIMA, and the forecasting model was determined to be ARIMA (0, 1, 0) by the exhaustive method. Finally, the ARIMA predicts the up and down trends of gold as well as bitcoin, which provides the basis for the trading decision. For Model 2, to better quantify the relationship between investment risk and investment return, the Sharpe ratio is introduced, the Sharpe ratio's value is used as the main parameter of the trading strategy, and the corresponding planning equation is established. Then, based on the up and downtrend of the data predicted by the ARIMA model, the assets are allocated for investment. The model is optimized by a particle swarm algorithm, which accelerates the convergence of the model. Finally, this paper tests the model's accuracy to verify the correctness of the model. By adjusting the commission rate, it is found that the commission rate is negatively correlated with the number of large transactions of gold and bitcoin.

Downloads

Download data is not yet available.

References

Wijesinghe, G. W. R. I., & Rathnayaka, R. M. K. T. (2020, December). Stock Market Price Forecasting using ARIMA vs ANN; A Case study from CSE. In 2020 2nd International Conference on Advancements in Computing (ICAC) (Vol. 1, pp. 269-274). IEEE.

Worasucheep, C., Nuannimnoi, S., Khamvichit, R., & Attagonwantana, P. (2017, June). An automatic stock trading system using particle swarm optimization. In 2017 14th interna- tional conference on electrical engineering/electronics, computer, telecommunications and information technology (ECTI-CON) (pp. 497-500). IEEE.

Crone, N., Brophy, E., & Ward, T. (2021). Exploration of Algorithmic Trading Strategies for the Bitcoin Market. arXiv preprint arXiv:2110.14936.

Ye, A., Chinthalapati, V. R., Serguieva, A., & Tsang, E. (2017, December). Developing sustainable trading strategies using directional changes with high frequency data. In 2017 IEEE International Conference on Big Data (Big Data) (pp. 4265-4271). IEEE.

Nenortaite, J., & Simutis, R. (2004, June). Stocks’ trading system based on the particle swarm optimization algorithm. In International Conference on Computational Science (pp. 843-850). Springer, Berlin, Heidelberg.

Liu, M., Liu, X., Jia, W., & Du, Y. (2020, July). The trading strategy of inflection point futures analysis based on AFS theory. In 2020 39th Chinese Control Conference (CCC) (pp. 2170-2175). IEEE.

Bali, T. G., & Peng, L. (2006). Is there a risk–return trade-off? Evidence from high-frequency data. Journal of Applied Econometrics, 21(8), 1169-1198

Downloads

Published

2022-07-15

How to Cite

Hong, K. ., Wang, X. ., & Xu, L. . (2022). Research on price forecasting and trading strategy based on data insight. BCP Business & Management, 22, 232-238. https://doi.org/10.54691/bcpbm.v22i.1234