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 II: Timing the 2020–2022 Roller Coaster," JRFM, MDPI, vol. 16(2), pages 1-26, February.
    3. Pankaj Topiwala & Wei Dai, 2022. "Surviving Black Swans: The Challenge of Market Timing Systems," JRFM, MDPI, vol. 15(7), pages 1-25, June.
    4. Pankaj Topiwala, 2023. "Surviving Black Swans III: Timing US Sector Funds," JRFM, MDPI, vol. 16(5), pages 1-18, May.
    5. 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.
    6. 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.
    7. 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.
    8. 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.
    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. Ms. Anna Scherbina, 2013. "Asset Price Bubbles: A Selective Survey," IMF Working Papers 2013/045, International Monetary Fund.
    3. Kentaro Imajo & Kentaro Minami & Katsuya Ito & Kei Nakagawa, 2020. "Deep Portfolio Optimization via Distributional Prediction of Residual Factors," Papers 2012.07245, arXiv.org.
    4. David R Gallagher & Peter A Gardner & Camille H Schmidt, 2015. "Style factor timing: An application to the portfolio holdings of US fund managers," Australian Journal of Management, Australian School of Business, vol. 40(2), pages 318-350, May.
    5. Wei Pan & Jide Li & Xiaoqiang Li, 2020. "Portfolio Learning Based on Deep Learning," Future Internet, MDPI, vol. 12(11), pages 1-13, November.
    6. Heston, Steven L. & Sadka, Ronnie, 2008. "Seasonality in the cross-section of stock returns," Journal of Financial Economics, Elsevier, vol. 87(2), pages 418-445, February.
    7. 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.
    8. Cao, Charles & Petrasek, Lubomir, 2014. "Liquidity risk and institutional ownership," Journal of Financial Markets, Elsevier, vol. 21(C), pages 76-97.
    9. Tony Guida & Guillaume Coqueret, 2019. "Ensemble Learning Applied to Quant Equity: Gradient Boosting in a Multifactor Framework," Post-Print hal-02311104, HAL.
    10. Rubesam, Alexandre, 2022. "Machine learning portfolios with equal risk contributions: Evidence from the Brazilian market," Emerging Markets Review, Elsevier, vol. 51(PB).
    11. Elton, Edwin J. & Gruber, Martin J., 2013. "Mutual Funds," Handbook of the Economics of Finance, in: G.M. Constantinides & M. Harris & R. M. Stulz (ed.), Handbook of the Economics of Finance, volume 2, chapter 0, pages 1011-1061, Elsevier.
    12. Andrew Ang & Assaf A. Shtauber & Paul C. Tetlock, 2013. "Asset Pricing in the Dark: The Cross-Section of OTC Stocks," The Review of Financial Studies, Society for Financial Studies, vol. 26(12), pages 2985-3028.
    13. 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.
    14. 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.
    15. 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.
    16. 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.
    17. Gao, Pengjie & Lou, Dong, 2013. "Cross-market timing in security issuance," LSE Research Online Documents on Economics 119036, London School of Economics and Political Science, LSE Library.
    18. 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.
    19. 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.
    20. 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.

    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.