wardbradt / peregrine

Detects arbitrage opportunities across 131 cryptocurrency exchanges in 50 countries
MIT License
1.21k stars 339 forks source link

Multiple exchanges arbitrage seems impossible? #65

Open zgayjjf opened 4 years ago

zgayjjf commented 4 years ago

How can a trader make a profit across multiple exchanges? He should withdraw a coin from an exchange and deposit in another exchange. If there are more than 2 exchanges, this would drastically increase the whole time.

Even if we have assets in all the exchanges already, we would notice that when we sold out all the base coin in one exchange, we will never have the chance to buy them back.

So, it is possible to make a profit across multiple exchanges?

noahdahlman commented 4 years ago

Instead of thinking of your exchange accounts as separate, it may be more intuitive to think of them as being the same portfolio. arbitrage As long as the total value of your portfolio increases, you are making a profit, even if your are making transactions on separate accounts.

robertsmaoui commented 3 years ago

noahdahlman not True !! because the crypto bought in first exchange cannot be sold in the second exchange, the crypto is not available (balance 0) !!

noahdahlman commented 3 years ago

Yes, in this case, you would need to be holding balances on both exchanges, and in some cases, you can cycle funds by buying and transferring them before selling. I've seen some arbitrages last for hours, especially on smaller exchanges with low liquidity.