Bitcoin Forum
April 27, 2024, 02:03:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Detailed description of digital currency quantitative arbitrage  (Read 149 times)
henrythebest (OP)
Jr. Member
*
Offline Offline

Activity: 109
Merit: 7

Perseverance pays... a lot!


View Profile
January 04, 2019, 02:11:55 AM
 #1

article originally from fmz.com

There are many global digital currency exchanges, and the same currency in market is not always effective in pricing due to many factors affecting. The same pair has spread among two or more exchanges. As long as there is a spread, there is arbitrage. Arbitrage through spreads is basically risk free in the digital currency market.

Suppose the EOS/USDT pair: the price in Huobi is 11, the price in Binance is 10, and the EOS has spread of 1 USDT between the two exchanges. Suppose you hold 1 EOS in Huobi, following the principle of selling high and buying low, sell 1 EOS in Huobi to get 11 USDT, spend 10 USDT to buy 1 EOS in Binance, then you net earned 1 USDT, and the amount of EOS remains unchanged. Although there is such a spread, manual arbitrage often has many uncertainties due to the time-consuming, poor accuracy and price changes of manual operations. Through the quantitative model to capture arbitrage opportunities and develop arbitrage trading strategies, and programmatic algorithms automatically release trading orders to the exchange, quickly and accurately capture opportunities, and efficiently earn income, which is the charm of quantitative arbitrage.


1. Cross-market two-side hedging arbitrage

The two-side arbitrage is also called direct arbitrage and bilateral arbitrage. It is through the discovery that the same transaction pair (like: EOS/USDT) has a spread in two different exchanges, and the behavior of high-selling and low-buying to take the spread profit.

The amount of hedged profit and loss is equal, and the same base currency is bought and sold in both markets to ensure that quote currency is transferred.

Suppose the Huobi EOS/USDT price is 8, and the Okex EOS/USDT price is 10. Follow the principle of buying low & selling high. Suppose that there are 100 USDTs held in Huobi and 10 EOSs in Okex, the arbitrage process:

        1) Use 80 USDT to buy 10 EOS in Huobi, and then there are 10 EOS and 20 USDT in Huobi account.

        2) Sell 10 EOS in Okex to get 100USDT, then there are 0 EOS and 100 USDT in Okex account.

After 1 round (1, 2 can be simultaneously carried out) hedging transactions (10 EOS for the amount of hedging), the user still has 10 EOSs, and the number of USDT becomes 120, and the net profit is 20 USDT.

When the high-priced market holds base currency or the low-priced market holds quote currency or fiat, it can carry out two-way cyclic hedge arbitrage.

When there is no base currency in the high-priced market or no quote currency in the low-priced market, arbitrage needs to put fiat in the low-price market.

When the arbitrage gain is greater than the arbitrage cost, and it’s stored in fiat account, you can perform cyclic arbitrage. (Moving bricks needs to pay attention to time risk)


2. Cross-market triangle hedge arbitrage

Triangular arbitrage, also known as indirect arbitrage or multilateral arbitrage, is to use three or more currency exchange rate spreads for trading in three or more trading markets at the same time. Triangular arbitrage is the arbitrage of cross-exchange rate pricing errors. If EOS/USDT=10, EOS/ETH=0.01, ETH/USDT=500, the fair price of ETH/USDT formed as 1000 by EOS/USDT and EOS/ETH cross-price, and the current price of ETH/USDT is 500. There is spread for arbitrage.

If EOS/ETH=0.5, EOS/USDT=10, USDT/ETH=0.01, the fair price of EOS/ETH formed by EOS/USDT, USDT/ETH is 400, and the current price of ETH/USDT is 500. Poor, follow the principle of buying low & selling high, can carry out arbitrage. as the picture shows:

Suppose you initially have 2 EOS, and you sell to get 1 ETH, then sell 1 ETH to get 100 USDT, and then sell 100 USDTs to get 10 EOS. After the triangle round, the number of EOS is changed from the initial 2 to 10.

3. triangle loop arbitrage in same exchange

