How profitable is algorithmic trading for decentralized markets?

AlgooStrategies
9 min readSep 27, 2023

--

Will algorithmic strategies consistently outperform index funds, buy and hold, and nearly risk-free lending services? If yes/no, what is their risk profile and potential losses?

Here at Algoo Strategies, some of the most common questions we get when speaking to people less familiar with algorithmic trading or automated trading are; Does algorithmic trading work? How profitable are these strategies? What are the potential returns?

We take a deep dive into the different ways a trader would utilize algorithmic trading strategies, different types of strategies, and whether or not they are profitable in an overall trading strategy.

What is algorithmic trading?

We first need to understand “what is algorithmic trading?” and how to use it effectively. Fundamentally, algorithmic trading (also known as automated or algo trading) is a method of trading where an individual uses a computer program (an algorithm) that has predefined rules and instructions to place a trade on an exchange. These predefined rules can be based on timing, price, quantity, action, or any mathematical model. A trader or strategy developer will create a trading algorithm with specific trade rules, and then the owner will deploy this algorithm for it to execute trades automatically on the traders behalf.

A basic flow of the algorithmic trading process

Understanding different types of algorithmic trading

To analyze the profitability of algorithmic trading, we must understand the different types of trading and how you intend to use an automated trading strategy. Here are a few common types of algorithmic trading approaches:

Momentum Investing

Momentum investing is one of the most common and basic algorithmic trading strategy approaches. This type of algorithm analyzes the market trend that moves significantly in one direction at high velocity, meaning if the asset is rising, the algorithm places buy orders as it rises and sells when it looks like it has peaked or lost momentum, hence the name. The execution of the trading can vary based on the setup of the developer, ranging from very simple to very complex.

A simple momentum investing strategy might invest in the best-performing cryptocurrencies over a 6-month period. On the other hand, a complex algorithm might blend momentum over time, have more advanced signals for buying and selling, meaning they can have more control over specific market movements, or identify false indicators.

Mean reversion

The mean reversion algorithmic strategy is set up to exploit the sudden price movement of an asset that is in the process of short-term fluctuation. As a tendency, many assets revert to the mean after periods where they have become oversold or overbought. This means that there can be a sudden influx in buy orders over a short period of time, but once that period has ended, the asset price will revert back to its long-time average price. A mean reversion algorithm aims to capitalize on this fluctuation by purchasing at the low and selling when the asset price moves upwards towards the moving average.

Dollar cost averaging

One of the most simple algorithmic trading strategies and is widely used by many investors. The idea behind this algorithm is to invest a fixed amount of money in an individual cryptocurrency periodically. This is a popular algorithmic approach as it is simple to set up and saves a lot of time by having this process automated rather than manually executed.

Why would anyone use an algorithmic trading strategy?

Now we are familiar with the concept of algorithmic trading and some of the different approaches, we can look at why a trader would opt to use algorithmic trading in their strategy.

The technological boom over the past 20 years has meant we are much more efficient in our everyday lives, and this is no exception when it comes to trading. Computers are designed to handle large sets of data and operate in a mathematical way, meaning they are faster and more accurate than humans. This means computers can make faster decisions and take action on them much quicker than we can. Computers can analyze a chart based on market data, draw charts, and then execute any trade orders within a small amount of time. In comparison, imagine you are monitoring a 1-minute chart for bitcoin and ethereum, using technical analysis to make your trade decision, then placing the trade order. This is a much more labor-intensive approach, especially when trading on a fast-moving, volatile market. The computer wins that race 10 out of 10 times. This automated process is one of the many reasons why a trader would opt to use a trading algorithm as opposed to manually trading.

How much does it cost to set up a trading algorithm?

In order to identify how profitable algorithmic trading is, we need to first look into the cost of developing an automated trading system for decentralized markets from a financial and resource standpoint.

Setting up your trading strategy: To begin with, you will need to decide what strategy type you are going to create, then research and analyze the market to set the parameters within which your algorithm will execute. This will include conducting technical analysis, setting up technical indicators, and trading rule sets. This will be one of the most time-consuming steps as it usually needs to be meticulous, which can take anywhere from 150 to 200 hours, whether it is your own or you contract an individual to create it for you.

Backtesting: Once the trading strategy has been created, the developer will need to test and optimize the algorithm using historical market data in a simulation environment rather than launch the strategy once it has been developed. By not backtesting, you run the risk of losing your funds by trading real money on unintended trade orders. This process can take anywhere between 80–120 hours.

Example backtest results for Ethereum delta/asset neutral yield(ETHy)

Accessing real-time and historical market data: In order to backtest and create a trading algorithm, you will need to have access to a large quantity of market data in order to conduct your market analysis and backtest. Accessing this data is time-consuming and can come at a cost. Implementing market data sets into your algorithmic trading system could take between 40–100 hours, along with any additional licensing fees from the data provider

