In general, traders test their trading strategies by applying them on the historical market data (backtesting), and then apply to the future trades the strategy that achieved the maximum profit on such past data. In this paper, we propose a new trading strategy, called DNN-forwardtesting, that determines the strategy to apply by testing it on the possible future predicted by a deep neural network that has been designed to perform stock price forecasts and trained with the market historical data. In order to generate such an historical dataset, we first perform an exploratory data analysis on a set of ten securities and, in particular, analize their volatility through a novel k-means-based procedure. Then, we restrict the dataset to a small number of assets with the same volatility coefficient and use such data to train a deep feed-forward neural network that forecasts the prices for the next 30 days of open stocks market. Finally, our trading system calculates the most effective technical indicator by applying it to the DNNs predictions and uses such indicator to guide its trades. The results confirm that neural networks outperform classical statistical techniques when performing such forecasts, and their predictions allow to select a trading strategy that, when applied to the real future, increases Expectancy, Sharpe, Sortino, and Calmar ratios with respect to the strategy selected through traditional backtesting.
翻译:总的来说,贸易商通过在历史市场数据(再测试)中应用它们来测试它们的贸易战略,然后将其应用到未来贸易中,根据这些过去的数据实现最大利润的战略。在本文件中,我们提议了一个新的贸易战略,称为DNN(前期测试),通过测试一个深层神经网络为进行股票价格预测和市场历史数据培训而设计的深层神经网络所预测的可能的未来,决定了应用的战略。为了生成这样一个历史数据集,我们首先对一套10种证券进行探索性数据分析,特别是通过一种新的基于K手段的程序来使其波动性化。然后,我们将数据集限制在少数具有相同波动系数的资产上,并利用这些数据来培训一个深度的进料-向型神经网络,预测未来30天的公开股票市场价格。最后,我们的贸易系统通过将其应用于DNNS预测并使用这种指标来计算出最有效的技术指标。结果证实,在进行这种预测时,神经网络超越了传统的统计技术技术技术,在进行这种预测时,在进行这种预测时,其预测后期的预测能够选择一个真实的汇率,在选择时,在选择后期的汇率时,在选择时,在选择时,即选择一个选择一个新的战略时,在选择,在选择时,在选择时,在选择时,在选择时,在选择时,在选择时,在选择时,在选择时,在选择时,在选择后,在选择一个最平静的战略时,在选择。