Based on the principle of triangular arbitrage, use the spread of three pairs on the same exchange to trade, and there is no need to remove your currency. Calculated by 10,000 yuan, even if the arbitrage gain is only 0.1%, if one thousand times of arbitrages is executed in one day, the one-day income will become 21,700 annualized income, and no need to remove currency in account, never.

article originally from fmz.com

In Bitcoin We Trust
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714226615
Hero Member
*
Offline Offline

Posts: 1714226615

View Profile Personal Message (Offline)

Ignore
1714226615
Reply with quote  #2

1714226615
Report to moderator
1714226615
Hero Member
*
Offline Offline

Posts: 1714226615

View Profile Personal Message (Offline)

Ignore
1714226615
Reply with quote  #2

1714226615
Report to moderator
davinchi
Legendary
*
Offline Offline

Activity: 2100
Merit: 1058


View Profile
January 04, 2019, 04:36:00 PM
 #2

What this article is missing is the volatility and quickness of changes in crypto markets.
Even tough it states as disclaimer at the beginning stating "uncertainties due to the time-consuming, poor accuracy and price changes of manual operations" it keeps on talking about how it could be profitable disregarding what it says.

Yes, there could be chances of doing this and making a profit but at this late stage of crypto trading almost all arbitrage chances are covered by auto bots and people with a lot of money.

Hence, for a person with not a big amount it would be hard to do arbitrage because of quick price changes, transaction fees and withdrawal fees associated with crypto trading. So, making it really difficult for low income people to test this method and make the entry barrier very high.
QuadsPoker
Copper Member
Member
**
Offline Offline

Activity: 168
Merit: 42

nothing is impossible


View Profile
January 04, 2019, 05:32:03 PM
 #3

article originally from fmz.com

There are many global digital currency exchanges, and the same currency in market is not always effective in pricing due to many factors affecting. The same pair has spread among two or more exchanges. As long as there is a spread, there is arbitrage. Arbitrage through spreads is basically risk free in the digital currency market.

Suppose the EOS/USDT pair: the price in Huobi is 11, the price in Binance is 10, and the EOS has spread of 1 USDT between the two exchanges. Suppose you hold 1 EOS in Huobi, following the principle of selling high and buying low, sell 1 EOS in Huobi to get 11 USDT, spend 10 USDT to buy 1 EOS in Binance, then you net earned 1 USDT, and the amount of EOS remains unchanged. Although there is such a spread, manual arbitrage often has many uncertainties due to the time-consuming, poor accuracy and price changes of manual operations. Through the quantitative model to capture arbitrage opportunities and develop arbitrage trading strategies, and programmatic algorithms automatically release trading orders to the exchange, quickly and accurately capture opportunities, and efficiently earn income, which is the charm of quantitative arbitrage.


1. Cross-market two-side hedging arbitrage

The two-side arbitrage is also called direct arbitrage and bilateral arbitrage. It is through the discovery that the same transaction pair (like: EOS/USDT) has a spread in two different exchanges, and the behavior of high-selling and low-buying to take the spread profit.

The amount of hedged profit and loss is equal, and the same base currency is bought and sold in both markets to ensure that quote currency is transferred.

Suppose the Huobi EOS/USDT price is 8, and the Okex EOS/USDT price is 10. Follow the principle of buying low & selling high. Suppose that there are 100 USDTs held in Huobi and 10 EOSs in Okex, the arbitrage process:

        1) Use 80 USDT to buy 10 EOS in Huobi, and then there are 10 EOS and 20 USDT in Huobi account.

        2) Sell 10 EOS in Okex to get 100USDT, then there are 0 EOS and 100 USDT in Okex account.

After 1 round (1, 2 can be simultaneously carried out) hedging transactions (10 EOS for the amount of hedging), the user still has 10 EOSs, and the number of USDT becomes 120, and the net profit is 20 USDT.

When the high-priced market holds base currency or the low-priced market holds quote currency or fiat, it can carry out two-way cyclic hedge arbitrage.

When there is no base currency in the high-priced market or no quote currency in the low-priced market, arbitrage needs to put fiat in the low-price market.

