With the increasing enrichment and development of the financial derivatives market, the frequency of transactions is also faster and faster. Due to human limitations, algorithms and automatic trading have recently become the focus of discussion. In this paper, we propose a bidirectional LSTM neural network based on an attention mechanism, which is based on two popular assets, gold and bitcoin. In terms of Feature Engineering, on the one hand, we add traditional technical factors, and at the same time, we combine time series models to develop factors. In the selection of model parameters, we finally chose a two-layer deep learning network. According to AUC measurement, the accuracy of bitcoin and gold is 71.94% and 73.03% respectively. Using the forecast results, we achieved a return of 1089.34% in two years. At the same time, we also compare the attention Bi-LSTM model proposed in this paper with the traditional model, and the results show that our model has the best performance in this data set. Finally, we discuss the significance of the model and the experimental results, as well as the possible improvement direction in the future.
翻译:随着金融衍生物市场的日益丰富和发展,交易的频率也更快和更快。由于人的局限性、算法和自动交易最近成为讨论的焦点。在本文件中,我们提议基于关注机制的双向LSTM神经网络,其基础是两种受欢迎的资产,即黄金和比特币。一方面,在特征工程方面,我们增加传统技术因素,同时,我们结合时间序列模型来开发各种因素。在选择模型参数时,我们最终选择了两层深层次的深层次学习网络。根据奥地利联合企业的测量,比特币和黄金的准确性分别为71.94%和73.03%。我们利用预测结果,在两年内实现了1089.34 %的回报率。与此同时,我们还将本文中提议的BI-LSTM模型与传统模型进行比较,结果显示我们的模型在这一数据集中表现最佳。最后,我们讨论了模型的意义和实验结果,以及未来可能的改进方向。