IDEAS home Printed from https://ideas.repec.org/p/zbw/iwqwdp/192017.html
   My bibliography  Save this paper

Financial market predictions with Factorization Machines: Trading the opening hour based on overnight social media data

Author

Listed:
  • Stübinger, Johannes
  • Walter, Dominik
  • Knoll, Julian

Abstract

This paper develops a statistical arbitrage strategy based on overnight social media data and applies it to high-frequency data of the S&P 500 constituents from January 2014 to December 2015. The established trading framework predicts future financial markets using Factorization Machines, which represent a state-of-the-art algorithm coping with high-dimensional data in very sparse settings. Essentially, we implement and analyze the effectiveness of support vector machines (SVM), second-order Factorization Machines (SFM), third-order Factorization Machines (TFM), and adaptive-order FactorizationMachines (AFM). In the back-testing study, we prove the efficiency of Factorization Machines in general and show that increasing complexity of Factorization Machines provokes higher profitability - annualized returns after transaction costs vary between 5.96 percent for SVM and 13.52 percent for AFM, compared to 5.63 percent of a naive buy-and-hold strategy of the S&P 500 index. The corresponding Sharpe ratios range between 1.00 for SVM and 2.15 for AFM. Varying profitability during the opening minutes can be explained by the effects of market efficiency and trading turmoils. Additionally, the AFM approach achieves the highest accuracy rate and generates statistically and economically remarkable returns after transaction costs without loading on any systematic risk exposure.

