A derivative-free optimization approach for the autotuning of a Forex trading strategy

A trading strategy simply consists in a procedure which defines conditions for buying or selling a security on a financial market. These decisions rely on the values of some indicators that, in turn, affect the tuning of the strategy parameters. The choice of these parameters significantly affects the performance of the trading strategy. In this work, an optimization procedure is proposed to find the best parameter values of a chosen trading strategy by using the security price values over a given time period; these parameter values are then applied to trade on the next incoming security price sequence. The idea is that the market is sufficiently stable so that a trading strategy that is optimally tuned in a given period still performs well in the successive period. The proposed optimization approach tries to determine the parameter values which maximize the profit in a trading session, therefore the objective function is not defined in closed form but through a procedure that computes the profit obtained in a sequence of transactions. For this reason the proposed optimization procedures are based on a black-box optimization approach. Namely they do not require the assumption that the objective function is continuously differentiable and do not use any first order information. Numerical results obtained in a real case seem to be encouraging.

[1]  Roger J.-B. Wets,et al.  Minimization by Random Search Techniques , 1981, Math. Oper. Res..

[2]  C. D. Gelatt,et al.  Optimization by Simulated Annealing , 1983, Science.

[3]  M. Piccioni,et al.  Random tunneling by means of acceptance-rejection sampling for global optimization , 1989 .

[4]  C. D. Perttunen,et al.  Lipschitzian optimization without the Lipschitz constant , 1993 .

[5]  J. Jahn Introduction to the Theory of Nonlinear Optimization , 1994 .

[6]  Charles Audet,et al.  Pattern Search Algorithms for Mixed Variable Programming , 2000, SIAM J. Optim..

[7]  Ping-Feng Pai,et al.  A hybrid ARIMA and support vector machines model in stock price forecasting , 2005 .

[8]  Kuriakose Athappilly,et al.  A comparative predictive analysis of neural networks (NNs), nonlinear regression and classification and regression tree (CART) models , 2005, Expert Syst. Appl..

[9]  Valeriy V. Gavrishchaka,et al.  Support Vector Machine as an Efficient Framework for Stock Market Volatility Forecasting , 2006, Comput. Manag. Sci..

[10]  CHARLES AUDET,et al.  Finding Optimal Algorithmic Parameters Using Derivative-Free Optimization , 2006, SIAM J. Optim..

[11]  Y. Yurova,et al.  Comparative Performance of ARIMA and ARCH/GARCH Models on Time Series of Daily Equity Prices for Large Companies , 2006 .

[12]  Charles Audet,et al.  Mesh adaptive direct search algorithms for mixed variable optimization , 2007, Optim. Lett..

[13]  Kimon P. Valavanis,et al.  Surveying stock market forecasting techniques - Part II: Soft computing methods , 2009, Expert Syst. Appl..

[14]  Pawel B. Myszkowski,et al.  Evolutionary algorithm in Forex trade strategy generation , 2010, Proceedings of the International Multiconference on Computer Science and Information Technology.

[15]  R. Dase,et al.  Application of Artificial Neural Network for stock market predictions: A review of literature , 2010 .

[16]  Orizon Pereira Ferreira,et al.  Local convergence analysis of inexact Newton-like methods under majorant condition , 2008, Comput. Optim. Appl..

[17]  R. Dase,et al.  Methodologies for Prediction of Stock Market: An Artificial Neural Network , 2011 .

[18]  Stefano Lucidi,et al.  Derivative-free methods for bound constrained mixed-integer optimization , 2011, Computational Optimization and Applications.

[19]  S. Mitra Is Hurst Exponent Value Useful in Forecasting Financial Time Series , 2012 .

[20]  Chih-Feng Liu,et al.  Application of type-2 neuro-fuzzy modeling in stock price prediction , 2012, Appl. Soft Comput..

[21]  S. Chand,et al.  Modeling and Volatility Analysis of Share Prices Using ARCH and GARCH Models , 2012 .

[22]  S. Lucidi,et al.  Optimal Step-wise Parameter Optimization of a FOREX Trading Strategy , 2014 .

[23]  Stefano Lucidi,et al.  A Linesearch-Based Derivative-Free Approach for Nonsmooth Constrained Optimization , 2014, SIAM J. Optim..

[24]  Julius Zilinskas,et al.  Globally-biased Disimpl algorithm for expensive global optimization , 2014, Journal of Global Optimization.

[25]  Charles Audet,et al.  Optimization of algorithms with OPAL , 2012, Math. Program. Comput..

[26]  Gianni Di Pillo,et al.  A Derivative-Free Algorithm for Constrained Global Optimization Based on Exact Penalty Functions , 2013, Journal of Optimization Theory and Applications.

[27]  Juliane Müller MISO: mixed-integer surrogate optimization framework , 2016 .

[28]  Stefano Lucidi,et al.  Exploiting derivative-free local searches in DIRECT-type algorithms for global optimization , 2016, Comput. Optim. Appl..

[29]  Philippe L. Toint,et al.  BFO, A Trainable Derivative-free Brute Force Optimizer for Nonlinear Bound-constrained Optimization and Equilibrium Computations with Continuous and Discrete Variables , 2017, ACM Trans. Math. Softw..

[30]  Jean-Michel Muller,et al.  Tight and Rigorous Error Bounds for Basic Building Blocks of Double-Word Arithmetic , 2017, ACM Trans. Math. Softw..

[31]  Stefan M. Wild,et al.  Derivative-free optimization methods , 2019, Acta Numerica.

[32]  Charles Audet,et al.  The Mesh Adaptive Direct Search Algorithm for Granular and Discrete Variables , 2018, SIAM J. Optim..