bmino / binance-triangle-arbitrage

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

Error: Only detected 0 BTC, but I have more than 0 BTC on Binance #130

Closed m4s0 closed 3 years ago

m4s0 commented 3 years ago

I'm running with INVESTMENT.MIN: 0.001 and EXECUTION.ENABLED: true on binance I have 0.00937170 BTC

I get this error

[ec2-user@ip-172-31-45-8 binance-triangle-arbitrage]$ npm start

> binance-triangle-arbitrage@6.1.0 start
> node src/main/Main.js

WARNING! Order execution is enabled!

Checking configuration ...
Checking latency ...
Experiencing 113 ms of latency
Fetching exchange info ...
Found 930/1276 currently trading tickers
Found 1142 triangular trades
Checking balances ...
Error: Only detected 0 BTC, but 0.001 BTC is required to satisfy your INVESTMENT.MIN configuration
    at /home/ec2-user/binance-triangle-arbitrage/src/main/Main.js:140:23
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
npm ERR! code 1
npm ERR! path /home/ec2-user/binance-triangle-arbitrage
npm ERR! command failed
npm ERR! command sh -c node src/main/Main.js

what is the reason?