How to turn a Raspberry Pi into a Bitcoin trading bot with no extra hardware and open-source software!

How to turn a Raspberry Pi into a Bitcoin trading bot with no extra hardware and open-source software!

I’m having a lot of fun with this and thought to share it with all Bitcoiners.

This is what you’ll need:

* Raspberry Pi 2GB RAM ($40). If you plan to run long (multi-year) backtests you will likely need the 4GB or 8GB version (2 GB is enough for shorter backtests and trading live).
* Flash-card, 16Gb ($7).
* Raspbian / Ubuntu ($0, open-source).
* Node.JS ($0, open-source).
* Git ($0, open-source).
* Superalgos (0$, open-source).

I’ll assume your Raspberry is fully set up with Raspbian or Ubuntu. If it’s not, just follow the manufacturer’s instructions.

Let’s get on with the rest of the software set up:

1. Download and install [Node.JS](
2. Download and install [Git](
3. Download and install [Superalgos](

You don’t want to run the Superalgos GUI on your Raspberry… the 2GB RAM version won’t be able to cope with it.

**The clever setup is to use the Pi as a backend service that you access from your regular machine’s browser. That way you can leave the PI on, trading 24/7, while you do your stuff on your main PC.**

So, run Superalgos with the `noBrowser` option, and add `minMemo` too (to prevent the RPI running out of memory):

`node run minMemo noBrowser`

The command will start Superalgos backend servers on your Pi!

Then, open Chrome (the only tested browser) on your regular machine to access the Superalgos backend web server. You will go to the Raspberry’s IP address on port 34248. Like this:

`http://RaspberryIPNumber:34248/` (make sure you use the actual IP Address in your local area network!)

Once in, click Stop on the Welcome tutorial, right-click to open the design space map, and click on the Network hierarchy. Expand the hierarchy (plus button on the menu) and find the Network Node.


[Remember to right-click to access the design space map!](

Now, access the configuration of the Network Node (select Configure on the menu) and change the host by typing your Raspberry’s IP address:


`”host”: “RaspberryIPNumber”,`

`”webPort”: “34248”,`

`”webSocketsPort”: “18041”`


Exit the configuration by withdrawing the mouse pointer from the configuration bubble. The GIU will auto-connect in less than a minute, and you are ready to go!

If you are not familiar with Superalgos, then right-click to open the design space map again, and click on the Welcome to Superalgos tutorial hierarchy on the bottom-left corner, open the menu, and click Resume.

The tutorial will take you through all the basics and help you run your first data-mining operation, your first backtest using a demo trading system, and even your first live trading session on Binance. The tutorial answers all of your questions about what Superalgos is and how it works… it’s fun, and it’s fully interactive… you start fiddling with the app as you go and learn all the basics right then and there.

It’d be too long to explain everything the app does, but I can say it covers an impressive stretch of what is required to do some big-time trading, including pro data mining, data visualization, visual strategy design, visual strategy debugging, coordinated deployments of multiple bots, etc. Just give it a go and see for yourself!

Once you go through the first experience, you may learn to design your own strategies or use the ones shared by the Community.


[This is how a strategy looks…](

**The set up you just created is the minimum expression of a** [**trading farm**](**. If you have more Raspberries, or even old laptops or desktops gathering dust in the closet, pull them out, and set them up as new nodes on the Network!**

A trading farm setup may run distributed and coordinated tasks across multiple machines, and each machine may run as many trading sessions as the hardware can cope with!

View Reddit by Juana3000View Source

Leave a Comment

Your email address will not be published. Required fields are marked *