IDEAS home Printed from https://ideas.repec.org/a/gam/jrisks/v10y2022i12p225-d983774.html
   My bibliography  Save this article

Financial Technical Indicator and Algorithmic Trading Strategy Based on Machine Learning and Alternative Data

Author

Listed:
  • Andrea Frattini

    (Finscience, 20121 Milan, Italy)

  • Ilaria Bianchini

    (Finscience, 20121 Milan, Italy)

  • Alessio Garzonio

    (Finscience, 20121 Milan, Italy)

  • Lorenzo Mercuri

    (Department of Economics, Management and Quantitative Methods, University of Milan, 20122 Milan, Italy)

Abstract

The aim of this paper is to introduce a two-step trading algorithm, named TI-SiSS . In the first step, using some technical analysis indicators and the two NLP-based metrics (namely Sentiment and Popularity ) provided by FinScience and based on relevant news spread on social media, we construct a new index, named Trend Indicator . We exploit two well-known supervised machine learning methods for the newly introduced index: Extreme Gradient Boosting and Light Gradient Boosting Machine . The Trend Indicator , computed for each stock in our dataset, is able to distinguish three trend directions (upward/neutral/downward). Combining the Trend Indicator with other technical analysis indexes, we determine automated rules for buy/sell signals. We test our procedure on a dataset composed of 527 stocks belonging to American and European markets adequately discussed in the news.

Suggested Citation

  • Andrea Frattini & Ilaria Bianchini & Alessio Garzonio & Lorenzo Mercuri, 2022. "Financial Technical Indicator and Algorithmic Trading Strategy Based on Machine Learning and Alternative Data," Risks, MDPI, vol. 10(12), pages 1-24, November.
  • Handle: RePEc:gam:jrisks:v:10:y:2022:i:12:p:225-:d:983774
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-9091/10/12/225/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-9091/10/12/225/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    2. Allen, Franklin & Karjalainen, Risto, 1999. "Using genetic algorithms to find technical trading rules," Journal of Financial Economics, Elsevier, vol. 51(2), pages 245-271, February.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Karol Chojnacki & Robert Ślepaczuk, 2023. "This study compares well-known tools of technical analysis (Moving Average Crossover MAC) with Machine Learning based strategies (LSTM and XGBoost) and Ensembled Machine Learning Strategies (LSTM ense," Working Papers 2023-15, Faculty of Economic Sciences, University of Warsaw.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Meredith Beechey & David Gruen & James Vickery, 2000. "The Efficient Market Hypothesis: A Survey," RBA Research Discussion Papers rdp2000-01, Reserve Bank of Australia.
    2. Ioana-Andreea Boboc & Mihai-Cristian Dinică, 2013. "An Algorithm for Testing the Efficient Market Hypothesis," PLOS ONE, Public Library of Science, vol. 8(10), pages 1-11, October.
    3. Pernagallo, Giuseppe & Torrisi, Benedetto, 2020. "Blindfolded monkeys or financial analysts: Who is worth your money? New evidence on informational inefficiencies in the U.S. stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 539(C).
    4. Manuel Ammann & Christian Zenkner, 2003. "Tactical Asset Allocation mit Genetischen Algorithmen," Swiss Journal of Economics and Statistics (SJES), Swiss Society of Economics and Statistics (SSES), vol. 139(I), pages 1-40, March.
    5. Hakan Er & Adnan Hushmat, 2017. "The application of technical trading rules developed from spot market prices on futures market prices using CAPM," Eurasian Business Review, Springer;Eurasia Business and Economics Society, vol. 7(3), pages 313-353, December.
    6. He, Xue-Zhong & Li, Kai, 2015. "Profitability of time series momentum," Journal of Banking & Finance, Elsevier, vol. 53(C), pages 140-157.
    7. Lukas Menkhoff & Mark P. Taylor, 2007. "The Obstinate Passion of Foreign Exchange Professionals: Technical Analysis," Journal of Economic Literature, American Economic Association, vol. 45(4), pages 936-972, December.
    8. Terence Tai-Leung Chong & Wing-Kam Ng & Venus Khim-Sen Liew, 2014. "Revisiting the Performance of MACD and RSI Oscillators," JRFM, MDPI, vol. 7(1), pages 1-12, February.
    9. Jin Zhang & Dietmar Maringer, 2016. "Using a Genetic Algorithm to Improve Recurrent Reinforcement Learning for Equity Trading," Computational Economics, Springer;Society for Computational Economics, vol. 47(4), pages 551-567, April.
    10. Cyril Schoreels & Jonathan M. Garibaldi, 2006. "Comparative study of central decision makers versus groups of evolved agents trading in equity markets," Computing in Economics and Finance 2006 410, Society for Computational Economics.
    11. Zhu, Yingzi & Zhou, Guofu, 2009. "Technical analysis: An asset allocation perspective on the use of moving averages," Journal of Financial Economics, Elsevier, vol. 92(3), pages 519-544, June.
    12. Lee, Chun I & Gleason, Kimberly C. & Mathur, Ike, 2001. "Trading rule profits in Latin American currency spot rates," International Review of Financial Analysis, Elsevier, vol. 10(2), pages 135-156.
    13. M. A. H. Dempster & C. M. Jones, 2002. "Can channel pattern trading be profitably automated?," The European Journal of Finance, Taylor & Francis Journals, vol. 8(3), pages 275-301.
    14. Yochanan Shachmurove & Uri BenZion & Paul Klein & Joseph Yagil, 2001. "A Moving Average Comparison of the Tel-Aviv 25 and S&P 500 Stock Indices," Penn CARESS Working Papers 4731f3394c43bebf4d3191c81, Penn Economics Department.
    15. Giovanni Ferri & Doris Neuberger, 2014. "The Banking Regulatory Bubble and How to Get out of It," Rivista di Politica Economica, SIPI Spa, issue 2, pages 39-69, April-Jun.
    16. Rafał Dreżewski & Grzegorz Dziuban & Karol Pająk, 2018. "The Bio-Inspired Optimization of Trading Strategies and Its Impact on the Efficient Market Hypothesis and Sustainable Development Strategies," Sustainability, MDPI, vol. 10(5), pages 1-45, May.
    17. Ledenyov, Dimitri O. & Ledenyov, Viktor O., 2015. "Wave function method to forecast foreign currencies exchange rates at ultra high frequency electronic trading in foreign currencies exchange markets," MPRA Paper 67470, University Library of Munich, Germany.
    18. Julián Andrada-Félix & Fernando Fernández-Rodríguez, 2008. "Improving moving average trading rules with boosting and statistical learning methods," Journal of Forecasting, John Wiley & Sons, Ltd., vol. 27(5), pages 433-449.
    19. Andrei Shynkevich, 2021. "Impact of bitcoin futures on the informational efficiency of bitcoin spot market," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 41(1), pages 115-134, January.
    20. Xue-Zhong He & Kai Li, 2014. "Time Series Momentum and Market Stability," Research Paper Series 341, Quantitative Finance Research Centre, University of Technology, Sydney.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jrisks:v:10:y:2022:i:12:p:225-:d:983774. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.