How the arbitrage works, Is transaction fee is included for calculating arbitrage across exchanges, cryptocoincharts seems to render incorrect values,
- Any other arbitrage available at open source?
- How to calculate arbitrage?
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.Sign up to join this community
To answer your first question: I do not know any free, opensource, trusted software that arbitrages for you. It will not generate any money for the developers, and only depletes their source of income.
To calculate the profit in arbitrage you first have to know all the steps:
Of course you can do this also with different altcoins, which travel faster between the exchanges than money.
As you see, there are 4 different fees that you have to calculate. Trading fees are most of the time a percentage of the volume, but withdrawal fees are most are most of the time fixed. That is also what I am assuming in the following formula:
Bitcoin on exchange B = X = (Start amount / (rate #1) * (1 - trading fee #1)- withdrawal fee #1)
USD on exchange A = Y = X * (rate #2) * (1 - trading fee #2) - withdrawal fee #2
profit = (Y/X - 1)*100 (outcome in %)
I tried to break the equation in pieces so that is more readable. X in the second equation is calculated in the first one. Y is the outcome of the second equation. Profit uses both variables.
The two most important variables are of course the rates. If they are very close to each other (within ~0.5%) there is very little chance to arbitrage. This is because the trading fees are around 0.2%, and you have to trade twice. If the starting amount is big enough, the withdrawal fee is negligible (for example: 0.00050 BTC on Kraken). You can fill in the variables (rate, fees, start amount) yourself to calculate the profit.
*Note: there could be an error in here. I am in no way responsible for any loss of money because of this calculations. I calculated it myself by hand a dozen of times and it is easy for a mistake to slip in. Also remember that the market changes during the transfer of money/bitcoin, and therefor your chance to make money can vanish.