When the arbitrage gain is greater than the arbitrage cost, and it’s stored in fiat account, you can perform cyclic arbitrage. (Moving bricks needs to pay attention to time risk)


2. Cross-market triangle hedge arbitrage

Triangular arbitrage, also known as indirect arbitrage or multilateral arbitrage, is to use three or more currency exchange rate spreads for trading in three or more trading markets at the same time. Triangular arbitrage is the arbitrage of cross-exchange rate pricing errors. If EOS/USDT=10, EOS/ETH=0.01, ETH/USDT=500, the fair price of ETH/USDT formed as 1000 by EOS/USDT and EOS/ETH cross-price, and the current price of ETH/USDT is 500. There is spread for arbitrage.

If EOS/ETH=0.5, EOS/USDT=10, USDT/ETH=0.01, the fair price of EOS/ETH formed by EOS/USDT, USDT/ETH is 400, and the current price of ETH/USDT is 500. Poor, follow the principle of buying low & selling high, can carry out arbitrage. as the picture shows:

Suppose you initially have 2 EOS, and you sell to get 1 ETH, then sell 1 ETH to get 100 USDT, and then sell 100 USDTs to get 10 EOS. After the triangle round, the number of EOS is changed from the initial 2 to 10.

3. triangle loop arbitrage in same exchange

Based on the principle of triangular arbitrage, use the spread of three pairs on the same exchange to trade, and there is no need to remove your currency. Calculated by 10,000 yuan, even if the arbitrage gain is only 0.1%, if one thousand times of arbitrages is executed in one day, the one-day income will become 21,700 annualized income, and no need to remove currency in account, never.

article originally from fmz.com


I love arbitrage myself. But I have some remarks with what you posted in your topic.

Crossmarket two-side arbitrage.

You should take the trading fees into account. You will have to pay fees as well on the sell on the one exchange and the buy on the other exchange. So if you buy for 80$ EOS on the one exchange you will pay a fee of 0.075 to 0.25% depending on the exchange. If you sell your 10EOS on the other exchange you will pay the fee again. So in best case you only paid 0.15% and in worst case depending on the exchange you pay 0.5% fees in total.
The example you used explains it clearly but I do not think price differences of 20% (8 on the one 10 on the other) doesn't occur that many times.

So people must be well informed before they start arbitrage trading.

Cross market triangle hedge arbitrage

The example in your post looks unrealistic. Turning 2 EOS in 10 EOS with a single cross market triangle arb trade is just not possible. As well in this example you forget to mention the fees. In this arb strategy you even have to pay fees 3 times to execute the arb trade. Something I should certainly mention to do so.

Triangle loop arbitrage in same exchange

