yasinkuyu / binance-trader

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

TypeError: unsupported operand type(s) for +: 'NoneType' and 'float' #57

Closed Bodek123 closed 6 years ago

Bodek123 commented 6 years ago

Hello,

I'd like to run your bot, but I get following error:

@yasinkuyu, 2017 Auto Trading for Binance.com. --symbol: XVNBTC trader.py --symbol XVNBTC --quantity 1 --profit 1.3 --wait_time 1 --orderid 0

%1.3 profit scanning for XVNBTC ...

'lastPrice' 'lastPrice' 'lastPrice' 'bids' Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "trader.py", line 320, in action buyPrice = lastBid + option.increasing TypeError: unsupported operand type(s) for +: 'NoneType' and 'float'

What to do? I'm not very good at python and linux :)

yasinkuyu commented 6 years ago

Invalid symbol name. Try XVGBTC.

https://support.binance.com/hc/en-us/articles/115000594711-Trading-Rule

Bodek123 commented 6 years ago

Thank You very much! :+1: PS You should then correct example in Usage table in README.md :)