Integration with exchanges: In order to place trade orders on a decentralized exchange, you will need to have an integration with the decentralized exchange and set up a smart contract. This requires blockchain development knowledge and working with APIs, which can take anywhere from 80–120 hours

These are the very basic requirements in order to conduct algorithmic trading for decentralized markets. If we were to multiply the average number of hours for each requirement by the average US hourly earning, it would have an estimated cost of $4,872.75.

💡

Average total hours = 445 x average US earnings per hour = $10.95 = $4,872.75

This is an estimated cost if you have the resources and technical ability at your disposal. If you were to outsource this to a developer, which averages $32 per hour, it would cost $14,240.

💡

Average total hours = 445 x average US software developer earnings per hour = $32 = $14,240.

As you can see, setting up an algorithmic trading system does not come cheap. There’s a lot of work needed in order to set up the most basic form of algorithmic trading, let alone a system that is reliable and has advanced capabilities. All of these elements become factors when evaluating whether algorithmic trading on decentralized markets is profitable. However, there is a way to avoid this setup cost entirely by leveraging technology solutions built for this specific reason.

There are protocols out there that have already created an automated trading system and infrastructure that allow traders and investors to invest in trading algorithms that have been created by strategy developers and quants. This allows you to skip the time-consuming and costly process of setting up an automated trading system.

  • Identifying the use of algorithmic trading protocols into your overall portfolio, how do you plan to leverage this technology into different parts of your strategy? Are you using it for arbitrage, to capitalize on market movements outside of your “available trading hours" or to capitalize on specific price action based on prior historical market trends?
  • Using it as a trade executor to avoid any human errors

Algoo Strategies Results and Data Quality

The number one question investors are asking is if one can make risk-adjusted profits in automated trading and whether there exists “alpha”, or if the long-term performance is better than the market overall. Based on the research our analysts have conducted, there exists successful trading strategies.

  • One can find strategies with ~20%–40% yearly returns with limited drawdown
  • Largest individual strategies can have $10M+ Assets Under Management

Cryptocurrency markets, especially DeFi markets, are still quite inefficient. We can expect automated opportunities to still be there for a long period of time. When the markets mature, we expect to see an increase in quantitative trading. Currently, US stock markets have more than 50% automated trading, and this figure excludes high-frequency trading activities.

We also see that many of the automated trading venues prefer misleading advertisements and dark user experience patterns. Because of misaligned incentive models, users are tricked into investing in badly performing strategies (performance manipulation tricks), as the strategy developer gets rewarded by the number of users, not by the strategy's performance.

Outside cherry-picked numbers, there are several reports of conflict of interest (platform trading against its users) and rampart security violations (3Commas stealing their user assets using their API keys). We expect a lot of the bad practices to be cleaned up when more and more cryptocurrency trading moves to DeFi. Better transparency and fairer market access will make it difficult to mislead users.

Are algorithmic trading strategies for decentralized markets profitable?

Algorithmic trading is a modern approach to a diverse trading strategy, and many traders have found great success with this approach. Algorithmic trading allows computers to execute trades at near-instant speeds. It also allows more variability when trading on decentralised markets, such as trading multiple currency pairs across a wide range of exchanges and the ability to set up order types found on traditional CEXs such as stop-loss, limit orders, buy-stop orders, etc.

The most effective way to get involved with algorithmic trading and give yourself the best probability of having a profitable trading strategy is to find a trading software, application, or protocol that has all of the tool setup needed for you to create or invest in trading algorithms. This allows you to test and experiment with algorithmic trading without having to invest large amounts of funds or time into creating an automated trading system and infrastructure on your own.

Benefits

  • Algorithmic trading gives your trading on the go
  • Less risk of manual human error
  • New algorithms are continually being developed and optimised
  • Allows you to trade more than one market at once
  • It gives you a variety of trading strategies
  • A computer never sleeps, meaning you are able to trade 24/7

Algorithmic trading on decentralized markets increases your chances of becoming a profitable trader, if executed correctly. If you are looking for a data-driven trading strategy, algorithmic trading allows you to bring your trading strategy concept to life. The fact that these algorithmic trading strategies have been validated based on historical data and programmed to execute on specific price actions or movements that you have defined illustrates the efficiency of trading.

For certain individuals, trading full-time isn’t an option; however, algorithmic trading gives traders an opportunity to simulate the activity of trading full-time. They essentially become active traders who capitalize on market movements without having to dedicate the time to do so.

If you are interested in exploring any of the algorithmic trading strategies we offer, kindly fill out this portfolio-building questionnaire tool and we will get back to you with a personalised investment schedule tailored to your risk profile, goals and budget.

--

--

AlgooStrategies

On-chain asset management protocol. Empowering the open financial system through simplicity, profitability and accessibility.