40
$\begingroup$

I would like to compile a list of open source trading platforms. Something that would give an overview and comparison of different architectures and approaches.

$\endgroup$
3
  • $\begingroup$ This question may be too broad in scope... i.e. A data capture layer, data stores/management, analytics, signal generation, order management and routing, risk management, and reporting/post trade items. All are potential components, can you clarify on which of the above aspects you want to know about? or are you looking for a "do-it-all product"? $\endgroup$ – Kyle Balkissoon Jan 7 '15 at 16:40
  • $\begingroup$ Though Quantopian and QuantConnect are built on open source packages, they themselves are not open source. ALSO, Quantopian no longer supports live brokerage trading. $\endgroup$ – Thoracius Appotite Aug 31 '17 at 17:55
  • $\begingroup$ Is there any particular reason the high-frequency tag is here? $\endgroup$ – Theodore Nov 20 '18 at 2:27

15 Answers 15

26
$\begingroup$

Definitely check out Quantopian and Zipline.

Quantopian provides a free research environment, backtester, and live trading rig (algos can be hooked up to Interactive Brokers). The algorithm development environment includes really handy collaboration tools and an open source debugger. They provide tons of data (even Morningstar fundamentals!) free of charge.

Quantopian's platform is built around Python and includes all the open source goodness that that the Python community has to offer (Pandas, NumPy, SciKitLearn, iPython Notebook, etc.)

Successful live traders will be offered spots in the Quantopian Managers Program, a crowd-sourced hedge fund.

Zipline is the open source backtesting engine powering Quantopian. It provides a large Pythonic algorithmic trading library that closely approximates how live-trading systems operate.

(full disclosure: I work at Quantopian)

$\endgroup$
3
  • 1
    $\begingroup$ Do you have any numbers about the successfulness (or lack of it) of developers who use Quantopian? Are there many successful live traders? How successful? Broadly, what sorts of techniques do they employ? $\endgroup$ – David Oct 20 '16 at 20:14
  • $\begingroup$ Now that Quantopian is closed, will Zipline remain a viable solution (and maintained)? $\endgroup$ – 118218 Jan 14 at 13:44
  • $\begingroup$ Quantopian team is now at Robinhood $\endgroup$ – Sergei Rodionov Feb 12 at 9:24
15
$\begingroup$

QuantConnect provides an open-source, community-driven project called Lean. The project has thousands of engineers using it to create event-driven strategies, on any resolution data, any market, or asset class.

Our system models margin leverage and margin calls, cash limitations, transaction costs. We maintain a full cashbook of your currencies. It's about as close to reality as possible. It's 20x faster than Zipline and runs on any asset class or market. We provide tick, second or minute data in Equities and Forex for free.

QuantConnect supports Python, C#, and F#

I'm a founder @ QuantConnect

January 2017: We now offer intraday Options, Futures, Forex, CFD, and US Equities backtesting through QuantConnect.com

October 2017: We have added crypto trading on GDAX.

April 2018: We have created a modular algorithm framework; separate algorithm components that can be plugged together for rapid algorithm development.

Jan 2019: Launched an Alpha Marketplace, with submissions from quants around the world.

July 2020: We broke apart the platform into services like AWS. Allowing you to spin up different parts of our platform and only pay for what you use.

August 2020: We added L1-Spread data and fill models for equities backtesting.

December 2020: We added future-options support.

January: 2021: Deployed cloud-optimization to test parameter sensitivity.

February 2021: Opened our alpha market place to all investors containing hundreds of strategies with SR >1.

