What is an open-source hedge fund?
Hedge funds are famously secretive. Their strategies are proprietary, their positions are disclosed only where the law requires it, and their research is guarded closely. The phrase "open-source hedge fund" sounds like a contradiction. It describes a range of attempts to bring the openness of open-source software into investment research. This article explains the main models, what they achieved, and why a fully open fund remains rare.
Educational content. Out of Sample does not run or promote any fund, and nothing here is an offer of investment.
What "open" can mean
In software, open source means that the code is published under a licence that lets anyone read, use, modify and redistribute it. Applied to investing, openness can cover several layers:
- Open tools: the software used for research and trading is open source. This is now common; most quantitative firms use open-source libraries extensively.
- Open research: the methods, data sources and test results behind a strategy are published, so others can reproduce and critique them.
- Open participation: outsiders contribute models or signals, usually in exchange for a share of profits or a reward.
- Open positions: the fund publishes its actual holdings and trades in real time.
Most projects described as open-source hedge funds combine the first three layers. Very few have attempted the fourth, for reasons explained below.
Model 1: open research projects
The simplest model is a research programme carried out in public: a group of students, academics or practitioners documents how a strategy is built, publishes the code and results, and invites critique. The goal is often educational or reputational rather than to manage money. University investment clubs and research groups have run projects like this, sometimes as a route for members into the industry. The approach is the one followed by our own open research series, which uses momentum as a worked example.
The main value of open research is error correction. Published code can be checked for look-ahead bias, data errors and overfitting by people with no stake in the result, which is exactly what a researcher working alone cannot do for themselves.
Model 2: crowdsourced strategy platforms
In the 2010s, several companies built platforms where outside "quants" could write and backtest strategies on hosted data and tools, with the best strategies potentially licensed or allocated capital. Quantopian, founded in 2011 in Boston, was the best known. It offered free backtesting in Python, built a large community and open-sourced its backtesting engine, Zipline. It later ran a fund that allocated capital to selected community strategies. Quantopian closed its platform in 2020; its open-source libraries were taken over by community maintainers.
The model showed both the promise and the difficulty. The platforms attracted many talented contributors and produced valuable open tools. But turning a crowd of backtests into reliable live returns proved hard: with thousands of users testing ideas on the same data, the best backtests were heavily affected by selection bias.
Model 3: data science tournaments
Numerai, founded in 2015, took a different approach. Instead of asking contributors to write full strategies, it gives them an obfuscated dataset with anonymised features and targets, and asks them to submit predictions. Contributors cannot see which stocks or features the data describe, which protects the fund's data and prevents front-running. Participants stake a cryptocurrency token on their predictions and are rewarded or penalised according to performance, an attempt to align incentives and discourage overfitted submissions. The fund combines the predictions into a meta-model that drives its trading.
This model is open in participation but not in research or positions: contributors never see the underlying strategy.
Why fully open funds are rare
- Alpha decay. Many trading edges depend on capacity and on not being widely known. Publishing positions in real time invites others to trade ahead of the fund.
- Regulation. Fund marketing is tightly regulated. In the United States, private funds generally rely on exemptions that restrict who may invest; see accredited investors. Publishing performance or soliciting the public raises legal questions in most jurisdictions.
- Infrastructure. A real fund needs prime brokers, custodians, administrators and auditors, all of which cost money and require a legal entity and people accountable for it.
- Incentives. Contributors need a reason to share their best ideas. Without compensation, most valuable research stays private.
What openness does well
Even if a fully open fund is impractical, openness has a strong case in research. Reproducible methods, shared code and published negative results reduce the waste of everyone rediscovering the same false patterns. The academic finance literature has moved in this direction, with journals increasingly requesting code and data. For learners, an open project is one of the best ways to build skills that employers can see.
Where to go next
Our article on running a research project in the open covers the practical side: version control, licences and review. Creating a strategy step by step applies those practices to a concrete research workflow.
Openness and overfitting
One lesson from crowdsourced platforms deserves emphasis. When thousands of people test ideas on the same dataset, the best-looking results are mostly the luckiest ones. Bailey, Borwein, López de Prado and Zhu (2014) showed mathematically how quickly backtest overfitting grows with the number of trials. Open projects can counter this by publishing every trial, holding out data that no one sees until the end, and judging results by how many attempts produced them. Openness about the process is what turns a crowd from a source of false discoveries into a check against them.
Sources
- Open Source Initiative, The Open Source Definition.
- Numerai, official documentation (tournament rules, data and staking).
- zipline-reloaded, project repository (history of the Zipline backtester).
- Bailey, D., Borwein, J., López de Prado, M. and Zhu, Q. (2014). Pseudo-Mathematics and Financial Charlatanism: The Effects of Backtest Overfitting on Out-of-Sample Performance. Notices of the AMS, 61(5), 458–471.
- U.S. Securities and Exchange Commission, Exempt offerings.