One very large mistake you make. You do not take any fees into account. You are speaking about 1000 arbitrage trades in 1 day and are talking about if only the arb has a 0.1% gain. This sounds like everything is that easy.
This strategy even if arbs are executed on the same exchange it takes 3 different trades to execute the arb. Let say for example if you trade on Binance and have BNB to decrease the fee than you still pay 0.225% fees to execute the entire arb trade. So 0.1% gain arbs are not profitable cause you pay way more fees than you make profits from the trade. And now I a talking about the cheapest fees in the industry. If for example you use bittrex you pay a flat fee of 0.25%. So in order to execute your arb you will pay 0.75% fees in total which means you will have to find arbitrage opportunities of at least 1% to make 0.25% profits. So to become profitable in some way you will have to search for arbitrage opportunities of 0.5% or higher before you can start talking about profits.
This brings us at the 1000 trades daily. I wish you good luck to find 1000+ arbs on an exchange in 1 day that qualify to make you profit (taking fees into account.


So my only advice is to add fees in any post that is posted related to arbitrage trading, cause a lot of people post arbitrage trading topics just like it is an easy way to make money, but a lot of these pèrsons forget to mention fees and do not add them into their calculations. And let the fees be one of the most crucial elements in arbitrage trading. If you do it in sport betting mostly there is no fee applied. But in crypto fees are a crucial element to take into account.

Signature for rent. Your signature will be displayed an entire year in one of my threads that is visited 200+ times daily
henrythebest (OP)
Jr. Member
*
Offline Offline

Activity: 109
Merit: 7

Perseverance pays... a lot!


View Profile
January 05, 2019, 02:17:26 AM
 #4

What this article is missing is the volatility and quickness of changes in crypto markets.
Even tough it states as disclaimer at the beginning stating "uncertainties due to the time-consuming, poor accuracy and price changes of manual operations" it keeps on talking about how it could be profitable disregarding what it says.

Yes, there could be chances of doing this and making a profit but at this late stage of crypto trading almost all arbitrage chances are covered by auto bots and people with a lot of money.

Hence, for a person with not a big amount it would be hard to do arbitrage because of quick price changes, transaction fees and withdrawal fees associated with crypto trading. So, making it really difficult for low income people to test this method and make the entry barrier very high.

thanks a lot, this just a general idea how does this kind of trading works, you got a great point, so many details need to be considered.

In Bitcoin We Trust
henrythebest (OP)
Jr. Member
*
Offline Offline

Activity: 109
Merit: 7

Perseverance pays... a lot!


View Profile
January 05, 2019, 02:18:55 AM
 #5

article originally from fmz.com

There are many global digital currency exchanges, and the same currency in market is not always effective in pricing due to many factors affecting. The same pair has spread among two or more exchanges. As long as there is a spread, there is arbitrage. Arbitrage through spreads is basically risk free in the digital currency market.

Suppose the EOS/USDT pair: the price in Huobi is 11, the price in Binance is 10, and the EOS has spread of 1 USDT between the two exchanges. Suppose you hold 1 EOS in Huobi, following the principle of selling high and buying low, sell 1 EOS in Huobi to get 11 USDT, spend 10 USDT to buy 1 EOS in Binance, then you net earned 1 USDT, and the amount of EOS remains unchanged. Although there is such a spread, manual arbitrage often has many uncertainties due to the time-consuming, poor accuracy and price changes of manual operations. Through the quantitative model to capture arbitrage opportunities and develop arbitrage trading strategies, and programmatic algorithms automatically release trading orders to the exchange, quickly and accurately capture opportunities, and efficiently earn income, which is the charm of quantitative arbitrage.


1. Cross-market two-side hedging arbitrage

The two-side arbitrage is also called direct arbitrage and bilateral arbitrage. It is through the discovery that the same transaction pair (like: EOS/USDT) has a spread in two different exchanges, and the behavior of high-selling and low-buying to take the spread profit.

The amount of hedged profit and loss is equal, and the same base currency is bought and sold in both markets to ensure that quote currency is transferred.

Suppose the Huobi EOS/USDT price is 8, and the Okex EOS/USDT price is 10. Follow the principle of buying low & selling high. Suppose that there are 100 USDTs held in Huobi and 10 EOSs in Okex, the arbitrage process:

        1) Use 80 USDT to buy 10 EOS in Huobi, and then there are 10 EOS and 20 USDT in Huobi account.

        2) Sell 10 EOS in Okex to get 100USDT, then there are 0 EOS and 100 USDT in Okex account.

After 1 round (1, 2 can be simultaneously carried out) hedging transactions (10 EOS for the amount of hedging), the user still has 10 EOSs, and the number of USDT becomes 120, and the net profit is 20 USDT.

When the high-priced market holds base currency or the low-priced market holds quote currency or fiat, it can carry out two-way cyclic hedge arbitrage.

When there is no base currency in the high-priced market or no quote currency in the low-priced market, arbitrage needs to put fiat in the low-price market.

When the arbitrage gain is greater than the arbitrage cost, and it’s stored in fiat account, you can perform cyclic arbitrage. (Moving bricks needs to pay attention to time risk)


2. Cross-market triangle hedge arbitrage

Triangular arbitrage, also known as indirect arbitrage or multilateral arbitrage, is to use three or more currency exchange rate spreads for trading in three or more trading markets at the same time. Triangular arbitrage is the arbitrage of cross-exchange rate pricing errors. If EOS/USDT=10, EOS/ETH=0.01, ETH/USDT=500, the fair price of ETH/USDT formed as 1000 by EOS/USDT and EOS/ETH cross-price, and the current price of ETH/USDT is 500. There is spread for arbitrage.

