bmino / binance-triangle-arbitrage

Detect in-market cryptocurrency arbitrage
MIT License
1.07k stars 336 forks source link

Help. It does not execute operations. #95

Closed Kaisgoo closed 4 years ago

Kaisgoo commented 4 years ago

The first thing I'm going to do is congratulate you on the work you've done programming this bot, I'm excited to be able to use it. I installed the bot in my vps, I configured the config.json and the bot works, but does not execute the arbitrage operations that appear in the grid. I don't know if I'm doing something wrong! :-) My capital in Binance is 0.052 BTC, and I also have 1.130 BNB, I do not know if that information is important. I attach screenshots of the bot working, my config file.json and also the LOGS file. Thank you very much for your reply. I really appreciate your help. Greetings friend.

bot

config

log

Thank you so much again!!

bmino commented 4 years ago

Hey, thanks for the kind words!

Based on your config and the screenshots, I assume you want the bot to execute the BTC-ETH-BUSD position because the calculated profit is 0.0222% right?

First, I see a few reasons why the bot appropriately did not execute based on your configuration. The configuration readme better explains what each config property does.

  1. The calculated profit of 0.0222 is not greater than your TRADING.PROFIT_THRESHOLD of 0.1
  2. The age of the data was 3.88 seconds which is more than your TRADING.AGE_THRESHOLD

Secondly, be careful here! Based on your ping, you have a very slow connection. This means that much time will pass between calculating a position and executing it causing something known as market drift. Also, in your screenshot take care of the "Age" column. This shows that the BTC-ETH-BUSD position is already 3.88 seconds old. That is a huge gap when it comes to arbitrage hunting!

mantoayo commented 4 years ago

Bot live trading and execute orders on binance?? or only paper trading?