$\endgroup$
6
  • $\begingroup$ Can you please post a link to how Python is supported? I had a quick poke around your site but didn't find it immediately and gave up. $\endgroup$ – snth Aug 12 '15 at 8:12
  • $\begingroup$ Added links in answer to Github for LEAN. To use other languages on QuantConnect.com just click on Create Project. $\endgroup$ – JaredBroad Aug 12 '15 at 16:14
  • $\begingroup$ @JaredBroad: Your project looks really interesting. What is not entirely clear for me: in one of your videos it looks like a QuantConnect account is required, even if the LEAN engine is running locally. Does that in turn mean one needs a "prime" account for live trading with the LEAN engine? $\endgroup$ – ToJo May 12 '18 at 10:32
  • $\begingroup$ Thanks ToJo! LEAN is self contained; no account needed. The desktop charting tutorial is an optional web hosted view -- which uses streaming packets & requires a free QC account. $\endgroup$ – JaredBroad May 15 '18 at 0:52
  • 1
    $\begingroup$ You can (import custom data)[quantconnect.com/docs/algorithm-reference/… to achieve that goal @mac13k. $\endgroup$ – JaredBroad Feb 16 at 8:02
5
$\begingroup$

List of links/projects I stumbled upon while doing the research:

$\endgroup$
5
$\begingroup$

As a beginner in AlgoTrading QuantConnect and Quantopian are great for practice and improving your skills but for a serious Algo Trader , they are basically useless. An Algo Trader requires flexibility to investigate trading ideas and add or remove libraries or parts of the system that do not work. You need to automatically and constantly reevaluate your systems . At this level of trading , Quantopian and Quantconnect are very rigid and completely not capable. May be in a few years they will be at a level where implementing new trading ideas with more advanced libraries is possible. This two startups are looking for money , plain and simple. If you have been developing algos that are actually profitable and you are in know in the trading industry. if you have worked with the Big boys, Hedge funds, HFT firms, and Trading firms you will know why i say this. Just be careful do not put all your eggs in one basket

$\endgroup$
4
$\begingroup$

QuantConnect and Quantopian were the first algorithmic trading platforms that became available and they are the most advanced (even though they need a lot more work for a professional trader, they are a good starting point).

This is an emerging market, lots of startups are rising. Nowadays new platforms are available, for example:

  • www.cloud9trader.com
  • alta5.com
  • quantiacs.com

Every platform has is own characteristics, but all in all they are all work in progress. it will take few more years before being able to have a stable trading platform that you can rely on and that offers all you need for professional trading.

$\endgroup$
3
$\begingroup$

Can take a look the other pointers from wikipedia http://en.wikipedia.org/wiki/Algorithmic_trading

Another list is here: http://algotradingindia.blogspot.it/2012/05/open-source-trading-platforms-list.html

For hedge funds there is a famous top solution publicly available (referenced by wiki), but not "open source". ("Open source" stuff is usually put around by enthusiasts with no clue about real algo trading.)

$\endgroup$
3
$\begingroup$

It depends on either the language(s) you know or which languages you wish to learn.

Python is a must, and the two major platforms I know of (Quantopian and Quantconnect) offer support for Python. In fact, a vast majority of the trading algorithms on the forums and discussions are in Python. This is especially the case given Quantopian only has support for Python and nothing else, Quantconnect however offers support C# and F# as well. In my experience, Quantconnect has been better as they offer the language closest to what I know the best (that language being C# and the one I am good at being C++), plus they offer higher resolution data for various asset classes (they not only have equities and futures, but options, forex and cryptocurrencies). They offer tick level data for crypto, equities, forex and futures. This was not an advertisement for Quantconnect however... I do not even use it.

For work I do in Python, I use a Jupyter notebook running locally on my computer. Libraries I use for Python primarily are

  1. Pandas
  2. NumPy
  3. SciPy
  4. Scikit-learn
  5. ARCH
  6. PyFlux
  7. TensorFlow (rarely)

In C++, which is where I do most of my work, since I'm into high frequency trading, I use Quantlib which is mostly useful for coming up with derivatives pricing models, as well as Armadillo, the GNU Scientific Library (GSL), the GNU linear programming kit (GLPK), and TaLib (technical analysis library).

I use Vim C++ for whatever that's worth and I would urge you to invest in cultivating your own environment for research because if you are really planning on doing real research and thorough backtesting, you are going to need a lot more flexibility with respect to libraries and the data being utilized.

$\endgroup$
1
$\begingroup$

There's this one written by me a few years back called autoStock. Worth taking a look.

https://github.com/expresspotato/autoStock

$\endgroup$
1
$\begingroup$

Still in early stages but if you can code in Java / Python this might be worth taking a look: https://github.com/melphi/algobox

$\endgroup$
0
$\begingroup$

OpenTrade An open source OEMS, and algorithmic trading platform in modern C++

$\endgroup$
0
$\begingroup$

If you only like to use methods of technical analysis in java, here is a good code to read: algorithmic trading in java

$\endgroup$
1
  • $\begingroup$ Please disclose your affiliation with this project. $\endgroup$ – Bob Jansen Jun 2 '20 at 19:12
-1
$\begingroup$

FreqTrade Bot is excelent option right now.

Still under heavy development and in early stages but has lots of features and could quickly put a strategy to test in the cryptocurrency makets, connected with CCXT library.

$\endgroup$
-1
$\begingroup$

On GNU/Linux (and hence other Unix-like systems) you could use Qtstalker, which "...is 100% free software, distributed under the terms of the GNU GPL."

$\endgroup$
1
  • $\begingroup$ There hasn't been any new releases since 2008. Qtstalker uses Qt 3, which is no longer supported by almost all Linux distributions. $\endgroup$ – Flux Apr 22 at 19:06
-2
$\begingroup$

I think you have to check http://www.modulusfe.com/products/ for a high frequency trading solution with open source code.

$\endgroup$
1
  • $\begingroup$ Blegh this seems to be 'commercial, open source which is something else entirely dixit modulusfe. I don't think they sell what's generally known as open source. $\endgroup$ – Bob Jansen Aug 21 '16 at 13:50
-4
$\begingroup$

What about the API OANDA as trading API?

$\endgroup$
3
  • $\begingroup$ Could you tell a bit more about this platform? $\endgroup$ – Bob Jansen Oct 2 '18 at 10:04
  • $\begingroup$ Doesn't look like it is open source. $\endgroup$ – LocalVolatility Oct 5 '18 at 9:14
  • $\begingroup$ According to a book I read. OANDA have wider adoption as it is free to use. $\endgroup$ – Dave08 Jan 5 '19 at 2:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.