Suggested Citation

  • Stübinger, Johannes & Walter, Dominik & Knoll, Julian, 2017. "Financial market predictions with Factorization Machines: Trading the opening hour based on overnight social media data," FAU Discussion Papers in Economics 19/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
  • Handle: RePEc:zbw:iwqwdp:192017
    as

    Download full text from publisher

    File URL: https://www.econstor.eu/bitstream/10419/171230/1/1002676185.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Jondeau, Eric & Lahaye, Jérôme & Rockinger, Michael, 2015. "Estimating the price impact of trades in a high-frequency microstructure model with jumps," Journal of Banking & Finance, Elsevier, vol. 61(S2), pages 205-224.
    2. Chatrath, Arjun & Miao, Hong & Ramchander, Sanjay & Villupuram, Sriram, 2014. "Currency jumps, cojumps and the role of macro news," Journal of International Money and Finance, Elsevier, vol. 40(C), pages 42-62.
    3. Kim, Sok Tae & Lin, Ji-Chai & Slovin, Myron B., 1997. "Market Structure, Informed Trading, and Analysts' Recommendations," Journal of Financial and Quantitative Analysis, Cambridge University Press, vol. 32(4), pages 507-524, December.
    4. Evan Gatev & William N. Goetzmann & K. Geert Rouwenhorst, 2006. "Pairs Trading: Performance of a Relative-Value Arbitrage Rule," The Review of Financial Studies, Society for Financial Studies, vol. 19(3), pages 797-827.
    5. Busse, Jeffrey A. & Clifton Green, T., 2002. "Market efficiency in real time," Journal of Financial Economics, Elsevier, vol. 65(3), pages 415-437, September.
    6. Bo Liu & Lo-Bin Chang & Hélyette Geman, 2017. "Intraday pairs trading strategies on high frequency data: the case of oil companies," Quantitative Finance, Taylor & Francis Journals, vol. 17(1), pages 87-100, January.
    7. Stübinger, Johannes & Endres, Sylvia, 2017. "Pairs trading with a mean-reverting jump-diffusion model on high-frequency data," FAU Discussion Papers in Economics 10/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    8. Christopher Krauss & Klaus Herrmann, 2017. "On the Power and Size Properties of Cointegration Tests in the Light of High-Frequency Stylized Facts," JRFM, MDPI, vol. 10(1), pages 1-24, February.
    9. Christopher Krauss & Johannes Stübinger, 2017. "Non-linear dependence modelling with bivariate copulas: statistical arbitrage pairs trading on the S&P 100," Applied Economics, Taylor & Francis Journals, vol. 49(52), pages 5352-5369, November.
    10. Abadir, Karim M. & Rockinger, Michael, 2003. "Density Functionals, With An Option-Pricing Application," Econometric Theory, Cambridge University Press, vol. 19(5), pages 778-811, October.
    11. Johannes St binger & Jens Bredthauer, 2017. "Statistical Arbitrage Pairs Trading with High-frequency Data," International Journal of Economics and Financial Issues, Econjournals, vol. 7(4), pages 650-662.
    12. Fama, Eugene F. & French, Kenneth R., 2015. "A five-factor asset pricing model," Journal of Financial Economics, Elsevier, vol. 116(1), pages 1-22.
    13. David A. Bowen & Mark C. Hutchinson, 2016. "Pairs trading in the UK equity market: risk and return," The European Journal of Finance, Taylor & Francis Journals, vol. 22(14), pages 1363-1387, November.
    14. R. Cont, 2001. "Empirical properties of asset returns: stylized facts and statistical issues," Quantitative Finance, Taylor & Francis Journals, vol. 1(2), pages 223-236.
    15. Paul C. Tetlock, 2007. "Giving Content to Investor Sentiment: The Role of Media in the Stock Market," Journal of Finance, American Finance Association, vol. 62(3), pages 1139-1168, June.
    16. Visaltanachoti, Nuttawat & Yang, Ting, 2010. "Speed of convergence to market efficiency for NYSE-listed foreign stocks," Journal of Banking & Finance, Elsevier, vol. 34(3), pages 594-605, March.
    17. Marco Avellaneda & Jeong-Hyun Lee, 2010. "Statistical arbitrage in the US equities market," Quantitative Finance, Taylor & Francis Journals, vol. 10(7), pages 761-782.
    18. Fama, Eugene F & French, Kenneth R, 1996. "Multifactor Explanations of Asset Pricing Anomalies," Journal of Finance, American Finance Association, vol. 51(1), pages 55-84, March.
    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. Aida Hazlin Ismail & Natasha binti Muhammad Merejok & Muhamad Ridhuan Mat Dangi & Shukriah Saad, 2019. "Does Audit Quality Matters in Malaysian Public Sector Auditing?," International Journal of Financial Research, International Journal of Financial Research, Sciedu Press, vol. 10(3), pages 203-215, May.
    2. Zalina Zainudin & Mohd Faiq Bin Abdul Fattah & Sheikh Muhamad Hizam Sheikh Khairudin, 2019. "Does Marketing Success Factors Influence Private College Admission? Evidence From Malaysia," International Journal of Financial Research, International Journal of Financial Research, Sciedu Press, vol. 11(5), pages 440-449, August.
    3. Mohd Rushdan Yasoa & Mohd Safwan Ghazali & Mohd Afifie Mohd Alwi & Azira Hanani Ab Rahman & Siti Salwani Abdullah & Ahmad Ridhuan Abdullah & Mohammad Ismail & Mohd Rafi Yaacob, 2019. "Fund Management ¨C An Exploratory Case Study of Several Mosques in Kelantan," Research in World Economy, Research in World Economy, Sciedu Press, vol. 10(2), pages 53-57, July.

    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. Endres, Sylvia & Stübinger, Johannes, 2017. "Optimal trading strategies for Lévy-driven Ornstein-Uhlenbeck processes," FAU Discussion Papers in Economics 17/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    2. Endres, Sylvia & Stübinger, Johannes, 2018. "A flexible regime switching model with pairs trading application to the S&P 500 high-frequency stock returns," FAU Discussion Papers in Economics 07/2018, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    3. Johannes Stübinger & Sylvia Endres, 2018. "Pairs trading with a mean-reverting jump–diffusion model on high-frequency data," Quantitative Finance, Taylor & Francis Journals, vol. 18(10), pages 1735-1751, October.
    4. Johannes St binger & Jens Bredthauer, 2017. "Statistical Arbitrage Pairs Trading with High-frequency Data," International Journal of Economics and Financial Issues, Econjournals, vol. 7(4), pages 650-662.
    5. Stübinger, Johannes & Endres, Sylvia, 2017. "Pairs trading with a mean-reverting jump-diffusion model on high-frequency data," FAU Discussion Papers in Economics 10/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    6. Matthew Clegg & Christopher Krauss, 2018. "Pairs trading with partial cointegration," Quantitative Finance, Taylor & Francis Journals, vol. 18(1), pages 121-138, January.
    7. Stübinger, Johannes, 2018. "Statistical arbitrage with optimal causal paths on high-frequencydata of the S&P 500," FAU Discussion Papers in Economics 01/2018, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    8. Knoll, Julian & Stübinger, Johannes & Grottke, Michael, 2017. "Exploiting social media with higher-order Factorization Machines: Statistical arbitrage on high-frequency data of the S&P 500," FAU Discussion Papers in Economics 13/2017, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    9. Clegg, Matthew & Krauss, Christopher, 2016. "Pairs trading with partial cointegration," FAU Discussion Papers in Economics 05/2016, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    10. Flori, Andrea & Regoli, Daniele, 2021. "Revealing Pairs-trading opportunities with long short-term memory networks," European Journal of Operational Research, Elsevier, vol. 295(2), pages 772-791.
    11. Johannes Stübinger & Lucas Schneider, 2019. "Statistical Arbitrage with Mean-Reverting Overnight Price Gaps on High-Frequency Data of the S&P 500," JRFM, MDPI, vol. 12(2), pages 1-19, April.
    12. Sabino da Silva, Fernando A.B. & Ziegelmann, Flavio A. & Caldeira, João F., 2023. "A pairs trading strategy based on mixed copulas," The Quarterly Review of Economics and Finance, Elsevier, vol. 87(C), pages 16-34.
    13. Lucas Schneider & Johannes Stübinger, 2020. "Dispersion Trading Based on the Explanatory Power of S&P 500 Stock Returns," Mathematics, MDPI, vol. 8(9), pages 1-22, September.
    14. Isabel Figuerola‐Ferretti & Ioannis Paraskevopoulos & Tao Tang, 2018. "Pairs‐trading and spread persistence in the European stock market," Journal of Futures Markets, John Wiley & Sons, Ltd., vol. 38(9), pages 998-1023, September.
    15. Krauss, Christopher & Do, Xuan Anh & Huck, Nicolas, 2017. "Deep neural networks, gradient-boosted trees, random forests: Statistical arbitrage on the S&P 500," European Journal of Operational Research, Elsevier, vol. 259(2), pages 689-702.
    16. Krauss, Christopher & Stübinger, Johannes, 2015. "Nonlinear dependence modeling with bivariate copulas: Statistical arbitrage pairs trading on the S&P 100," FAU Discussion Papers in Economics 15/2015, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    17. Han, Chulwoo & He, Zhaodong & Toh, Alenson Jun Wei, 2023. "Pairs trading via unsupervised learning," European Journal of Operational Research, Elsevier, vol. 307(2), pages 929-947.
    18. Bo Liu & Lo-Bin Chang & Hélyette Geman, 2017. "Intraday pairs trading strategies on high frequency data: the case of oil companies," Quantitative Finance, Taylor & Francis Journals, vol. 17(1), pages 87-100, January.
    19. Chen, Zilin & Guo, Li & Tu, Jun, 2021. "Media connection and return comovement," Journal of Economic Dynamics and Control, Elsevier, vol. 130(C).
    20. Kasper Johansson & Thomas Schmelzer & Stephen Boyd, 2024. "Finding Moving-Band Statistical Arbitrages via Convex-Concave Optimization," Papers 2402.08108, arXiv.org.

    More about this item

    Keywords

    finance; social media data; Factorization Machine; overnight information; statistical arbitrage; high-frequency trading;
    All these keywords.

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    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:zbw:iwqwdp:192017. 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: ZBW - Leibniz Information Centre for Economics (email available below). General contact details of provider: https://edirc.repec.org/data/vierlde.html .

    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.