andresilvasantos / bitprophet

Node crypto trading platform for Binance exchange.
MIT License
228 stars 70 forks source link

the bot spam me message "Canceled - #HSR/BTC SELL 0.80000000@0.001267" #8

Open itsjNathan opened 6 years ago

itsjNathan commented 6 years ago

the bot spam me "Canceled - #HSR/BTC SELL 0.80000000@0.001267" when buy order successfully filled.

buydip: { name: "Buy Dip", paperTrading: false, buyAmountMarket: 0.001, profitTarget: 1.4, maxLoss: 0.8, maxTradingPairs: 5, targetMarket: "BTC" }

image

andresilvasantos commented 6 years ago

When there's a buy, the bot always assumes that it can sell all the amount it bought. It's a bad assumption, but it works when you have a enough BNB to cover the fees. I do believe that's the problem.

I'll have a look into this. In the meantime, if you want to play with it, just buy 1 BNB.