yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.54k stars 833 forks source link

ILEGAL CHARACTERS FOUND #10

Closed c0d3x27 closed 6 years ago

c0d3x27 commented 6 years ago

price:0.00005940 buyp:0.00005905 sellp:0.00005984-bid:0.00005904 ask:0.00005985 BTC:$14232.0 Error: Illegal characters found in parameter 'price'; legal range is '^([0-9]{1,20})(.[0-9]{1,20})?$'.

i keep getting this error for some reason i cant explain. @yasinkuyu

Derciak commented 6 years ago

That's because Binance API Is sending 'price' as STRING We need to wait for author to convert 'price' To INT.

Let's wait 👍

c0d3x27 commented 6 years ago

@derciak thank you since i didnt clone could you be so kind to drop me a line here to let me know when that is done?i have no wait to know when it will be done. even because now im getting this new erro price:0.00006158 buyp:0.00006063 sellp:0.00006156-bid:0.00006062 ask:0.00006157 BTC:$14799.9 --------TP:0.0001 TPP:0.0001 Error: Filter failure: MIN_NOTIONAL

Derciak commented 6 years ago

@Banginpadr Try edit 59 line to:

ret = float(client.get_open_orders(symbol))

Maybe will work..

c0d3x27 commented 6 years ago

@Derciak nothing bro. i still get the min_notional error

caiorondon commented 6 years ago

I found a couple of numerical type issues (profit argument, to name one).

I'm currently trying to debug it. If i get somewhere before the author, I'll post here the solution.

But I can assure that @Derciak solution won't work because ret is a dictionary (JSON).

TexGoose commented 6 years ago

image

kulttuuri commented 6 years ago

Same error.

Foof811 commented 6 years ago

Just got one of these recently too.