unterstein / binance-trader

Experimental trading bot for crypto currency on Binance.com
Apache License 2.0
274 stars 144 forks source link

Try with LTC and amount <1 #22

Open AbelPouillet opened 6 years ago

AbelPouillet commented 6 years ago

An error happening when I try with other coin like ETH , and when i try with a litlle amount . And i can't see the difference on my binance acount when your bot work and didn't work . Can you help me to fix it ?

bnuccio commented 6 years ago

The reason for this is the coin amount is expecting an integer for the data type. 1, 2, 3, 30, 400, etc. Something like 0.4 is not an integer, it is a float, so will not work. You will have to do a little coding yourself to get it to work.