IIR Working Paper No. 2026-02

Did the Ramadan Effect Survive Its Own Discovery? Out-of-Sample Evidence from Turkey, Malaysia, Indonesia and the United States, 1990–2026

Posted 14 November 2026 | DOI 10.5281/zenodo.24328963

Abstract

Białkowski et al. (2012) report that across 14 predominantly Muslim stock markets from 1989 to 2007, returns during the holy month of Ramadan were far higher and less volatile than in the rest of the year. Their sample ends in 2007, which leaves almost two decades of data the authors never saw. I test a simple, tradable version of the effect: buy the index at the last close before Ramadan begins and sell at the last close of the month. Each Ramadan return is compared with 5,000 sets of random windows of identical length drawn from the same market, which gives a non-parametric one-sided p-value. On the main indices of Turkey, Malaysia and Indonesia, pooled with equal weight, Ramadan windows earned 5.27% against 1.69% for random windows in 1989–2007 (p = 0.025), reproducing the original finding. In 2008–2026 the same rule earned −0.06% against 0.82% (p = 0.867), and Ramadan underperformed its random benchmark in every market. The US market (SPY), used as a control, shows no effect over 1994–2026 (0.81% against 0.94%, p = 0.57). The Ramadan effect is a case of an anomaly that disappears after its sample period ends. It should not be traded, and it does not justify a seasonal tilt in a Shariah-compliant equity portfolio.

Keywords: Ramadan effect, calendar anomalies, investor sentiment, out-of-sample testing, anomaly decay, Islamic finance

JEL classification: G14, G41, Z12

Data and replication

Data: daily closing levels of the main stock indices of Turkey (XU100.IS), Malaysia (^KLSE) and Indonesia (^JKSE), and SPY as a US control, downloaded from Yahoo Finance with yfinance. Ramadan dates are converted from the Hijri calendar with hijri-converter (dates.py). Test: buy at the last close before Ramadan, sell at the last close of the month; each Ramadan return is compared with 5,000 sets of random windows of the same length from the same market (random seed 42). To reproduce: 1. git clone https://github.com/Azhan-Amc/ramadan-effect 2. pip install -r requirements.txt 3. python split.py (1989-2007 vs 2008-2026, per market and pooled: the main result) 4. python backtest.py (SPY control) 5. python markets.py (full-period results per market)

Repository: https://github.com/Azhan-Amc/ramadan-effect

Conflicts of interest and disclosures

An AI assistant (Claude, by Anthropic) helped write and debug the code, draft the text and produce the figure; the author reviewed all of it and is responsible for its content.

This working paper has been screened by the editor but has not been peer reviewed. It is for research purposes only and is not investment advice or a Sharia ruling.

Version history

VersionDateChanges
114 November 2026First posted

Cite this paper

Chowdhry, M. A. (2026). Did the Ramadan Effect Survive Its Own Discovery? Out-of-Sample Evidence from Turkey, Malaysia, Indonesia and the United States, 1990–2026 (IIR Working Paper No. 2026-02). Islamic Investment Research. https://doi.org/10.5281/zenodo.24328963