In this paper, we preprocessed the data for outliers and added the prices of gold and bitcoin to the training. At the same time, based on the price of the day, we also established a strategy model based on the Sharpe ratio and particle swarm algorithm. We established a comprehensive planning model for cash, gold, and Bitcoin through the planning process. A particle swarm algorithm simulated the optimization process, and the optimal solution was found. Finally, through the sensitivity analysis, we found that as the transaction fee increases, the number of transactions of gold and Bitcoin decreases significantly, and the value decreases.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.