Summary: | Aiming at the portfolio problem of gold and bitcoin with a given linear trading commission, this paper puts forward the stage implementation forecast and optimal portfolio model. In the aspect of data prediction, SMA is used to predict the initial data, LSTM is used to predict the price trend of long-term data, and daily updated real-time price data is predicted. Considering the risk aversion of investors, the heuristic algorithm is used to solve the daily trading strategy of maximizing utility from September 12th, 2016 to September 12th, 2021. The simulation analysis of the sliding window shows that the algorithm can realize reasonable prediction, which verifies the effectiveness of the algorithm.
|