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

UboundLocalError

Open chhudson opened this issue 6 years ago • 1 comments

image

I only have this screenshot...sorry.

OS: Windows 10 Python 3.6

chhudson avatar Mar 28 '18 23:03 chhudson

I read this as that the bot tries to sell a given balance but that isn't available so it fails to create a sell order. Then you want to check the sell_status variable but since it doesn't exist, it fails.

Generally it means that you want to get a variable (sell_status) before its created. It probably has to do with the message that your balance is insufficient in the first place.

Hope that helps

Maathouse avatar Apr 07 '18 10:04 Maathouse