You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run a script and was surprised to see abnormally huge arbitrage opportunities. So I decided to pick a case and manually check rate calculation. My findings are below.
The script reported 10.58% rate for the sequence BTC -> BNB -> RCN.
Respective orderbooks were:
RCN/BNB: 0.003659 / 0.004078
RCN/BTC: 0.00000786 / 0.00000792
BNB/BTC: 0.00213080 / 0.00213140
Arbitrage steps were:
buy BNB for BTC (ask is 0.00213140)
buy RCN for BNB (ask is 0.004078)
sell RCN for BTC (bid is 0.00000786 which then gets inverted)
The cross rate calculated is 0.00213140 * 0.004078 / 0.00000786 = 1.1058332316 (10.58%)
The issue is that at steps 1-2 I'm supposed to buy RCN (for BTC via BNB) and the cross rate would be 0.00213140 * 0.004078 = 0.00000869.
At step 3 I'm supposed to sell this RCN for 0.00000786 or 10.58% cheaper.
So the rate is properly calculated, the only issue is that in this case it represents 10.58% loss, not 10.58% win opportunity.
The text was updated successfully, but these errors were encountered:
mkutny
changed the title
sign in cross rate calculation is wrong
the sign of cross rate calculation is wrong
Jul 5, 2018
We are not :p in every case the tool is to slow executing sale orders. Even
with a decent stop loss built in you still loose an average of 0.15% per
trade
Op di 6 nov. 2018 15:45 schreef Loic Ploumen <[email protected]:
Only idea I have for this is to add logic iterating through the order book, seeing how much can be sent down a route and still make a profit with fees included, then jumping the full route with market orders. With the min order value limits though, I'm not sure if the number of opportunities per day is worth this effort.
I run a script and was surprised to see abnormally huge arbitrage opportunities. So I decided to pick a case and manually check rate calculation. My findings are below.
The script reported 10.58% rate for the sequence BTC -> BNB -> RCN.
Respective orderbooks were:
Arbitrage steps were:
The cross rate calculated is 0.00213140 * 0.004078 / 0.00000786 = 1.1058332316 (10.58%)
The issue is that at steps 1-2 I'm supposed to buy RCN (for BTC via BNB) and the cross rate would be 0.00213140 * 0.004078 = 0.00000869.
At step 3 I'm supposed to sell this RCN for 0.00000786 or 10.58% cheaper.
So the rate is properly calculated, the only issue is that in this case it represents 10.58% loss, not 10.58% win opportunity.
The text was updated successfully, but these errors were encountered: