IDEAS home Printed from https://ideas.repec.org/p/arx/papers/1605.04600.html
   My bibliography  Save this paper

Learning zero-cost portfolio selection with pattern matching

Author

Listed:
  • Tim Gebbie
  • Fayyaaz Loonat

Abstract

We consider and extend the adversarial agent-based learning approach of Gy{\"o}rfi {\it et al} to the situation of zero-cost portfolio selection implemented with a quadratic approximation derived from the mutual fund separation theorems. The algorithm is applied to daily sampled sequential Open-High-Low-Close data and sequential intraday 5-minute bar-data from the Johannesburg Stock Exchange (JSE). Statistical tests of the algorithms are considered. The algorithms are directly compared to standard NYSE test cases from prior literature. The learning algorithm is used to select parameters for agents (or experts) generated by pattern matching past dynamics using a simple nearest-neighbour search algorithm. It is shown that there is a speed advantage associated with using an analytic solution of the mutual fund separation theorems. It is argued that the expected loss in performance does not undermine the potential application to intraday quantitative trading and that when transactions costs and slippage are considered the strategies can still remain profitable when unleveraged. The paper demonstrates that patterns in financial time-series on the JSE can be systematically exploited in collective but that this does not imply predictability of the individual asset time-series themselves.

Suggested Citation

  • Tim Gebbie & Fayyaaz Loonat, 2016. "Learning zero-cost portfolio selection with pattern matching," Papers 1605.04600, arXiv.org.
  • Handle: RePEc:arx:papers:1605.04600
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/1605.04600
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Diane Wilcox & Tim Gebbie, 2014. "Hierarchical causality in financial economics," Papers 1408.5585, arXiv.org, revised Sep 2014.
    2. Diane Wilcox & Tim Gebbie, 2008. "Serial Correlation, Periodicity And Scaling Of Eigenmodes In An Emerging Market," International Journal of Theoretical and Applied Finance (IJTAF), World Scientific Publishing Co. Pte. Ltd., vol. 11(07), pages 739-760.
    3. Jarrow, Robert & Teo, Melvyn & Tse, Yiu Kuen & Warachka, Mitch, 2012. "An improved test for statistical arbitrage," Journal of Financial Markets, Elsevier, vol. 15(1), pages 47-80.
    4. Dieter Hendricks & Tim Gebbie & Diane Wilcox, 2015. "Detecting intraday financial market states using temporal clustering," Papers 1508.04900, arXiv.org, revised Feb 2017.
    5. Andrew W. Lo & Harry Mamaysky & Jiang Wang, 2000. "Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation," Journal of Finance, American Finance Association, vol. 55(4), pages 1705-1765, August.
    6. Jason E. Cross & Andrew R. Barron, 2003. "Efficient Universal Portfolios for Past‐Dependent Target Classes," Mathematical Finance, Wiley Blackwell, vol. 13(2), pages 245-276, April.
    7. Andrew W. Lo & Harry Mamaysky & Jiang Wang, 2000. "Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation," Journal of Finance, American Finance Association, vol. 55(4), pages 1705-1770, August.
    8. D. Hendricks & T. Gebbie & D. Wilcox, 2016. "Detecting intraday financial market states using temporal clustering," Quantitative Finance, Taylor & Francis Journals, vol. 16(11), pages 1657-1678, November.
    9. Jegadeesh, Narasimhan, 1990. "Evidence of Predictable Behavior of Security Returns," Journal of Finance, American Finance Association, vol. 45(3), pages 881-898, July.
    10. Györfi László & Udina Frederic & Walk Harro, 2008. "Nonparametric nearest neighbor based empirical portfolio selection strategies," Statistics & Risk Modeling, De Gruyter, vol. 26(2), pages 145-157, 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. Fayyaaz Loonat & Tim Gebbie, 2018. "Learning zero-cost portfolio selection with pattern matching," PLOS ONE, Public Library of Science, vol. 13(9), pages 1-38, September.
    2. Joel da Costa & Tim Gebbie, 2020. "Learning low-frequency temporal patterns for quantitative trading," Papers 2008.09481, arXiv.org.

    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. Fayyaaz Loonat & Tim Gebbie, 2018. "Learning zero-cost portfolio selection with pattern matching," PLOS ONE, Public Library of Science, vol. 13(9), pages 1-38, September.
    2. Bajgrowicz, Pierre & Scaillet, Olivier, 2012. "Technical trading revisited: False discoveries, persistence tests, and transaction costs," Journal of Financial Economics, Elsevier, vol. 106(3), pages 473-491.
    3. Friesen, Geoffrey C. & Weller, Paul A. & Dunham, Lee M., 2009. "Price trends and patterns in technical analysis: A theoretical and empirical examination," Journal of Banking & Finance, Elsevier, vol. 33(6), pages 1089-1100, June.
    4. Han, Yufeng & Zhou, Guofu & Zhu, Yingzi, 2016. "A trend factor: Any economic gains from using information over investment horizons?," Journal of Financial Economics, Elsevier, vol. 122(2), pages 352-375.
    5. Akber, Ushna & Muhammad, Nabeel, 2013. "Is Pakistan Stock Market moving towards Weak-form efficiency? Evidence from the Karachi Stock Exchange and the Random Walk Nature of free-float of shares of KSE 30 Index," MPRA Paper 49128, University Library of Munich, Germany.
    6. Stephan Schulmeister, 2009. "Profitability of technical stock trading: Has it moved from daily to intraday data?," Review of Financial Economics, John Wiley & Sons, vol. 18(4), pages 190-201, October.
    7. Caporin, Massimiliano & Ranaldo, Angelo & Santucci de Magistris, Paolo, 2013. "On the predictability of stock prices: A case for high and low prices," Journal of Banking & Finance, Elsevier, vol. 37(12), pages 5132-5146.
    8. Kaucic, Massimiliano, 2010. "Investment using evolutionary learning methods and technical rules," European Journal of Operational Research, Elsevier, vol. 207(3), pages 1717-1727, December.
    9. Strobel, Marcus & Auer, Benjamin R., 2018. "Does the predictive power of variable moving average rules vanish over time and can we explain such tendencies?," International Review of Economics & Finance, Elsevier, vol. 53(C), pages 168-184.
    10. Chia-Lin Chang & Jukka Ilomäki & Hannu Laurila & Michael McAleer, 2018. "Long Run Returns Predictability and Volatility with Moving Averages," Risks, MDPI, vol. 6(4), pages 1-18, September.
    11. Sid Ghoshal & Stephen Roberts, 2016. "Extracting Predictive Information from Heterogeneous Data Streams using Gaussian Processes," Papers 1603.06202, arXiv.org, revised Jul 2018.
    12. Bohm, Volker & Wenzelburger, Jan, 2005. "On the performance of efficient portfolios," Journal of Economic Dynamics and Control, Elsevier, vol. 29(4), pages 721-740, April.
    13. Stephan Schulmeister, 2000. "Technical Analysis and Exchange Rate Dynamics," WIFO Studies, WIFO, number 25857, April.
    14. Fischer, Thomas & Riedler, Jesper, 2014. "Prices, debt and market structure in an agent-based model of the financial market," Journal of Economic Dynamics and Control, Elsevier, vol. 48(C), pages 95-120.
    15. Sid Ghoshal & Stephen J. Roberts, 2018. "Thresholded ConvNet Ensembles: Neural Networks for Technical Forecasting," Papers 1807.03192, arXiv.org, revised Jul 2018.
    16. Ben R. Marshall & Nhut H. Nguyen & Nuttawat Visaltanachoti, 2017. "Time series momentum and moving average trading rules," Quantitative Finance, Taylor & Francis Journals, vol. 17(3), pages 405-421, March.
    17. James Angel & Douglas McCabe, 2013. "Fairness in Financial Markets: The Case of High Frequency Trading," Journal of Business Ethics, Springer, vol. 112(4), pages 585-595, February.
    18. Michael McAleer & John Suen & Wing Keung Wong, 2016. "Profiteering from the Dot-Com Bubble, Subprime Crisis and Asian Financial Crisis," The Japanese Economic Review, Japanese Economic Association, vol. 67(3), pages 257-279, September.
    19. Man Yiu Tsang & Tony Sit & Hoi Ying Wong, 2022. "Adaptive Robust Online Portfolio Selection," Papers 2206.01064, arXiv.org.
    20. Christopher J. Neely & David E. Rapach & Jun Tu & Guofu Zhou, 2014. "Forecasting the Equity Risk Premium: The Role of Technical Indicators," Management Science, INFORMS, vol. 60(7), pages 1772-1791, July.

    More about this item

    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:arx:papers:1605.04600. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.