yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.49k stars 824 forks source link

The bot has good buy orders but never sell it #209

Open lhernandez-free opened 6 years ago

lhernandez-free commented 6 years ago

python trader.py --symbol XVGETH --profit 0.5

The bot create good buy orders, the price grow enough but, never sell

Count status XVG: 297 ETH: 0.2156

AxelDeneu commented 6 years ago

Same here, it seems that there is a bug when the total amount is quite high. 0.2ETH is probably too high. Test it with 3 bots with 100XVG or anything like that. That was how i fixed my problem. With 0.15 total buy the bot create an order but does not sell and try to rebuy.

lhernandez-free commented 6 years ago

Can you give me the entire execution command for that case? What is the best configuration recommended for the bot? altcoin and ETH/BTC status included

AxelDeneu commented 6 years ago

It should be : python trader.py --symbol XVGETH --quantity 100 --profit 0.5 x3, 3 instances of this command should solve the problem. Btw I don't know if it can create some API limit issues, to avoid that, you can create 1 api key for each ? In all cases, you should lower the total amount of your trade

lhernandez-free commented 6 years ago

I get this

Auto Trading for Binance.com. --symbol: XVGETH ... Invalid notional, minNotional: 0.01000000 (u: 0.00784200)

lhernandez-free commented 6 years ago

Ok, I have change the number

AxelDeneu commented 6 years ago

That's because 100 XVG is not enough, you should try 150XVG in 2 instances

lhernandez-free commented 6 years ago

ok, but buy orders are created continuously, and again, not sell orders are put in the exchange. What I have doing wrong?

AxelDeneu commented 6 years ago

That's strange, can you try profit at 0.6 ?

lhernandez-free commented 6 years ago

OK, but last night I have set 1.5 in profit value, price get 2.1 points of profit but no one sell orders was created

Exeluzz commented 6 years ago

are you download the lastest version of bot ? and try with --amout 100 not --quantity // that sovled the min_notional mistake My command is python trader.py --symbol ETCETH --amout 0.5 --profit 0.3 --wait_time 1 --decreasing 0 --increasing 0 --stop_loss 5 (if you need this)

Maathouse commented 6 years ago

The minimal amount to place orders is 0.001 BTC, which equals around $10. Whenever you aim for a lower quantity, it can't place an order. Furthermore, the buy orders get cancelled after 0.5sec to prevent that the market gap is filled before the bot places a sell order. So, if the order isn't filled after 0.5sec, it gets cancelled. Hope this helps.

ref-dat commented 3 years ago

is there someone who can fix this bot to work perfectly well for some agreed budget? for all who interested and can do it, please contact me here: a.himite@gmail.com