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 bot can buy an altcoin at an amount that it won't balance between exchanges #44

Open Exalovic opened 6 years ago

Exalovic commented 6 years ago

altcoin As seen in this picture the bot has bought 6.5 NEOS, however it won't balance it between the exchanges even though apparently it's above the threshold?

cryptoeax commented 6 years ago

The difference is below the minimum transfer threshold, which is why no transfer is made. The difference is computed here: https://github.com/cryptoeax/arbbot/blob/93f70c5722f20cdfd0955490dd4455603d084e2e/bot/CoinManager.php#L294

Note how the total and average values on Poloniex are both the same!oyr

Your bot would transfer if you had more coins because $wallets[ $coin ] in the formula would have a higher value, but we can probably do something in the code to improve this situation.

cryptoeax commented 6 years ago

I'm hoping 8106efd41f13c691485953ac09b0631a2d59e176 will fix this. If you update to the latest version of the bot, you should hopefully see the next management cycle transfer 2 NEOS. I'd appreciate if you could please test and let me know the results.

Exalovic commented 6 years ago

Thanks! I'll test when I get back from holidays