bmino / binance-triangle-arbitrage

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

How to use Whiteliste? #122

Closed Fungraphic closed 3 years ago

Fungraphic commented 3 years ago

Hi, I tested writing like this. "WHITELIST": [ "WETH", "AAVE", "USDC", "WNXM" ] This is a mistake. What is the syntax for the whitelist? Thanks

bmino commented 3 years ago

This syntax is correct! However, "WETH" does not currently trade on Binance and will cause you issues

Fungraphic commented 3 years ago

Oups ok thanks But I get an error if I configure like this. Capture d’écran_2020-12-03_16-11-19

Whiteliste error: Excuse me, I just figured out why it doesn't work with my whitelite. I hadn't added a lot of crypto. He couldn't find any arbitration.

Fungraphic commented 3 years ago

I also have another problem if I put: "EXECUTION": { "ENABLED": true, Capture d’écran_2020-12-03_16-42-56 The bot does not start. if I put false it starts. 1Capture d’écran_2020-12-03_16-39-29

node v15.3.0 npm v6.14.8

bmino commented 3 years ago

Interesting. The bot fails when trying to retrieve a snapshot of your current account balances. Looks like an uncaught error from cloudfront? But I don't see the actual error message.

This probably highlights some missing error handling in the bot