Open Source Crypto Algos image

Open Source Crypto Algos

Algos Are Easy

I’ve written before about how easy it is to algo in the crypto world - and presented the process of implementing one in a shareable container (a Gitpod). It is striking and exciting how easy they are to create and get working with very little effort or lead time.

These facts lead predictably to an exploding global community of crypto algo traders and to the development of Open Source algos by a number of alturistic souls.

Algos Are Hard

The reason traders develop algos, is to take a winning idea and maximise it. It’s a compelling argument: if you have a trading idea that lets you beat the market, you surely should be able to express it concretely and specifically, and therefore you should be able to code it up! Great - go for it!

However to actually put it into place you do need significant software infrastructure: you need live market data; you need to be able to place trades in a timely manner; you need ways to detect when market conditions go against you - and a way to rapidly close your positions and exit. Getting all that together is rather hard.

This is has led to the emergence of an industry of for-profit companies who provide platforms where their clients - for either a fee or a percentage (or perhaps for less noble reasons) - write their algorithms and their infrastructure does the rest. But not everyone is content with such hand-holding especially given the inherent freedom of the crypto domain. Open Source algos are an alternative.

Some Open Source Algo Frameworks

Over the last several months via Googling and various Reddits and feeds I’ve compiled a list of Open Source crypto algo frameworks that are asserted to be in reasonable working order. To various levels I’ve tried some of them. I’ll list them here and ask readers who know of others to link to them in the comments. These ones are approximately in order of recent commit.

Name Exchanges Language Author
univocity-trader Binance Java 14 Jeronimo Backes
GoatFish   Javascript Lucas Rodriguez
Hummingbot Binance, Coinbase Pro, Huobi Global, Bittrex Global, Liquid, KuCoin Python CoinAlpha
QtPyLib Interactive Brokers Python Ran Aroussi
Crypto Trading Bot Bitmex, Binance, Conbase Pro, Bitfinex, Bybit, FTX Python Daniel Espendiller
BitMEX Trading Algo BitMEX Python Ilya Krotov
BitBotBackToTheFuture BitMEX Python Carlson Santana Cruz
Serenity Phemex, Coinbase Pro and Binance Python Kyle Downey
Gemini (Backtesting) Python anfeerico
Jesse Bitfinex, Binance, Coinbase Python Saleh Mirnezami
Sample Market Maker BitMEX Python STRML (BitMEX)
AAT Many: CCXT Python Tim K Paine
Nominal Nimbus LMax, Poloniex C#  
Gekko Binance, Poloniex, GDAX, BTCC, Bitstamp, Kraken, Bitfinex, Bittrex, coinfalcon, EXMO, wex.nz, Gemini, Okcoin.cn, Cex.io, BTC Markets, Luno, lakeBTC, meXBT, zaif, lakeBTC, bx.in.th, bitcoin.co.id, Quadriga CX Javascript Mike van Rossum
Blackbird Binance, Bitfinex, Bitstamp, Bitrex, Cexio, Exmo, GDax, Gemini, ITBit, Kraken, OKCoin, Poloniex, Quadrigacx, Wex C++ Julien Hamilton
Triangular Arb Binance Javascript Tiago Siebler
Crypto Trading Bot Bitrex Python Sascha Becker
Tribeca Coinbase, Bitbtc, OKCoin, Bitfinex Typescript Michael Gosner


I’m progressively experimenting with these. For one of them, Jesse, I got running in a Gitpod so you can run that yourself. The others work to various degrees, generally with some configuration. What’s very interesting is their differently arrived at focuses. Some are specifically arbitrage, some market-making. Some, like Serenity are frameworks for implementing a wide range of algos - and come with examples.

Some are focussed on particular exchanges - some span very many.

Clearly there’s plenty of material for new algo traders to work on.

Read More
Getting A Cryptalgo Running image

Getting A Cryptalgo Running

A Running Algo in a Shareable Container

Jesse is a framework by Saleh Mirnezami that implements an algo trader on some large crypto markets. You can run it with past data in a backtest - live trading is not yet implemented. Mirnezami wrote a blog post detailing how to get backtesting working in Jesse, which I followed.

I got backtesting in Jesse running reliably in this Gitpod - have a try yourself. If you like, you can take this Gitpod and develop further with it: add exchange data (it currently has candle data from Bifinex and Binance for their Bitcoin contracts), add coins, change parameters, extend or change Mirnezami’s code - it’s a full development environment in a functioning Ubuntu 20.04.

This blog works you through how do create such a Gitpod. What a Gitpod is an why I used it I explain here.

Read More
Crypto Algo In 5 Minutes image

Crypto Algo In 5 Minutes

It’s So Easy to Algo

Algotrading can be for everyone

Read More
Why Algorithmically Trade Crypto? image

Why Algorithmically Trade Crypto?

Why Algorithmically Trade Crypto?

Trading crypto has its particular appeals - but why trade using an automated algorithm?

Read More
Crypto Trading From Scratch image

Crypto Trading From Scratch

Starting Crypto Trading

Read More
Why ProfitView image

Why ProfitView

What is ProfitView?

Read More
The Story So Far image

The Story So Far

How ProfitView Came to Be

Jahan and Richard were both consultants with the same investment bank. They started to see ways the technology in banks can be brought to retail traders.

Read More

Subscribe to our Newsletter