If EOS/ETH=0.5, EOS/USDT=10, USDT/ETH=0.01, the fair price of EOS/ETH formed by EOS/USDT, USDT/ETH is 400, and the current price of ETH/USDT is 500. Poor, follow the principle of buying low & selling high, can carry out arbitrage. as the picture shows:

Suppose you initially have 2 EOS, and you sell to get 1 ETH, then sell 1 ETH to get 100 USDT, and then sell 100 USDTs to get 10 EOS. After the triangle round, the number of EOS is changed from the initial 2 to 10.

3. triangle loop arbitrage in same exchange

Based on the principle of triangular arbitrage, use the spread of three pairs on the same exchange to trade, and there is no need to remove your currency. Calculated by 10,000 yuan, even if the arbitrage gain is only 0.1%, if one thousand times of arbitrages is executed in one day, the one-day income will become 21,700 annualized income, and no need to remove currency in account, never.

article originally from fmz.com


I love arbitrage myself. But I have some remarks with what you posted in your topic.

Crossmarket two-side arbitrage.

You should take the trading fees into account. You will have to pay fees as well on the sell on the one exchange and the buy on the other exchange. So if you buy for 80$ EOS on the one exchange you will pay a fee of 0.075 to 0.25% depending on the exchange. If you sell your 10EOS on the other exchange you will pay the fee again. So in best case you only paid 0.15% and in worst case depending on the exchange you pay 0.5% fees in total.
The example you used explains it clearly but I do not think price differences of 20% (8 on the one 10 on the other) doesn't occur that many times.

So people must be well informed before they start arbitrage trading.

Cross market triangle hedge arbitrage

The example in your post looks unrealistic. Turning 2 EOS in 10 EOS with a single cross market triangle arb trade is just not possible. As well in this example you forget to mention the fees. In this arb strategy you even have to pay fees 3 times to execute the arb trade. Something I should certainly mention to do so.

Triangle loop arbitrage in same exchange

One very large mistake you make. You do not take any fees into account. You are speaking about 1000 arbitrage trades in 1 day and are talking about if only the arb has a 0.1% gain. This sounds like everything is that easy.
This strategy even if arbs are executed on the same exchange it takes 3 different trades to execute the arb. Let say for example if you trade on Binance and have BNB to decrease the fee than you still pay 0.225% fees to execute the entire arb trade. So 0.1% gain arbs are not profitable cause you pay way more fees than you make profits from the trade. And now I a talking about the cheapest fees in the industry. If for example you use bittrex you pay a flat fee of 0.25%. So in order to execute your arb you will pay 0.75% fees in total which means you will have to find arbitrage opportunities of at least 1% to make 0.25% profits. So to become profitable in some way you will have to search for arbitrage opportunities of 0.5% or higher before you can start talking about profits.
This brings us at the 1000 trades daily. I wish you good luck to find 1000+ arbs on an exchange in 1 day that qualify to make you profit (taking fees into account.


So my only advice is to add fees in any post that is posted related to arbitrage trading, cause a lot of people post arbitrage trading topics just like it is an easy way to make money, but a lot of these pèrsons forget to mention fees and do not add them into their calculations. And let the fees be one of the most crucial elements in arbitrage trading. If you do it in sport betting mostly there is no fee applied. But in crypto fees are a crucial element to take into account.


you are right, this article is from way back, lots of things has changed , thanks a lot

In Bitcoin We Trust
QuadsPoker
Copper Member
Member
**
Offline Offline

Activity: 168
Merit: 42

nothing is impossible


View Profile
January 05, 2019, 08:01:28 AM
 #6

No probs. Just always try to be as accurate as possible and dont leave crucial things. Certainly when talking about arbitrage trading fees are very crucial

Signature for rent. Your signature will be displayed an entire year in one of my threads that is visited 200+ times daily
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!