IDEAS home Printed from https://ideas.repec.org/a/gam/jjrfmx/v17y2024i11p501-d1516347.html
   My bibliography  Save this article

Algorithm-Based Low-Frequency Trading Using a Stochastic Oscillator, Williams%R, and Trading Volume for the S&P 500

Author

Listed:
  • ChanKyu Paik

    (Seoul Business School, aSSIST University, Seoul 03767, Republic of Korea)

  • Jinhee Choi

    (Seoul Business School, aSSIST University, Seoul 03767, Republic of Korea)

  • Ivan Ureta Vaquero

    (Department of Business Economics, Health, and Social Care, The University of Applied Sciences and Arts of Southern Switzerland, 6928 Manno, Switzerland)

Abstract

Recent research in algorithmic trading has primarily focused on ultra-high-frequency strategies and index estimation. In response to the need for a low-frequency, real-world trading model, we developed an enhanced algorithm that builds on existing models with high hit ratios and low maximum drawdowns. We utilized established price indicators, including the stochastic oscillator and Williams %R, while introducing a volume factor to improve the model’s robustness and performance. The refined algorithm achieved superior returns while maintaining its high hit ratio and low maximum drawdown. Specifically, we leveraged 2X and 3X signals, incorporating volume data, the 52-week average, standard deviation, and other variables. The dataset comprised SPY ETF price and volume data spanning from 2010 to 2023, over 13 years. Our enhanced algorithmic model outperformed both the benchmark and previous iterations, achieving a hit rate of over 90%, a maximum drawdown of less than 1%, an average of 1.5 trades per year, a total return of 519.3%, and an annualized return (AnnR) of 15.1%. This analysis demonstrates that the model’s simplicity, ease of use, and interpretability provide valuable tools for investors, although it is important to note that past performance does not guarantee future returns.

