{"id":9,"date":"2019-06-04T15:46:30","date_gmt":"2019-06-04T15:46:30","guid":{"rendered":"https:\/\/arbinox.com\/blog\/?p=9"},"modified":"2019-07-19T17:15:46","modified_gmt":"2019-07-19T17:15:46","slug":"arbitrage-trading-with-crypto-assets","status":"publish","type":"post","link":"https:\/\/arbinox.com\/blog\/arbitrage-trading-with-crypto-assets\/","title":{"rendered":"Arbitrage Trading with Crypto Assets"},"content":{"rendered":"<p>Certainly many young crypto traders heard about <a href=\"https:\/\/www.investopedia.com\/terms\/c\/currency-arbitrage.asp\" rel=\"nofollow noopener\" target=\"_blank\">foreign exchange arbitrage trading<\/a>. They were even going to make the transaction, on the basis of a particular technique of carrying out of such operations.<\/p>\n<p><a href=\"https:\/\/arbinox.com\/\">Arbinox<\/a> specialists offer to understand the basic concepts of crypto currency arbitration. They propose to consider several popular schemes for its implementation. It is proposed to assess the possible risks of such operations.<\/p>\n<blockquote><p>\u201cAll wealth is based upon systems\u201d<\/p>\n<p><em>Dan Kennedy<\/em><\/p><\/blockquote>\n<p>So let&#8217;s start with the definition. Arbitrage (from the French. &#8220;arbitrage&#8221; is a fair solution) is a series of logically related transactions. They aim to profit from the difference in prices of the same or related assets.<\/p>\n<p><strong>There are two definitions:<\/strong><\/p>\n<ul>\n<li>spatial arbitrage (transactions in different markets at the same time);<\/li>\n<li>temporary arbitrage (operations on the same market, but at different times).<\/li>\n<\/ul>\n<p><strong>Spatial arbitration<\/strong><\/p>\n<p>When talking about market arbitration in a narrow sense, first of all one should bear in mind spatial arbitration.<\/p>\n<p>The simplest algorithm for such operations is as follows: let&#8217;s say, on two different exchanges quotes are markedly different. Accordingly, buying an asset on the first exchange at a lower quotation and selling it on the second at a more profitable, the trader will receive his profit.<\/p>\n<p>At its core, exchange arbitrage is the exploitation of the inefficiency of quoting an individual broker\/exchange or the financial system as a whole. At the same time, the less centralized the financial system, the worse the inter-exchange communication \u2014 the more opportunities for the arbitrage. That is why arbitrage operations with cryptocurrencies are currently extremely relevant.<\/p>\n<p>Well, let&#8217;s get down to specifics. We will analyze several arbitration schemes. And we will analyze their features.<\/p>\n<h2>Inter-exchange arbitration. Figure 1<\/h2>\n<p>Back to our simple example with the difference of quotations. On the stock exchange No. 1 quote of the BTC\/USD = $5 000, at the exchange No. 2 \u2014 $5 500. Buy on the stock exchange \u21161 (paying attention to the Ask-orders in the \u201cstock glass\u201d). Then we transfer to the exchange number 2 and sell there. As a result, we get $500 (10%) \u201cdirty\u201d profit, which should be called \u201cinter-exchange spread\u201d.<\/p>\n<p><img loading=\"lazy\" class=\" wp-image-22 aligncenter\" src=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/ArbitrageInterTransfer-300x91.jpg\" alt=\"Arbitrage Inter Transfer\" width=\"560\" height=\"170\" srcset=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/ArbitrageInterTransfer-300x91.jpg 300w, https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/ArbitrageInterTransfer.jpg 729w\" sizes=\"(max-width: 560px) 100vw, 560px\" \/><\/p>\n<h3>Transaction costs<\/h3>\n<p>It would seem that everything is quite simple. However, $500 in our example represents a \u201cdirty\u201d profit. \u201cClean\u201d net profit, we, in fact, get several less (and sometimes much less).<\/p>\n<p>Why is this happening? The answer is simple: because of the various commissions:<\/p>\n<ul>\n<li>for the transfer of funds from an external wallet to exchange \u21161;<\/li>\n<li>some exchanges (e.g. HitBTC and more recently Bitfinex) charge a fee for depositing funds;<\/li>\n<li>committing transaction on the stock exchange No. 1 (buying BTC);<\/li>\n<li>transfer between exchanges \u21161 and \u21162;<\/li>\n<li>committing transaction on the stock exchange # 2 (selling BTC);<\/li>\n<li>withdrawal of funds from the exchange \u21162 to the external wallet.<\/li>\n<\/ul>\n<p>Most arbitrators, of course, take into account all these transaction costs. They work with an inter-exchange spread of 1-2% and above. They are also working on various schemes to reduce transaction fees.<\/p>\n<h3>Liquidity problem<\/h3>\n<p>This is perhaps one of the most important points that should be taken into account before conducting arbitration operations. Often, a large inter-exchange spread is observed among low-liquid altcoins, trade volumes of which are quite small. In such cases, \u201ccrank\u201d large operations become very problematic.<\/p>\n<p>Professional arbitrators work mainly on large volumes. This approach allows to minimize transaction costs.<\/p>\n<p>Also, do not lose sight of the fact that a lot of players are trying to get the arbitration benefit at once. This means that with a large difference in prices at different sites, any volume will be selected quickly enough. As a result, the arbitrage trader loses potential profit due to the rapid reduction of the inter-exchange spread.<\/p>\n<h3>The risk of change quotes<\/h3>\n<p>All actions for spatial arbitration must be performed practically (and even better \u2014 literally) at the same time. Otherwise, the quotes will change and the inter-exchange spread will be smoothed. There is a high probability that the operation will become unprofitable.<\/p>\n<p>In the example we are considering, this risk mainly occurs at the stage of transfer of funds. From one exchange to another and from an external wallet to the exchange. The delay may arise from the exchange itself. For example, in connection with technical works, the wallet of a crypto asset may not work either for replenishment or for withdrawal.<\/p>\n<p>Also, the risk increases with a strong blockchain load of a particular cryptocurrency. This results in slow transaction processing. As for the number one cryptocurrency, even despite the recent decrease in the average size of fees and some increase in the speed of transaction confirmation, the transfer of funds from the wallet to the wallet will still take some time. During this time, the market situation may change greatly. For this reason, the bitcoin network is not very suitable for arbitration operations that require fast transactions.<\/p>\n<h3>Trading algorithm<\/h3>\n<p>According to the degree of automation of arbitration operations, there are several categories of traders:<\/p>\n<ol>\n<li>manual\/semi-automatic mode. This is how the majority of beginners testing a particular scheme works. The efficiency of operations in this mode is quite low. Often, special resources, paid\/free software, bots in telegram are used to search for arbitrage positions. Sometimes the information is provided by the exchange itself;<\/li>\n<li>algorithmic arbitration. It is much more effective if all arbitration operations are performed by a specialized program\/bot. It is also highly desirable to write a script yourself, and not buy ready. In this case, you can achieve maximum efficiency. In addition, you have the opportunity to make the necessary changes. Also, the exchange must support\/provide API. It is possible to embed the appropriate algorithm.<\/li>\n<\/ol>\n<h2>Inter-exchange arbitrage trading. Scheme No. 2<\/h2>\n<p>The main problem of inter-exchange arbitration under the first scheme is the need for rapid transfer of funds from exchange No. 1 to exchange No. 2. Let&#8217;s try to exclude this component. The second scheme will be effective in investing assets in the medium\/long term, especially at the time of pump.<\/p>\n<p>Suppose that we have 1 Bitcoin BTC and 20 000 USD(T), we hold two exchanges 50\/50 for risk diversification (see table \u2014 STEP 1).<\/p>\n<p>When an inter-exchange spread appears, we buy BTC (at the expense of USD(T) in our wallet) on the first exchange and sell them completely on the second (see STEP 2), after which we make two transfers from the exchange to the exchange to restore the balance (STEP 3).<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-35\" src=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/Arbitrage-Model-3.png\" alt=\"Crypto arbitrage Model 3\" width=\"809\" height=\"460\" srcset=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/Arbitrage-Model-3.png 809w, https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/Arbitrage-Model-3-300x171.png 300w, https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/Arbitrage-Model-3-768x437.png 768w\" sizes=\"(max-width: 809px) 100vw, 809px\" \/><\/p>\n<p>In this example, transaction costs are not taken into account, however, it is certainly necessary to remember them. So, in our case, the &#8220;dirty&#8221; arbitrage profit was 0.05 BTC.<\/p>\n<p><strong>Now for the cons of this scheme:<\/strong><\/p>\n<ol>\n<li>limited mobility \u2013 we are tied to two specific exchanges and are waiting for a favorable situation to carry out a profitable arbitration operation. It is necessary to carefully select the site for the work;<\/li>\n<li>increased transaction costs: it will be necessary to make two transactions to transfer funds from the exchange to the exchange in order to restore the original proportion of 50\/50 and close the cycle of operations.<\/li>\n<\/ol>\n<h2>Intra-exchange (triangular) arbitrage trading. Figure 3<\/h2>\n<p>The ability of inside arbitration occurs when the inefficiency of the quotation within the same site. Suppose we have at our disposal 10 000 USDT, and on the exchange there was the following situation with quotes:<\/p>\n<ol>\n<li>10 000 USDT 1 BTC<\/li>\n<li>1 BTC 71.43 NEO<\/li>\n<li>71.43 NEO 10 357 USDT<\/li>\n<\/ol>\n<p>In this situation, the &#8220;dirty&#8221; arbitration profit can be 357 USDT.<\/p>\n<p>The chain of intra-exchange arbitrage operations may not be limited to three assets, but may be longer and comprise, for example, four assets or even more.<\/p>\n<p>The disadvantage of this scheme is the increased risk of rapid changes in quotations. For greater efficiency need full automation of search and execution of applications.<\/p>\n<p>It is also worth noting that some exchanges introduce an additional delay for processing market orders using the API, which can significantly affect the final financial result.<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>The above three schemes of arbitrage operations with crypto assets are the simplest and popular among traders. To try yourself in arbitration or not \u2013 you decide. However, I would like to repeat that at the moment the relevance of such speculation leaves no doubt, since the crypto market has not been finally formed and is in constant development.<\/p>\n<p>However, the benefit can also be derived during periods of impulsive or strong trend movement of the asset price, especially if it is possible to predict it in advance.<\/p>\n<h2>Trading\/market (risk) arbitrage. Figure 4<\/h2>\n<p>This scheme is largely dependent on significant events and impulsive movements in the market, as well as the ability to predict the trend movement.<\/p>\n<p>When trading in the foreign exchange market, such events can be, for example, the publication of macroeconomic data (NFP every first Friday of a new month or the interest rate of the US Federal reserve). The concept of news trading is still poorly developed in the crypto market, but trading on a similar principle is still possible.<\/p>\n<p>It should also be noted that such popular graphical figures of technical analysis as a triangle, when broken, are equally likely to cause the movement of quotations up or down. In this case, it is likely to be pulsed:<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-42\" src=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/triangle-Arbinox-300x128.png\" alt=\"Triangle-Arbinox\" width=\"396\" height=\"169\" srcset=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/triangle-Arbinox-300x128.png 300w, https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/triangle-Arbinox.png 491w\" sizes=\"(max-width: 396px) 100vw, 396px\" \/><\/p>\n<p>The popular figure of technical analysis \u201cTriangle\u201d. Breaking through one of its sides up or down is often accompanied by a powerful movement of the asset price.<\/p>\n<p>For this type of arbitrage trading, it is necessary to use two crypto-currency exchanges, where the possibility of margin trading (for example, Bitfinex and Poloniex) is presented, since it will be necessary to open positions for a decrease.<\/p>\n<p>On one exchange, we open a position for an increase, on the other \u2014 for a decrease before the moment of penetration of the figure. Positions must be in the aggregate market neutral. In other words, the collateral, margin and opening quotes must be identical.<\/p>\n<p>Next, there are options for closing the position:<\/p>\n<p>\u2014 without placing pending orders (closing a losing position when the percentage values of Margin Call\/Stop Out Are reached);<\/p>\n<p>\u2014 setting of pending orders (Stop Loss\/Take Profit); closing at the specified quotes.<\/p>\n<p>Closing one of the transactions (partially or completely) with a loss, we get profit from the second position. The difference between them will be the trader&#8217;s arbitrage profit.<\/p>\n<p>This method of arbitration is not recommended for beginners, because it is necessary to correctly and carefully choose the strategy of money management, as well as the size of the position in relation to the size of the market movement. Do not forget that margin security is provided on credit, for which you will need to pay interest.<\/p>\n<p>The main disadvantage of this scheme is the trading risk. It includes possible slippage of order processing, knocking out one or both positions on the hyper volatile market by Stop Loss, etc. Also, not all assets can be traded with margin collateral, their number is limited.<\/p>\n<h2>Spread arbitration (the synthetic position). Figure 5<\/h2>\n<p>This arbitrage trading method will also require margin trading, implying the ability to trade on the downside. Let&#8217;s consider the scheme on the example of BTC\/USD(T) currency pair.<\/p>\n<p>Suppose one exchange quotes BTC\/USD = $10 000, and the other \u2014 $10 300. On the first exchange, we open a position for an increase, on the second \u2014 for a decrease with the same volume:<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-44\" src=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/Inter-Exchange-Spread-Arbinox.png\" alt=\"Inter Exchange Spread\" width=\"535\" height=\"180\" srcset=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/Inter-Exchange-Spread-Arbinox.png 535w, https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/Inter-Exchange-Spread-Arbinox-300x101.png 300w\" sizes=\"(max-width: 535px) 100vw, 535px\" \/><\/p>\n<p>As you can see, the aggregate position will again be market neutral. In other words, if the exchange rate of BTC\/USD changes, the profit of one position will be equal to the loss on the other (provided the same amount and percentage of borrowed coins for margin security).<\/p>\n<p>What can a trader earn here? The fact is that the spread is not a constant value and in this case, the change in quotations plays into the hands of the arbitrage. After fixing the spread of $300, you should wait until it changes to the desired value (for example, $150), and then close all positions.<\/p>\n<p><strong>Consider the scheme in more detail:<\/strong><\/p>\n<ol>\n<li>Open two positions with a spread of $300: buy BTC\/USD on Exchange \u2116 1 at a price of $10 000 and sell bitcoins on Exchange \u2116 2 at the rate of $10 300;<\/li>\n<li>Close both positions with a spread of $150 (on exchange # 1 fix the price of $10 500, on exchange # 2 fix the price of $10 650).<\/li>\n<\/ol>\n<p>Overall financial result: (10 500 \u2014 10 000) + (10 300 \u2014 10 650) = 150$<\/p>\n<p><strong>Disadvantages of this scheme:<\/strong><\/p>\n<ul>\n<li>liquidity accounting (which in this case will be more difficult) \u2014 to be able to trade with margin, it is necessary to take it into loans. At the same time, the volume of such loan offers may also be insufficiently liquid.<\/li>\n<\/ul>\n<p>Arbinox Arbitrage Trading Platform provides the best performed Automated <a href=\"https:\/\/arbinox.com\/\">Arbitrage Trading Platform<\/a> based on spread arbitration principle.<\/p>\n<p>The Arbinox system as an analysis proposes to consider the cross-exchange spread as a percentage of divergence. An example of how the spread changes on the daily chart:<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-46\" src=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/BTC-USD-ARBINOX-Spread.png\" alt=\"Arbinox dayly spread\" width=\"791\" height=\"278\" srcset=\"https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/BTC-USD-ARBINOX-Spread.png 791w, https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/BTC-USD-ARBINOX-Spread-300x105.png 300w, https:\/\/arbinox.com\/blog\/wp-content\/uploads\/2019\/06\/BTC-USD-ARBINOX-Spread-768x270.png 768w\" sizes=\"(max-width: 791px) 100vw, 791px\" \/><\/p>\n<h2>Arbitrage trading the spot-futures. Calendar spreads. Figure 6<\/h2>\n<p>Arbitrage spot futures involves on the one hand the purchase of an asset, and on the other \u2014 the sale of futures on the same asset.<\/p>\n<p>Often, the futures prices of assets are just above their spot price, and this can be earned. However, for this type of arbitrage, the futures must be deliverable. Unfortunately, at the moment futures on the CME and CBOE bitcoin exchanges are settlement. Therefore, this type of arbitration is not yet available, but everything can change over time.<\/p>\n<p>However, it is already possible to trade calendar spreads between two futures contracts. Let&#8217;s assume that the following situation appeared on the market (not because of the difference in the quotes update as in the picture, but in real time):<\/p>\n<p>&nbsp;<\/p>\n<p>As you can see from the table, we can buy the March futures and sell the February futures by fixing the calendar spread between them.<\/p>\n<p>Within the meaning and logic of trade, this operation is fully consistent with the previous arbitration scheme. Next, you need to wait for the calendar spread to narrow, and then close the positions. Or you can wait for the expiration of the nearest contract, and then the closure is automatic.<\/p>\n<p>Recently, for Russian traders also opened access to trade futures on bitcoin, but do not forget about the additional Commission (about $20-30).<\/p>\n<p>With the further development of derivative financial instruments (for example, options) on the basis of bitcoin, new opportunities for arbitration operations will appear. At the moment, the opportunity to trade traditional (or, as they say, \u201cvanilla\u201d) options is only on the <a href=\"https:\/\/www.ledgerx.com\/\" rel=\"dofollow noopener\" target=\"_blank\">LedgerX exchange<\/a>. However, it is expected that the options will begin to appear en masse and actively in the summer of 2019.<\/p>\n<h3>Conclusion<\/h3>\n<p>In this article we have analyzed several arbitration schemes, both relatively simple and more complex. In fact, there are many more arbitration schemes. For example, pair arbitrage trading, which allows you to earn income by changing the correlation of the two assets, was not considered.<\/p>\n<p>Arbitrage transactions are certainly of interest, especially in the emerging cryptocurrency market. They allow you to get a small income with relatively small risks due to the inefficiency of quoting on different liquidity trading platforms.<\/p>\n<p>To reap significant benefits, you will need a large Deposit, a deep understanding of the market and, preferably, programming skills to create and maintain an arbitration bot.<\/p>\n<p>It should be understood that, despite the wide opportunities for such earnings, the young crypto market is characterized by increased risks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Certainly many young crypto traders heard about foreign exchange arbitrage trading. They were even going &#8230;<\/p>\n","protected":false},"author":3,"featured_media":33,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[7],"_links":{"self":[{"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/posts\/9"}],"collection":[{"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/comments?post=9"}],"version-history":[{"count":26,"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions"}],"predecessor-version":[{"id":64,"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/posts\/9\/revisions\/64"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/media\/33"}],"wp:attachment":[{"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/media?parent=9"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/categories?post=9"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arbinox.com\/blog\/wp-json\/wp\/v2\/tags?post=9"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}