So I have many questions from clients want it know more about What is Crypto Arbitrage Trading? and how they can make money from it in India
The volatile crypto markets have continued to capture the imagination of the financial world. The rapid price actions have presented a range of opportunities when it comes to cryptocurrency arbitrage and trading. Unlike the traditional financial market where the final frontier may have already been explored when it comes to advanced trading functionality, the crypto space is far less efficient. Opportunities for arbitrage exist around every corner - but how do we take advantage of these opportunities?
This article will focus on a few of the most simple arbitrage opportunities available in the market. Upon completion of this article, I hope that you will not only better understand how arbitrage works in the cryptocurrency market, but you will be provided the tools to execute an arbitrage strategy of your own.
What is crypto arbitrage trading?
Before we begin, it’s important to understand how an exchange order book works. We can see in the below illustration that Bid orders are placed on the left side. On the right side, we must place Ask orders. If you want to execute an instant trade, which results in being the taker in the exchange, you can either place a limit order on the other side of the bid-ask spread (from your current position), or execute a market order.
Arbitrage is the process of taking advantage of inefficiencies in markets. In the case of cryptocurrencies, this can occur as the price of assets fluctuates over time. If there is a difference between the price of an asset across exchanges (or even potentially within the same exchange), it may be possible to buy and sell the same asset in a way which will result in a net profit.
This process will be dissected in more detail throughout the remainder of this article. We will discuss how to calculate arbitrage opportunities, how to take advantage of these situations, and even how to build your own trading system designed for arbitraging the market.
How is an arbitrage opportunity calculated?
The arbitrage opportunity for any market is calculated by identifying the overlap between the highest bid prices and the lowest ask prices. When the bid price on one exchange is higher than the ask price on another exchange for a cryptocurrency, this is an arbitrage opportunity.
Now, before we start throwing trades at this situation hoping for a quick buck, let’s take a measured approach by calculating the size of the opportunity. One thing we need to remember when calculating the value of the arbitrage opportunity: Executing the arbitrage will result in consuming the order book. For example, let’s look at “Step 2” in the illustration to the left. In this step, we have highlighted the amount of the order book which overlaps. That means the bid price on one exchange is higher or equal to the ask price on another exchange for the highlighted area.
However, once we begin executing on the arbitrage opportunity, what we notice in steps 4 and 5 is that consuming the order book results in the arbitrage opportunity shrinking after each price value is taken. Therefore, we aren’t able to capitalize on all of the value which is highlighted in yellow in step 2 (the area of the depth), but only a fraction of the value.
When calculating the size of the opportunity, we must therefore take this behavior into account. We can do this by systematically simulating the execution of the actual buys and sells we would actually make on the exchange during the arbitrage.
How are trades executed to take advantage of the arbitrage opportunity?
Now that we understand conceptually how arbitrage happens, let’s discuss the most popular types of arbitrage opportunities: Simple and Triangular Arbitrage.
Simple arbitrage is the buying and selling action we described in our previous examples in this article. Simple arbitrage buys and sells the same crypto asset on different exchanges as quickly as possible to take advantage of the inefficiencies of pricing across exchanges.
This form of arbitrage does not require any additional trades outside those necessary to swap the two assets which are shared by the asset pair which is exhibiting the arbitrage opportunity.
Triangular arbitrage is an event that can occur on a single exchange (or across multiple exchanges) where the price differences between three different cryptocurrencies lead to an arbitrage opportunity. Since many exchanges have a number of markets with a variety of quote currency options. This opens up a long list of triangular trading patterns that can be leveraged to take advantage of inefficiencies in an individual exchange pricing.
This illustration demonstrates how triangular arbitrage can lead to a return in profits.
- Begin at one asset. This asset will be the asset to which we eventually return after completing the arbitrage loop.
- Trade to a second currency which connects to both the original asset and the next asset in the loop. This is required to prevent transversing on the same path.
- Trade to a third currency which connects both the first and second asset. This second trade locks in a zero-risk profit due to the rate inconsistencies across the 3 pairs.
- Convert the third currency back for the original asset.
In the illustrated example, we begin with a value of 1.0000 BTC. To calculate the value of the opportunity, go around the triangle and calculate the bid and ask prices for each trading pair. Note that the bottom trade uses the asking price and we divided ETH by LTC in order to calculate the ratio. Once each of these values has been calculated, we simply go around the triangle and multiple or divide based on the operation that is dictated in the illustration. This would look like the following:
1.00000 x 138.23611 ÷ 2.52871 x 0.01894 = 1.03539 BTC
Arriving back at BTC, we can compare the end value to our starting value to determine the size of the opportunity. As we can see in this example, the end value was 1.03539 BTC. If we compare this to the starting value of 1.00000 BTC, we find the value of this opportunity is 0.03539 BTC. That means just by executing on this arbitrage opportunity, we increase our BTC holdings.
Note: Triangular arbitrage can be performed across multiple exchanges, but we won’t touch on those strategies in this article.
Putting it all together
Now that we know how to find and quantify arbitrage opportunities, we can pull everything together to complete our strategy.
First - Fund Exchange Accounts
Place funds on two different exchanges which will be monitored for arbitrage opportunities. These funds will be used to execute a simple arbitrage where the same asset is bought and sold instantaneously when an opportunity arises. Ideally, you would want to have funds on multiple exchanges since the process to transfer funds from one exchange to another is time-consuming and can become expensive. Not to mention, it’s easiest to strike at opportunities the split second they happen.
Second - Identify Opportunities
Identify opportunities by looking for a difference in pricing across exchanges. Compare the highest bid prices to the lowest ask prices to see where these values overlap. Anything which is overlapping is a potential arbitrage opportunity.
Third - Quantify Opportunities
Calculate the value of the opportunity by systematically simulating the selling and buying of the asset. This process will consume the order book, so make sure to take this aspect into account.
Fourth - Execute the Strategy
Execute the strategy by instantly placing orders with the exchange. Continue to place orders with the exchange to take advantage of the arbitrage opportunity as long as the opportunity is available.
Fifth - Do It Again
Stop once the opportunity is no longer available. At this time, it’s time to start looking for a new opportunity to do it all over again.
Enjoy the profits!
FAQ on Crypto Arbitrage Trading
Does Crypto Arbitrage Work And Is It Profitable?
Crypto arbitrage can work; its popularity is not baseless. It is important, however, to ensure that all fees are considered in profit calculations and to understand that there may well be times when the opportunity will close too quickly to be exploited.
Is Crypto Arbitrage Legitimate?
Many people doubt the legality of crypto arbitrage; and the answer is it depends on the country of residence. In India, there is workaround which could be used by traders to do this. Generally, it is also beneficial as it helps to close these discrepancies quickly, improving the efficiency of crypto markets.
What Is A Crypto Arbitrage Bot?
Bots are pieces of software that are written to automate processes that would otherwise be time-consuming and difficult. Bots are generally written in Python for cryptocurrency arbitrage and can be found on the internet, sometimes even for free. Bots are especially useful for crypto arbitrage as there is such a small timeframe of profitability.
Where Can I Learn About Crypto Arbitrage?
There are many guides online that lay out crypto arbitrage, its various strategies and the algorithms that bots are based on. Some websites, like Crypto University, offer training courses, calculators and helpful YouTube videos.
Can You Carry Out Crypto Arbitrage In India?
Yes, crypto arbitrage is available in all countries with access to crypto exchanges, whether local or abroad. For example, a Korean trader could use the internet to assess an opportunity between exchanges in India and South Africa, so long as they can open accounts there. In India, there is workaround which could be used by traders to do this.