Suggested Citation

  • ChanKyu Paik & Jinhee Choi & Ivan Ureta Vaquero, 2024. "Algorithm-Based Low-Frequency Trading Using a Stochastic Oscillator, Williams%R, and Trading Volume for the S&P 500," JRFM, MDPI, vol. 17(11), pages 1-20, November.
  • Handle: RePEc:gam:jjrfmx:v:17:y:2024:i:11:p:501-:d:1516347
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1911-8074/17/11/501/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1911-8074/17/11/501/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Baker, Malcolm & Stein, Jeremy C., 2004. "Market liquidity as a sentiment indicator," Journal of Financial Markets, Elsevier, vol. 7(3), pages 271-299, June.
    2. Pankaj Topiwala, 2023. "Surviving Black Swans III: Timing US Sector Funds," JRFM, MDPI, vol. 16(5), pages 1-18, May.
    3. Jeremias Bekierman & Bastian Gribisch, 2021. "A Mixed Frequency Stochastic Volatility Model for Intraday Stock Market Returns," Journal of Financial Econometrics, Oxford University Press, vol. 19(3), pages 496-530.
    4. Edwin J. Elton & Martin J. Gruber & Christopher R. Blake, 2001. "A First Look at the Accuracy of the CRSP Mutual Fund Database and a Comparison of the CRSP and Morningstar Mutual Fund Databases," Journal of Finance, American Finance Association, vol. 56(6), pages 2415-2430, December.
    5. Pankaj Topiwala, 2023. "Surviving Black Swans II: Timing the 2020–2022 Roller Coaster," JRFM, MDPI, vol. 16(2), pages 1-26, February.
    6. Pankaj Topiwala & Wei Dai, 2022. "Surviving Black Swans: The Challenge of Market Timing Systems," JRFM, MDPI, vol. 15(7), pages 1-25, June.
    7. Jegadeesh, Narasimhan & Titman, Sheridan, 1993. "Returns to Buying Winners and Selling Losers: Implications for Stock Market Efficiency," Journal of Finance, American Finance Association, vol. 48(1), pages 65-91, March.
    8. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    9. Chan Kyu Paik & Jinhee Choi & Ivan Ureta Vaquero, 2024. "Algorithm-Based Low-Frequency Trading Using a Stochastic Oscillator and William%R: A Case Study on the U.S. and Korean Indices," JRFM, MDPI, vol. 17(3), pages 1-18, February.
    Full references (including those not matched with items on IDEAS)

    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. Hou, Yang & Meng, Jiayin, 2018. "The momentum effect in the Chinese market and its relationship with the simultaneous and the lagged investor sentiment," MPRA Paper 94838, University Library of Munich, Germany.
    2. Kentaro Imajo & Kentaro Minami & Katsuya Ito & Kei Nakagawa, 2020. "Deep Portfolio Optimization via Distributional Prediction of Residual Factors," Papers 2012.07245, arXiv.org.
    3. Wei Pan & Jide Li & Xiaoqiang Li, 2020. "Portfolio Learning Based on Deep Learning," Future Internet, MDPI, vol. 12(11), pages 1-13, November.
    4. Cao, Charles & Petrasek, Lubomir, 2014. "Liquidity risk and institutional ownership," Journal of Financial Markets, Elsevier, vol. 21(C), pages 76-97.
    5. Tony Guida & Guillaume Coqueret, 2019. "Ensemble Learning Applied to Quant Equity: Gradient Boosting in a Multifactor Framework," Post-Print hal-02311104, HAL.
    6. Ray Ball & Lakshmanan Shivakumar, 2008. "How Much New Information Is There in Earnings?," Journal of Accounting Research, Wiley Blackwell, vol. 46(5), pages 975-1016, December.
    7. Chordia, Tarun & Roll, Richard & Subrahmanyam, Avanidhar, 2011. "Recent trends in trading activity and market quality," Journal of Financial Economics, Elsevier, vol. 101(2), pages 243-263, August.
    8. Brice Corgnet & Mark Desantis & David Porter, 2018. "What Makes a Good Trader? On the Role of Intuition and Reflection on Trader Performance," Journal of Finance, American Finance Association, vol. 73(3), pages 1113-1137, June.
    9. David C. Ling & Andy Naranjo & Benjamin Scheick, 2014. "Investor Sentiment, Limits to Arbitrage and Private Market Returns," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 42(3), pages 531-577, September.
    10. Mariem Talbi & Amel Ben Halima, 2019. "Global Contagion of Investor Sentiment during the US Subprime Crisis: The Case of the USA and the Region of Latin America," International Journal of Economics and Financial Issues, Econjournals, vol. 9(3), pages 163-174.
    11. Huij, Joop & Verbeek, Marno, 2007. "Cross-sectional learning and short-run persistence in mutual fund performance," Journal of Banking & Finance, Elsevier, vol. 31(3), pages 973-997, March.
    12. Keith Cuthbertson & Dirk Nitzsche & Niall O'Sullivan, 2010. "Mutual Fund Performance: Measurement and Evidence," Financial Markets, Institutions & Instruments, John Wiley & Sons, vol. 19(2), pages 95-187, May.
    13. Seok, Sang Ik & Cho, Hoon & Ryu, Doojin, 2019. "Firm-specific investor sentiment and the stock market response to earnings news," The North American Journal of Economics and Finance, Elsevier, vol. 48(C), pages 221-240.
    14. Xiong, Xiong & Meng, Yongqiang & Joseph, Nathan Lael & Shen, Dehua, 2020. "Stock mispricing, hard-to-value stocks and the influence of internet stock message boards," International Review of Financial Analysis, Elsevier, vol. 72(C).
    15. Michael Nofer & Oliver Hinz, 2015. "Using Twitter to Predict the Stock Market," Business & Information Systems Engineering: The International Journal of WIRTSCHAFTSINFORMATIK, Springer;Gesellschaft für Informatik e.V. (GI), vol. 57(4), pages 229-242, August.
    16. Chen, Hong-Yi & Hsieh, Chia-Hsun & Lee, Cheng-Few, 2023. "Revisiting the momentum effect in Taiwan: The role of persistency," Pacific-Basin Finance Journal, Elsevier, vol. 78(C).
    17. Bahloul, Walid & Bouri, Abdelfettah, 2016. "Profitability of return and sentiment-based investment strategies in US futures markets," Research in International Business and Finance, Elsevier, vol. 36(C), pages 254-270.
    18. Miguel A. Ferreira & Aneel Keswani & António F. Miguel & Sofia B. Ramos, 2013. "The Determinants of Mutual Fund Performance: A Cross-Country Study," Review of Finance, European Finance Association, vol. 17(2), pages 483-525.
    19. Gady Jacoby & Chi Liao & Nanying Lin & Lei Lu, 2024. "Sentiment and the cross‐section of expected stock returns," The Financial Review, Eastern Finance Association, vol. 59(2), pages 459-485, May.
    20. Claudio Boido & Antonio Fasano, 2015. "CAPM with Sentiment," Journal of Financial Management, Markets and Institutions, Società editrice il Mulino, issue 2, pages 265-288, December.

    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:jjrfmx:v:17:y:2024:i:11:p:501-:d:1516347. 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.