Skip to main content

Trading System Mixed-Integer Optimization by PSO

  • 358 Accesses

Abstract

This work concerns the optimization of a Trading Systems (TS) based on a small set of Technical Analysis (TA) indicators. Usually, in TA the values of the parameters (window lengths and thresholds) of these indicators are fixed by professional experience. Here, we propose to design the parametric configuration according to historical data, optimizing some performance measures subjected to proper constraints using a Particle Swarm Optimization-based metaheuristic. In particular, such an optimization procedure is applied to obtain both the optimal parameter values and the optimal weighting of the trading signals from the considered TA indicators, in order to provide an optimal trading decision. The use of a metaheuristic is necessary since the involved optimization problem is strongly nonlinear, nondifferentiable and mixed-integer. The proposed TS is optimized using the daily adjusted closing returns of seven Italian stocks coming from different industries and of two stock market indices.

Keywords

  • Trading Systems
  • Technical Analysis
  • Mixed-Integer Optimization
  • Particle Swarm Optimization

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-030-78965-7_24
  • Chapter length: 7 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   99.00
Price excludes VAT (USA)
  • ISBN: 978-3-030-78965-7
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   129.99
Price excludes VAT (USA)
Hardcover Book
USD   199.99
Price excludes VAT (USA)
Fig. 1

Notes

  1. 1.

    Notice that \(e(\cdot )\) is a function of \(S(\cdot )\), that \(S(\cdot )\) is a function of \(signal_i(\cdot )\), and that \(signal_i(\cdot )\) is a function of the i-th indicator.

  2. 2.

    Notice that we performed our procedure 100 times, so we could apply the central limit theorem according to which the sample mean is asymptotically normally distributed.

References

  1. Corazza, M., Fasano, G., Gusso, R.: Particle swarm optimization with no-smooth penalty reformulation, for a complex portfolio selection problem. Appl. Math. Comput. 224, 611–624 (2013)

    Google Scholar 

  2. Corazza, M., Parpinel, F., Pizzi C.: An evolutionary approach to improve a simple trading system. In: Mathematical and Statistical Methods for Actuarial Sciences and Finance. MAF 2016, pp. 83–95. Springer (2017)

    Google Scholar 

  3. Murphy, J.J.: Technical analysis of the financial markets. A comprehensive guide to trading methods and applications, New York Institute of Finance (1999)

    Google Scholar 

  4. Pring, M.J.: Technical Analysis Explained, 3rd edn. McGraw-Hill (1991)

    Google Scholar 

  5. Ratnaweera, A., Halgamuge, S.K.: Self-organizing hierarchical particle swarm optimizer with time-varying acceleration coefficients. IEEE Trans. Evol. Comput. 8, 240–255 (2004)

    CrossRef  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Francesca Parpinel .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Verify currency and authenticity via CrossMark

Cite this paper

Corazza, M., Parpinel, F., Pizzi, C. (2021). Trading System Mixed-Integer Optimization by PSO. In: Corazza, M., Gilli, M., Perna, C., Pizzi, C., Sibillo, M. (eds) Mathematical and Statistical Methods for Actuarial Sciences and Finance. Springer, Cham. https://doi.org/10.1007/978-3-030-78965-7_24

Download citation