binance-trader icon indicating copy to clipboard operation
binance-trader copied to clipboard

The bot has good buy orders but never sell it

Open lhernandez-free opened this issue 7 years ago • 12 comments

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

lhernandez-free avatar Feb 21 '18 08:02 lhernandez-free

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.

AxelDeneu avatar Feb 21 '18 10:02 AxelDeneu

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

lhernandez-free avatar Feb 21 '18 12:02 lhernandez-free

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

AxelDeneu avatar Feb 21 '18 13:02 AxelDeneu

I get this

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

lhernandez-free avatar Feb 21 '18 13:02 lhernandez-free

Ok, I have change the number

lhernandez-free avatar Feb 21 '18 13:02 lhernandez-free

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

AxelDeneu avatar Feb 21 '18 13:02 AxelDeneu

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

lhernandez-free avatar Feb 21 '18 13:02 lhernandez-free

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

AxelDeneu avatar Feb 21 '18 13:02 AxelDeneu

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

lhernandez-free avatar Feb 21 '18 14:02 lhernandez-free

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)

Exeluzz avatar Feb 22 '18 10:02 Exeluzz

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.

Maathouse avatar Feb 23 '18 20:02 Maathouse

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: [email protected]

ref-dat avatar Sep 01 '20 08:09 ref-dat