Optimal Trading Strategy Based on BP Neural Network and Dynamic Programming Model
DOI:
https://doi.org/10.54691/bcpbm.v22i.1241Keywords:
Quantitative trading, Price projection, BP neural network, Dynamic programming mode.Abstract
In order to avoid the risks brought by blind investment, it is necessary to forecast the trading price of gold and bitcoin on that trading day before investment. To aim at this prediction problem, this paper puts forward the price prediction model of the BP neural network. The experimental results show that the model can reasonably predict the trading price of gold and bitcoin on the next trading day, and the relative error between them is less than 10%.However, predicting the trading price of gold and bitcoin can roughly determine the future direction, and it cannot provide scientific and reasonable trading strategies for traders, so it is necessary to design a trading strategy planning model. Considering that every trading activity except holding financial products will charge additional trade costs, the trade costs of gold and bitcoin are 1% and 2% of the trade amount, respectively. By comparing various classic trading models, we propose to use a dynamic programming model to provide traders with effective trading strategies, which takes the trading changes of gold and bitcoin in the next three trading days as decision variables. Meanwhile, it takes the highest value of the Sharp ratio in the next trading day as the objective function. It takes the proportion of each part as equal to or greater than 0 as the constraint condition to establish a trading strategy planning model to obtain the maximum profit.
Downloads
References
Takahiro Hattori and Ryo Ishida. The relationship between arbitrage in futures and spot markets and Bitcoin price movements: Evidence from the Bitcoin markets, volume 58, issue 4.
Saketh Aleti and Bruce Mizrach. Bitcoin spot and futures market microstructure, 2017, vol. 4, no. 4, pp. 41–47.
Xiafei Li, Dongxin Li, Xuhui Zhang, Guiwu Wei, Lan Bai, and Yu Wei. Forecasting regular and extreme gold price volatility: The roles of asymmetry, extreme event, and jump, 2021, pp. 126–130.
Manh Cuong Pham, Huu Nhan Duong, and Paul Lajbcygier. A Comparison of the Forecasting Ability of Immediate Price Impact Models, 2016, pp. 31–34.
Angela J. Black, Olga Klinkowska, David G. McMillan, and Fiona J. McMillan. Forecasting Stock Returns: Do Commodity Prices Help?. 2014, vol. 33, no. 8, pp. 9-13






