Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported operand type(s) for *: 'NoneType' and 'float' #17

Closed
Joshaboc opened this issue May 1, 2018 · 2 comments
Closed

Unsupported operand type(s) for *: 'NoneType' and 'float' #17

Joshaboc opened this issue May 1, 2018 · 2 comments

Comments

@Joshaboc
Copy link

Joshaboc commented May 1, 2018

I'm assuming the second error is what's causing the main problems.

2018/05/01 11:36:44 AM - ERROR: Failed to fetch Bittrex market summary for the BTC-USDT market.
2018/05/01 11:36:44 AM - ERROR: unsupported operand type(s) for *: 'NoneType' and 'float'
Traceback (most recent call last):
File "C:\Users\bmw18\Desktop\Crypto-Trading-Bot-master\src\trader.py", line 429, in create_balance_object
btc_value = round(btc_price * balance_item["Balance"], 8)
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'

@JPStrydom
Copy link
Owner

When was the last time you pulled the project? I rolled out a fix for this issue yesterday. If it persists on the latest code, please lemme know.

@JPStrydom
Copy link
Owner

Closing this as it's a duplicate of #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants