AlgoTraderAlgoTrader Documentation

Chapter 6. Cryptocurrency Trading

The AlgoTrader 30-day trial version can also be used to trade Bitcoin and other Cryptocurrencies via the following exchange adapters:

This chapter describes how to setup trading with the Binance exchange.

To setup a connection to Binance the following steps have to be taken:

First the Binance API key, then the Secret Key noted above need to be added by clicking the downward facing arrow next to the green start icon and then selecting Run Configurations.

In this example we are going to use the existing EMA strategy to trade via Binance. For this purpose the Binance API key and Secret Key need to be added to the Eclipse launch configuration EmbeddedStrategyStarter-ema-binance by selecting it on the left-hand side and going to the Arguments Tab

Here the Binance API key and Secret Key noted above need to be added. Then click Apply.

Per default the EMA strategy trades the EUR/USD currency pair through Interactive Brokers. To now switch the strategy to trade through Binance we need to update the settings at the top of the EMAService:

Now the strategy can be started by selecting the EmbeddedStrategyStarter-ema-binance and click Run.