IDEAS home Printed from https://ideas.repec.org/a/eee/glofin/v56y2023ics1044028323000200.html
   My bibliography  Save this article

An algorithmic trading system based on a stacked generalization model and hidden Markov model in the foreign exchange market

Author

Listed:
  • Fereydooni, Ali
  • Mahootchi, Masoud

Abstract

The Forex market has been one of the most attractive markets to researchers, funds, and traders. Literature shows that a single model algorithm usually cannot perform satisfactorily on the foreign exchange (Forex) time series because of the market's complexity. This study develops an algorithm based on two stacked generalization models consisting of four machine-learning models. First, the optimal lags of features are found using the Fisher discriminant ratio and partial autocorrelation function. Second, one stacked model fits the bullish trends, and the other holds the bearish trends resulting from a hidden Markov model. We reinforce the predictive signals of these models by extracting relationships between currency pairs with correlation and mutual information. Lastly, the proposed algorithm constructs a portfolio based on the strength of signals dependent on correlation and mutual information. As a result, this paper compares the performance of the proposed approach with different states of the model and several established benchmarks regarding return and risk metrics. The outcomes show that the proposed model's added features—such as time series clustering, considering a range of inputs, and internal relationships among different assets—can increase its performance in the Forex market.

Suggested Citation

  • Fereydooni, Ali & Mahootchi, Masoud, 2023. "An algorithmic trading system based on a stacked generalization model and hidden Markov model in the foreign exchange market," Global Finance Journal, Elsevier, vol. 56(C).
  • Handle: RePEc:eee:glofin:v:56:y:2023:i:c:s1044028323000200
    DOI: 10.1016/j.gfj.2023.100825
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S1044028323000200
    Download Restriction: Full text for ScienceDirect subscribers only

    File URL: https://libkey.io/10.1016/j.gfj.2023.100825?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    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:eee:glofin:v:56:y:2023:i:c:s1044028323000200. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Catherine Liu (email available below). General contact details of provider: http://www.elsevier.com/locate/inca/620162 .

    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.