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

Buy order filled... Try sell...

Open walruzperil opened this issue 7 years ago • 18 comments

Hi, after buy and sell. Bot say: Buy order filled... Try sell... m: Account has insufficient balance for requested action. But balance is OK..

walruzperil avatar Jan 21 '18 00:01 walruzperil

price:0.00010190 buyp:0.00010192 sellp:0.00010242-bid:0.00010191 ask:0.00010243 m: UNKNOWN_ORDER Buy order created id:2533731, q:25.00000000, p:0.00010192 m: UNKNOWN_ORDER m: UNKNOWN_ORDER Buy order filled... Try sell... m: UNKNOWN_ORDER Sell order create id: 2533739 m: UNKNOWN_ORDER Buy order filled... Try sell... m: Account has insufficient balance for requested action.

Exact same problem. Once it successfully buys & sells, it basically crashes the bot because it gets stuck in an insufficient balance loop.

tapir1 avatar Jan 21 '18 00:01 tapir1

Bot continues to work. Warning is trivial for now. Message will be fix later.

yasinkuyu avatar Jan 21 '18 01:01 yasinkuyu

@yasinkuyu I don't think that's necessarily true bro. It does still work for around 2 trades, but then it gets completely stuck. No more profit screening.

Buy order filled... Try sell... m: Account has insufficient balance for requested action.

Log screenshot: https://gyazo.com/2e0cedce8bdf29b28139c06d7a0c54fc

tapir1 avatar Jan 21 '18 01:01 tapir1

[BEGIN] 2018/1/21 14:33:58 price:0.00010750 buyp:0.00010710 sellp:0.00010763-bid:0.00010709 ask:0.00010752 price:0.00010750 buyp:0.00010715 sellp:0.00010768-bid:0.00010714 ask:0.00010752 price:0.00010800 buyp:0.00010753 sellp:0.00010806-bid:0.00010752 ask:0.00010820 Buy order created id:8423071, q:106.00000000, p:0.00010753 Profit loss, called order, 8423071 Buy order fail (Not filled) Cancel order... price:0.00010800 buyp:0.00010758 sellp:0.00010811-bid:0.00010757 ask:0.00010820 m: UNKNOWN_ORDER Buy order created id:8423081, q:106.00000000, p:0.00010758 m: UNKNOWN_ORDER Buy order filled... Try sell... Sell order create id: 8423093 Buy order filled... Try sell... m: Account has insufficient balance for requested action. Buy order filled... Try sell... m: Account has insufficient balance for requested action. [END] 2018/1/21 14:34:24

It does generate the sell-order after the warning message happend , whether the sell-order finished or not , the bot printed "Account has insufficient balance for requested action".

--profit lower than 0.5 may cause above question , maybe because of the waving price make the sell-order down in mud.

6r6 avatar Jan 21 '18 06:01 6r6

@yasinkuyu so the bot still will trade if this error occurs?

VasTShadowZz avatar Jan 21 '18 18:01 VasTShadowZz

@VasTShadowZz Absolutely ekran resmi 2018-01-20 17 04 24

yasinkuyu avatar Jan 21 '18 18:01 yasinkuyu

It seems like this thing still doesn't actually ever end up doing anything other than make buys. It never posts a sell order after it buys. Just makes more buy orders. Each of these runs just bought stuff, repeatedly, and never sold. Just buy buy buy.

52 python2 trader.py --stop_loss 0 --symbol XVGETH 100 --profit 0.7

53 python2 trader.py --stop_loss 0 --symbol XVGETH --quantity 100 --profit 0.7

54 python2 trader.py --stop_loss 0 --symbol XVGETH --quantity 150 --profit 0.7

55 python2 trader.py --stop_loss 0 --symbol NAVETH --quantity 20 --profit 0.9

56 python2 trader.py --stop_loss 0 --symbol NAVETH --quantity 10 --profit 0.7

57 python2 trader.py --stop_loss 0 --symbol XVGETH --quantity 150 --profit 0.6

58 python2 trader.py --stop_loss 0 --symbol XVGETH --quantity 150 --profit 0.7

59 python2 trader.py --stop_loss 0 --symbol XVGETH --quantity 120 --profit 1.2

Latest WSC commit, by the way.

Stop loss always set to zero because prior to that option, the bot just bought things to immediately sell at a loss right afterward.

kfiresmith avatar Jan 21 '18 20:01 kfiresmith

@yasinkuyu what specific settings are you using? Mine won't seem to trade that often with profit only on 0.7%

VasTShadowZz avatar Jan 22 '18 05:01 VasTShadowZz

I usually use --profit 0.4 - --profit 0.7 Pump during --profit 0.8 - --profit 1.3 And the result is like in the screen image. At the right time, you need to play the right coin.

yasinkuyu avatar Jan 22 '18 06:01 yasinkuyu

@yasinkuyu how can I tell if a coin is good to trade with? Usually I use trx or xvg or xrp

VasTShadowZz avatar Jan 22 '18 06:01 VasTShadowZz

You should choose coin with high instantaneous transaction volume. There must be enough profit between ask and bid.

yasinkuyu avatar Jan 22 '18 10:01 yasinkuyu

@yasinkuyu We can open a server on discord for instant support/chat. This could be possible? In this way, we can move Discussions/ Q&A from Issues to Chat and use Github only for dev purposes

matteo-pennisi avatar Jan 22 '18 10:01 matteo-pennisi

Sure it can be.

yasinkuyu avatar Jan 22 '18 12:01 yasinkuyu

made a server....

lets keep this community going!

https://discord.gg/QfztrvG

nealgentry avatar Jan 22 '18 14:01 nealgentry

Looks like the Discord link is expired. Can someone please share a new link? Thanks!

norova avatar Jan 28 '18 01:01 norova

https://discord.gg/FacMHd

kfiresmith avatar Jan 28 '18 01:01 kfiresmith

That's expired, please share new link again

linhndd avatar Jan 29 '18 09:01 linhndd

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