Skip to main content

Trading System Mixed-Integer Optimization by PSO

  • Conference paper
  • First Online:
Mathematical and Statistical Methods for Actuarial Sciences and Finance

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 199.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

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)

    Article  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

Check for updates. 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

Publish with us

Policies and ethics