cryptoeax / arbbot

Arbitrator, a bitcoin/altcoin arbitrage trading bot
https://gitter.im/cryptoeax-arbbot/Lobby
GNU General Public License v3.0
199 stars 78 forks source link

The initial profitability calculation and the following checks have some kind of problem #68

Closed Exalovic closed 6 years ago

Exalovic commented 6 years ago

I have been noticing that the bot has been making several trades that initially look like good profits, but end up giving a negative P&L when showing the final profit. This mostly happens with the coin DGB, but what ever is causing this could also be leading to the bot starting unprofitable trades with other coins

Notice the profit calculated first from the spread and the following profit calculations and the realized P&L

826yk4e

cryptoeax commented 6 years ago

I found this before you ;-)

Fixed by 4190bce29767410ae7d6e80d3a617f5f5c69e10f.